diff --git a/index.html b/index.html index a63e4c7f79..7cebc013c7 100644 --- a/index.html +++ b/index.html @@ -172,7 +172,7 @@ display: block !important; } - + \ No newline at end of file diff --git a/umi.4e7af05f.js b/umi.c1894c24.js similarity index 99% rename from umi.4e7af05f.js rename to umi.c1894c24.js index 11aecd539b..3f1206701c 100644 --- a/umi.4e7af05f.js +++ b/umi.c1894c24.js @@ -965,7 +965,7 @@ http://j.mp/37Fkd5Q `)}]},c={keywords:["and","as","assert","break","class","continue","def","del","elif","else","except","exec","finally","for","from","global","if","import","in","is","lambda","None","not","or","pass","raise","return","self","try","while","with","yield","int","float","long","complex","hex","abs","all","any","apply","basestring","bin","bool","buffer","bytearray","callable","chr","classmethod","cmp","coerce","compile","complex","delattr","dict","dir","divmod","enumerate","eval","execfile","file","filter","format","frozenset","getattr","globals","hasattr","hash","help","id","input","intern","isinstance","issubclass","iter","len","locals","list","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","reversed","range","raw_input","reduce","reload","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","unichr","unicode","vars","xrange","zip","True","False","__dict__","__methods__","__members__","__class__","__bases__","__name__","__mro__","__subclasses__","__init__","__import__"],quickKey:[{label:"print",content:["print($0)"].join(` `)}]},h={keywords:["asInstanceOf","catch","class","classOf","def","do","else","extends","finally","for","foreach","forSome","if","import","isInstanceOf","macro","match","new","object","package","return","throw","trait","try","type","until","val","var","while","with","yield","given","enum","then"],quickKey:[{label:"println",content:["println($0)"].join(` `)}]};var o=e(7947),i=e.n(o),y=Object.defineProperty,p=Object.defineProperties,g=Object.getOwnPropertyDescriptors,l=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,O=(me,Ee,Le)=>Ee in me?y(me,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Le}):me[Ee]=Le,k=(me,Ee)=>{for(var Le in Ee||(Ee={}))b.call(Ee,Le)&&O(me,Le,Ee[Le]);if(l)for(var Le of l(Ee))x.call(Ee,Le)&&O(me,Le,Ee[Le]);return me},C=(me,Ee)=>p(me,g(Ee)),T=(me,Ee,Le)=>new Promise(($e,Ze)=>{var nt=Zt=>{try{Wt(Le.next(Zt))}catch(Pe){Ze(Pe)}},ut=Zt=>{try{Wt(Le.throw(Zt))}catch(Pe){Ze(Pe)}},Wt=Zt=>Zt.done?$e(Zt.value):Promise.resolve(Zt.value).then(nt,ut);Wt((Le=Le.apply(me,Ee)).next())});const F={languages:["c","abap","apex","azcli","bat","cameligo","clojure","coffee","cpp","csharp","csp","css","dockerfile","fsharp","go","graphql","handlebars","html","ini","java","javascript","json","kotlin","less","lua","markdown","mips","msdax","mysql","objective-c","pascal","pascaligo","perl","pgsql","php","postiats","powerquery","powershell","pug","python","r","razor","redis","redshift","restructuredtext","ruby","rust","sb","scheme","scss","shell","solidity","sophia","sql","st","swift","tcl","twig","vb","xml","yaml'"],tables:{users:["name","id","email","phone","password"],roles:["id","name","order","created_at","updated_at","deleted_at"]}},$=(me,Ee)=>Ee.map(Le=>({label:Le,kind:me.languages.CompletionItemKind.Keyword,insertText:Le})),R=me=>Object.keys(F.tables).map(Ee=>({label:Ee,kind:me.languages.CompletionItemKind.Variable,insertText:Ee})),K=(me,Ee)=>{const Le=F.tables[me];return Le?Le.map($e=>({label:$e,kind:Ee.languages.CompletionItemKind.Field,insertText:$e})):[]};function W(me,Ee,Le,$e,Ze){let nt=Ee.getWordUntilPosition(Le),ut={startLineNumber:Le.lineNumber,endLineNumber:Le.lineNumber,startColumn:nt.startColumn,endColumn:nt.endColumn},Wt=$e.map(Zt=>({label:Zt,kind:me.languages.CompletionItemKind.Keyword,insertText:Zt,insertTextRules:me.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ut}));return Ze.map(Zt=>{Wt.push(C(k({},Zt),{range:ut}))}),Wt}var Z=me=>{F.languages.map(Ze=>(me.languages.registerDocumentFormattingEditProvider(Ze,{provideDocumentFormattingEdits(nt,ut,Wt){return T(this,null,function*(){const Zt=i()(nt.getValue(),{indent_size:"2",indent_char:" ",max_preserve_newlines:"2",preserve_newlines:!0,keep_array_indentation:!0,break_chained_methods:!1,indent_scripts:"normal",brace_style:"collapse",space_before_conditional:!0,unescape_strings:!1,jslint_happy:!1,end_with_newline:!0,wrap_line_length:"0",indent_inner_html:!1,comma_first:!1,e4x:!1,indent_empty_lines:!1});return[{range:nt.getFullModelRange(),text:Zt}]})}}),Ze));const Ee=f.quickKey.map(Ze=>({label:Ze.label,kind:me.languages.CompletionItemKind.Method,insertText:Ze.content,insertTextRules:me.languages.CompletionItemInsertTextRule.InsertAsSnippet})),Le=c.quickKey.map(Ze=>({label:Ze.label,kind:me.languages.CompletionItemKind.Method,insertText:Ze.content,insertTextRules:me.languages.CompletionItemInsertTextRule.InsertAsSnippet})),$e=u.quickKey.map(Ze=>({label:Ze.label,kind:me.languages.CompletionItemKind.Method,insertText:Ze.content,insertTextRules:me.languages.CompletionItemInsertTextRule.InsertAsSnippet}));me.languages.registerCompletionItemProvider("cpp",{provideCompletionItems:function(Ze,nt){var ut=Ze.getWordUntilPosition(nt),Wt={startLineNumber:nt.lineNumber,endLineNumber:nt.lineNumber,startColumn:ut.startColumn,endColumn:ut.endColumn},Zt=Ze.getLineContent(nt.lineNumber).substring(ut.startColumn-2,ut.endColumn);return{suggestions:[...f.keywords.map(Pe=>({label:Pe,kind:me.languages.CompletionItemKind.Function,documentation:Pe,insertText:Pe,insertTextRules:me.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Wt})),...f.quickKey.map(Pe=>({label:Pe.label,kind:me.languages.CompletionItemKind.Function,documentation:Pe.content,insertText:Zt.startsWith("#")?Pe.content.replace(/#/,""):Pe.content,insertTextRules:me.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Wt}))]}}}),me.languages.registerCompletionItemProvider("c",{provideCompletionItems:function(Ze,nt){var ut=Ze.getWordUntilPosition(nt),Wt={startLineNumber:nt.lineNumber,endLineNumber:nt.lineNumber,startColumn:ut.startColumn,endColumn:ut.endColumn};return{suggestions:[...s.keywords.map(Zt=>({label:Zt,kind:me.languages.CompletionItemKind.Function,documentation:Zt,insertText:Zt,insertTextRules:me.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Wt}))]}}}),me.languages.registerCompletionItemProvider("java",{provideCompletionItems:function(Ze,nt){var ut=Ze.getWordUntilPosition(nt),Wt={startLineNumber:nt.lineNumber,endLineNumber:nt.lineNumber,startColumn:ut.startColumn,endColumn:ut.endColumn},Zt=Ze.getLineContent(nt.lineNumber).substring(ut.startColumn-2,ut.endColumn);return{suggestions:[...u.keywords.map(Pe=>({label:Pe,kind:me.languages.CompletionItemKind.Function,documentation:Pe,insertText:Pe,insertTextRules:me.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Wt})),...u.quickKey.map(Pe=>({label:Pe.label,kind:me.languages.CompletionItemKind.Function,documentation:Pe.content,insertText:Zt.startsWith("#")?Pe.content.replace(/#/,""):Pe.content,insertTextRules:me.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Wt}))]}}}),me.languages.registerCompletionItemProvider("scala",{provideCompletionItems:function(Ze,nt){var ut=Ze.getWordUntilPosition(nt),Wt={startLineNumber:nt.lineNumber,endLineNumber:nt.lineNumber,startColumn:ut.startColumn,endColumn:ut.endColumn},Zt=Ze.getLineContent(nt.lineNumber).substring(ut.startColumn-2,ut.endColumn);return{suggestions:[...h.keywords.map(Pe=>({label:Pe,kind:me.languages.CompletionItemKind.Function,documentation:Pe,insertText:Pe,insertTextRules:me.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Wt})),...h.quickKey.map(Pe=>({label:Pe.label,kind:me.languages.CompletionItemKind.Function,documentation:Pe.content,insertText:Zt.startsWith("#")?Pe.content.replace(/#/,""):Pe.content,insertTextRules:me.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Wt}))]}}}),me.languages.registerCompletionItemProvider("python",{provideCompletionItems:function(Ze,nt){var ut=Ze.getWordUntilPosition(nt),Wt={startLineNumber:nt.lineNumber,endLineNumber:nt.lineNumber,startColumn:ut.startColumn,endColumn:ut.endColumn},Zt=Ze.getLineContent(nt.lineNumber).substring(ut.startColumn-2,ut.endColumn);return{suggestions:[...c.keywords.map(Pe=>({label:Pe,kind:me.languages.CompletionItemKind.Function,documentation:Pe,insertText:Pe,insertTextRules:me.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Wt})),...c.quickKey.map(Pe=>({label:Pe.label,kind:me.languages.CompletionItemKind.Function,documentation:Pe.content,insertText:Zt.startsWith("#")?Pe.content.replace(/#/,""):Pe.content,insertTextRules:me.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Wt}))]}}})};const ie="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002";var ne=Object.defineProperty,se=(me,Ee,Le)=>Ee in me?ne(me,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Le}):me[Ee]=Le,Q=(me,Ee,Le)=>se(me,typeof Ee!="symbol"?Ee+"":Ee,Le);const Y=class ed{constructor(Ee,Le,$e){this.placeholder=Ee,this.editor=Le,this.monaco=$e,Le.onDidChangeModelContent(()=>this.onDidChangeModelContent()),this.onDidChangeModelContent()}onDidChangeModelContent(){this.editor.getValue()===""?this.editor.addContentWidget(this):this.editor.removeContentWidget(this)}getId(){return ed.ID}getDomNode(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.style.width="max-content",this.domNode.textContent=this.placeholder,this.domNode.style.fontStyle="initial",this.domNode.style.color="#D7D7D7",this.domNode.style.pointerEvents="none",this.editor.applyFontInfo(this.domNode)),this.domNode}getPosition(){return{position:{lineNumber:1,column:1},preference:[this.monaco.editor.ContentWidgetPositionPreference.EXACT]}}dispose(){this.editor.removeContentWidget(this)}};Q(Y,"ID","editor.widget.placeholderHint");var ae=Y,ee=e(96236),J=e(8591),te=e(6848),M=e(89392),L=e(50484),X=e(56102),fe=Object.defineProperty,xe=Object.defineProperties,Ce=Object.getOwnPropertyDescriptors,Me=Object.getOwnPropertySymbols,ke=Object.prototype.hasOwnProperty,Ft=Object.prototype.propertyIsEnumerable,ht=(me,Ee,Le)=>Ee in me?fe(me,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Le}):me[Ee]=Le,At=(me,Ee)=>{for(var Le in Ee||(Ee={}))ke.call(Ee,Le)&&ht(me,Le,Ee[Le]);if(Me)for(var Le of Me(Ee))Ft.call(Ee,Le)&&ht(me,Le,Ee[Le]);return me},tr=(me,Ee)=>xe(me,Ce(Ee)),qt=(me,Ee)=>{var Le={};for(var $e in me)ke.call(me,$e)&&Ee.indexOf($e)<0&&(Le[$e]=me[$e]);if(me!=null&&Me)for(var $e of Me(me))Ee.indexOf($e)<0&&Ft.call(me,$e)&&(Le[$e]=me[$e]);return Le},cr=(me,Ee,Le)=>new Promise(($e,Ze)=>{var nt=Zt=>{try{Wt(Le.next(Zt))}catch(Pe){Ze(Pe)}},ut=Zt=>{try{Wt(Le.throw(Zt))}catch(Pe){Ze(Pe)}},Wt=Zt=>Zt.done?$e(Zt.value):Promise.resolve(Zt.value).then(nt,ut);Wt((Le=Le.apply(me,Ee)).next())});function Qe(me){return/^\d+$/.test(me)?`${me}px`:me}function Pt(){}let zt=!1;const it={"Python3.6":"python","Python2.7":"python",Dynamips:"cpp",Java:"java",Web:"php",Html:"html",Hive:"sql",Hadoop:"java",SDL:"cpp",PHP:"php",Matlab:"python",Git:"python",Python:"python","C/C++":"cpp","C++":"cpp",C:"cpp",Ruby:"ruby",Shell:"shell",JavaScript:"javascript",Perl6:"perl",Kotlin:"kotlin",Elixir:"elixir",Android:"java",JavaWeb:"java",Go:"go",Spark:"sql",MachineLearning:"python",Verilog:"xml","Verilog/VNC":"xml",Docker:"dockerfile","C#":"csharp",SQLite3:"sql",Oracle:"sql",Vhdl:"vhdl",R:"r",Swift:"swift",SQLServer:"mysql",MySQL:"mysql",Mongo:"sql",PostgreSql:"pgsql",Hbase:"powershell",Sqoop:"sql",Nasm:"cpp",Kafka:"java",Flink:"java",Sml:"javascript",OpenGL:"cpp",Perl5:"perl",Orange:"python",Scala:"scale",solidity:"sol"};function Ot(me=[]){let Ee=me;if(Array.isArray(me)){for(let Le=0;Le{var Ee=me,{width:Le="100%",height:$e="100%",value:Ze,language:nt="javascript",style:ut={},options:Wt={},overrideServices:Zt={},theme:Pe="vs-dark",onEditBlur:qe,isCopy:Kt=!1,onSave:Rt,autoHeight:Nt=!1,forbidCopy:Bt=!1,onChange:Ct=Pt,editorDidMount:Yt=Pt,onFocus:ze=Pt,onBreakPoint:ue=Pt,breakPointValue:le=[],filename:Dt="educoder.txt",errorLine:Te,errorContent:dt="",highlightLine:Ht,openBreakPoint:ct=!1,placeholder:Ie=""}=Ee,Et=qt(Ee,["width","height","value","language","style","options","overrideServices","theme","onEditBlur","isCopy","onSave","autoHeight","forbidCopy","onChange","editorDidMount","onFocus","onBreakPoint","breakPointValue","filename","errorLine","errorContent","highlightLine","openBreakPoint","placeholder"]);const ge=(0,t.useRef)(),Ke=(0,t.useRef)({}),yt=(0,t.useRef)(),kt=(0,t.useRef)(),Fe=(0,t.useRef)([]),Dr=(0,t.useRef)(!1),St=(0,t.useRef)(),Vr=(0,t.useRef)(),Jr=(0,t.useRef)(!1),[Er,$r]=(0,t.useState)(!1);function dr(){let gr;return ge.current&&(gr=new n.Z(Xr=>{for(let hn of Xr)(hn.target.offsetHeight>0||hn.target.offsetWidth>0)&&Ke.current.instance.layout()}),gr.observe(ge.current)),gr}function zr(){J.ZP.warning({content:decodeURIComponent(ie),key:"monaco-editor-tip"})}const sn=()=>{let gr=Ke.current.instance;if(Ze!=null&&gr&&Er){const Xr=gr.getModel();Xr&&Ze!==Xr.getValue()&&(zt=!0,Xr.setValue(Ze),gr.layout(),zt=!1)}};(0,t.useEffect)(()=>{const gr=L.Z.subscribe("formatDocument",Xr=>{var hn;let Bn=Ke.current.instance;(hn=Bn==null?void 0:Bn.getAction)==null||hn.call(Bn,"editor.action.formatDocument").run()});return window.updateMonacoValue=Xr=>{Ct(Xr)},gr},[]),(0,t.useEffect)(()=>{var gr;let Xr=Ke.current.instance;kt.current&&clearTimeout(kt.current),kt.current=setTimeout(()=>{sn()},500),Ze&&(Ze!=null&&Ze.length)&&((gr=Xr==null?void 0:Xr.updateOptions)==null||gr.call(Xr,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(Ze.split(/\r\n|\r|\n/g).length))+3,5)}))},[Ze,Er,Ke.current]),(0,t.useEffect)(()=>{if(Te&&Ke.current&&Ke.current.instance){let Xr=Ke.current.instance;Xr.changeViewZones(function(hn){var Bn=document.createElement("div");Bn.style.padding="10px 20px",Bn.style.width="calc(100% - 20px)",Bn.className="my-error-line-wrp",Bn.innerHTML=dt,hn.addZone({afterLineNumber:Te||11,heightInLines:3,domNode:Bn})});var gr={domNode:null,getId:function(){return"my.overlay.widget"},getDomNode:function(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.innerHTML="",this.domNode.style.width="100%",this.domNode.style.padding="20px 100px",this.domNode.style.right="0px",this.domNode.style.top="50px",this.domNode.style.position="relative",this.domNode.style.color="#333"),this.domNode},getPosition:function(){return null}};Xr.addOverlayWidget(gr),Xr.revealPositionInCenter({lineNumber:20,column:1})}},[Te,Ke.current,Er]);const ln=(gr="",Xr)=>{if(!gr||gr.trim()==="")return!0;const Bn=Ke.current.instance.getModel().getLineTokens(Xr);let ni=!1;for(let si=0;si<2;si++)Bn.getStandardTokenType(si)===1&&(ni=!0);return ni};(0,t.useEffect)(()=>{var gr;const Xr=(gr=Ke.current)==null?void 0:gr.instance;if(Xr&&Er&&Bt){const hn=Xr.onDidBlurEditorWidget(()=>{Jr.current=!1}),Bn=Xr.onDidFocusEditorText(()=>{Jr.current=!0});return()=>{hn.dispose(),Bn.dispose()}}},[Ke.current,Er,Bt]),(0,t.useEffect)(()=>{var gr;if((gr=Ke.current)!=null&&gr.instance&&Er&&ct){let Xr=Ke.current.instance,hn=Xr.getModel();if(!hn)return;(()=>{var wt;let st=[],ei=[];const wi=hn.getAllDecorations();for(let Ji of wi)Ji.options.className==="highlighted-line"&&(st.push((wt=Ji==null?void 0:Ji.range)==null?void 0:wt.startLineNumber),ei.push(Ji==null?void 0:Ji.id));if(Ht===st[0])return;hn.deltaDecorations(ei,[]);const ii=hn.getLineCount();Ht&&Ht<=ii&&(Xr.deltaDecorations([],[{range:new pt.Range(Ht,1,Ht,hn.getLineMaxColumn(Ht)),options:{isWholeLine:!0,className:"highlighted-line"}}]),Xr.revealLineInCenter(Ht))})();const ni=(wt=!1)=>{var st;let ei=[],wi=[];const ii=hn.getAllDecorations();for(let Ji of ii)Ji.options.linesDecorationsClassName==="breakpoints-select"&&(ei.push((st=Ji==null?void 0:Ji.range)==null?void 0:st.startLineNumber),wi.push(Ji==null?void 0:Ji.id));if(wt)return{lines:ei,ids:wi};ue(ei)},si=wt=>cr(void 0,null,function*(){let st={range:new pt.Range(wt,1,wt,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield hn.deltaDecorations([],[st]),ni()}),Vi=wt=>cr(void 0,null,function*(){let st=[];const ei=Xr.getLineDecorations(wt);for(let wi of ei)wi.options.linesDecorationsClassName==="breakpoints-select"&&st.push(wi.id);yield hn.deltaDecorations(st,[]),ni()}),Fi=wt=>{let st=Xr.getLineDecorations(wt);for(let ei of st)if(ei.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,M.isEqual)(le,ni(!0).lines)){hn.deltaDecorations(ni(!0).ids,[]);const wt=le.map(st=>({range:new pt.Range(st,1,st,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));hn.deltaDecorations([],wt)}const Ii=Xr.onDidChangeModelContent(wt=>{let st=Xr.getPosition();if(st){let ei=st.lineNumber;clearTimeout(Vr.current),Vr.current=setTimeout(()=>{ln(hn.getLineContent(ei),ei)?Vi(ei):Fi(ei)?(Vi(ei),si(ei)):ni()},100)}}),yi=Xr.onMouseDown(wt=>{var st,ei,wi;if(wt.target.detail&&((wi=(ei=(st=wt.target)==null?void 0:st.element)==null?void 0:ei.className)!=null&&wi.includes("line-numbers"))){let ii=wt.target.position.lineNumber;if(ln(hn.getLineContent(ii),ii))return;Fi(ii)?Vi(ii):si(ii)}}),bi=wt=>{let st={range:new pt.Range(wt,1,wt,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};Fe.current=Xr.deltaDecorations(Fe.current,[st])},la=()=>{Fe.current=Xr.deltaDecorations(Fe.current,[])},oi=Xr.onMouseMove(wt=>{var st,ei,wi;if(la(),wt.target.detail&&((wi=(ei=(st=wt.target)==null?void 0:st.element)==null?void 0:ei.className)!=null&&wi.includes("line-numbers"))){let ii=wt.target.position.lineNumber;if(ln(hn.getLineContent(ii),ii))return;bi(ii)}}),Wi=Xr.onMouseLeave(()=>{la()});return()=>{Ii.dispose(),yi.dispose(),oi.dispose(),Wi.dispose()}}},[Ke.current,Er,le,Ht,ct,nt]),(0,t.useEffect)(()=>{var gr;(gr=Ke.current)!=null&&gr.instance&&ct&&Ke.current.instance.setPosition({lineNumber:0,column:0})},[Ht]);function sr(){let gr=Ke.current.instance;if(gr){const Xr=gr.getSelection(),hn=Ke.current.pastePos||{},Bn=new pt.Range(hn.startLineNumber||Xr.endLineNumber,hn.startColumn||Xr.endColumn,hn.endLineNumber||Xr.endLineNumber,hn.endColumn||Xr.endColumn);setTimeout(()=>{gr.executeEdits("",[{range:Bn,text:""}])},300)}}function Lt(gr){(window.navigator.platform.match("Mac")?gr.metaKey:gr.ctrlKey)&&gr.keyCode==83&&(gr.preventDefault(),Rt())}const gt=()=>{if(Nt&&Ke.current.instance){const gr=Ke.current.instance.getContentHeight();xn(gr<$e?$e:gr)}else xn($e)};function bt(gr){var Xr=document.createEvent("MouseEvents");Xr.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),gr.dispatchEvent(Xr)}const jt=gr=>{if(!Jr.current)return;const{keyCode:Xr,ctrlKey:hn,metaKey:Bn,target:ni,type:si}=gr;return(si==="paste"||(Xr===67||Xr===86)&&(Bn||hn))&&ni.nodeName==="TEXTAREA"&&(zr(),gr.preventDefault()),!1};function Sr(gr,Xr){var hn=window.URL||window.webkitURL||window,Bn=new Blob([Xr]),ni=document.createElementNS("http://www.w3.org/1999/xhtml","a");ni.href=hn.createObjectURL(Bn),ni.download=gr,bt(ni)}(0,t.useEffect)(()=>{gt()},[gt]),(0,t.useEffect)(()=>{ge.current&&!Er&&Promise.all([e.e(8909),e.e(6894)]).then(e.bind(e,71448)).then(gr=>{try{pt=gr,Ke.current.instance=pt.editor.create(ge.current,{value:Ze,language:Ot(nt),theme:Pe,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0},Zt);const Xr=Ke.current.instance;let ni=[...ee.BH._menuItems].find(Ii=>Ii[0]._debugName=="EditorContext")[1],si=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],Vi=(Ii,yi)=>{var bi,la;let oi=Ii._first;do yi.includes((la=(bi=oi.element)==null?void 0:bi.command)==null?void 0:la.id)&&Ii._remove(oi);while(oi=oi.next)};if(Yt(Xr,pt),setTimeout(()=>{gt(),Ke.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{Sr(Dt||"educoder.txt",Xr.getValue())}})},500),Ke.current.subscription=Xr.onDidChangeModelContent(Ii=>{Dr.current?clearTimeout(St.current):(gt(),Ct(Xr.getValue(),Ii)),St.current=setTimeout(()=>{Dr.current=!1},500)}),window.Monaco||Z(pt,Ot(nt)),Bt&&(Vi(ni,si),ge.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",jt),window.removeEventListener("paste",jt),window.addEventListener("keydown",jt),window.addEventListener("paste",jt)),window.Monaco=pt,qe&&Xr.onDidBlurEditorWidget(()=>{qe(Xr.getValue())}),ze&&Xr.onDidFocusEditorText(()=>{ze(Xr.getValue())}),Bt)try{Xr.onDidPaste(Ii=>{const yi=Xr.getSelection(),bi=Ke.current.pastePos||{},la=new pt.Range(bi.startLineNumber||yi.endLineNumber,bi.startColumn||yi.endColumn,bi.endLineNumber||yi.endLineNumber,bi.endColumn||yi.endColumn);Xr.executeEdits("",[{range:Ii.range,text:""}])})}catch(Ii){}let Fi=dr();return Ie&&typeof Ie=="string"&&new ae(Ie,Xr,pt),$r(!0),()=>{const Ii=Ke.current.instance;Ii.dispose();const yi=Ii.getModel();yi&&yi.dispose(),Ke.current.subscription&&Ke.current.subscription.dispose(),Fi.unobserve(ge.current)}}catch(Xr){}})},[]),(0,t.useEffect)(()=>{if(Ke.current.instance&&Er)return document.addEventListener("keydown",Lt,!1),()=>{document.removeEventListener("keydown",Lt)}},[Rt,Er]),(0,t.useEffect)(()=>{let gr=Ke.current.instance;if(gr&&Er){let Xr=Ot(nt);pt.editor.setModelLanguage(gr.getModel(),Xr)}},[nt,Er]),(0,t.useEffect)(()=>{Ke.current.instance&&Er&&pt.editor.setTheme(Pe)},[Pe,Er]),(0,t.useEffect)(()=>{let gr=Ke.current.instance;yt.current=Wt,gr&&Er&&(gr.updateOptions(At({},Wt)),setTimeout(()=>{gr.getModel().updateOptions(At({},Wt))},200))},[JSON.stringify(Wt),Er]),(0,t.useEffect)(()=>{let gr=Ke.current.instance;gr&&Er&&gr.layout()},[Le,$e,Er]);const[br,at]=(0,t.useState)(Qe(Le)),[Mr,xn]=(0,t.useState)(Qe($e)),Vn=tr(At({},ut),{width:br,height:Mr,position:"relative"});return t.createElement("div",{className:"my-monaco-editor",ref:ge,style:Vn},Kt&&t.createElement(X.CopyToClipboard,{text:Ze,onCopy:()=>J.ZP.success("\u590D\u5236\u6210\u529F")},t.createElement(te.Z,{title:"\u590D\u5236\u4EE3\u7801"},t.createElement("div",{style:{position:"absolute",top:0,right:10,cursor:"pointer",zIndex:10,color:"#165DFF"}},t.createElement("i",{className:"iconfont icon-fuzhi8",style:{fontSize:14}})," \u590D\u5236\u4EE3\u7801"))))};function Ne({width:me="100%",height:Ee="100%",original:Le,modified:$e,language:Ze,options:nt={}}){const ut=(0,t.useRef)(),[Wt,Zt]=(0,t.useState)(null);function Pe(Nt){let Bt;return ut.current&&(Bt=new n.Z(Ct=>{for(let Yt of Ct)(Yt.target.offsetHeight>0||Yt.target.offsetWidth>0)&&Nt.layout()}),Bt.observe(ut.current)),Bt}(0,t.useEffect)(()=>(ut.current&&Promise.all([e.e(8909),e.e(9404)]).then(e.bind(e,2550)).then(Nt=>{pt=Nt;const Bt=pt.editor.createDiffEditor(ut.current,tr(At({enableSplitViewResizing:!1,scrollBeyondLastLine:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1,horizontal:"hidden",lineNumbers:"off",wordWrap:"off",ignoreTrimWhitespace:!1,"semanticHighlighting.enabled":!0,followsCaret:!0,ignoreCharChanges:!0,minimap:{enabled:!1},readOnly:!0},nt),{wordWrap:!0}));Zt(Bt);let Ct=Pe(Bt);return()=>{Bt.dispose();const Yt=Bt.getModel();Yt&&Yt.dispose(),Ct.unobserve(ut.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,t.useEffect)(()=>{Wt&&Wt.setModel({original:pt.editor.createModel(Le,Ze),modified:pt.editor.createModel($e,Ze)})},[Le,$e,Ze,Wt]);const qe=Qe(me),Kt=Qe(Ee),Rt={width:qe,height:Kt};return t.createElement("div",{className:"my-diff-editor",ref:ut,style:Rt})}},77522:function(d,v,e){"use strict";e.d(v,{k:function(){return b}});var t=e(29470),n=e(8591),s=e(74087),u=Object.defineProperty,f=Object.defineProperties,c=Object.getOwnPropertyDescriptors,h=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable,y=(O,k,C)=>k in O?u(O,k,{enumerable:!0,configurable:!0,writable:!0,value:C}):O[k]=C,p=(O,k)=>{for(var C in k||(k={}))o.call(k,C)&&y(O,C,k[C]);if(h)for(var C of h(k))i.call(k,C)&&y(O,C,k[C]);return O},g=(O,k)=>f(O,c(k)),l=(O,k)=>{var C={};for(var T in O)o.call(O,T)&&k.indexOf(T)<0&&(C[T]=O[T]);if(O!=null&&h)for(var T of h(O))k.indexOf(T)<0&&i.call(O,T)&&(C[T]=O[T]);return C};const b=["\u8BA4\u8BC1\u4E13\u4E1A","\u8BA4\u8BC1\u5C4A\u522B"],x={namespace:"engineeringEvaluteList",state:{actionTabs:{key:"",params:{}},headerData:{dataSource:{[b[0]]:{width:235,placeholder:`\u8BF7\u9009\u62E9${b[0]}`,loading:"engineeringEvaluteList/getMajorList",dataList:[]},[b[1]]:{width:138,placeholder:`\u8BF7\u9009\u62E9${b[1]}`,loading:"engineeringEvaluteList/getYearList",dataList:[]}},active:{}},tabListData:{total:0,pageNo:1,pageSize:20,dataSource:[]}},effects:{*setActionTabs({payload:O},{call:k,put:C}){yield C({type:"save",payload:{actionTabs:p({},O)}})},*getMajorList({payload:O},{call:k,put:C,select:T}){const{userInfo:F}=yield T($=>$.user);if(F!=null&&F.school_id){const $=yield k(t.BA,F.school_id);if($&&$.data){const R=s.U.getItem(F==null?void 0:F.login);yield C({type:"setMajorOrYearDataSource",payload:{key:b[0],value:$.data.map(K=>({label:K.name,value:K.ec_major_school_id})),active:$.data.length>0?R[0]||$.data[0].ec_major_school_id:void 0}})}}},*getYearList({payload:O},{call:k,put:C,select:T}){const F=yield k(t.Nx,O.id),{userInfo:$}=yield T(R=>R.user);if(F&&F.data){const R=s.U.getItem($==null?void 0:$.login);yield C({type:"setMajorOrYearDataSource",payload:{key:b[1],value:F.data.map(K=>({label:K.year,value:K.ec_year_id})),active:F.data.length>0?O.firstEnter?R[1]:F.data[0].ec_year_id:void 0}})}},*getCourseResults({payload:O={}},{call:k,put:C,select:T}){const{calc:F,page:$,per_page:R}=O,{headerData:K,tabListData:W}=yield T(ne=>ne.engineeringEvaluteList),{userInfo:Z}=yield T(ne=>ne.user);let ie=K.active[b[1]];if(ie){let ne={id:ie,page:$||1,per_page:R||W.pageSize};F&&(ne=g(p({},ne),{page:W.pageNo}));const se=yield k(t._y,ne),Q=[K.active[b[0]],K.active[b[1]]];s.U.setItem(Z==null?void 0:Z.login,Q),se&&se.ec_courses&&(yield C({type:"setCourseResults",payload:g(p({},W),{pageNo:ne.page,total:se.count,pageSize:ne.per_page||W.pageSize,dataSource:se.ec_courses.map((Y,G)=>g(p({},Y),{key:ne.page>1?(ne.page-1)*ne.per_page+G+1:G+1}))})}))}else yield C({type:"setCourseResults",payload:g(p({},W),{pageNo:1,total:0,dataSource:[]})})},*exportCourse({payload:O},{call:k,select:C}){const{headerData:T}=yield C(F=>F.engineeringEvaluteList);T.active[b[1]]&&(yield k(t.F,T.active[b[1]]))},*compute({payload:O},{call:k,put:C}){const T=O,{all:F}=T,$=l(T,["all"]),R=yield k(F?t.At:t.PX,$);R&&R.status===0?(n.ZP.success("\u8BA1\u7B97\u5B8C\u6210"),yield C({type:"getCourseResults",payload:{calc:!0}})):n.ZP.error(R.message)}},reducers:{save(O,k){return p(p({},O),k.payload)},setMajorOrYearDataSource(O,{payload:k}){let C=O.headerData.active;return k.active&&(C=g(p({},C),{[k.key]:k.active})),g(p({},O),{headerData:g(p({},O.headerData),{dataSource:g(p({},O.headerData.dataSource),{[k.key]:g(p({},O.headerData.dataSource[k.key]),{dataList:k.value})}),active:C})})},setMajorOrYearActive(O,{payload:k}){return g(p({},O),{headerData:g(p({},O.headerData),{active:g(p({},O.headerData.active),{[k.key]:k.value})})})},setCourseResults(O,{payload:k}){return g(p({},O),{tabListData:p(p({},O.tabListData),k)})}},subscriptions:{setup({dispatch:O,history:k}){return k.listen(({pathname:C})=>{C==="/"&&O({type:"query"})})}}};v.Z=x},73802:function(d,v,e){"use strict";e.d(v,{L:function(){return h},r:function(){return i}});var t=Object.defineProperty,n=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable,f=(y,p,g)=>p in y?t(y,p,{enumerable:!0,configurable:!0,writable:!0,value:g}):y[p]=g,c=(y,p)=>{for(var g in p||(p={}))s.call(p,g)&&f(y,g,p[g]);if(n)for(var g of n(p))u.call(p,g)&&f(y,g,p[g]);return y};const h=y=>y==null?void 0:y.map(p=>{const g=(p.sub_disciplines||[]).map(l=>({value:l.id,label:l.name}));return{value:p.id,label:p.name,children:g}}),o={1:"\u4E00",2:"\u4E8C",3:"\u4E09",4:"\u56DB",5:"\u4E94",6:"\u516D",7:"\u4E03",8:"\u516B"},i=y=>{if(!y)return;const{all_questions_count:p,all_score:g,single_questions:l,multiple_questions:b,judgement_questions:x,program_questions:O,completion_questions:k,subjective_questions:C,practical_questions:T,combination_questions:F}=y||{},R=[c({type:"SINGLE",name:"\u5355\u9009\u9898"},l),c({type:"MULTIPLE",name:"\u591A\u9009\u9898"},b),c({type:"COMPLETION",name:"\u586B\u7A7A\u9898"},k),c({type:"JUDGMENT",name:"\u5224\u65AD\u9898"},x),c({type:"SUBJECTIVE",name:"\u7B80\u7B54\u9898"},C),c({type:"PROGRAM",name:"\u7F16\u7A0B\u9898"},O),c({type:"PRACTICAL",name:"\u5B9E\u8BAD\u9898"},T),c({type:"COMBINATION",name:"\u7EC4\u5408\u9898"},F)].filter(K=>K.questions_count>0).map((K,W)=>c(c({},K),{number:o[W+1]}));return{all_questions_count:p,all_score:g,questionList:R}}},74087:function(d,v,e){"use strict";e.d(v,{U:function(){return u},t:function(){return s}});var t=e(43418),n=e(73898);const s=(f,c="")=>{t.default.confirm({centered:!0,width:520,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:c,onOk:f})},u={setItem:(f,c)=>{var h;const o=f+"-engineering"+((h=(0,n.eY)())==null?void 0:h.school_id),i=JSON.stringify(c);localStorage.setItem(o,i)},getItem:f=>{var c;const h=f+"-engineering"+((c=(0,n.eY)())==null?void 0:c.school_id),o=localStorage.getItem(h);return o!==null&&o!=="[object Object]"?JSON.parse(o):[]},clear:f=>{var c;const h=f+"-engineering"+((c=(0,n.eY)())==null?void 0:c.school_id);localStorage.removeItem(h)}}},7379:function(d,v,e){"use strict";e.d(v,{$f:function(){return p},Cq:function(){return b},GY:function(){return c},I8:function(){return O},Ow:function(){return g},P:function(){return y},Ql:function(){return h},RA:function(){return T},Zm:function(){return o},bz:function(){return f},eF:function(){return x},gQ:function(){return k},ht:function(){return l},kN:function(){return F},n1:function(){return s},nI:function(){return $},o9:function(){return u},sG:function(){return i},wi:function(){return C}});var t=e(7660),n=(R,K,W)=>new Promise((Z,ie)=>{var ne=Y=>{try{Q(W.next(Y))}catch(G){ie(G)}},se=Y=>{try{Q(W.throw(Y))}catch(G){ie(G)}},Q=Y=>Y.done?Z(Y.value):Promise.resolve(Y.value).then(ne,se);Q((W=W.apply(R,K)).next())});function s(R){return n(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${R.login}/avatar.json`,{method:"put",body:R})})}function u(R){return n(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${R.login}.json`,{method:"get"})})}function f(R){return n(this,null,function*(){return(0,t.ZP)("/api/add_school_applies.json",{method:"post",body:R})})}function c(R){return n(this,null,function*(){return(0,t.ZP)("/api/schools/limit_list.json",{method:"get",params:R})})}function h(R){return n(this,null,function*(){return(0,t.ZP)(`/api/schools/${R.id}/departments/for_option.json`,{method:"get",params:R})})}function o(R){return n(this,null,function*(){return(0,t.ZP)("/api/add_department_applies.json",{method:"post",body:R})})}function i(R){return n(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${R.id}.json`,{method:"put",body:R})})}function y(R){return n(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${R.login}/authentication_apply.json`,{method:"delete"})})}function p(R){return n(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${R.login}/professional_auth_apply.json`,{method:"delete"})})}function g(R){return n(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${R.id}/professional_auth_apply.json`,{method:"post",body:R})})}function l(R){return n(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${R.id}/authentication_apply.json`,{method:"post",body:R})})}function b(R){return n(this,null,function*(){return(0,t.ZP)("/api/accounts/get_verification_code.json",{method:"get",params:R})})}function x(R){return n(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${R.login}/phone_bind.json`,{method:"post",body:R})})}function O(R){return n(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${R.login}/email_bind.json`,{method:"post",body:R})})}function k(R){return n(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${R.login}/password.json`,{method:"put",body:R})})}function C(R){return n(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${R.basicInfoId}/open_users/${R.id}.json`,{method:"delete"})})}function T(R){return n(this,null,function*(){return(0,t.ZP)(`/api/users/${R.login}/cancel_authentication.json`,{method:"post",body:R})})}function F(R){return n(this,null,function*(){return(0,t.ZP)(`/api/users/${R.login}/cancel_professional_certification.json`,{method:"post",body:R})})}function $(R,K){return n(this,null,function*(){return(0,t.ZP)(`/api/users/${R.login}/videos/${R.id}/create_subject_video.json`,{method:"post",body:K})})}},58857:function(d,v,e){"use strict";e.d(v,{An:function(){return g},TO:function(){return i},my:function(){return p},nZ:function(){return y}});var t=e(7660),n=Object.defineProperty,s=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,c=(l,b,x)=>b in l?n(l,b,{enumerable:!0,configurable:!0,writable:!0,value:x}):l[b]=x,h=(l,b)=>{for(var x in b||(b={}))u.call(b,x)&&c(l,x,b[x]);if(s)for(var x of s(b))f.call(b,x)&&c(l,x,b[x]);return l},o=(l,b,x)=>new Promise((O,k)=>{var C=$=>{try{F(x.next($))}catch(R){k(R)}},T=$=>{try{F(x.throw($))}catch(R){k(R)}},F=$=>$.done?O($.value):Promise.resolve($.value).then(C,T);F((x=x.apply(l,b)).next())});function i(l){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${l.coursesId}/inform_up.json`,{method:"post",body:h({},l)})})}function y(l){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${l.coursesId}/inform_down.json`,{method:"post",body:h({},l)})})}function p(l){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${l.coursesId}/update_informs.json`,{method:"post",body:h({},l)})})}function g(l){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${l.coursesId}/new_informs.json`,{method:"post",body:h({},l)})})}},89282:function(d,v,e){"use strict";e.d(v,{$n:function(){return x},H:function(){return b},Nm:function(){return g},Ot:function(){return l},SV:function(){return i},fc:function(){return k},mn:function(){return O},tO:function(){return p},zI:function(){return y}});var t=e(7660),n=Object.defineProperty,s=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,c=(C,T,F)=>T in C?n(C,T,{enumerable:!0,configurable:!0,writable:!0,value:F}):C[T]=F,h=(C,T)=>{for(var F in T||(T={}))u.call(T,F)&&c(C,F,T[F]);if(s)for(var F of s(T))f.call(T,F)&&c(C,F,T[F]);return C},o=(C,T,F)=>new Promise(($,R)=>{var K=ie=>{try{Z(F.next(ie))}catch(ne){R(ne)}},W=ie=>{try{Z(F.throw(ie))}catch(ne){R(ne)}},Z=ie=>ie.done?$(ie.value):Promise.resolve(ie.value).then(K,W);Z((F=F.apply(C,T)).next())});function i(C){return o(this,null,function*(){return(0,t.ZP)("/api/files/public_with_course_and_project",{method:"get",params:h({},C)})})}function y(C){return o(this,null,function*(){return(0,t.ZP)("/api/files/mine_with_course_and_project.json",{method:"get",params:h({},C)})})}function p(C){return o(this,null,function*(){return(0,t.ZP)("/api/files/import.json",{method:"post",body:h({},C)})})}function g(C){return o(this,null,function*(){return(0,t.ZP)(`/api/files/${C.id}.json`,{method:"get",params:h({},C)})})}function l(C){return o(this,null,function*(){const{id:T}=C;return delete C.id,(0,t.ZP)(`/api/files/${T}.json`,{method:"put",body:h({},C)})})}function b(C){return o(this,null,function*(){return(0,t.ZP)(`/api/files/${C.id}/update_visits.json`,{method:"post"})})}function x(C){return o(this,null,function*(){return(0,t.ZP)(`/api/files/${C==null?void 0:C.id}/watch_list.json`,{method:"get",params:h({},C)})})}function O(C){return o(this,null,function*(){return(0,t.ZP)("/api/files/get_batches_publish_info.json",{method:"get",params:h({},C)})})}function k(C){return o(this,null,function*(){return(0,t.ZP)(`/api/files/${C==null?void 0:C.id}/add_file_quantity.json`,{method:"post",body:h({},C)})})}},82750:function(d,v,e){"use strict";e.d(v,{CJ:function(){return g},Mf:function(){return k},NA:function(){return x},PC:function(){return l},PP:function(){return b},YQ:function(){return O},cc:function(){return p},dI:function(){return y},yq:function(){return i}});var t=e(7660),n=Object.defineProperty,s=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,c=(C,T,F)=>T in C?n(C,T,{enumerable:!0,configurable:!0,writable:!0,value:F}):C[T]=F,h=(C,T)=>{for(var F in T||(T={}))u.call(T,F)&&c(C,F,T[F]);if(s)for(var F of s(T))f.call(T,F)&&c(C,F,T[F]);return C},o=(C,T,F)=>new Promise(($,R)=>{var K=ie=>{try{Z(F.next(ie))}catch(ne){R(ne)}},W=ie=>{try{Z(F.throw(ie))}catch(ne){R(ne)}},Z=ie=>ie.done?$(ie.value):Promise.resolve(ie.value).then(K,W);Z((F=F.apply(C,T)).next())});function i(C){return o(this,null,function*(){return(0,t.ZP)("/api/courses/board_list.json",{method:"get",params:h({},C)})})}function y(C){return o(this,null,function*(){return(0,t.ZP)(`/api/messages/${C.boardId}.json`,{method:"get",params:h({},C)})})}function p(C){return o(this,null,function*(){return(0,t.ZP)(`/api/messages/${C.id}/sticky_top.json`,{method:"put",body:{course_id:C.coursesId}})})}function g(C){return o(this,null,function*(){return(0,t.ZP)(`/api/messages/${C.id}/sticky_top.json`,{method:"put",body:{course_id:C.coursesId}})})}function l(C){return o(this,null,function*(){return(0,t.ZP)(`/api/messages/${C.boardId}/reply_list.json`,{method:"get",params:h({},C)})})}function b(C){return o(this,null,function*(){return(0,t.ZP)(`/api/messages/${C.boardId}/reply.json`,{method:"post",body:h({},C)})})}function x(C){return o(this,null,function*(){return(0,t.ZP)("/api/praise_tread/like.json",{method:"post",body:h({},C)})})}function O(C){return o(this,null,function*(){return(0,t.ZP)("/api/praise_tread/unlike.json",{method:"delete",body:h({},C)})})}function k(C){return o(this,null,function*(){return(0,t.ZP)("/api/commons/delete.json",{method:"delete",body:h({},C)})})}},94811:function(d,v,e){"use strict";e.d(v,{$T:function(){return br},A:function(){return Bt},Ab:function(){return Fi},Al:function(){return J},BQ:function(){return pt},BR:function(){return ee},Bn:function(){return Le},Cq:function(){return jt},DJ:function(){return ke},Dd:function(){return l},Ds:function(){return Ne},EO:function(){return Ct},Ed:function(){return Ft},F9:function(){return nt},FU:function(){return Wt},Fg:function(){return b},GV:function(){return cr},Gk:function(){return Q},Gm:function(){return zt},Gz:function(){return x},Hl:function(){return O},Hn:function(){return W},ID:function(){return sn},IU:function(){return Te},J2:function(){return tr},K$:function(){return me},KP:function(){return ht},KT:function(){return Ce},L$:function(){return Kt},LH:function(){return T},Lk:function(){return Wi},Ls:function(){return X},MA:function(){return Vn},Mc:function(){return oi},N7:function(){return ae},Nd:function(){return se},Nl:function(){return Dt},Ns:function(){return ln},O3:function(){return Me},Pj:function(){return Pt},QX:function(){return le},QZ:function(){return xe},R2:function(){return G},Rk:function(){return Sr},S9:function(){return Rt},U8:function(){return Lt},UD:function(){return Er},U_:function(){return ie},Uy:function(){return dr},V8:function(){return K},Vw:function(){return L},W0:function(){return Ht},W7:function(){return et},WK:function(){return gr},Wr:function(){return Vi},YR:function(){return ze},Z0:function(){return yt},ZL:function(){return Et},ZT:function(){return Ii},ZX:function(){return hn},Z_:function(){return F},_0:function(){return $},_9:function(){return it},_B:function(){return bi},aP:function(){return ct},aQ:function(){return Ot},aZ:function(){return Pe},al:function(){return Nt},bm:function(){return Jr},bz:function(){return $e},c_:function(){return bt},ds:function(){return Vr},fN:function(){return Xr},fr:function(){return Yt},g4:function(){return qt},gq:function(){return k},hf:function(){return M},i:function(){return kt},i6:function(){return Mr},i7:function(){return zr},iE:function(){return i},ih:function(){return Bn},kW:function(){return At},km:function(){return sr},nP:function(){return p},nQ:function(){return Ze},nX:function(){return Dr},oM:function(){return Ee},oR:function(){return la},o_:function(){return Ie},pf:function(){return St},pr:function(){return yi},pv:function(){return at},qB:function(){return te},r2:function(){return R},rS:function(){return C},s:function(){return ni},sb:function(){return qe},sm:function(){return g},t1:function(){return Qe},tB:function(){return si},tR:function(){return ut},td:function(){return dt},uh:function(){return Zt},up:function(){return gt},v2:function(){return y},vV:function(){return ge},w9:function(){return ne},wR:function(){return xn},yS:function(){return ue},yV:function(){return Y},yd:function(){return Fe},zg:function(){return fe}});var t=e(7660),n=Object.defineProperty,s=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,c=(wt,st,ei)=>st in wt?n(wt,st,{enumerable:!0,configurable:!0,writable:!0,value:ei}):wt[st]=ei,h=(wt,st)=>{for(var ei in st||(st={}))u.call(st,ei)&&c(wt,ei,st[ei]);if(s)for(var ei of s(st))f.call(st,ei)&&c(wt,ei,st[ei]);return wt},o=(wt,st,ei)=>new Promise((wi,ii)=>{var Ji=Pn=>{try{ui(ei.next(Pn))}catch(er){ii(er)}},Ei=Pn=>{try{ui(ei.throw(Pn))}catch(er){ii(er)}},ui=Pn=>Pn.done?wi(Pn.value):Promise.resolve(Pn.value).then(Ji,Ei);ui((ei=ei.apply(wt,st)).next())});const i=wt=>o(void 0,null,function*(){return(0,t.ZP)(`/api/courses/${wt==null?void 0:wt.course_id}/course_videos/configs.json`,{method:"put",body:wt})}),y=wt=>o(void 0,null,function*(){return(0,t.ZP)(`/api/courses/${wt==null?void 0:wt.course_id}/course_videos/list_for_config.json`,{method:"Get",params:wt})}),p=wt=>o(void 0,null,function*(){return(0,t.ZP)(`/api/courses/${wt==null?void 0:wt.course_id}/homework_commons/max_late_time.json`,{method:"Get",params:wt})}),g=wt=>o(void 0,null,function*(){return(0,t.ZP)(`/api/courses/${wt==null?void 0:wt.course_id}/homework_commons/batch_late_setting`,{method:"post",body:wt})}),l=wt=>o(void 0,null,function*(){return(0,t.ZP)("/api/course_statistics/course_use_infos.json",{method:"Get",params:wt})}),b=wt=>o(void 0,null,function*(){return(0,t.ZP)("/api/course_statistics/rank_list.json",{method:"Get",params:wt})}),x=wt=>o(void 0,null,function*(){return(0,t.ZP)("/api/course_statistics/statistics_body.json",{method:"Get",params:wt})}),O=wt=>o(void 0,null,function*(){return(0,t.ZP)("/api/course_statistics/statistics_header.json",{method:"Get",params:wt})});function k(wt){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${wt.course_id}/set_assistant_permissions.json`,{method:"post",body:h({},wt.permissions)})})}function C(wt){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${wt.course_id}/assistant_permissions.json`,{method:"Get",params:h({},wt)})})}function T(wt){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${wt.id}/ai_status_query.json`,{method:"Get",params:wt})})}function F(wt){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${wt.coursesId}/update_course_portrait_data.json`,{method:"post",body:h({},wt)})})}function $(wt){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${wt.id}/get_user_portrait_config.json`,{method:"Get",params:wt})})}function R(wt){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${wt.coursesId}/update_user_portrait_config.json?id=${wt.coursesId}`,{method:"put",body:h({},wt)})})}function K(wt){return o(this,null,function*(){return(0,t.ZP)("/api/courses.json",{method:"Get",params:h({},wt)})})}function W(wt){return o(this,null,function*(){return(0,t.ZP)("/api/intelligent_recommendations/according_course_recommend_shixuns.json",{method:"Get",params:h({},wt)})})}function Z(wt){return o(this,null,function*(){return Fetch("/api/disciplines.json",{method:"Get",params:h({},wt)})})}function ie(wt){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${wt.id}/top_banner.json`,{method:"get",params:h({},wt)})})}function ne(wt){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${wt.id||wt.coursesId}/left_banner.json`,{method:"get",params:h({},wt)})})}function se(wt){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${wt.id}/homework_commons.json`,{method:"get",params:h({},wt)})})}function Q(wt){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${wt.id}/homework_commons/list.json`,{method:"get",params:h({},wt)})})}function Y(wt){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${wt.id}/graduation_topics.json`,{method:"get",params:h({},wt)})})}function G(wt){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${wt.id}/graduation_tasks.json`,{method:"get",params:h({},wt)})})}function ae(wt){return o(this,null,function*(){return(0,t.ZP)(`/api/v2/courses/${wt.id}/exercises.json`,{method:"get",params:h({},wt)})})}function ee(wt){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${wt.id}/polls.json`,{method:"get",params:h({},wt)})})}function J(wt){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${wt.id}/homework_commons.json`,{method:"get",params:h({},wt)})})}function te(wt){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${wt.id}/course_groups.json`,{method:"get",params:h({},wt)})})}function M(wt){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${wt.id}/all_course_groups.json`,{method:"get",params:h({},wt)})})}function L(wt){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${wt.id}/attendances.json`,{method:"get",params:h({},wt)})})}function X(wt){return o(this,null,function*(){return(0,t.ZP)(`/api/weapps/courses/${wt.coursesId}/attendances.json`,{method:"get",params:h({},wt)})})}function fe(wt){return o(this,null,function*(){return(0,t.ZP)(`/api/attendances/${wt.id}/edit.json`,{method:"get",params:h({},wt)})})}function xe(wt){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${wt.id}/informs.json`,{method:"get",params:h({},wt)})})}function Ce(wt){return o(this,null,function*(){return(0,t.ZP)("/api/files.json",{method:"get",params:h({},wt)})})}function Me(wt){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${wt.id}/course_videos.json`,{method:"get",params:h({},wt)})})}function ke(wt){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${wt.id}/live_links.json`,{method:"get",params:h({},wt)})})}function Ft(wt){return o(this,null,function*(){return(0,t.ZP)("/api/courses/mine.json",{method:"get",params:h({},wt)})})}function ht(wt){return o(this,null,function*(){return(0,t.ZP)(`/api/boards/${wt.categoryId}/messages.json`,{method:"get",params:h({},wt)})})}function At(wt){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${wt.id}/course_groups.json`,{method:"get",params:h({},wt)})})}function tr(wt){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${wt.id}/students.json`,{method:"get",params:h({},wt)})})}function qt(wt){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${wt.coursesId}/statistics.json`,{method:"get",params:h({},wt)})})}function cr(wt){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${wt.coursesId}/work_score.json`,{method:"get",params:h({},wt)})})}function Qe(wt){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${wt.coursesId}/act_score.json`,{method:"get",params:h({},wt)})})}function Pt(wt){return o(this,null,function*(){return(0,t.ZP)("/api/shixun_lists.json",{method:"get",params:h({},wt)})})}function zt(wt){return o(this,null,function*(){return(0,t.ZP)("/api/item_banks.json",{method:"get",params:h({},wt)})})}function it(wt){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${wt==null?void 0:wt.course_id}/homework_commons/impersonal_list.json`,{method:"get",params:h({},wt)})})}function Ot(wt){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${wt.coursesId}/homework_commons/create_shixun_homework.json`,{method:"post",body:h({},wt)})})}function pt(wt){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${wt==null?void 0:wt.course_id}/homework_commons/create_collaborators.json`,{method:"post",body:h({},wt)})})}function et(wt){return o(this,null,function*(){return(0,t.ZP)("/api/subject_lists.json",{method:"get",params:h({},wt)})})}function Ne(wt){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${wt.coursesId}/homework_commons/create_subject_homework.json`,{method:"post",body:h({},wt)})})}function me(wt){return o(this,null,function*(){return(0,t.ZP)("/api/schools/school_list.json",{method:"get",params:wt})})}function Ee(wt){return o(this,null,function*(){return(0,t.ZP)("/api/courses/search_course_list.json",{method:"post",body:wt})})}function Le(wt){return o(this,null,function*(){return(0,t.ZP)("/api/courses.json",{method:"post",body:wt})})}function $e(wt){return o(this,null,function*(){return(0,t.ZP)("/api/add_school_applies.json",{method:"post",body:wt})})}function Ze(wt){return o(this,null,function*(){return(0,t.ZP)("/api/users/member_search.json",{method:"get",params:wt})})}function nt(wt){return o(this,null,function*(){return(0,t.ZP)("/api/student_groups.json",{method:"get",params:h({page:1,limit:1e3},wt)})})}function ut(wt){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${wt.identifier}/add_student_groups.json`,{method:"post",body:wt})})}function Wt(wt){return o(this,null,function*(){return(0,t.ZP)("/api/courses/search_all.json",{method:"get",params:wt})})}function Zt(wt){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${wt.coursesId}/add_teacher.json`,{method:"post",body:wt})})}function Pe(wt){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${wt.coursesId}/add_students_by_search.json`,{method:"post",body:wt})})}function qe(wt){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${wt.coursesId}/set_public_or_private.json`,{method:"post",body:wt})})}function Kt(wt){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${wt.coursesId}/set_invite_code_halt.json`,{method:"post",body:wt})})}function Rt(wt){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${wt.coursesId}/duplicate_course.json`,{method:"post",body:wt})})}function Nt(wt){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${wt.coursesId}/update_end_date.json`,{method:"put",body:wt})})}function Bt(wt){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${wt.coursesId}.json`,{method:"delete",body:wt})})}function Ct(wt){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${wt.coursesId}/settings.json`,{method:"get",params:h({},wt)})})}function Yt(wt){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${wt.coursesId}.json`,{method:"put",body:wt})})}function ze(wt){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${wt.coursesId}/export_couser_info.json`,{method:"get",params:{export:!0}})})}function ue(wt){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${wt.coursesId}/export_member_act_score_async.json`,{method:"get",params:h({export:!0},wt)})})}function le(wt){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${wt.coursesId}/export_total_homework_commons_score.json`,{method:"get",params:h({export:!0},wt)})})}function Dt(wt){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${wt.coursesId}/export_total_exercises_and_other_score.json`,{method:"get",params:h({export:!0},wt)})})}function Te(wt){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${wt.coursesId}/export_star_user.json`,{method:"get",params:h({export:!0},wt)})})}function dt(wt){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${wt.coursesId}/export_mooc_records.json`,{method:"get",params:h({export:!0},wt)})})}function Ht(wt){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${wt.coursesId}/export_total_course_score.json`,{method:"get",params:h({export:!0},wt)})})}function ct(wt){return o(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${wt.categoryId}/export_scores.json`,{method:"get",params:h({export:!0},wt)})})}function Ie(wt){return o(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${wt.categoryId}/export_shixun_report.json`,{method:"get",params:h({export:!0},wt)})})}function Et(wt){return o(this,null,function*(){return(0,t.ZP)(`/api/exercises/${wt.categoryId}/export_exercise_users.json`,{method:"get",params:h({export:!0},wt)})})}function ge(wt){return o(this,null,function*(){return(0,t.ZP)(`/api/exercises/${wt.categoryId}/export_exercise_word.json`,{method:"get",params:h({export:!0},wt)})})}function Ke(wt){return o(this,null,function*(){return Fetch(`/api/homework_commons/${wt.categoryId}/works_list.zip`,{method:"get",params:h({export:!0},wt)})})}function yt(wt){return o(this,null,function*(){return(0,t.ZP)(`/api//course_second_categories/${wt.id}.json`,{method:"delete",params:{export:!0}})})}function kt(wt){return o(this,null,function*(){return(0,t.ZP)(`/api//boards/${wt.id}.json`,{method:"delete",params:{export:!0}})})}function Fe(wt){return o(this,null,function*(){return(0,t.ZP)(`/api/course_modules/${wt.id}/sticky_module.json`,{method:"get"})})}function Dr(wt){return o(this,null,function*(){return(0,t.ZP)(`/api/course_modules/${wt.id}/hidden_module.json`,{method:"get"})})}function St(wt){return o(this,null,function*(){return(0,t.ZP)("/api/courses/new.json",{method:"get",params:wt})})}function Vr(wt){return o(this,null,function*(){return(0,t.ZP)(`/api/weapps/attendances/${wt.id}.json`,{method:"get",params:wt})})}function Jr(wt){return o(this,null,function*(){return(0,t.ZP)("/api/weapps/course_member_attendances.json",{method:"get",params:wt})})}function Er(wt){return o(this,null,function*(){return(0,t.ZP)("/api/weapps/course_member_attendances/update_status.json",{method:"post",body:wt})})}function $r(wt){return o(this,null,function*(){return Fetch(`/api/polls/${wt.categoryId}/commit_result.xlsx`,{method:"get",params:h({export:!0},wt)})})}function dr(wt){return o(this,null,function*(){return(0,t.ZP)(`/api/exercises/${wt.categoryId}/export_scores.json`,{method:"get",params:h({export:!0},wt)})})}function zr(wt){return(0,t.ZP)(`/api/polls/${wt.categoryId}/start_answer.json`,{method:"get",params:h({},wt)})}function sn(wt){return o(this,null,function*(){return(0,t.ZP)(`/api/poll_questions/${wt.questionId}/poll_votes.json`,{method:"post",body:wt})})}function ln(wt){return o(this,null,function*(){return(0,t.ZP)(`/api/polls/${wt.categoryId}/commit_poll.json`,{method:"post",body:wt})})}function sr(wt){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${wt.courseId}/tasks_list.json`,{method:"get",params:wt})})}function Lt(wt){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${wt.courseId}/update_task_position.json`,{method:"post",body:wt})})}function gt(wt){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${wt.coursesId}/calculate_all_shixun_scores.json`,{method:"get",params:wt})})}function bt(wt){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${wt.coursesId}/all_course_groups.json`,{method:"get",params:wt})})}function jt(wt){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${wt.coursesId}/polls/all_course_groups.json`,{method:"get",params:wt})})}function Sr(wt){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${wt.coursesId}/students.json`,{method:"get",params:wt})})}function br(wt){return o(this,null,function*(){return(0,t.ZP)(`/api/course_groups/${wt.categoryId}/rename_group.json`,{method:"POST",body:wt})})}function at(wt){return o(this,null,function*(){return(0,t.ZP)(`/api/course_groups/${wt.categoryId}.json`,{method:"delete",body:wt})})}function Mr(wt){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${wt.coursesId}/join_course_group.json`,{method:"POST",body:wt})})}function xn(wt){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${wt.coursesId}/transfer_to_course_group.json`,{method:"post",body:wt})})}function Vn(wt){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${wt.coursesId}/delete_from_course.json`,{method:"post",body:wt})})}function gr(wt){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${wt.coursesId}/join_course_group.json`,{method:"post",body:wt})})}function Xr(wt){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${wt.coursesId}/exit_course.json`,{method:"post"})})}function hn(wt){return o(this,null,function*(){return(0,t.ZP)("/api/weapps/course_member_attendances.json",{method:"post",body:h({},wt)})})}function Bn(wt){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${wt.coursesId}/mooc_users/${wt.user_id}/edit.json`,{method:"get",params:wt})})}function ni(wt){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${wt.coursesId}/mooc_users.json`,{method:"post",body:wt})})}function si(wt){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${wt.coursesId}/mooc_users/${wt.user_id}.json`,{method:"put",body:wt})})}function Vi(wt){return o(this,null,function*(){return(0,t.ZP)(`/api/course_second_categories/${wt.id}/move_category.json`,{method:"post",body:wt})})}function Fi(wt){return o(this,null,function*(){return(0,t.ZP)(`/api/boards/${wt.id}/move_category.json`,{method:"post",body:wt})})}function Ii(wt){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${wt.id}/courseware.json`,{method:"get",params:wt})})}function yi(wt,st){return o(this,null,function*(){return(0,t.ZP)(`/api/exercises/${wt}/mark_wrong_topic.json`,{method:"get",params:st})})}function bi(wt,st){return o(this,null,function*(){return(0,t.ZP)(`/api/exercises/${wt}/cancel_wrong_topic.json`,{method:"get",params:st})})}function la(wt,st){return o(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${wt}/allow_end_group.json`,{method:"get",params:st})})}function oi(wt,st){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${wt}/homework_commons/end_with_homework_list_position.json`,{method:"post",body:st})})}function Wi(wt,st){return o(this,null,function*(){return(0,t.ZP)(`/api/tasks/${wt}/get_content_for_commit_id.json`,{method:"get",params:st})})}},20813:function(d,v,e){"use strict";e.d(v,{$M:function(){return qt},$P:function(){return Wt},Ax:function(){return y},Dh:function(){return O},FU:function(){return Z},GQ:function(){return ee},IN:function(){return Ne},JM:function(){return $e},Ju:function(){return tr},Mn:function(){return et},Ni:function(){return X},Pg:function(){return k},Pt:function(){return x},Qp:function(){return G},R9:function(){return ie},Ux:function(){return ae},Vy:function(){return Me},XJ:function(){return L},XR:function(){return ht},Ze:function(){return $},aq:function(){return F},bQ:function(){return l},bu:function(){return p},cC:function(){return i},jS:function(){return se},lm:function(){return me},ml:function(){return te},o3:function(){return Qe},pA:function(){return zt},pS:function(){return Le},pU:function(){return M},ps:function(){return W},q0:function(){return Ot},qN:function(){return pt},qS:function(){return b},qj:function(){return Ft},qt:function(){return nt},rV:function(){return C},rZ:function(){return Ze},rk:function(){return xe},rm:function(){return Y},sK:function(){return Q},sL:function(){return it},su:function(){return Ee},tC:function(){return Ce},tO:function(){return ke},u9:function(){return J},uZ:function(){return fe},vV:function(){return K},xx:function(){return Zt},y8:function(){return At},yS:function(){return R},zF:function(){return g},zc:function(){return ne},zj:function(){return T},zz:function(){return ut}});var t=e(7660),n=Object.defineProperty,s=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,c=(Pe,qe,Kt)=>qe in Pe?n(Pe,qe,{enumerable:!0,configurable:!0,writable:!0,value:Kt}):Pe[qe]=Kt,h=(Pe,qe)=>{for(var Kt in qe||(qe={}))u.call(qe,Kt)&&c(Pe,Kt,qe[Kt]);if(s)for(var Kt of s(qe))f.call(qe,Kt)&&c(Pe,Kt,qe[Kt]);return Pe},o=(Pe,qe,Kt)=>new Promise((Rt,Nt)=>{var Bt=ze=>{try{Yt(Kt.next(ze))}catch(ue){Nt(ue)}},Ct=ze=>{try{Yt(Kt.throw(ze))}catch(ue){Nt(ue)}},Yt=ze=>ze.done?Rt(ze.value):Promise.resolve(ze.value).then(Bt,Ct);Yt((Kt=Kt.apply(Pe,qe)).next())});const i=Pe=>(0,t.ZP)(`/api/competitions/${Pe.identifier}/create_guide.json`,{method:"post",body:Pe}),y=Pe=>(0,t.ZP)(`/api/competitions/${Pe.identifier}/guides.json`,{method:"get",params:Pe}),p=Pe=>(0,t.ZP)(`/api/competitions/${Pe.identifier}/competition_teams/${Pe.competition_team_id}/edit_info.json`,{method:"put",body:Pe});function g(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${Pe.identifier}/update_result.json`,{method:"post",body:Pe})})}function l(Pe){return o(this,null,function*(){return(0,t.ZP)("/api/competitions.json",{method:"Get",params:h({},Pe)})})}function b(Pe){return o(this,null,function*(){return(0,t.ZP)("/api/courses/apply_to_join_course.json",{method:"post",body:Pe})})}function x(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${Pe.identifier}/competition_teams.json`,{method:"post"})})}function O(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${Pe.identifier}/competition_staff.json`,{method:"get"})})}function k(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${Pe.identifier}/common_header.json`,{method:"get"})})}function C(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/${Pe.url}`,{method:"get",params:h({},Pe)})})}function T(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${Pe.identifier}/update_md_content.json`,{method:"post",body:Pe})})}function F(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${Pe.identifier}/competition_teams.json`,{method:"get",params:Pe})})}function $(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${Pe.identifier}/competition_teams/${Pe.Teannameid}/edit.json`,{method:"get",params:Pe})})}function R(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${Pe.identifier}/competition_teams/${Pe.Teannameid}.json`,{method:"put",body:Pe})})}function K(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${Pe.identifier}/competition_teams/${Pe.id}/leave.json`,{method:"post",body:Pe})})}function W(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${Pe.identifier}/competition_teams/${Pe.id}.json`,{method:"delete"})})}function Z(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${Pe.identifier}/competition_teams.json`,{method:"post",body:Pe})})}function ie(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${Pe.id}/add_managers.json`,{method:"post",body:Pe})})}function ne(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${Pe.identifier}/competition_teams/join.json`,{method:"post",body:Pe})})}function se(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${Pe.identifier}/teachers.json`,{method:"get",params:Pe})})}function Q(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${Pe.identifier}/students.json`,{method:"get",params:Pe})})}function Y(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${Pe.identifier}/competition_teams/${Pe.teamid}/crud_team_members.json`,{method:"post",body:Pe})})}function G(Pe){return o(this,null,function*(){return(0,t.ZP)("/api/users/competition_reward.json",{method:"post",body:Pe})})}function ae(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${Pe.identifier}/chart_rules.json`,{method:"get"})})}function ee(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${Pe.identifier}/charts.json`,{method:"get",params:Pe})})}function J(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${Pe.identifier}/results.json`,{method:"get",params:Pe})})}function te(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${Pe.identifier}/md_tab_rules.json`,{method:"get",params:Pe})})}function M(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${Pe.identifier}/prize.json`,{method:"get",params:Pe})})}function L(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${Pe.id}.json`,{method:"get",params:Pe})})}function X(Pe){return o(this,null,function*(){return(0,t.ZP)("/api/accounts/get_verification_code.json",{method:"get",params:Pe})})}function fe(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${Pe.userid}/phone_bind.json`,{method:"post",body:Pe})})}function xe(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${Pe.userid}/email_bind.json`,{method:"post",body:Pe})})}function Ce(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${Pe.userid}/professional_auth_apply.json`,{method:"delete"})})}function Me(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${Pe.userid}/authentication_apply.json`,{method:"delete"})})}function ke(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${Pe.identifier}/prize_leader_account.json`,{method:"put",body:Pe})})}function Ft(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${Pe.identifier}/competition_teams/${Pe.teamid}/shixun_detail.json`,{method:"get"})})}function ht(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${Pe.identifier}/competition_teams/${Pe.teamid}/course_detail.json`,{method:"get"})})}function At(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/attachments/${Pe.id}.json`,{method:"delete"})})}function tr(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${Pe.id}/get_certificate_info.json`,{method:"get",params:Pe})})}function qt(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${Pe.id}/basic_setting.json`,{method:"post",body:Pe})})}function cr(){return o(this,null,function*(){return Fetch("/api/competitions/download_template",{method:"get",responseType:"arraybuffer"})})}function Qe(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${Pe}/common_header.json`,{method:"get"})})}function Pt(Pe){return o(this,null,function*(){return Fetch("/api/competitions.json",{method:"post",body:Pe})})}function zt(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${Pe==null?void 0:Pe.id}/search_managers.json`,{method:"get",params:Pe})})}function it(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${Pe}/get_managers.json`,{method:"get"})})}function Ot(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${Pe==null?void 0:Pe.id}/add_managers.json`,{method:"post",body:Pe})})}function pt(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${Pe==null?void 0:Pe.id}/delete_managers.json`,{method:"delete",body:Pe})})}function et(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${Pe}/get_picture.json`,{method:"get"})})}function Ne(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${Pe==null?void 0:Pe.id}/identifier_exist.json`,{method:"post",body:Pe})})}function me(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${Pe}/get_shixun_settings.json`,{method:"get"})})}function Ee(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${Pe==null?void 0:Pe.id}/shixun_add.json`,{method:"post",body:Pe})})}function Le(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${Pe==null?void 0:Pe.id}/shixun_delete.json`,{method:"delete",body:Pe})})}function $e(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${Pe==null?void 0:Pe.id}/shixun_select.json`,{method:"post",body:Pe})})}function Ze(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${Pe}/info_finish.json`,{method:"get"})})}function nt(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${Pe==null?void 0:Pe.id}/competition_review.json`,{method:"post",body:h({},Pe)})})}function ut(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${Pe.identifier}/competition_teams.json`,{method:"get",params:Pe})})}function Wt(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${Pe.identifier}/all_team_members.json`,{method:"get",params:Pe})})}function Zt(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${Pe.identifier}/competition_commit_records/member_works.json`,{method:"get",params:Pe})})}},29470:function(d,v,e){"use strict";e.d(v,{F:function(){return b},OE:function(){return T},ff:function(){return x},p1:function(){return O},_y:function(){return l},mK:function(){return K},gq:function(){return Z},eM:function(){return R},BA:function(){return se},bA:function(){return Y},Nx:function(){return Q},Qx:function(){return F},At:function(){return k},PX:function(){return C},Xl:function(){return $},y9:function(){return W},No:function(){return ie},ay:function(){return G}});var t=e(7660),n=Object.defineProperty,s=Object.defineProperties,u=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,o=(ae,ee,J)=>ee in ae?n(ae,ee,{enumerable:!0,configurable:!0,writable:!0,value:J}):ae[ee]=J,i=(ae,ee)=>{for(var J in ee||(ee={}))c.call(ee,J)&&o(ae,J,ee[J]);if(f)for(var J of f(ee))h.call(ee,J)&&o(ae,J,ee[J]);return ae},y=(ae,ee)=>s(ae,u(ee)),p=(ae,ee)=>{var J={};for(var te in ae)c.call(ae,te)&&ee.indexOf(te)<0&&(J[te]=ae[te]);if(ae!=null&&f)for(var te of f(ae))ee.indexOf(te)<0&&h.call(ae,te)&&(J[te]=ae[te]);return J},g=(ae,ee,J)=>new Promise((te,M)=>{var L=xe=>{try{fe(J.next(xe))}catch(Ce){M(Ce)}},X=xe=>{try{fe(J.throw(xe))}catch(Ce){M(Ce)}},fe=xe=>xe.done?te(xe.value):Promise.resolve(xe.value).then(L,X);fe((J=J.apply(ae,ee)).next())});const l=ae=>g(void 0,null,function*(){var ee=ae,{id:J}=ee,te=p(ee,["id"]);return(0,t.ZP)(`/api/ec_years/${J}/course_results.json`,{method:"get",params:te})}),b=ae=>{let ee=document.createElement("iframe");ee.src=`/api/ec_years/${ae}/course_results.xlsx`,ee.style.display="none",document.body.appendChild(ee)},x=({ec_year_id:ae})=>(0,t.ZP)(`/api/ec_years/${ae}/course_results/get_class.json`,{method:"get"}),O=({ec_year_id:ae,id:ee,class_name:J=null})=>(0,t.ZP)(`/api/ec_years/${ae}/course_results/${ee}.json`,{method:"get",params:{class_name:J}}),k=({ec_year_id:ae})=>(0,t.ZP)("/api/ec_courses/1/evaluations/compute_all_courses_data",{method:"post",body:{ec_year_id:ae}}),C=({ec_course_id:ae})=>(0,t.ZP)(`/api/ec_courses/${ae}/evaluations/evaluation_data`,{method:"POST"}),T=ae=>{let ee=document.createElement("iframe");ee.src=`/api/ec_years/${ae}/ec_graduation_results.xlsx`,ee.style.display="none",document.body.appendChild(ee)},F=({ec_year_id:ae})=>(0,t.ZP)(`/api/ec_years/${ae}/ec_graduation_results/compute_all`,{method:"post"}),$=({ec_year_id:ae,id:ee})=>(0,t.ZP)(`/api/ec_years/${ae}/ec_graduation_results/compute_single?id=${ee}`,{method:"POST"}),R=ae=>(0,t.ZP)(`/api/ec_years/${ae}/ec_graduation_results.json`,{method:"get"}),K=ae=>(0,t.ZP)(`/api/ec_years/${ae}/ec_graduation_results/get_formulas.json`,{method:"get"}),W=({ec_year_id:ae,formula_one:ee,formula_two:J,formula_three:te})=>(0,t.ZP)(`/api/ec_years/${ae}/ec_graduation_results/set_formulas.json`,{method:"PUT",body:{formula_one_id:ee,formula_two_id:J,formula_three_id:te}}),Z=({ec_year_id:ae,id:ee})=>(0,t.ZP)(`/api/ec_years/${ae}/ec_graduation_results/${ee}.json`,{method:"get"}),ie=ae=>{var ee=ae,{ec_year_id:J,type:te,goal_value:M}=ee,L=p(ee,["ec_year_id","type","goal_value"]);let X=`?type=${te}`,fe={method:"PUT"};return te==="all"&&(X+=`&goal_value=${M}`),te==="each"&&(fe=y(i({},fe),{body:L})),(0,t.ZP)(`/api/ec_years/${J}/ec_graduation_results/set_goal_value${X}`,fe)};var ne=(ae,ee,J)=>new Promise((te,M)=>{var L=xe=>{try{fe(J.next(xe))}catch(Ce){M(Ce)}},X=xe=>{try{fe(J.throw(xe))}catch(Ce){M(Ce)}},fe=xe=>xe.done?te(xe.value):Promise.resolve(xe.value).then(L,X);fe((J=J.apply(ae,ee)).next())});const se=ae=>ne(void 0,null,function*(){return(0,t.ZP)(`/api/schools/${ae}/ec_majors/get_major_list.json`,{method:"get"})}),Q=ae=>ne(void 0,null,function*(){return(0,t.ZP)(`/api/ec_major_schools/${ae}/ec_years/get_year_list.json`,{method:"get"})}),Y=({ec_year_id:ae,school_id:ee})=>(0,t.ZP)(`/api/ec_years/${ae}/top_pages.json`,{method:"get",params:{school_id:ee}}),G=({id:ae,name:ee})=>(0,t.ZP)(`/api/ec_years/1/top_pages/${ae}?name=${ee}`,{method:"PUT"})},30897:function(d,v,e){"use strict";e.d(v,{$Q:function(){return T},$l:function(){return br},BJ:function(){return pt},CD:function(){return qe},Cd:function(){return nt},Cl:function(){return Fe},Di:function(){return cr},Fl:function(){return zt},G$:function(){return te},GK:function(){return Pt},Ip:function(){return me},J:function(){return M},KE:function(){return it},L8:function(){return Yt},LP:function(){return Ee},MK:function(){return Qe},Mb:function(){return Er},N0:function(){return W},N3:function(){return ke},OO:function(){return k},P8:function(){return ln},PJ:function(){return X},PT:function(){return dr},Qc:function(){return ie},RK:function(){return J},Ty:function(){return Ke},UH:function(){return dt},UK:function(){return Ft},Uj:function(){return Zt},Ul:function(){return Ze},VL:function(){return Nt},Vj:function(){return ue},W4:function(){return Wt},WL:function(){return le},Wj:function(){return ee},X4:function(){return Ne},Xn:function(){return Vr},Xo:function(){return se},YY:function(){return qt},Ym:function(){return R},Yu:function(){return sr},ZD:function(){return sn},Zg:function(){return Dr},_B:function(){return Pe},_F:function(){return $r},_U:function(){return Y},_u:function(){return fe},aU:function(){return K},ab:function(){return kt},cC:function(){return ge},cV:function(){return G},ck:function(){return zr},dp:function(){return Z},eA:function(){return jt},fG:function(){return x},gA:function(){return ae},gG:function(){return Jr},gJ:function(){return Lt},hk:function(){return g},hv:function(){return l},iB:function(){return b},iU:function(){return O},iw:function(){return Et},kp:function(){return Bt},lL:function(){return C},lf:function(){return Me},n$:function(){return Ce},n7:function(){return Q},nF:function(){return ze},o3:function(){return gt},oS:function(){return Le},oX:function(){return Rt},oy:function(){return yt},p7:function(){return $},pL:function(){return Kt},pu:function(){return et},q6:function(){return Ct},qf:function(){return tr},qz:function(){return $e},s:function(){return ct},sA:function(){return Dt},sS:function(){return bt},tX:function(){return Ht},uR:function(){return ht},ux:function(){return Ot},wy:function(){return At},xA:function(){return Ie},yE:function(){return ne},yu:function(){return Te},zP:function(){return F},zR:function(){return Sr}});var t=e(7660),n=Object.defineProperty,s=Object.defineProperties,u=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,o=(at,Mr,xn)=>Mr in at?n(at,Mr,{enumerable:!0,configurable:!0,writable:!0,value:xn}):at[Mr]=xn,i=(at,Mr)=>{for(var xn in Mr||(Mr={}))c.call(Mr,xn)&&o(at,xn,Mr[xn]);if(f)for(var xn of f(Mr))h.call(Mr,xn)&&o(at,xn,Mr[xn]);return at},y=(at,Mr)=>s(at,u(Mr)),p=(at,Mr,xn)=>new Promise((Vn,gr)=>{var Xr=ni=>{try{Bn(xn.next(ni))}catch(si){gr(si)}},hn=ni=>{try{Bn(xn.throw(ni))}catch(si){gr(si)}},Bn=ni=>ni.done?Vn(ni.value):Promise.resolve(ni.value).then(Xr,hn);Bn((xn=xn.apply(at,Mr)).next())});const g=at=>(0,t.ZP)(`/api/exercises/${at==null?void 0:at.exercise_id}/statistics/list_student_score_by_question_type.json`,{method:"get",params:at}),l=at=>(0,t.ZP)(`/api/exercises/${at==null?void 0:at.exercise_id}/statistics/list_student_score_by_question.json`,{method:"get",params:at}),b=at=>(0,t.ZP)(`/api/exercises/${at.exercise_id}/statistics/export_class_compare.xlsl`,{method:"get",params:at}),x=at=>(0,t.ZP)(`/api/exercises/${at.exercise_id}/statistics/class_question_compare.json`,{method:"get",params:at}),O=at=>(0,t.ZP)(`/api/exercises/${at==null?void 0:at.exercise_id}/statistics/class_score_distribution.json`,{method:"get",params:at}),k=at=>(0,t.ZP)(`/api/exercises/${at==null?void 0:at.exercise_id}/statistics/list_student_score.json`,{method:"get",params:at}),C=at=>(0,t.ZP)(`/api/exercises/${at==null?void 0:at.exercise_id}/statistics/set_score_ranges.json`,{method:"put",body:at}),T=at=>(0,t.ZP)(`/api/exercises/${at==null?void 0:at.exercise_id}/statistics/score_ranges.json`,{method:"get",params:at}),F=at=>(0,t.ZP)(`/api/exercises/${at.id}/sava_exam_summary.json`,{method:"post",body:at}),$=at=>(0,t.ZP)("/api/intelligent_reviews/exam_summary.json",{method:"post",body:at}),R=at=>(0,t.ZP)(`/api/exercises/${at.id}/generate_exam_summary.json`,{method:"post",body:at}),K=at=>(0,t.ZP)(`/api/exercises/${at.id}/exam_summary_settings.json`,{method:"post",body:at}),W=at=>p(void 0,null,function*(){return(0,t.ZP)(`/api/exercises/${at==null?void 0:at.exercise_id}/review_exercise_user.json`,{method:"post",body:at})}),Z=at=>(0,t.ZP)(`/api/exercises/${at==null?void 0:at.id}/code_check.json`,{method:"get",params:at}),ie=at=>(0,t.ZP)(`/api/exercises/${at.id}/reset_pwd.json`,{method:"post",body:at}),ne=at=>(0,t.ZP)(`/api/exercises/${at.id}/encrypt_or_decrypt.json`,{method:"post",body:at}),se=at=>p(void 0,null,function*(){return(0,t.ZP)(`/api/exercises/${at.id}/delayed_time_or_force.json`,{method:"post",body:at})}),Q=at=>p(void 0,null,function*(){return(0,t.ZP)(`/api/exercises/${at==null?void 0:at.id}/exercise_time.json`,{method:"Get",params:at})}),Y=at=>(0,t.ZP)(`/api/exercises/${at==null?void 0:at.id}/exercise_question_result.json`,{method:"get",params:at}),G=at=>(0,t.ZP)(`/api/exercises/${at.id}/get_question_type_alias.json`,{method:"get",params:at});function ae(at){return p(this,null,function*(){return(0,t.ZP)(`/api/exercise_questions/${at==null?void 0:at.id}/teacher_update.json`,{method:"post",body:i({},at)})})}function ee(at){return p(this,null,function*(){return(0,t.ZP)(`/api/exercise_questions/${at==null?void 0:at.id}/adjust_comment.json`,{method:"post",body:i({},at)})})}function J(at){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${at.id}/edit_question_type_alias.json`,{method:"POST",body:at})})}function te(at){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${at.categoryId}/exercise_lists.json`,{method:"get",params:i({},at)})})}function M(at){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${at.categoryId}/exercise_identity_photos.json`,{method:"get",params:i({},at)})})}function L(at){return p(this,null,function*(){return Fetch(`/api/exercises/${at.categoryId}/video_push_url.json`,{method:"get",params:i({},at)})})}function X(at){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${at.categoryId}/query_identity_photo_state.json`,{method:"get",params:i({},at)})})}function fe(at){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${at.categoryId}/exercise_result.json`,{method:"get",params:i({},at)})})}function xe(at){return p(this,null,function*(){return Fetch(`/api/exercises/${at.categoryId}/exercise_score_area_setting.json`,{method:"post",body:i({},at)})})}function Ce(at){return p(this,null,function*(){return(0,t.ZP)("/api/question_banks/bank_list.json",{method:"get",params:i({},at)})})}function Me(at){return p(this,null,function*(){return(0,t.ZP)("/api/question_banks/save_banks.json",{method:"POST",body:i({},at)})})}function ke(at){return p(this,null,function*(){return(0,t.ZP)(`/api/courses/${at.coursesId}/exercises/publish_modal.json`,{method:"get",params:i({},at)})})}function Ft(at){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${at.categoryId}/common_header.json`,{method:"get",params:i({},at)})})}function ht(at){return p(this,null,function*(){return(0,t.ZP)(`/api/courses/${at.coursesId}/exercises.json`,{method:"post",body:i({},at)})})}function At(at){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${at.exerciseId}.json`,{method:"put",body:i({},at)})})}function tr(at){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${at.categoryId}.json`,{method:"get",params:i({},at)})})}function qt(at){return p(this,null,function*(){return(0,t.ZP)("/api/tag_disciplines.json",{method:"get",params:i({},at)})})}function cr(at){return p(this,null,function*(){const{id:Mr}=at;return delete at.id,(0,t.ZP)(`/api/exercise_questions/${Mr}.json`,{method:"put",body:i({},at)})})}function Qe(at){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${at.categoryId}/exercise_questions.json`,{method:"post",body:i({},at)})})}function Pt(at){return p(this,null,function*(){return(0,t.ZP)(`/api/exercise_questions/${at.id}/up_down.json`,{method:"post",body:i({},at)})})}function zt(at){return p(this,null,function*(){return(0,t.ZP)(`/api/exercise_questions/${at.id}.json`,{method:"delete"})})}function it(at){return p(this,null,function*(){return(0,t.ZP)(`/api/courses/${at.coursesId}/exercises/end_modal.json`,{method:"get",params:i({},at)})})}function Ot(at){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${at.categoryId}/publish_groups.json`,{method:"get",params:i({},at)})})}function pt(at){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${at.exerciseId}/user_exercise_detail.json`,{method:"get",params:i({},at)})})}function et(at){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${at.exerciseId}/consult_exercise.json`,{method:"post",body:i({},at)})})}function Ne(at){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${at.exerciseId}/teacher_appraise.json`,{method:"get",params:i({},at)})})}function me(at){return p(this,null,function*(){return(0,t.ZP)(`/api/exercise_questions/${at.id}/adjust_score.json`,{method:"post",body:i({},at)})})}function Ee(at){return p(this,null,function*(){return(0,t.ZP)(`/api/exercise_questions/${at.id}/batch_adjust_score.json`,{method:"post",body:i({},at)})})}function Le(at){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${at.id}/adjust_score.json`,{method:"post",body:i({},at)})})}function $e(at){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${at.id}/delayed_time.json`,{method:"post",body:i({},at)})})}function Ze(at){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${at.categoryId}/exercise_setting.json`,{method:"get",params:i({},at)})})}function nt(at){return p(this,null,function*(){return(0,t.ZP)(`/api/v2/exercises/${at.categoryId}/exercise_setting.json`,{method:"get",params:i({},at)})})}function ut(at){return p(this,null,function*(){return Fetch(`/api/exercises/${at.categoryId}/commit_setting.json`,{method:"post",body:i({},at)})})}function Wt(at){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${at.exerciseId}/review_exercises_by_students.json`,{method:"post",body:i({},at)})})}function Zt(at){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${at.categoryId}/exercise_lists.xlsx`,{method:"get",params:y(i({},at),{export:!0})})})}function Pe(at){return(0,t.ZP)(`/api/exercises/${at.categoryId}/user_exercise_detail.json`,{method:"get",params:y(i({},at),{login:null})})}function qe(at){return(0,t.ZP)(`/api/exercises/${at.categoryId}/start.json`,{method:"get",params:i({},at)})}function Kt(at){return(0,t.ZP)(`/api/exercises/${at.categoryId}/start_unlock.json`,{method:"post",body:i({},at)})}function Rt(at){return p(this,null,function*(){return(0,t.ZP)(`/api/exercise_questions/${at.questionId}/exercise_answers.json`,{method:"post",body:at})})}function Nt(at){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${at.categoryId}/commit_exercise.json`,{method:"post",body:at})})}function Bt(at){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${at.categoryId}/simulate_commit_exercise.json`,{method:"post",body:at})})}function Ct(at){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${at.categoryId}/redo_exercise.json`,{method:"post",body:at})})}function Yt(at){return(0,t.ZP)(`/api/${at.url}`,{method:"get",params:i({},at)})}function ze(at){return(0,t.ZP)(`/api/problems/${at.id}/start.json`,{method:"get",params:i({},at)})}function ue(at){return(0,t.ZP)(`/api/exercises/${at.id}/begin_commit.json`,{method:"get",params:i({},at)})}function le(at){return(0,t.ZP)(`/api/exercises/${at.id}/simulate_begin_commit.json`,{method:"get",params:i({},at)})}function Dt(at){return(0,t.ZP)("/api/examination_intelligent_settings/optional_items.json",{method:"post",body:i({},at)})}function Te(at){return console.log("params:",at),(0,t.ZP)(`/api/exercises/${at.categoryId}/edit.json`,{method:"get",params:i({},at)})}function dt(at){return(0,t.ZP)(`/api/exercises/${at.id}/get_objective_scores.json`,{method:"get",params:i({},at)})}function Ht(at){return(0,t.ZP)(`/api/exercises/${at.categoryId}/redo_modal.json`,{method:"get",params:i({},at)})}function ct(at){return(0,t.ZP)(`/api/exercises/${at.categoryId}/student_redo_lists.json`,{method:"get",params:i({},at)})}function Ie(at){return(0,t.ZP)("/api/exercises/get_user_exercises.json",{method:"get",params:at})}function Et(at){return(0,t.ZP)(`/api/exercises/${at.id}/exercise_header.json`,{method:"get",params:i({},at)})}function ge(at){return(0,t.ZP)(`/api/exercises/${at.categoryId}/allow_close_camera.json`,{method:"post",body:i({},at)})}function Ke(at){return(0,t.ZP)(`/api/exercises/${at.categoryId}/get_exercise_user_info.json`,{method:"get",params:i({},at)})}function yt(at){return(0,t.ZP)(`/api/exercises/${at.id}/record_screen`,{method:"post",params:i({},at)})}function kt(at){return(0,t.ZP)(`/api/exercises/${at.id}/unbind_ip.json`,{method:"post",body:i({},at)})}function Fe(at){return(0,t.ZP)(`/api/exercises/${at.id}/check_ip.json`,{method:"get",params:i({},at)})}function Dr(at){return(0,t.ZP)(`/api/exercises/${at==null?void 0:at.id}/check_user_exercise.json`,{method:"get",params:i({},at)})}function St(at){return Fetch(`/api/exercises/${at.id}/make_up_students.json`,{method:"get",params:i({},at)})}function Vr(at){return p(this,null,function*(){return(0,t.ZP)(`/api/courses/${at.coursesId}/exercises/code_review_detail.json`,{method:"get",params:i({},at)})})}function Jr(at){return p(this,null,function*(){return(0,t.ZP)(`/api/exercise_questions/${at.question_id}/adjust_score.json`,{method:"post",body:i({},at)})})}function Er(at){return p(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${at.categoryId}/simulate_exercise.json`,{method:"post",body:i({},at)})})}function $r(at){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${at.categoryId}/simulate_start_answer.json`,{method:"get",params:i({},at)})})}function dr(at){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${at.categoryId}/exercise_time.json`,{method:"get",params:i({},at)})})}function zr(at){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${at.categoryId}/commit_screen_at.json`,{method:"post",body:i({},at)})})}function sn(at,Mr){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${at}/unlock_user`,{method:"post",body:Mr})})}function ln(at,Mr){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${at}/save_screen_record.json`,{method:"post",body:Mr})})}function sr(at,Mr){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${at}/screen_record_list.json`,{method:"get",params:Mr})})}function Lt(at){return p(this,null,function*(){return(0,t.ZP)("/api/attachments/set_ecs_attachment.json",{method:"get",params:i({},at)})})}function gt(at){return p(this,null,function*(){return(0,t.ZP)("/api/exercises/need_redo.json",{method:"get",params:at})})}function bt(at,Mr){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${at}/mark.json`,{method:"post",body:Mr})})}function jt(at){return p(this,null,function*(){return(0,t.ZP)(`/api/myshixuns/${at}/exit_delete_pod.json`,{method:"post",body:at})})}function Sr(at){return p(this,null,function*(){return(0,t.ZP)("/api/users/change_exercise_score.json",{method:"put",body:at})})}function br(at){return p(this,null,function*(){return(0,t.ZP)(`/api/exercise_questions/${at==null?void 0:at.id}/send_to_item_bank.json`,{method:"post",body:i({},at)})})}},99209:function(d,v,e){"use strict";e.d(v,{B0:function(){return p},Si:function(){return k},Sr:function(){return T},YP:function(){return C},b4:function(){return O},bc:function(){return i},dX:function(){return x},eh:function(){return F},iI:function(){return l},kd:function(){return y},qR:function(){return b},sW:function(){return g},ts:function(){return R},vL:function(){return $},z5:function(){return K}});var t=e(7660),n=Object.defineProperty,s=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,c=(W,Z,ie)=>Z in W?n(W,Z,{enumerable:!0,configurable:!0,writable:!0,value:ie}):W[Z]=ie,h=(W,Z)=>{for(var ie in Z||(Z={}))u.call(Z,ie)&&c(W,ie,Z[ie]);if(s)for(var ie of s(Z))f.call(Z,ie)&&c(W,ie,Z[ie]);return W},o=(W,Z,ie)=>new Promise((ne,se)=>{var Q=ae=>{try{G(ie.next(ae))}catch(ee){se(ee)}},Y=ae=>{try{G(ie.throw(ae))}catch(ee){se(ee)}},G=ae=>ae.done?ne(ae.value):Promise.resolve(ae.value).then(Q,Y);G((ie=ie.apply(W,Z)).next())});function i(W){return o(this,null,function*(){return(0,t.ZP)("/api/memos.json",{method:"get",params:W})})}function y(W){return o(this,null,function*(){return(0,t.ZP)("/api/discusses/forum_discusses.json",{method:"get",params:W})})}function p(W){return o(this,null,function*(){return(0,t.ZP)(`/api/memos/${W.id}/sticky_or_cancel.json`,{method:"post",body:W})})}function g(W){return o(this,null,function*(){return(0,t.ZP)(`/api/memos/${W.id}.json`,{method:"delete",body:W})})}function l(W){return o(this,null,function*(){return(0,t.ZP)("/api/memos/new.json",{method:"get",params:W})})}function b(W){return o(this,null,function*(){return(0,t.ZP)(`/api/memos/${W.id}/edit.json`,{method:"get",params:W})})}function x(W){return o(this,null,function*(){return(0,t.ZP)("/api/memos.json",{method:"post",body:h({},W)})})}function O(W){return o(this,null,function*(){return(0,t.ZP)(`/api/memos/${W.id}.json`,{method:"put",body:h({},W)})})}function k(W){return o(this,null,function*(){return(0,t.ZP)(`/api/memos/${W.id}.json`,{method:"get",params:W})})}function C(W){return o(this,null,function*(){return(0,t.ZP)(`/api/users/${W.user_id}/watch.json`,{method:"post",body:W})})}function T(W){return o(this,null,function*(){return(0,t.ZP)(`/api/users/${W.user_id}/watch.json`,{method:"delete",body:h({},W)})})}function F(W){return o(this,null,function*(){return(0,t.ZP)(`/api/discusses/${W.id}/reward_code.json`,{method:"post",body:W})})}function $(W){return o(this,null,function*(){return(0,t.ZP)(`/api/discusses/${W.id}/plus.json`,{method:"post",body:W})})}function R(W){return o(this,null,function*(){return(0,t.ZP)("/api/memos/reply.json",{method:"post",body:W})})}function K(W){return o(this,null,function*(){return(0,t.ZP)(`/api/memos/${W.id}/more_reply.json`,{method:"get",params:W})})}},9776:function(d,v,e){"use strict";e.d(v,{D2:function(){return i},n0:function(){return y},tk:function(){return p}});var t=e(7660),n=Object.defineProperty,s=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,c=(g,l,b)=>l in g?n(g,l,{enumerable:!0,configurable:!0,writable:!0,value:b}):g[l]=b,h=(g,l)=>{for(var b in l||(l={}))u.call(l,b)&&c(g,b,l[b]);if(s)for(var b of s(l))f.call(l,b)&&c(g,b,l[b]);return g},o=(g,l,b)=>new Promise((x,O)=>{var k=F=>{try{T(b.next(F))}catch($){O($)}},C=F=>{try{T(b.throw(F))}catch($){O($)}},T=F=>F.done?x(F.value):Promise.resolve(F.value).then(k,C);T((b=b.apply(g,l)).next())});function i(g){return o(this,null,function*(){return(0,t.ZP)("/api/setting.json",{method:"Get",params:h({},g)})})}function y(){return o(this,null,function*(){return(0,t.ZP)("/api/users/system_update.json",{method:"Get"})})}function p(g){return o(this,null,function*(){return(0,t.ZP)("/api/search_records",{method:"post",body:g})})}},6617:function(d,v,e){"use strict";e.d(v,{B6:function(){return p},Gr:function(){return R},Mf:function(){return T},NA:function(){return k},PC:function(){return x},PP:function(){return O},QA:function(){return y},RP:function(){return Z},Sv:function(){return W},YQ:function(){return C},_n:function(){return ie},hL:function(){return $},je:function(){return b},mM:function(){return l},wA:function(){return K},x_:function(){return g},y0:function(){return F},y3:function(){return i}});var t=e(7660),n=Object.defineProperty,s=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,c=(ne,se,Q)=>se in ne?n(ne,se,{enumerable:!0,configurable:!0,writable:!0,value:Q}):ne[se]=Q,h=(ne,se)=>{for(var Q in se||(se={}))u.call(se,Q)&&c(ne,Q,se[Q]);if(s)for(var Q of s(se))f.call(se,Q)&&c(ne,Q,se[Q]);return ne},o=(ne,se,Q)=>new Promise((Y,G)=>{var ae=te=>{try{J(Q.next(te))}catch(M){G(M)}},ee=te=>{try{J(Q.throw(te))}catch(M){G(M)}},J=te=>te.done?Y(te.value):Promise.resolve(te.value).then(ae,ee);J((Q=Q.apply(ne,se)).next())});function i(ne){return o(this,null,function*(){return(0,t.ZP)(`/api/graduation_tasks/${ne.categoryId}.json`,{method:"get",params:h({},ne)})})}function y(ne){return o(this,null,function*(){return(0,t.ZP)(`/api/graduation_tasks/${ne.categoryId}/tasks_list.json`,{method:"get",params:h({},ne)})})}function p(ne){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${ne.coursesId}/graduation_topics/${ne.categoryId}/show_detail.json`,{method:"get",params:h({},ne)})})}function g(ne){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${ne.coursesId}/graduation_topics/${ne.categoryId}.json`,{method:"get",params:h({},ne)})})}function l(ne){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${ne.coursesId}/graduation_topics/${ne.categoryId}/refuse_student_topic.json`,{method:"post",body:h({},ne)})})}function b(ne){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${ne.coursesId}/graduation_topics/${ne.categoryId}/accept_student_topic.json`,{method:"post",body:h({},ne)})})}function x(ne){return o(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${ne.categoryId}/show_comment.json`,{method:"get",params:h({},ne)})})}function O(ne){return o(this,null,function*(){return(0,t.ZP)("/api/users/reply_message.json",{method:"post",body:h({},ne)})})}function k(ne){return o(this,null,function*(){return(0,t.ZP)("/api/praise_tread/like.json",{method:"post",body:h({},ne)})})}function C(ne){return o(this,null,function*(){return(0,t.ZP)("/api/praise_tread/unlike.json",{method:"delete",body:h({},ne)})})}function T(ne){return o(this,null,function*(){return(0,t.ZP)("/api/commons/delete.json",{method:"delete",body:h({},ne)})})}function F(ne){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${ne.coursesId}/graduation_topics/new.json`,{method:"get",params:h({},ne)})})}function $(ne){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${ne.coursesId}/graduation_topics/${ne.categoryId}/edit.json`,{method:"get",params:h({},ne)})})}function R(ne){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${ne.coursesId}/graduation_topics`,{method:"post",body:h({},ne)})})}function K(ne){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${ne.coursesId}/graduation_topics/${ne.categoryId}`,{method:"put",body:h({},ne)})})}function W(ne){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${ne.coursesId}/graduation_tasks`,{method:"post",body:h({},ne)})})}function Z(ne){return o(this,null,function*(){return(0,t.ZP)(`/api/graduation_tasks/${ne.categoryId}.json`,{method:"put",body:h({},ne)})})}function ie(ne){return o(this,null,function*(){return(0,t.ZP)(`/api/graduation_tasks/${ne.categoryId}/edit.json`,{method:"get",params:h({},ne)})})}},37205:function(d,v,e){"use strict";e.d(v,{AA:function(){return K},Db:function(){return y},Dd:function(){return b},F7:function(){return Q},Fi:function(){return te},H3:function(){return l},HF:function(){return O},HH:function(){return g},Ib:function(){return ae},J3:function(){return c},NT:function(){return s},NX:function(){return C},Ot:function(){return k},Ou:function(){return Y},Ps:function(){return u},Rk:function(){return se},Tz:function(){return i},V1:function(){return ee},Wz:function(){return f},Xh:function(){return p},Xw:function(){return ne},YS:function(){return Z},Zd:function(){return J},bS:function(){return T},ck:function(){return x},eh:function(){return R},il:function(){return h},j7:function(){return o},jW:function(){return W},km:function(){return ie},l5:function(){return $},rU:function(){return M},xF:function(){return F},zC:function(){return G},zT:function(){return L}});var t=e(7660),n=(X,fe,xe)=>new Promise((Ce,Me)=>{var ke=At=>{try{ht(xe.next(At))}catch(tr){Me(tr)}},Ft=At=>{try{ht(xe.throw(At))}catch(tr){Me(tr)}},ht=At=>At.done?Ce(At.value):Promise.resolve(At.value).then(ke,Ft);ht((xe=xe.apply(X,fe)).next())});function s(X){return(0,t.ZP)("/api/schools/search.json",{method:"get",params:X})}function u(X){return(0,t.ZP)(`/api/schools/${X.id}/departments/for_option.json`,{method:"get",params:X})}function f(X){return(0,t.ZP)("/api/graduations.json",{method:"POST",body:X})}function c(X){return(0,t.ZP)("/api/graduations.json",{method:"get",params:X})}function h(X){return n(this,null,function*(){return(0,t.ZP)(`/api/graduations/${X.identifier}/graduation_stages/${X.stageid}/authorized_redelivery.json`,{method:"POST",body:X})})}function o(X){return n(this,null,function*(){return(0,t.ZP)(`/api/graduations/${X.identifier}/graduation_stages/${X.stageid}/submit.json`,{method:"POST",body:X})})}function i(X){return n(this,null,function*(){return(0,t.ZP)(`/api/graduations/${X.id}/student_tasks/export_status.json`,{method:"get",params:X})})}function y(X){return n(this,null,function*(){return(0,t.ZP)(`/api/graduations/${X.id}/student_tasks/export_all_attachments.json`,{method:"get",params:X})})}function p(X){return n(this,null,function*(){return(0,t.ZP)(`/api/graduations/${X.identifier}/graduation_stages/${X.id}.json`,{method:"get",params:X})})}function g(X){return n(this,null,function*(){return(0,t.ZP)(`/api/graduations/${X.id}/student_tasks/set_final_score.json`,{method:"POST",body:X})})}function l(X){return n(this,null,function*(){return(0,t.ZP)(`/api/graduations/${X.id}/student_tasks/final_score.json`,{method:"get",params:X})})}function b(X){return n(this,null,function*(){return(0,t.ZP)(`/api/graduations/${X.id}/set_novice_guide.json`,{method:"POST",body:X})})}function x(X){return n(this,null,function*(){return(0,t.ZP)(`/api/graduations/${X.id}/graduation_notices/${X.doid}/set_do.json`,{method:"POST",body:X})})}function O(X){return n(this,null,function*(){return(0,t.ZP)(`/api/graduations/${X.id}/graduation_teachers.json`,{method:"POST",body:X})})}function k(X){return n(this,null,function*(){return(0,t.ZP)(`/api/graduations/${X.identifier}/graduation_students/${X.id}/update_major.json`,{method:"PUT",body:X})})}function C(X){return n(this,null,function*(){return(0,t.ZP)(`/api/graduations/${X.id}/graduation_students.json`,{method:"POST",body:X})})}function T(X){return n(this,null,function*(){return(0,t.ZP)(`/api/graduations/${X.id}/graduation_teachers/search.json`,{method:"get",params:X})})}function F(X){return n(this,null,function*(){return(0,t.ZP)("/api/schools/search.json",{method:"get",params:X})})}function $(X){return n(this,null,function*(){return(0,t.ZP)(`/api/graduations/${X.id}/graduation_students/search.json`,{method:"get",params:X})})}function R(X){return n(this,null,function*(){return(0,t.ZP)(`/api/graduations/${X.id}/graduation_students.json`,{method:"get",params:X})})}function K(X){return n(this,null,function*(){return(0,t.ZP)(`/api/graduations/${X.id}/graduation_teachers.json`,{method:"get",params:X})})}function W(X){return n(this,null,function*(){return(0,t.ZP)(`/api/graduations/${X.graduation_id}/graduation_tasks.json`,{method:"POST",body:X})})}function Z(X){return n(this,null,function*(){return(0,t.ZP)(`/api/graduations/${X.graduation_id}/graduation_tasks/${X.id}.json`,{method:"PUT",body:X})})}function ie(X){return n(this,null,function*(){var fe;return(0,t.ZP)(`/api/graduations/${X.id}/graduation_tasks/${(fe=X.ids)==null?void 0:fe[0]}`,{method:"DELETE",body:{ids:X.ids}})})}function ne(X){return n(this,null,function*(){return(0,t.ZP)(`/api/graduations/${X.id}/graduation_tasks.json`,{method:"get",params:X})})}function se(X){return n(this,null,function*(){return(0,t.ZP)(`/api/graduations/${X.id}/graduation_notices.json`,{method:"get",params:X})})}function Q(X){return n(this,null,function*(){return(0,t.ZP)(`/api/graduations/${X.id}.json`,{method:"get"})})}function Y(X){return n(this,null,function*(){return(0,t.ZP)(`/api/graduations/${X==null?void 0:X.id}/common_header.json`,{method:"get"})})}function G(X,fe){return n(this,null,function*(){return(0,t.ZP)(`/api/graduations/${X}/preview.json`,{method:"get"})})}function ae(X,fe){return n(this,null,function*(){return(0,t.ZP)(`/api/graduations/${X}/graduation_teachers/not_pass.json`,{method:"post",body:fe})})}function ee(X,fe){return n(this,null,function*(){return(0,t.ZP)(`/api/graduations/${X}/graduation_teachers/pass.json`,{method:"post",body:fe})})}function J(X,fe){return n(this,null,function*(){return(0,t.ZP)(`/api/graduations/${X}/graduation_students/not_pass.json`,{method:"post",body:fe})})}function te(X,fe){return n(this,null,function*(){return(0,t.ZP)(`/api/graduations/${X}/graduation_students/pass.json`,{method:"post",body:fe})})}function M(X,fe){return n(this,null,function*(){return(0,t.ZP)(`/api/graduations/${X}/graduation_students/batch_delete`,{method:"delete",body:fe})})}function L(X,fe){return n(this,null,function*(){return(0,t.ZP)(`/api/graduations/${X}/graduation_teachers/batch_delete`,{method:"delete",body:fe})})}},88647:function(d,v,e){"use strict";e.d(v,{LA:function(){return i},Rm:function(){return u},S_:function(){return y},Tt:function(){return c},cR:function(){return h},eX:function(){return s},h$:function(){return f},vm:function(){return o}});var t=e(7660),n=(p,g,l)=>new Promise((b,x)=>{var O=T=>{try{C(l.next(T))}catch(F){x(F)}},k=T=>{try{C(l.throw(T))}catch(F){x(F)}},C=T=>T.done?b(T.value):Promise.resolve(T.value).then(O,k);C((l=l.apply(p,g)).next())});const s=p=>n(void 0,null,function*(){return(0,t.ZP)("/api/home/env_detail.json",{method:"Get",params:p})}),u=p=>n(void 0,null,function*(){return(0,t.ZP)("/api/home/env_list.json",{method:"Get",params:p})}),f=p=>n(void 0,null,function*(){return(0,t.ZP)("/api/home/online_list.json",{method:"Get",params:p})});function c(){return n(this,null,function*(){return(0,t.ZP)("/api/home/index.json",{method:"Get"})})}function h(p){return n(this,null,function*(){return(0,t.ZP)("/api/courses/apply_to_join_course.json",{method:"post",body:p})})}function o(p){return n(this,null,function*(){return(0,t.ZP)("/api/project_applies.json",{method:"post",body:p})})}function i(p){return n(this,null,function*(){return(0,t.ZP)("/api/users/home_notice.json",{method:"Get"})})}function y(p){return n(this,null,function*(){return(0,t.ZP)("/api/users/view_notice.json",{method:"post",body:p})})}},7161:function(d,v,e){"use strict";e.d(v,{AD:function(){return i},Ig:function(){return y},Ko:function(){return l},QJ:function(){return b},Ub:function(){return x},V8:function(){return p},dl:function(){return O},w0:function(){return g}});var t=e(7660),n=Object.defineProperty,s=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,c=(k,C,T)=>C in k?n(k,C,{enumerable:!0,configurable:!0,writable:!0,value:T}):k[C]=T,h=(k,C)=>{for(var T in C||(C={}))u.call(C,T)&&c(k,T,C[T]);if(s)for(var T of s(C))f.call(C,T)&&c(k,T,C[T]);return k},o=(k,C,T)=>new Promise((F,$)=>{var R=Z=>{try{W(T.next(Z))}catch(ie){$(ie)}},K=Z=>{try{W(T.throw(Z))}catch(ie){$(ie)}},W=Z=>Z.done?F(Z.value):Promise.resolve(Z.value).then(R,K);W((T=T.apply(k,C)).next())});function i(k){return o(this,null,function*(){return(0,t.ZP)("/api/users/tidings.json",{method:"get",params:h({},k)})})}function y(k){return o(this,null,function*(){return(0,t.ZP)(`/api/users/${k.userId}/unread_message_info.json`,{method:"get",params:h({},k)})})}function p(k){return o(this,null,function*(){return(0,t.ZP)(`/api/users/${k.userId}/private_messages.json`,{method:"get",params:h({},k)})})}function g(k){return o(this,null,function*(){return(0,t.ZP)(`/api/users/${k.userId}/private_messages.json`,{method:"post",body:h({},k)})})}function l(k){return o(this,null,function*(){return(0,t.ZP)(`/api/users/${k.id}/recent_contacts.json`,{method:"get",params:h({},k)})})}function b(k){return o(this,null,function*(){return(0,t.ZP)("/api/users_for_private_messages.json",{method:"get",params:h({},k)})})}function x(k){return o(this,null,function*(){return(0,t.ZP)(`/api/users/${k.userId}/private_message_details.json`,{method:"get",params:h({},k)})})}function O(k){return o(this,null,function*(){return(0,t.ZP)(`/api/users/${k.userId}/private_messages/${k.id}.json`,{method:"delete"})})}},6347:function(d,v,e){"use strict";e.d(v,{A2:function(){return b},CI:function(){return p},Ep:function(){return l},Ex:function(){return F},R7:function(){return i},WW:function(){return $},_V:function(){return T},ms:function(){return k},s0:function(){return x},vf:function(){return g},xn:function(){return y},yy:function(){return C}});var t=e(7660),n=Object.defineProperty,s=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,c=(R,K,W)=>K in R?n(R,K,{enumerable:!0,configurable:!0,writable:!0,value:W}):R[K]=W,h=(R,K)=>{for(var W in K||(K={}))u.call(K,W)&&c(R,W,K[W]);if(s)for(var W of s(K))f.call(K,W)&&c(R,W,K[W]);return R},o=(R,K,W)=>new Promise((Z,ie)=>{var ne=Y=>{try{Q(W.next(Y))}catch(G){ie(G)}},se=Y=>{try{Q(W.throw(Y))}catch(G){ie(G)}},Q=Y=>Y.done?Z(Y.value):Promise.resolve(Y.value).then(ne,se);Q((W=W.apply(R,K)).next())});function i(R){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${R.coursesId}/online_learning.json`,{method:"get"})})}function y(R){return o(this,null,function*(){return(0,t.ZP)(`/api/course_stages/${R.id}.json`,{method:"put",body:R})})}function p(R){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${R.coursesId}/course_stages.json`,{method:"post",body:R})})}function g(R){return o(this,null,function*(){return(0,t.ZP)(`/api/course_stages/${R.id}/add_shixun_to_stage.json`,{method:"post",body:R})})}function l(R){return o(this,null,function*(){return(0,t.ZP)(`/api/course_stages/${R.id}/select_shixun_to_stage.json`,{method:"post",body:R})})}function b(R){return o(this,null,function*(){return(0,t.ZP)(`/api/course_stages/${R.id}/add_video_to_stage.json`,{method:"post",body:R})})}function x(R){return o(this,null,function*(){return(0,t.ZP)(`/api/course_stages/${R.id}/add_attachment_to_stage.json`,{method:"post",body:R})})}function O(R){return o(this,null,function*(){return Fetch("/api/paths/add_shixun_to_stage.json",{method:"post",body:R})})}function k(R){return o(this,null,function*(){return(0,t.ZP)(`/api/course_stages/${R.id}/up_position.json`,{method:"post"})})}function C(R){return o(this,null,function*(){return(0,t.ZP)(`/api/course_stages/${R.id}/down_position.json`,{method:"post"})})}function T(R){return o(this,null,function*(){return(0,t.ZP)(`/api/course_stages/${R.id}.json`,{method:"delete"})})}function F(R){return o(this,null,function*(){return(0,t.ZP)(`/api/course_stages/${R.stage_id}/items/move_position.json`,{method:"post",body:h({},R)})})}function $(R){return o(this,null,function*(){return(0,t.ZP)(`/api/course_stages/${R.stage_id}/items/${R.id}`,{method:"delete"})})}},83609:function(d,v,e){"use strict";e.d(v,{DF:function(){return b},Di:function(){return ee},Dm:function(){return se},Dq:function(){return xe},Gd:function(){return l},Hb:function(){return Ce},Hm:function(){return Z},ID:function(){return o},JP:function(){return fe},NC:function(){return K},Pl:function(){return x},Qc:function(){return u},Qp:function(){return Q},RK:function(){return y},YP:function(){return W},a2:function(){return c},ar:function(){return g},cV:function(){return i},d1:function(){return p},dp:function(){return s},fn:function(){return O},iT:function(){return F},jK:function(){return ne},kF:function(){return Me},kp:function(){return T},lc:function(){return C},oF:function(){return te},q$:function(){return h},qN:function(){return ie},tS:function(){return k},ts:function(){return $},un:function(){return G},w0:function(){return ae},wX:function(){return Y},yE:function(){return f}});var t=e(7660),n=(ke,Ft,ht)=>new Promise((At,tr)=>{var qt=Pt=>{try{Qe(ht.next(Pt))}catch(zt){tr(zt)}},cr=Pt=>{try{Qe(ht.throw(Pt))}catch(zt){tr(zt)}},Qe=Pt=>Pt.done?At(Pt.value):Promise.resolve(Pt.value).then(qt,cr);Qe((ht=ht.apply(ke,Ft)).next())});const s=ke=>(0,t.ZP)(`/api/examination_banks/${ke==null?void 0:ke.id}/code_check.json`,{method:"get",params:ke}),u=ke=>(0,t.ZP)(`/api/examination_banks/${ke.id}/reset_pwd.json`,{method:"post",body:ke}),f=ke=>(0,t.ZP)(`/api/examination_banks/${ke.id}/encrypt_or_decrypt.json`,{method:"post",body:ke}),c=ke=>(0,t.ZP)("/api/examination_banks/exist_course.json",{method:"post",body:ke}),h=ke=>(0,t.ZP)("/api/examination_banks/check_examination_banks.json",{method:"post",body:ke}),o=ke=>(0,t.ZP)(`/api/examination_banks/${ke.id}/copy.json`,{method:"post",body:ke}),i=ke=>(0,t.ZP)(`/api/examination_banks/${ke.id}/get_question_type_alias.json`,{method:"get",params:ke});function y(ke){return n(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${ke.id}/edit_question_type_alias.json`,{method:"POST",body:ke})})}function p(ke){return n(this,null,function*(){return(0,t.ZP)("/api/disciplines.json",{method:"get",params:ke})})}function g(ke){return n(this,null,function*(){return(0,t.ZP)("/api/disciplines/by_examination_banks.json",{method:"get",params:ke})})}function l(ke){return n(this,null,function*(){return(0,t.ZP)("/api/examination_banks.json",{method:"get",params:ke})})}function b(ke){return n(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${ke.id}/set_public.json`,{method:"post"})})}function x(ke){return n(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${ke.id}/set_private.json`,{method:"post"})})}function O(ke){return n(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${ke.id}.json`,{method:"delete"})})}function k(ke){return n(this,null,function*(){return(0,t.ZP)("/api/question_banks/my_courses.json",{method:"get",params:ke})})}const C=ke=>(0,t.ZP)("/api/examination_banks/batch_send_to_course.json",{method:"post",body:ke});function T(ke){return n(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${ke.id}/send_to_course.json`,{method:"post",body:ke})})}function F(ke){return n(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${ke.id}.json`,{method:"get",params:ke})})}function $(ke){return n(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${ke.id}/examination_banks_item_banks/${ke.itemId}/set_score`,{method:"post",body:ke})})}function R(ke){return n(this,null,function*(){return Fetch(`/api/examination_banks/${ke.id}/examination_banks_item_banks/${ke.itemId}/set_shixun_score.json`,{method:"post",body:ke})})}function K(ke){return n(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${ke.id}/examination_banks_item_banks/${ke.itemId}.json`,{method:"delete"})})}function W(ke){return n(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${ke.id}/examination_banks_item_banks/batch_set_score.json`,{method:"post",body:ke})})}function Z(ke){return n(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${ke.id}/examination_banks_item_banks/destroy_by_item_type.json`,{method:"delete",body:ke})})}function ie(ke){return n(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${ke.id}/examination_banks_item_banks/${ke.itemId}/adjust_position.json`,{method:"post",body:ke})})}function ne(ke){return n(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${ke.id}.json`,{method:"put",body:ke})})}function se(ke){return n(this,null,function*(){return(0,t.ZP)("/api/teach_group_shares.json",{method:"get",params:ke})})}function Q(ke){return n(this,null,function*(){return(0,t.ZP)("/api/examination_banks/set_batch_public.json",{method:"post",body:ke})})}function Y(ke){return n(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${ke==null?void 0:ke.id}/set_public.json`,{method:"post",body:ke})})}function G(ke){return n(this,null,function*(){return(0,t.ZP)("/api/examination_banks/create_exam.json",{method:"post",body:ke})})}function ae(ke){return n(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${ke.id}/update_exam.json`,{method:"put",body:ke})})}function ee(ke){return n(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${ke.id}/edit_exam.json`,{method:"get"})})}function J(ke,Ft){return n(this,null,function*(){return Fetch(`/api/examination_banks/${ke}/examination_banks_item_banks.json`,{method:"post",body:Ft})})}function te(ke){return n(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${ke.id}/examination_banks_item_banks/create_item_bank.json`,{method:"post",body:ke})})}function M(ke,Ft){return n(this,null,function*(){return Fetch(`/api/examination_banks/${ke}/sort_question_type.json`,{method:"post",body:Ft})})}function L(ke){return n(this,null,function*(){return Fetch(`/api/examination_banks/${ke.exam_id}/examination_banks_item_banks/${ke.question_id}.json`,{method:"delete"})})}function X(ke,Ft){return n(this,null,function*(){return Fetch(`/api/examination_banks/${ke}/batch_set_score.json`,{method:"post",body:Ft})})}function fe(ke){return n(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${ke}/simulate_exercise.json`,{method:"post"})})}function xe(ke){return n(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${ke}/exercise_header.json`,{method:"get"})})}function Ce(ke,Ft,ht){return n(this,null,function*(){const At=new FormData;return At.append("file",Ft),At.append("sub_discipline_id",ht),(0,t.ZP)(`/api/examination_banks/${ke}/import_item_banks.json`,{method:"post",body:At},!0)})}function Me(ke){return n(this,null,function*(){return(0,t.ZP)("/api/users/change_exam_score.json",{method:"put",body:ke})})}},22663:function(d,v,e){"use strict";e.d(v,{$D:function(){return Q},A2:function(){return me},A7:function(){return Ht},AQ:function(){return R},Ax:function(){return Pe},Bn:function(){return Et},CI:function(){return Ze},DQ:function(){return le},DU:function(){return zt},EP:function(){return se},Ep:function(){return Ne},Er:function(){return X},Ex:function(){return Rt},FD:function(){return Dt},F_:function(){return Pt},Fg:function(){return y},GY:function(){return Yt},Go:function(){return te},Gz:function(){return p},Hl:function(){return g},JS:function(){return ht},KM:function(){return ae},M2:function(){return Le},MO:function(){return fe},Mt:function(){return $e},Mu:function(){return qe},NV:function(){return Ie},Q:function(){return xe},Sp:function(){return $},VO:function(){return Te},WD:function(){return Ct},WO:function(){return L},WW:function(){return Nt},_C:function(){return ct},_V:function(){return Zt},bw:function(){return ne},bz:function(){return ue},c3:function(){return Ft},eJ:function(){return J},ef:function(){return Qe},fh:function(){return O},fj:function(){return M},hS:function(){return l},jT:function(){return dt},ke:function(){return Bt},lk:function(){return F},mQ:function(){return T},ms:function(){return ut},mx:function(){return Me},nq:function(){return i},ol:function(){return ze},p:function(){return W},p4:function(){return Ce},pU:function(){return C},rS:function(){return At},rs:function(){return ee},s0:function(){return Ee},sm:function(){return ke},tS:function(){return b},tu:function(){return k},ue:function(){return K},vf:function(){return pt},w4:function(){return Z},xG:function(){return et},xn:function(){return Ot},yN:function(){return ie},yy:function(){return Wt}});var t=e(7660),n=Object.defineProperty,s=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,c=(ge,Ke,yt)=>Ke in ge?n(ge,Ke,{enumerable:!0,configurable:!0,writable:!0,value:yt}):ge[Ke]=yt,h=(ge,Ke)=>{for(var yt in Ke||(Ke={}))u.call(Ke,yt)&&c(ge,yt,Ke[yt]);if(s)for(var yt of s(Ke))f.call(Ke,yt)&&c(ge,yt,Ke[yt]);return ge},o=(ge,Ke,yt)=>new Promise((kt,Fe)=>{var Dr=Jr=>{try{Vr(yt.next(Jr))}catch(Er){Fe(Er)}},St=Jr=>{try{Vr(yt.throw(Jr))}catch(Er){Fe(Er)}},Vr=Jr=>Jr.done?kt(Jr.value):Promise.resolve(Jr.value).then(Dr,St);Vr((yt=yt.apply(ge,Ke)).next())});const i=ge=>o(void 0,null,function*(){return(0,t.ZP)("/api/subject_statistics/subject_use_infos.json",{method:"Get",params:ge})}),y=ge=>o(void 0,null,function*(){return(0,t.ZP)("/api/subject_statistics/rank_list.json",{method:"Get",params:ge})}),p=ge=>o(void 0,null,function*(){return(0,t.ZP)("/api/subject_statistics/statistics_body.json",{method:"Get",params:ge})}),g=ge=>o(void 0,null,function*(){return(0,t.ZP)("/api/subject_statistics/statistics_header.json",{method:"Get",params:ge})}),l=ge=>o(void 0,null,function*(){return(0,t.ZP)("/api/subject_statistics/online_count.json",{method:"Get",params:ge})});function b(ge){return o(this,null,function*(){return(0,t.ZP)("/api/paths.json",{method:"Get",params:h({},ge)})})}function x(ge){return o(this,null,function*(){return Fetch("/api/intelligent_recommendations/subject_lists.json",{method:"Get",params:h({},ge)})})}function O(ge){return o(this,null,function*(){return(0,t.ZP)("/api/disciplines.json",{method:"Get",params:h({},ge)})})}function k(ge){return o(this,null,function*(){return(0,t.ZP)(`/api/paths/${ge.id}.json`,{method:"PUT",body:ge})})}function C(ge){return o(this,null,function*(){return(0,t.ZP)("/api/paths.json",{method:"post",body:ge})})}function T(ge){return o(this,null,function*(){return(0,t.ZP)(`/api/paths/${ge.id}/edit.json`,{method:"get"})})}function F(ge){return o(this,null,function*(){return(0,t.ZP)(`/api/paths/${ge.id}.json`,{method:"get",params:h({identifier:ge.id},ge)})})}function $(ge){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${ge.id}.json`,{method:"get",params:h({identifier:ge.id},ge)})})}function R(ge){return o(this,null,function*(){return(0,t.ZP)(`/api/paths/${ge.id}/right_banner.json`,{method:"get",params:ge})})}function K(ge){return o(this,null,function*(){return(0,t.ZP)(`/api/paths/${ge.id}/spoc_courses.json`,{method:"get",params:ge})})}const W=ge=>o(void 0,null,function*(){return(0,t.ZP)("/api/v2/stages.json",{method:"Get",params:ge})}),Z=ge=>o(void 0,null,function*(){return(0,t.ZP)(`/api/v2/stage_shixuns/${ge.id}/children.json`,{method:"Get",params:ge})});function ie(ge){return o(this,null,function*(){return(0,t.ZP)("/api/stages.json",{method:"get",params:ge})})}function ne(ge){return o(this,null,function*(){return(0,t.ZP)(`/api/paths/${ge.id}/update_team_title.json`,{method:"post",body:ge})})}function se(ge){return o(this,null,function*(){return(0,t.ZP)(`/api/paths/${ge.id}/delete_member.json`,{method:"Delete",body:ge})})}function Q(ge){return o(this,null,function*(){return(0,t.ZP)(`/api/paths/${ge.id}/spoc_courses/${ge==null?void 0:ge.courseid}.json`,{method:"Delete"})})}function Y(ge){return o(this,null,function*(){return Fetch(`/api/paths/${ge.id}/up_member_position.json`,{method:"post",body:ge})})}function G(ge){return o(this,null,function*(){return Fetch(`/api/paths/${ge.id}/down_member_position.json`,{method:"post",body:ge})})}function ae(ge){return o(this,null,function*(){return(0,t.ZP)("/api/collections.json",{method:"post",body:ge})})}function ee(ge){return o(this,null,function*(){return(0,t.ZP)("/api/collections/cancel.json",{method:"Delete",body:ge})})}function J(ge){return o(this,null,function*(){return(0,t.ZP)(`/api/paths/${ge.id}.json`,{method:"Delete",body:ge})})}function te(ge){return o(this,null,function*(){return(0,t.ZP)(`/api/paths/${ge.id}/publish.json`,{method:"post",body:ge})})}function M(ge){return o(this,null,function*(){return(0,t.ZP)(`/api/paths/${ge.id}/cancel_publish.json`,{method:"post",body:ge})})}function L(ge){return o(this,null,function*(){return(0,t.ZP)(`/api/paths/${ge.id}/apply_public.json`,{method:"post",body:ge})})}function X(ge){return o(this,null,function*(){return(0,t.ZP)(`/api/paths/${ge.id}/cancel_public.json`,{method:"post",body:ge})})}function fe(ge){return o(this,null,function*(){return(0,t.ZP)(`/api/paths/${ge.id}/choose_course.json`,{method:"get",params:ge})})}function xe(ge){return o(this,null,function*(){return(0,t.ZP)(`/api/paths/${ge.id}/send_to_course.json`,{method:"post",body:ge})})}function Ce(ge){return o(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${ge.id}/send_to_course.json`,{method:"post",body:ge})})}function Me(ge){return o(this,null,function*(){return(0,t.ZP)(`/api/paths/${ge.id}/add_subject_members.json`,{method:"post",body:ge})})}function ke(ge){return o(this,null,function*(){return(0,t.ZP)(`/api/paths/${ge.id}/spoc_courses.json`,{method:"post",body:ge})})}function Ft(ge){return o(this,null,function*(){return(0,t.ZP)(`/api/paths/${ge.id}/appointment.json`,{method:"post",body:ge})})}function ht(ge){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${ge.id}/join_excellent_course.json`,{method:"post",body:ge})})}function At(ge){return o(this,null,function*(){return(0,t.ZP)("/api/watch_attachment_histories.json",{method:"post",body:ge})})}function tr(ge){return o(this,null,function*(){return Fetch(`/api/paths/${ge.id}/statistics_info.json`,{method:"get",params:ge})})}function qt(ge){return o(this,null,function*(){return Fetch(`/api/paths/${ge.id}/shixun_analyze.json`,{method:"get",params:ge})})}function cr(ge){return o(this,null,function*(){return Fetch(`/api/paths/${ge.id}/learning_analyze.json`,{method:"get",params:ge})})}function Qe(ge){return o(this,null,function*(){return(0,t.ZP)(`/api/paths/${ge.id}/learning_statistics.json`,{method:"get",params:ge})})}function Pt(ge){return o(this,null,function*(){return(0,t.ZP)(`/api/paths/${ge.id}/shixun_statistics.json`,{method:"get",params:ge})})}function zt(ge){return o(this,null,function*(){return(0,t.ZP)(`/api/paths/${ge.id}/study_analyze/${ge.type}.json`,{method:"get",params:ge})})}function it(ge){return o(this,null,function*(){return Fetch("/api/paths/append_to_stage.json",{method:"post",body:ge})})}function Ot(ge){return o(this,null,function*(){return(0,t.ZP)(`/api/stages/${ge.id}.json`,{method:"put",body:ge})})}function pt(ge){return o(this,null,function*(){return(0,t.ZP)(`/api/stages/${ge.id}/add_shixun_to_stage.json`,{method:"post",body:ge})})}const et=ge=>o(void 0,null,function*(){return(0,t.ZP)(`/api/stages/${ge==null?void 0:ge.stage_id}/select_challenge_to_stage.json`,{method:"post",body:ge})});function Ne(ge){return o(this,null,function*(){return(0,t.ZP)(`/api/stages/${ge.id}/select_shixun_to_stage.json`,{method:"post",body:ge})})}function me(ge){return o(this,null,function*(){return(0,t.ZP)(`/api/stages/${ge.id}/add_video_to_stage.json`,{method:"post",body:ge})})}function Ee(ge){return o(this,null,function*(){return(0,t.ZP)(`/api/stages/${ge.id}/add_attachment_to_stage.json`,{method:"post",body:ge})})}function Le(ge){return o(this,null,function*(){return(0,t.ZP)(`/api/stage_shixuns/${ge.id}.json`,{method:"put",body:ge})})}function $e(ge){return o(this,null,function*(){return(0,t.ZP)(`/api/stages/${ge.id}/add_blank_to_stage.json`,{method:"post",body:ge})})}function Ze(ge){return o(this,null,function*(){return(0,t.ZP)("/api/stages.json",{method:"post",body:ge})})}function nt(ge){return o(this,null,function*(){return Fetch("/api/paths/add_shixun_to_stage.json",{method:"post",body:ge})})}function ut(ge){return o(this,null,function*(){return(0,t.ZP)(`/api/stages/${ge.id}/up_position.json`,{method:"get"})})}function Wt(ge){return o(this,null,function*(){return(0,t.ZP)(`/api/stages/${ge.id}/down_position.json`,{method:"get"})})}function Zt(ge){return o(this,null,function*(){return(0,t.ZP)(`/api/stages/${ge.id}.json`,{method:"delete"})})}function Pe(ge){return o(this,null,function*(){return(0,t.ZP)(`/api/paths/${ge.pathId}/discusses.json`,{method:"get",params:h({},ge)})})}function qe(ge){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${ge.coursesId}/excellent_discusses.json`,{method:"get",params:h({},ge)})})}function Kt(ge){return o(this,null,function*(){return Fetch("/api/discusses.json",{method:"post",body:h({},ge)})})}function Rt(ge){return o(this,null,function*(){return(0,t.ZP)(`/api/stages/${ge.stage_id}/items/move_position`,{method:"post",body:h({},ge)})})}function Nt(ge){return o(this,null,function*(){return(0,t.ZP)(`/api/stages/${ge.stage_id}/items/${ge.id}`,{method:"delete"})})}function Bt(ge){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${ge.id}/excellent_discuss`,{method:"post",body:h({},ge)})})}function Ct(ge){return o(this,null,function*(){return(0,t.ZP)(`/api/paths/${ge.id}/post_discuss`,{method:"post",body:h({},ge)})})}function Yt(ge){return o(this,null,function*(){return(0,t.ZP)("/api/schools/for_option.json",{method:"get",params:ge})})}function ze(ge){return o(this,null,function*(){return(0,t.ZP)("/api/schools/province_data.json",{method:"get",params:ge})})}function ue(ge){return o(this,null,function*(){return(0,t.ZP)("/api/add_school_applies.json",{method:"post",body:ge})})}function le(ge){return o(this,null,function*(){return(0,t.ZP)(`/api/stages/${ge==null?void 0:ge.id}/add_homework_to_stage.json`,{method:"post",body:ge})})}function Dt(ge){return o(this,null,function*(){return(0,t.ZP)(`/api/stage_shixuns/${ge==null?void 0:ge.id}/edit.json`,{method:"get",params:ge})})}function Te(ge){return o(this,null,function*(){return(0,t.ZP)(`/api/stage_shixuns/${ge==null?void 0:ge.id}.json`,{method:"put",body:ge})})}function dt(ge){return o(this,null,function*(){return(0,t.ZP)(`/api/users/${ge==null?void 0:ge.user_id}/subjects/subject_homework.json`,{method:"get",params:ge})})}function Ht(ge){return o(this,null,function*(){return(0,t.ZP)(`/api/users/${ge==null?void 0:ge.user_id}/courses/course_homework.json`,{method:"get",params:ge})})}function ct(ge){return o(this,null,function*(){return(0,t.ZP)(`/api/stages/${ge==null?void 0:ge.id}/batch_add_homework_to_stage.json`,{method:"post",body:ge})})}function Ie(ge){return o(this,null,function*(){return(0,t.ZP)("/api/paths/get_homework_detail.json",{method:"get",params:ge})})}function Et(ge){return o(this,null,function*(){return(0,t.ZP)(`/api/users/${ge==null?void 0:ge.user_login}/subjects/cancel.json`,{method:"get",params:ge})})}},19034:function(d,v,e){"use strict";e.d(v,{Fd:function(){return ae},Hi:function(){return g},IU:function(){return K},KE:function(){return b},Kc:function(){return J},MK:function(){return W},Q9:function(){return T},Qg:function(){return R},Qn:function(){return O},UK:function(){return p},W:function(){return M},Ye:function(){return $},_c:function(){return i},hO:function(){return se},iV:function(){return te},jy:function(){return Z},kp:function(){return ne},lf:function(){return C},m7:function(){return l},n$:function(){return k},rJ:function(){return F},s3:function(){return y},ux:function(){return x},vf:function(){return G},wh:function(){return ie},wo:function(){return ee},x$:function(){return Y}});var t=e(7660),n=Object.defineProperty,s=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,c=(L,X,fe)=>X in L?n(L,X,{enumerable:!0,configurable:!0,writable:!0,value:fe}):L[X]=fe,h=(L,X)=>{for(var fe in X||(X={}))u.call(X,fe)&&c(L,fe,X[fe]);if(s)for(var fe of s(X))f.call(X,fe)&&c(L,fe,X[fe]);return L},o=(L,X,fe)=>new Promise((xe,Ce)=>{var Me=ht=>{try{Ft(fe.next(ht))}catch(At){Ce(At)}},ke=ht=>{try{Ft(fe.throw(ht))}catch(At){Ce(At)}},Ft=ht=>ht.done?xe(ht.value):Promise.resolve(ht.value).then(Me,ke);Ft((fe=fe.apply(L,X)).next())});const i=L=>o(void 0,null,function*(){return(0,t.ZP)(`/api/poll_questions/${L==null?void 0:L.id}/commit_word_cloud.json`,{method:"Get",params:L})});function y(L){return o(this,null,function*(){return(0,t.ZP)(`/api/polls/${L.categoryId}/poll_lists.json`,{method:"get",params:h({},L)})})}function p(L){return o(this,null,function*(){return(0,t.ZP)(`/api/polls/${L.categoryId}/common_header.json`,{method:"get"})})}function g(L){return o(this,null,function*(){return(0,t.ZP)(`/api/polls/${L.categoryId}/poll_setting.json`,{method:"get"})})}function l(L){return o(this,null,function*(){return(0,t.ZP)(`/api/polls/${L.categoryId}/commit_setting.json`,{method:"post",body:h({},L)})})}function b(L){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${L.coursesId}/polls/end_poll_modal.json`,{method:"get",params:h({},L)})})}function x(L){return o(this,null,function*(){return(0,t.ZP)(`/api/polls/${L.categoryId}/publish_groups.json`,{method:"get",params:h({},L)})})}function O(L){return o(this,null,function*(){return(0,t.ZP)(`/api/polls/${L.categoryId}/commit_result.json`,{method:"get",params:h({},L)})})}function k(L){return o(this,null,function*(){return(0,t.ZP)("/api/question_banks/bank_list.json",{method:"get",params:h({},L)})})}function C(L){return o(this,null,function*(){return(0,t.ZP)("/api/question_banks/save_banks.json",{method:"POST",body:h({},L)})})}function T(L){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${L.coursesId}/polls/publish_modal.json`,{method:"get",params:h({},L)})})}function F(L){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${L.coursesId}/polls.json`,{method:"POST",body:h({},L)})})}function $(L){return o(this,null,function*(){return(0,t.ZP)(`/api/polls/${L.categoryId}/edit.json`,{method:"get"})})}function R(L){return o(this,null,function*(){return(0,t.ZP)(`/api/polls/${L.pollsId}.json`,{method:"put",body:h({},L)})})}function K(L){return o(this,null,function*(){return(0,t.ZP)(`/api/poll_questions/${L.pollsId}.json`,{method:"put",body:h({},L)})})}function W(L){return o(this,null,function*(){return(0,t.ZP)(`/api/polls/${L.pollsId}/poll_questions.json`,{method:"post",body:h({},L)})})}function Z(L){return o(this,null,function*(){return(0,t.ZP)(`/api/poll_questions/${L.pollsId}.json`,{method:"delete",body:h({},L)})})}function ie(L){return o(this,null,function*(){return(0,t.ZP)(`/api/poll_questions/${L.pollsId}/up_down.json`,{method:"post",body:h({},L)})})}function ne(L){return o(this,null,function*(){return(0,t.ZP)(`/api/exercise_banks/${L.topicId}.json`,{method:"get"})})}function se(L){return o(this,null,function*(){return(0,t.ZP)(`/api/exercise_banks/${L.topicId}.json`,{method:"put",body:h({},L)})})}function Q(L){return o(this,null,function*(){return Fetch(`/api/exercise_banks/${L.topicId}.json`,{method:"put",body:h({},L)})})}function Y(L){return o(this,null,function*(){return(0,t.ZP)(`/api/exercise_bank_questions/${L.pollsId}.json`,{method:"delete",body:h({},L)})})}function G(L){return o(this,null,function*(){return(0,t.ZP)(`/api/poll_questions/${L.pollsId}/up_down.json`,{method:"post",body:h({},L)})})}function ae(L){return o(this,null,function*(){return(0,t.ZP)("/api/poll_bank_questions.json",{method:"post",body:h({},L)})})}function ee(L){return o(this,null,function*(){return(0,t.ZP)(`/api/poll_bank_questions/${L.pollsId}.json`,{method:"put",body:h({},L)})})}function J(L){return o(this,null,function*(){return(0,t.ZP)(`/api/exercise_bank_questions/${L.id}.json`,{method:"put",body:h({},L)})})}function te(L){return o(this,null,function*(){return(0,t.ZP)("/api/exercise_bank_questions.json",{method:"post",body:h({},L)})})}function M(L){return o(this,null,function*(){return(0,t.ZP)(`/api/exercise_bank_questions/${L.exerciseId}/up_down.json`,{method:"post",body:h({},L)})})}},57973:function(d,v,e){"use strict";e.d(v,{$c:function(){return nt},A1:function(){return $e},Bd:function(){return T},Bo:function(){return Q},Cc:function(){return ae},Cn:function(){return te},DF:function(){return k},Dm:function(){return Qe},FG:function(){return se},GW:function(){return Pt},HF:function(){return W},Hm:function(){return L},IJ:function(){return Le},L5:function(){return cr},LS:function(){return it},MZ:function(){return me},Mr:function(){return ne},NZ:function(){return Ft},Of:function(){return x},Pl:function(){return O},Qj:function(){return l},Qp:function(){return pt},RT:function(){return Pe},Rp:function(){return Ot},U6:function(){return Z},Vl:function(){return ee},Wk:function(){return ie},YP:function(){return M},Ys:function(){return $},al:function(){return F},bF:function(){return ut},d1:function(){return g},dt:function(){return Wt},et:function(){return fe},ex:function(){return b},fY:function(){return xe},fn:function(){return C},hI:function(){return ht},hg:function(){return Ne},iT:function(){return Y},lS:function(){return ke},nD:function(){return zt},qN:function(){return X},rV:function(){return R},s:function(){return Me},sD:function(){return Ee},sS:function(){return qt},ts:function(){return G},vi:function(){return Ze},wX:function(){return et},x5:function(){return K},zh:function(){return Ce}});var t=e(7660),n=Object.defineProperty,s=Object.defineProperties,u=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,o=(qe,Kt,Rt)=>Kt in qe?n(qe,Kt,{enumerable:!0,configurable:!0,writable:!0,value:Rt}):qe[Kt]=Rt,i=(qe,Kt)=>{for(var Rt in Kt||(Kt={}))c.call(Kt,Rt)&&o(qe,Rt,Kt[Rt]);if(f)for(var Rt of f(Kt))h.call(Kt,Rt)&&o(qe,Rt,Kt[Rt]);return qe},y=(qe,Kt)=>s(qe,u(Kt)),p=(qe,Kt,Rt)=>new Promise((Nt,Bt)=>{var Ct=ue=>{try{ze(Rt.next(ue))}catch(le){Bt(le)}},Yt=ue=>{try{ze(Rt.throw(ue))}catch(le){Bt(le)}},ze=ue=>ue.done?Nt(ue.value):Promise.resolve(ue.value).then(Ct,Yt);ze((Rt=Rt.apply(qe,Kt)).next())});function g(qe){return p(this,null,function*(){return(0,t.ZP)("/api/disciplines.json",{method:"get",params:y(i({},qe),{clazz:"ItemBanksGroup"})})})}function l(qe){return p(this,null,function*(){return(0,t.ZP)("/api/item_baskets/basket_list.json",{method:"get",params:qe})})}function b(qe){return p(this,null,function*(){return(0,t.ZP)("/api/item_banks_groups/for_problemset.json",{method:"post",body:qe})})}function x(qe){return p(this,null,function*(){return(0,t.ZP)("/api/item_banks/list.json",{method:"post",body:qe})})}function O(qe){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks/${qe.id}/set_private.json`,{method:"post"})})}function k(qe){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks/${qe.id}/set_public.json`,{method:"post"})})}function C(qe){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks/${qe.id}.json`,{method:"delete"})})}function T(qe){return p(this,null,function*(){return(0,t.ZP)(`/api/problems/${qe.id}/start.json`,{method:"get"})})}function F(qe){return p(this,null,function*(){return(0,t.ZP)(`/api/item_baskets/${qe.id}.json`,{method:"delete",body:i({},qe)})})}function $(qe){return p(this,null,function*(){return(0,t.ZP)("/api/item_baskets.json",{method:"post",body:qe})})}function R(qe){return p(this,null,function*(){return(0,t.ZP)("/api/examination_banks/cancel_items.json",{method:"post",body:qe})})}function K(qe){return p(this,null,function*(){return(0,t.ZP)("/api/item_baskets/delete_item_type.json",{method:"delete",body:{item_type:qe.type}})})}function W(qe){return p(this,null,function*(){return(0,t.ZP)("/api/examination_banks/cancel_items.json",{method:"post",body:qe})})}function Z(qe){return p(this,null,function*(){return(0,t.ZP)("/api/tag_disciplines.json",{method:"post",body:qe})})}function ie(qe){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks/${qe.id}.json`,{method:"put",body:qe})})}function ne(qe){return p(this,null,function*(){return(0,t.ZP)("/api/item_banks.json",{method:"post",body:qe})})}function se(qe){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks/${qe.id}/edit.json`,{method:"get"})})}function Q(qe){return p(this,null,function*(){return(0,t.ZP)(`/api/problems/${qe.id}/edit.json`,{method:"get"})})}function Y(qe){return p(this,null,function*(){return(0,t.ZP)("/api/item_baskets.json",{method:"get",params:qe})})}function G(qe){return p(this,null,function*(){return(0,t.ZP)(`/api/item_baskets/${qe.id}/set_score.json`,{method:"post",body:qe})})}function ae(qe){return p(this,null,function*(){return(0,t.ZP)(`/api/item_baskets/${qe.id}/set_challenge_score.json`,{method:"post",body:qe})})}function ee(qe){return p(this,null,function*(){return(0,t.ZP)(`/api/item_baskets/${qe.id}/combination_set_score.json`,{method:"post",body:qe})})}function J(qe){return p(this,null,function*(){return Fetch(`/api/examination_banks//${qe.exerid}/examination_banks_item_banks/${qe.id}/combination_set_score.json`,{method:"post",body:qe})})}function te(qe){return p(this,null,function*(){return(0,t.ZP)(`/api/item_baskets/${qe.id}.json`,{method:"delete"})})}function M(qe){return p(this,null,function*(){return(0,t.ZP)("/api/item_baskets/batch_set_score.json",{method:"post",body:qe})})}function L(qe){return p(this,null,function*(){return(0,t.ZP)("/api/item_baskets/delete_item_type.json",{method:"delete",body:qe})})}function X(qe){return p(this,null,function*(){return(0,t.ZP)(`/api/item_baskets/${qe.id}/adjust_position.json`,{method:"post",body:qe})})}function fe(qe){return p(this,null,function*(){return(0,t.ZP)("/api/examination_banks.json",{method:"post",body:qe})})}function xe(qe){return p(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${qe.id}/revoke_item.json`,{method:"delete",body:qe})})}function Ce(qe){return p(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${qe.exam_id}/examination_banks_item_banks.json`,{method:"post",body:qe})})}function Me(qe){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks/${qe.id}/join_to_collection.json`,{method:"post",params:qe})})}function ke(qe){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks/${qe.id}/cancel_collection.json`,{method:"post",params:qe})})}function Ft(qe){return p(this,null,function*(){return(0,t.ZP)("/api/item_banks_groups.json",{method:"get",params:qe})})}function ht(qe){return p(this,null,function*(){return(0,t.ZP)("/api/item_banks_groups/mine.json",{method:"get",params:qe})})}function At(qe){return p(this,null,function*(){return Fetch(`/api/item_banks/${qe.id}/join_to_group.json`,{method:"post",body:qe})})}function tr(qe){return p(this,null,function*(){return Fetch(`/api/item_banks_groups/${qe.id}.json`,{method:"put",body:qe})})}function qt(qe){return p(this,null,function*(){return(0,t.ZP)("/api/item_banks_groups.json",{method:"post",body:qe})})}function cr(qe){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks/${qe.id}/feedback.json`,{method:"post",body:qe})})}function Qe(qe){return p(this,null,function*(){return(0,t.ZP)("/api/teach_group_shares.json",{method:"get",params:qe})})}function Pt(qe){return p(this,null,function*(){return(0,t.ZP)("/api/teach_group_shares.json",{method:"post",body:qe})})}function zt(qe){return p(this,null,function*(){return(0,t.ZP)("/api/item_banks/batch_delete.json",{method:"post",body:qe})})}function it(qe){return p(this,null,function*(){return(0,t.ZP)("/api/item_banks/batch_to_group.json",{method:"post",body:qe})})}function Ot(qe){return p(this,null,function*(){return(0,t.ZP)("/api/item_banks/add_to_mine.json",{method:"post",body:qe})})}function pt(qe){return p(this,null,function*(){return(0,t.ZP)("/api/item_banks/set_batch_public.json",{method:"post",body:qe})})}function et(qe){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks/${qe==null?void 0:qe.id}/set_public.json`,{method:"post",body:qe})})}function Ne(qe){return p(this,null,function*(){return(0,t.ZP)("/api/teach_group_shares/show_groups.json",{method:"get",params:qe})})}function me(qe){return(0,t.ZP)(`/api/problems/${qe.identifier}/publish.json`,{method:"post",body:qe})}function Ee(qe){return(0,t.ZP)(`/api/problems/${qe.identifier}/cancel_publish.json`,{method:"post",body:qe})}function Le(qe){return(0,t.ZP)("/api/item_banks/cancel_public.json",{method:"post",body:{ids:[...qe.id]}})}function $e(qe){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks_groups/${qe.id}/up_position.json`,{method:"get",params:qe})})}function Ze(qe){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks_groups/${qe.id}/down_position.json`,{method:"get",params:qe})})}function nt(qe){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${qe.id}/edit_hack.json`,{method:"get",params:qe})})}function ut(qe){return p(this,null,function*(){return(0,t.ZP)("/api/problems/batch_publish_condition.json",{method:"post",body:qe})})}function Wt(qe){return p(this,null,function*(){return(0,t.ZP)("/api/problems/batch_publish.json",{method:"post",body:qe})})}function Zt(qe){return p(this,null,function*(){return Fetch("/api/item_banks/get_groups.json",{method:"get",params:qe})})}function Pe(){return p(this,null,function*(){return(0,t.ZP)("/api/item_baskets/delete_all_items.json",{method:"delete"})})}},63263:function(d,v,e){"use strict";e.d(v,{E1:function(){return f},Go:function(){return s},H5:function(){return u}});var t=e(7660),n=(c,h,o)=>new Promise((i,y)=>{var p=b=>{try{l(o.next(b))}catch(x){y(x)}},g=b=>{try{l(o.throw(b))}catch(x){y(x)}},l=b=>b.done?i(b.value):Promise.resolve(b.value).then(p,g);l((o=o.apply(c,h)).next())});function s(c){return n(this,null,function*(){return(0,t.ZP)("/api/restfuls.json",{method:"get",params:c})})}function u(c){return n(this,null,function*(){return(0,t.ZP)(`/api/restfuls/${c.id}.json`,{method:"get",params:c})})}function f(c){return n(this,null,function*(){return(0,t.ZP)(`/api/restfuls/${c.id}.json`,{method:"delete",params:c})})}},32186:function(d,v,e){"use strict";e.d(v,{Am:function(){return l},Ar:function(){return Qe},BD:function(){return Ze},Be:function(){return et},Dx:function(){return ee},Fr:function(){return le},G$:function(){return O},GS:function(){return Z},Gw:function(){return x},H:function(){return qt},H1:function(){return cr},Hj:function(){return ut},JA:function(){return Zt},JG:function(){return ae},KE:function(){return M},Lz:function(){return Le},Mf:function(){return tr},NA:function(){return ht},PC:function(){return ke},PP:function(){return Ft},PW:function(){return it},Q3:function(){return J},QC:function(){return Pe},Qt:function(){return $e},Qz:function(){return T},R$:function(){return ze},RP:function(){return se},Ti:function(){return ct},Uc:function(){return Nt},Ul:function(){return Y},VB:function(){return dt},Vs:function(){return Bt},Wr:function(){return k},Xn:function(){return Q},YQ:function(){return At},Yn:function(){return b},Z8:function(){return K},ak:function(){return zt},cN:function(){return $},co:function(){return Ne},cz:function(){return Ce},fK:function(){return W},gG:function(){return Me},gZ:function(){return Rt},h$:function(){return R},ku:function(){return Ee},lf:function(){return X},m7:function(){return G},mQ:function(){return F},mz:function(){return pt},n$:function(){return L},oK:function(){return g},oN:function(){return Ht},pH:function(){return nt},pb:function(){return Te},qP:function(){return qe},ql:function(){return Kt},rN:function(){return me},sw:function(){return fe},t1:function(){return xe},to:function(){return ne},ub:function(){return Wt},ux:function(){return te},wS:function(){return Dt},wT:function(){return C},yT:function(){return Pt},yy:function(){return Ct},z2:function(){return Ot}});var t=e(7660),n=Object.defineProperty,s=Object.defineProperties,u=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,o=(Ie,Et,ge)=>Et in Ie?n(Ie,Et,{enumerable:!0,configurable:!0,writable:!0,value:ge}):Ie[Et]=ge,i=(Ie,Et)=>{for(var ge in Et||(Et={}))c.call(Et,ge)&&o(Ie,ge,Et[ge]);if(f)for(var ge of f(Et))h.call(Et,ge)&&o(Ie,ge,Et[ge]);return Ie},y=(Ie,Et)=>s(Ie,u(Et)),p=(Ie,Et,ge)=>new Promise((Ke,yt)=>{var kt=St=>{try{Dr(ge.next(St))}catch(Vr){yt(Vr)}},Fe=St=>{try{Dr(ge.throw(St))}catch(Vr){yt(Vr)}},Dr=St=>St.done?Ke(St.value):Promise.resolve(St.value).then(kt,Fe);Dr((ge=ge.apply(Ie,Et)).next())});const g=Ie=>p(void 0,null,function*(){return(0,t.ZP)(`/api/student_works/${Ie.id}/update_journals.json`,{method:"post",body:Ie})}),l=Ie=>p(void 0,null,function*(){return(0,t.ZP)(`/api/student_works/${Ie==null?void 0:Ie.homeworkId}/change_score.json`,{method:"post",body:Ie})}),b=Ie=>p(void 0,null,function*(){return(0,t.ZP)(`/api/student_works/${Ie==null?void 0:Ie.homeworkId}/history_comment`,{method:"Get",params:Ie})}),x=Ie=>p(void 0,null,function*(){return(0,t.ZP)(`/api/student_works/${Ie==null?void 0:Ie.homeworkId}/feedback_know`,{method:"Get",params:Ie})}),O=Ie=>p(void 0,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ie==null?void 0:Ie.userId}/student_work_feedbacks.json`,{method:"POST",body:Ie})}),k=Ie=>p(void 0,null,function*(){return(0,t.ZP)(`/api/student_works/${Ie==null?void 0:Ie.userId}/feedback_list.json`,{method:"Get",params:Ie})}),C=Ie=>p(void 0,null,function*(){return(0,t.ZP)(`/api/student_works/${Ie==null?void 0:Ie.userId}/histories.json`,{method:"Get",params:Ie})}),T=Ie=>p(void 0,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ie==null?void 0:Ie.homeworkId}/feedback_list`,{method:"Get",params:Ie})}),F=Ie=>p(void 0,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ie==null?void 0:Ie.homeworkId}/anonymous_exception_list.json`,{method:"Get",params:Ie})}),$=Ie=>p(void 0,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ie==null?void 0:Ie.homeworkId}/appeal_list`,{method:"Get",params:Ie})});function R(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ie.categoryId}/works_list.json`,{method:"post",body:i({},Ie)})})}function K(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/shixun_homeworks/${Ie.categoryId}/student_works.json`,{method:"get",params:i({},Ie)})})}function W(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/shixun_homeworks/${Ie.categoryId}/header_info.json`,{method:"get",params:i({},Ie)})})}function Z(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ie}/query_game_url.json`,{method:"get"})})}function ie(Ie){return p(this,null,function*(){return Fetch(`/api/student_works/${Ie}/get_newest_shixun_work_comments.json`,{method:"get"})})}function ne(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ie.categoryId}.json`,{method:"get"})})}function se(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ie.categoryId}/code_review_results.json`,{method:"get",params:i({},Ie)})})}function Q(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ie.categoryId}/code_review_detail.json`,{method:"get",params:i({},Ie)})})}function Y(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ie.categoryId}/settings.json`,{method:"get",params:i({},Ie)})})}function G(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ie.categoryId}/update_settings.json`,{method:"post",body:i({},Ie)})})}function ae(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ie.categoryId}/group_list.json`,{method:"get",params:i({},Ie)})})}function ee(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ie.categoryId}/works_list.xlsx`,{method:"get",params:i({},Ie)})})}function J(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ie.coursesId}/reference_answer.json`,{method:"get",params:i({},Ie)})})}function te(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ie.categoryId}/publish_groups.json`,{method:"get",params:i({},Ie)})})}function M(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ie.categoryId}/end_groups.json`,{method:"get",params:i({},Ie)})})}function L(Ie){return p(this,null,function*(){return(0,t.ZP)("/api/question_banks/bank_list.json",{method:"get",params:i({},Ie)})})}function X(Ie){return p(this,null,function*(){return(0,t.ZP)("/api/question_banks/save_banks.json",{method:"post",body:i({},Ie)})})}function fe(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ie.homeworkId}/shixun_work_report.json`,{method:"get",params:Ie})})}function xe(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ie.homeworkId}/shixun_work_report_echart_data.json`,{method:"get",params:Ie})})}function Ce(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ie.coursesId}/homework_commons/user_hack_detail.json`,{method:"get",params:y(i({},Ie),{id:Ie.categoryId})})})}function Me(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ie.categoryId}/adjust_review_score.json`,{method:"post",body:i({},Ie)})})}function ke(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ie.categoryId}/show_comment.json`,{method:"get",params:i({},Ie)})})}function Ft(Ie){return p(this,null,function*(){return(0,t.ZP)("/api/users/reply_message.json",{method:"post",body:i({},Ie)})})}function ht(Ie){return p(this,null,function*(){return(0,t.ZP)("/api/praise_tread/like.json",{method:"post",body:i({},Ie)})})}function At(Ie){return p(this,null,function*(){return(0,t.ZP)("/api/praise_tread/unlike.json",{method:"delete",body:i({},Ie)})})}function tr(Ie){return p(this,null,function*(){return(0,t.ZP)("/api/commons/delete.json",{method:"delete",body:i({},Ie)})})}function qt(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ie.categoryId}/update_explanation.json`,{method:"post",body:i({},Ie)})})}function cr(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ie.coursesId}/homework_commons.json`,{method:"post",body:i({},Ie)})})}function Qe(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ie.categoryId}.json`,{method:"put",body:i({},Ie)})})}function Pt(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_banks/${Ie.id}.json`,{method:"put",body:i({},Ie)})})}function zt(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ie.commonHomeworkId}/student_works/new.json`,{method:"get",params:i({},Ie)})})}function it(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ie.homeworkId}/edit.json`,{method:"get",params:i({},Ie)})})}function Ot(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ie.homeworkId}.json`,{method:"put",body:i({},Ie)})})}function pt(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ie.homeworkId}/revise_attachment.json`,{method:"post",body:i({},Ie)})})}function et(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ie.commonHomeworkId}/student_works.json`,{method:"post",body:i({},Ie)})})}function Ne(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ie.homeworkId}/student_works/relate_project.json`,{method:"post",body:i({},Ie)})})}function me(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ie.homeworkId}/student_works/cancel_relate_project.json`,{method:"get"})})}function Ee(Ie){return p(this,null,function*(){return(0,t.ZP)("/api/users/projects/search.json",{method:"get",params:i({},Ie)})})}function Le(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ie.commonHomeworkId}/student_works/search_member_list.json`,{method:"get",params:i({},Ie)})})}function $e(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ie.coursesId}/homework_commons/new.json`,{method:"get",params:i({},Ie)})})}function Ze(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ie.categoryId}/edit.json`,{method:"get",params:i({},Ie)})})}function nt(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_banks/${Ie.id}.json`,{method:"get",params:i({},Ie)})})}function ut(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ie.userId}.json`,{method:"get",params:i({},Ie)})})}function Wt(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ie.userId}/supply_attachments.json`,{method:"get",params:i({},Ie)})})}function Zt(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ie.userId}/comment_list.json`,{method:"get",params:i({},Ie)})})}function Pe(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ie.userId}/destroy_score.json`,{method:"delete",body:i({},Ie)})})}function qe(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ie.userId}/add_score_reply.json`,{method:"post",body:i({},Ie)})})}function Kt(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ie.categoryId}/all_student_works.json`,{method:"get",params:i({},Ie)})})}function Rt(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ie.homeworkId}/destroy_work_comment.json`,{method:"delete",body:i({},Ie)})})}function Nt(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ie.categoryId}/score_status.json`,{method:"get",params:i({},Ie)})})}function Bt(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ie.categoryId}/update_score.json`,{method:"get",params:i({},Ie)})})}function Ct(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ie.userId}/add_score.json`,{method:"post",body:i({},Ie)})})}function Yt(Ie){return p(this,null,function*(){return Fetch(`/api/student_works/${Ie.userId}/cancel_appeal.json`,{method:"post",body:i({},Ie)})})}function ze(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ie.userId}/appeal_anonymous_score.json`,{method:"post",body:i({},Ie)})})}function ue(Ie){return p(this,null,function*(){return Fetch(`/api/student_works/${Ie.userId}/deal_appeal_score.json`,{method:"post",body:i({},Ie)})})}function le(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/myshixuns/${Ie.id}/reset_my_game.json`,{method:"get",params:i({},Ie)})})}function Dt(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ie.homeworkId}/commit_des.json`,{method:"get",params:i({},Ie)})})}function Te(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ie.homeworkId}/update_des.json`,{method:"post",body:i({},Ie)})})}function dt(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ie.coursesId}/homework_commons/file_repeat_list.json`,{method:"get",params:i({},Ie)})})}function Ht(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ie.coursesId}/homework_commons/file_repeat_result.json`,{method:"get",params:i({},Ie)})})}function ct(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ie.course_id}/homework_commons/file_repeat_detail.json`,{method:"get",params:i({},Ie)})})}},49898:function(d,v,e){"use strict";e.d(v,{$Q:function(){return $r},AE:function(){return Bt},AQ:function(){return F},Ag:function(){return Et},Ar:function(){return te},At:function(){return Lt},BK:function(){return K},Bj:function(){return zt},DC:function(){return Qe},Dz:function(){return gt},E4:function(){return cr},EH:function(){return X},Ee:function(){return xn},Er:function(){return ee},FB:function(){return R},Fg:function(){return x},GI:function(){return Ce},Gr:function(){return pt},Gu:function(){return xe},Gz:function(){return b},HS:function(){return wt},Hl:function(){return g},IT:function(){return ct},I_:function(){return C},Ir:function(){return W},Je:function(){return Fe},K:function(){return jt},K0:function(){return Mr},KM:function(){return Q},K_:function(){return zr},LK:function(){return Dr},LP:function(){return Me},Ne:function(){return ae},OV:function(){return Ft},OW:function(){return L},Op:function(){return Er},P2:function(){return At},Po:function(){return T},Ps:function(){return et},Q:function(){return G},Q1:function(){return Sr},QA:function(){return yi},Ql:function(){return me},Rs:function(){return Pe},SG:function(){return Wi},Tn:function(){return Yt},Tr:function(){return bi},U0:function(){return Ze},U9:function(){return Ne},UQ:function(){return Te},Ui:function(){return dr},Vx:function(){return at},WO:function(){return J},WT:function(){return la},Wi:function(){return it},Wl:function(){return ge},X$:function(){return tr},Yn:function(){return ue},Z2:function(){return Pt},ZO:function(){return Ot},Zt:function(){return bt},_7:function(){return Y},_9:function(){return le},aH:function(){return Ee},al:function(){return Wt},b8:function(){return M},bq:function(){return ze},dK:function(){return Z},e:function(){return O},eX:function(){return fe},eb:function(){return qe},fL:function(){return kt},h4:function(){return br},hS:function(){return l},he:function(){return k},hn:function(){return ne},ii:function(){return Zt},im:function(){return Dt},j8:function(){return ke},jq:function(){return Jr},kF:function(){return Vr},km:function(){return ut},l3:function(){return ht},m7:function(){return $e},mI:function(){return Ii},n5:function(){return $},nu:function(){return St},p0:function(){return Ht},q0:function(){return Nt},q9:function(){return sr},qA:function(){return ln},rO:function(){return Rt},rs:function(){return se},sr:function(){return dt},t2:function(){return Ie},tX:function(){return Vn},uo:function(){return nt},v3:function(){return yt},w:function(){return Ke},xK:function(){return Ct},xg:function(){return Kt},xk:function(){return qt},yE:function(){return Le},yx:function(){return Fi},zD:function(){return ie},zH:function(){return sn}});var t=e(7660),n=Object.defineProperty,s=Object.defineProperties,u=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,o=(st,ei,wi)=>ei in st?n(st,ei,{enumerable:!0,configurable:!0,writable:!0,value:wi}):st[ei]=wi,i=(st,ei)=>{for(var wi in ei||(ei={}))c.call(ei,wi)&&o(st,wi,ei[wi]);if(f)for(var wi of f(ei))h.call(ei,wi)&&o(st,wi,ei[wi]);return st},y=(st,ei)=>s(st,u(ei)),p=(st,ei,wi)=>new Promise((ii,Ji)=>{var Ei=er=>{try{Pn(wi.next(er))}catch(mt){Ji(mt)}},ui=er=>{try{Pn(wi.throw(er))}catch(mt){Ji(mt)}},Pn=er=>er.done?ii(er.value):Promise.resolve(er.value).then(Ei,ui);Pn((wi=wi.apply(st,ei)).next())});const g=st=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_statistics/statistics_header.json",{method:"Get",params:st})}),l=st=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_statistics/online_count.json",{method:"Get",params:st})}),b=st=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_statistics/statistics_body.json",{method:"Get",params:st})}),x=st=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_statistics/rank_list.json",{method:"Get",params:st})}),O=st=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_statistics/shixun_use_infos.json",{method:"Get",params:st})});function k(st){return p(this,null,function*(){return(0,t.ZP)("/api/shixuns.json",{method:"Get",params:i({},st)})})}function C(st){return p(this,null,function*(){return(0,t.ZP)("/api/disciplines.json",{method:"Get",params:i({source:"shixun"},st||{})})})}function T(st){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${st.id}.json`,{method:"Get",params:st})})}function F(st){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${st.id}/show_right.json`,{method:"Get"})})}function $(st){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${st.id}/challenges.json`,{method:"Get"})})}function R(st){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${st.id}/save_copy_for_exercise.json`,{method:"post",body:{save_type:st.save_type}})})}function K(st){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${st.id}/jupyter_exec.json${st.reset?`?reset=${st.reset}`:""}`,{method:"Get",params:st})})}function W(st){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${st.id}/shixun_exec.json${st.reset?`?reset=${st.reset}`:""}`,{method:"Get",params:st})})}function Z(st){return p(this,null,function*(){return(0,t.ZP)(st.url,{method:"Get"})})}function ie(st){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${st.shixun_identifier}/challenges/${st.challenge_id}/index_up.json`,{method:"Get"})})}function ne(st){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${st.shixun_identifier}/challenges/${st.challenge_id}/index_down.json`,{method:"Get"})})}function se(st){return p(this,null,function*(){return(0,t.ZP)("/api/collections/cancel.json",{method:"Delete",body:{container_id:st.container_id,container_type:st.container_type}})})}function Q(st){return p(this,null,function*(){return(0,t.ZP)("/api/collections.json",{method:"Post",body:{container_id:st.container_id,container_type:st.container_type}})})}function Y(st){return p(this,null,function*(){const{id:ei}=st||{};return(0,t.ZP)(`/api/shixuns/${ei}/search_user_courses.json`,{method:"Get",params:st})})}function G(st){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${st==null?void 0:st.id}/send_to_course.json`,{method:"Post",body:i({},st)})})}function ae(st){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${st.id}/cancel_publish.json`,{method:"Get"})})}function ee(st){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${st.id}/cancel_apply_public.json`,{method:"Get"})})}function J(st){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${st.id}/apply_public.json`,{method:"post",body:i({},st)})})}function te(st){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${st.id}/publish.json`,{method:"Get"})})}function M(st){return p(this,null,function*(){return(0,t.ZP)("/api/shixuns/jupyter_new.json",{method:"Get"})})}function L(st){return p(this,null,function*(){return(0,t.ZP)(`/api/attachments/${st.id}.json`,{method:"delete"})})}function X(st){return p(this,null,function*(){return(0,t.ZP)("/api/shixuns/apply_shixun_mirror.json",{method:"post",body:st})})}function fe(st){return p(this,null,function*(){return(0,t.ZP)("/api/shixuns.json",{method:"post",body:st})})}function xe(st){return p(this,null,function*(){return(0,t.ZP)("/api/shixuns/jupyter_lab_new.json",{method:"get",params:st})})}function Ce(st){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${st.id}/review_newest_record.json`,{method:"Get"})})}function Me(st){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${st.id}/review_shixun.json`,{method:"post",body:st})})}function ke(st){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${st.id}/collaborators.json`,{method:"Get",params:st})})}function Ft(st){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${st.id}/shixun_members_added.json`,{method:"post",body:st})})}function ht(st){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${st.identifier}/add_members_group.json`,{method:"post",body:st})})}function At(st){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${st.id}/change_manager.json`,{method:"Get",params:st})})}function tr(st){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${st.id}/change_manager.json`,{method:"post",body:st})})}function qt(st){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${st.id}/collaborators_delete.json`,{method:"delete",body:{user_id:st.userId}})})}function cr(st){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${st.id}/ranking_list.json`,{method:"Get"})})}function Qe(st){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${st.id}/settings.json`,{method:"Get"})})}function Pt(st){return p(this,null,function*(){return(0,t.ZP)("/api/shixuns/get_mirror_script.json",{method:"Get",params:{mirror_id:st.mirror_id}})})}function zt(st){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${st.id}/get_script_contents.json`,{method:"Get",params:st})})}function it(st){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${st.id}/get_custom_script.json`,{method:"Get",params:st})})}function Ot(st){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${st.id}/update_for_jupyter.json`,{method:"put",body:st})})}function pt(st){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${st.id}/shixun_quotes.json`,{method:"Get"})})}function et(st){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${st.id}.json`,{method:"delete"})})}function Ne(st){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${st.id}/close.json`,{method:"post",body:st})})}function me(st){return p(this,null,function*(){return(0,t.ZP)("/api/shixuns/departments.json",{method:"Get",params:st})})}function Ee(st){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${st.id}/update_permission_setting.json`,{method:"post",body:st})})}function Le(st){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${st.id}/update_learn_setting.json`,{method:"post",body:st})})}function $e(st){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${st.id}/update_setting`,{method:"post",body:st})})}function Ze(st){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${st.id}/get_data_sets.json`,{method:"Get",params:st})})}function nt(st){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${st.id}/destroy_data_sets.json`,{method:"Delete",body:{id:st.deleteId}})})}function ut(st){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${st.id}/challenges/new.json`,{method:"get"})})}function Wt(st){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${st.identifier}/challenges.json`,{method:"post",body:i({},st)})})}function Zt(st){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${st.id}/challenges/${st.challengeId}/edit.json`,{method:"get",params:{tab:st.tab}})})}function Pe(st){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${st.id}/challenges/${st.challengesId}.json`,{method:"put",body:i({},st)})})}function qe(st){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${st.id}/challenges/${st.challengesId}/choose_questions.json`,{method:"get"})})}function Kt(st){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${st.id}/challenges/move_position.json`,{method:"post",body:i({},st)})})}function Rt(st){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${st.id}/challenges/${st.challengesId}.json`,{method:"delete",body:i({},st)})})}function Nt(st){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${st.id}/challenges/${st.challengesId}/edit.json`,{method:"get",params:i({},st)})})}function Bt(st){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${st.id}/challenges/${st.challengeId}/answer.json`,{method:"get",params:i({},st)})})}function Ct(st){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${st.id}/challenges/${st.challengeId}/crud_answer.json`,{method:"post",body:i({},st)})})}function Yt(st){return p(this,null,function*(){if(st.type===1)return(0,t.ZP)(`/api/shixuns/${st.id}/challenges/${st.challengesId}/create_choose_question.json`,{method:"post",body:i({},st)});if(st.type===2)return(0,t.ZP)(`/api/shixuns/${st.id}/challenges/${st.challengesId}/create_blank_question.json`,{method:"post",body:i({},st)});if(st.type===3)return(0,t.ZP)(`/api/shixuns/${st.id}/challenges/${st.challengesId}/create_judge_question.json`,{method:"post",body:i({},st)})})}function ze(st){return p(this,null,function*(){if(st.type===1)return(0,t.ZP)(`/api/shixuns/${st.id}/challenges/${st.challengesId}/update_choose_question.json`,{method:"post",body:y(i({},st),{choose_id:st.questionId})});if(st.type===2)return(0,t.ZP)(`/api/shixuns/${st.id}/challenges/${st.challengesId}/update_blank_question.json`,{method:"put",body:y(i({},st),{choose_id:st.questionId})});if(st.type===3)return(0,t.ZP)(`/api/shixuns/${st.id}/challenges/${st.challengesId}/update_judge_question.json`,{method:"put",body:y(i({},st),{choose_id:st.questionId})})})}function ue(st){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${st.id}/challenges/${st.challengesId}/destroy_challenge_choose.json`,{method:"Delete",body:{choose_id:st.questionId}})})}function le(st){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${st.id}/challenges/${st.challengesId}/choose_question_up_position.json`,{method:"post",body:{challenge_choose_id:st.questionId}})})}function Dt(st){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${st.id}/challenges/${st.challengesId}/choose_question_down_position.json`,{method:"post",body:{challenge_choose_id:st.questionId}})})}function Te(st){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${st.id}/challenges/${st.challengesId}/edit_choose_question.json`,{method:"get",params:y(i({},st),{choose_id:st.questionId})})})}function dt(st){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${st.id}/delete_git_file.json`,{method:"Delete",body:st})})}function Ht(st){return p(this,null,function*(){return(0,t.ZP)(`/api/sci/projects/${st.id}/delete_git_file.json`,{method:"Delete",body:st})})}function ct(st){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${st.id}/mv_file.json`,{method:"post",body:st})})}function Ie(st){return p(this,null,function*(){return(0,t.ZP)(`/api/sci/projects/${st.id}/mv_file.json`,{method:"post",body:st})})}function Et(st){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${st.id}/repository.json`,{method:"post",body:st})})}function ge(st){return p(this,null,function*(){return(0,t.ZP)(`/api/sci/projects/${st.id}/repository.json`,{method:"post",body:st})})}function Ke(st){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${st.id}/secret_repository.json`,{method:"post",body:st})})}function yt(st){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${st.id}/add_file.json`,{method:"post",body:st})})}function kt(st){return p(this,null,function*(){return(0,t.ZP)(`/api/sci/projects/${st.id}/add_file.json`,{method:"post",body:st})})}function Fe(st){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${st.id}/commits.json`,{method:"post",body:st})})}function Dr(st){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${st.id}/file_content.json`,{method:"post",body:st})})}function St(st){return p(this,null,function*(){return(0,t.ZP)(`/api/sci/projects/${st.id}/file_content.json`,{method:"post",body:st})})}function Vr(st){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${st.id}/update_file.json`,{method:"post",body:st})})}function Jr(st){return p(this,null,function*(){return(0,t.ZP)(`/api/sci/projects/${st.id}/update_file.json`,{method:"post",body:st})})}function Er(st){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${st.id}/upload_git_folder.json`,{method:"post",body:{path:st.path,secret_repository:st.secret_repository}})})}function $r(st){return p(this,null,function*(){return(0,t.ZP)(`/api/${st.url}`,{method:"Get"})})}function dr(st){return p(this,null,function*(){return(0,t.ZP)("/api/jupyters/get_info_with_tpm.json",{method:"Get",params:st})})}function zr(st){return p(this,null,function*(){return(0,t.ZP)("/api/jupyters/timeinfo_with_tpm.json",{method:"Get",params:st})})}function sn(st){return p(this,null,function*(){return(0,t.ZP)("/api/jupyters/reset_with_tpm.json",{method:"Get",params:st})})}function ln(st){return p(this,null,function*(){return(0,t.ZP)("/api/jupyters/save_with_tpm.json",{method:"Get",params:st})})}function sr(st){return p(this,null,function*(){return(0,t.ZP)("/api/jupyters/active_with_tpm.json",{method:"Get",params:st})})}function Lt(st){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${st.id}/fork_list.json`,{method:"Get",params:st})})}function gt(st){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${st.identifier}/change_editable.json`,{method:"put",body:i({},st)})})}function bt(st){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${st.id}/set_secret_dir.json`,{method:"post",body:i({},st)})})}function jt(st){return p(this,null,function*(){return(0,t.ZP)("/api/shixuns/new.json",{method:"Get",params:st})})}function Sr(st){return p(this,null,function*(){return(0,t.ZP)("/api/shixuns/environment_info",{method:"Get",params:st})})}function br(st){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${st.id}/init_repository.json`,{method:"post",body:i({},st)})})}function at(st){return p(this,null,function*(){return(0,t.ZP)(`/api/sci/projects/${st.id}/init_repository.json`,{method:"post",body:i({},st)})})}function Mr(st){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${st.id}/update_secret_repository.json`,{method:"post",body:i({},st)})})}function xn(st){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${st.id}/exist_exercise.json`,{method:"get",params:i({},st)})})}function Vn(st){return p(this,null,function*(){return(0,t.ZP)(`/api/mirror_applies/${st.id}.json`,{method:"get",params:i({},st)})})}function gr(st){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${st.id}/publish.json`,{method:"post",body:i({},st)})})}function Xr(st){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${st.id}/open_vnc.json`,{method:"post",params:i({},st)})})}function hn(st){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${st.id}/open_webssh.json`,{method:"post",params:i({},st)})})}function Bn(st){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${st.id}/save_image.json`,{method:"post",body:i({},st)})})}function ni(st){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${st.id}/delete_image.json`,{method:"post",body:i({},st)})})}function si(st){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${st.id}/extend_vnc.json`,{method:"post",body:i({},st)})})}function Vi(st){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${st.id}/reset_vnc_link.json`,{method:"post",body:i({},st)})})}function Fi(st){return p(this,null,function*(){return(0,t.ZP)("/api/paths/get_task_pass.json",{method:"get",params:i({},st)})})}function Ii(st){return p(this,null,function*(){return(0,t.ZP)("/api/jupyters/get_info_with_jupyter_lab.json",{method:"get",params:i({},st)})})}function yi(st){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${st.id}/update_jupyter_lab_setting.json`,{method:"post",body:i({},st)})})}function bi(st){return p(this,null,function*(){return(0,t.ZP)("/api/shixuns/check_shixun_copy.json",{method:"post",body:st})})}function la(st){return p(this,null,function*(){return(0,t.ZP)(`/api/progress_homeworks/${st}`,{method:"get",params:{is_initiative_study:1}})})}function oi(st){return p(this,null,function*(){return Fetch(`/api/shixuns/${st.id}/update_shixun_study_num.json`,{method:"post",body:i({},st)})})}function Wi(st){return p(this,null,function*(){return(0,t.ZP)("/api/jupyters/preview.json",{method:"get",params:st})})}function wt(st){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${st}/recommend_config.json`,{method:"get"})})}},23772:function(d,v,e){"use strict";e.d(v,{Bg:function(){return p},FO:function(){return F},eJ:function(){return b},eZ:function(){return x},fd:function(){return W},gp:function(){return i},iU:function(){return R},l3:function(){return k},mw:function(){return C},oZ:function(){return l},rM:function(){return T},r_:function(){return K},s:function(){return y},ur:function(){return $},xV:function(){return g},yb:function(){return O}});var t=e(7660),n=Object.defineProperty,s=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,c=(Z,ie,ne)=>ie in Z?n(Z,ie,{enumerable:!0,configurable:!0,writable:!0,value:ne}):Z[ie]=ne,h=(Z,ie)=>{for(var ne in ie||(ie={}))u.call(ie,ne)&&c(Z,ne,ie[ne]);if(s)for(var ne of s(ie))f.call(ie,ne)&&c(Z,ne,ie[ne]);return Z},o=(Z,ie,ne)=>new Promise((se,Q)=>{var Y=ee=>{try{ae(ne.next(ee))}catch(J){Q(J)}},G=ee=>{try{ae(ne.throw(ee))}catch(J){Q(J)}},ae=ee=>ee.done?se(ee.value):Promise.resolve(ee.value).then(Y,G);ae((ne=ne.apply(Z,ie)).next())});function i(Z){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Z.coursesId}/teachers.json`,{method:"get",params:h({},Z)})})}function y(Z){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Z.coursesId}/apply_teachers.json`,{method:"get",params:h({},Z)})})}function p(Z){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Z.coursesId}/graduation_group_list.json`,{method:"get",params:h({},Z)})})}function g(Z){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Z.coursesId}/all_course_groups.json`,{method:"get",params:h({},Z)})})}function l(Z){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Z.coursesId}/set_course_group.json`,{method:"post",body:h({},Z)})})}function b(Z){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Z.coursesId}/join_graduation_group.json`,{method:"post",body:h({},Z)})})}function x(Z){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Z.coursesId}/create_graduation_group.json`,{method:"post",body:h({},Z)})})}function O(Z){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Z.coursesId}/delete_course_teacher.json`,{method:"post",body:h({},Z)})})}function k(Z){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Z.coursesId}/delete_from_course.json`,{method:"post",body:h({},Z)})})}function C(Z){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Z.coursesId}/change_member_role.json`,{method:"post",body:h({},Z)})})}function T(Z){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Z.coursesId}/change_course_admin.json`,{method:"post",body:h({},Z)})})}function F(Z){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Z.coursesId}/teacher_application_review.json`,{method:"post",body:h({},Z)})})}function $(Z){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Z.coursesId}/students.json`,{method:"get",params:h({},Z)})})}function R(Z,ie){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Z}/apply_students.json`,{method:"get",params:ie})})}function K(Z,ie){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Z}/join_student_checkout.json`,{method:"get",params:ie})})}function W(Z,ie){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Z}/student_application_review.json`,{method:"post",body:ie})})}},63623:function(d,v,e){"use strict";e.d(v,{B$:function(){return g},Cx:function(){return Y},DA:function(){return T},DH:function(){return p},Ef:function(){return ee},Es:function(){return b},Ex:function(){return tr},FM:function(){return ne},Fn:function(){return J},Gq:function(){return cr},Ho:function(){return $},IU:function(){return fe},JJ:function(){return te},Ol:function(){return ke},Qx:function(){return ie},Tv:function(){return M},V8:function(){return y},WS:function(){return G},WY:function(){return Z},ai:function(){return Q},bG:function(){return O},bJ:function(){return i},c0:function(){return qt},dE:function(){return X},dt:function(){return L},gI:function(){return ae},lO:function(){return se},mW:function(){return W},n0:function(){return C},nV:function(){return Me},o1:function(){return Ft},qE:function(){return l},qN:function(){return F},rV:function(){return R},sh:function(){return Ce},vR:function(){return x},w3:function(){return K},x4:function(){return k},z2:function(){return ht}});var t=e(7660),n=Object.defineProperty,s=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,c=(Qe,Pt,zt)=>Pt in Qe?n(Qe,Pt,{enumerable:!0,configurable:!0,writable:!0,value:zt}):Qe[Pt]=zt,h=(Qe,Pt)=>{for(var zt in Pt||(Pt={}))u.call(Pt,zt)&&c(Qe,zt,Pt[zt]);if(s)for(var zt of s(Pt))f.call(Pt,zt)&&c(Qe,zt,Pt[zt]);return Qe},o=(Qe,Pt,zt)=>new Promise((it,Ot)=>{var pt=me=>{try{Ne(zt.next(me))}catch(Ee){Ot(Ee)}},et=me=>{try{Ne(zt.throw(me))}catch(Ee){Ot(Ee)}},Ne=me=>me.done?it(me.value):Promise.resolve(me.value).then(pt,et);Ne((zt=zt.apply(Qe,Pt)).next())});const i=Qe=>o(void 0,null,function*(){return(0,t.ZP)(`/api/common_comments/${Qe.id}/move.json`,{method:"post",body:Qe})}),y=Qe=>o(void 0,null,function*(){return(0,t.ZP)(`/api/common_comments/${Qe.id}.json`,{method:"delete",body:Qe})}),p=Qe=>o(void 0,null,function*(){return(0,t.ZP)(`/api/common_comments/${Qe.id}.json`,{method:"put",body:Qe})}),g=Qe=>o(void 0,null,function*(){return(0,t.ZP)("/api/common_comments.json",{method:"post",body:Qe})}),l=Qe=>o(void 0,null,function*(){return(0,t.ZP)("/api/common_comments.json",{method:"Get",params:Qe})});function b(Qe){return o(this,null,function*(){return(0,t.ZP)("/api/accounts/login.json",{method:"post",body:h({},Qe)})})}function x(Qe){return o(this,null,function*(){return(0,t.ZP)("/api/accounts/logout.json",{method:"get"})})}function O(Qe){return o(this,null,function*(){return(0,t.ZP)("/api/users/get_user_info.json",{method:"get",params:h({},Qe)})})}function k(Qe){return o(this,null,function*(){return(0,t.ZP)("/api/users/get_notice.json",{method:"get",params:h({},Qe)})})}function C(){return o(this,null,function*(){return(0,t.ZP)("/api/users/system_update.json",{method:"get"})})}function T(Qe){return o(this,null,function*(){return(0,t.ZP)(`/api/users/${Qe.username}/homepage_info.json`,{method:"get"})})}function F(Qe){return o(this,null,function*(){return(0,t.ZP)("/api/users/attendance.json",{method:"post"})})}function $(Qe){return o(this,null,function*(){return(0,t.ZP)(`/api/users/${Qe.username}/courses.json`,{method:"get",params:Qe})})}function R(Qe){return o(this,null,function*(){return(0,t.ZP)(`/api/users/${Qe.username}/shixuns.json`,{method:"get",params:Qe})})}function K(Qe){return o(this,null,function*(){return(0,t.ZP)(`/api/users/${Qe.username}/subjects.json`,{method:"get",params:Qe})})}function W(Qe){return o(this,null,function*(){return(0,t.ZP)(`/api/users/${Qe.username}/projects.json`,{method:"get",params:Qe})})}function Z(Qe){return o(this,null,function*(){return(0,t.ZP)(`/api/users/${Qe.username}/videos.json`,{method:"get",params:Qe})})}function ie(Qe){return o(this,null,function*(){return(0,t.ZP)(`/api/users/${Qe.username}/videos/review.json`,{method:"get",params:Qe})})}function ne(Qe){return o(this,null,function*(){return(0,t.ZP)(`/api/users/${Qe.username}/videos/${Qe.id}.json`,{method:"delete"})})}function se(Qe){return o(this,null,function*(){return(0,t.ZP)("/api/watch_video_histories.json",{method:"post",body:Qe})})}function Q(Qe){return o(this,null,function*(){return(0,t.ZP)("/api/users/question_banks.json",{method:"get",params:Qe})})}function Y(Qe){return o(this,null,function*(){return(0,t.ZP)("/api/question_banks/multi_public.json",{method:"post",body:Qe})})}function G(Qe){return o(this,null,function*(){return(0,t.ZP)("/api/question_banks/multi_delete.json",{method:"delete",body:Qe})})}function ae(Qe){return o(this,null,function*(){return(0,t.ZP)("/api/question_banks/my_courses.json",{method:"get",params:Qe})})}function ee(Qe){return o(this,null,function*(){return(0,t.ZP)("/api/question_banks/send_to_course.json",{method:"post",body:Qe})})}function J(Qe){return o(this,null,function*(){return(0,t.ZP)(`/api/users/${Qe.username}/videos/${Qe.object_id}/create_course_video.json`,{method:"post",body:Qe})})}function te(Qe){return o(this,null,function*(){return(0,t.ZP)(`/api/homework_banks/${Qe.topicId}.json`,{method:"get",params:Qe})})}function M(Qe){return o(this,null,function*(){return(0,t.ZP)("/api/question_banks/multi_delete.json",{method:"delete",body:h({},Qe)})})}function L(Qe){return o(this,null,function*(){return(0,t.ZP)(`/api/users/${Qe.username}/videos/batch_publish.json`,{method:"post",body:Qe})})}function X(Qe){return o(this,null,function*(){return(0,t.ZP)(`/api/myshixuns/${Qe.identifier}/cancel.json`,{method:"delete",body:h({},Qe)})})}function fe(Qe){return o(this,null,function*(){return(0,t.ZP)("/api/users/get_engineer_url.json",{method:"get",params:h({},Qe)})})}function xe(Qe){return o(this,null,function*(){return Fetch("/api/intelligent_recommendations/user_choice_learn_path.json",{method:"post",body:h({},Qe)})})}function Ce(){return o(this,null,function*(){return(0,t.ZP)("/api/intelligent_recommendations/persona.json",{method:"get"})})}function Me(){return o(this,null,function*(){return(0,t.ZP)("/api/intelligent_recommendations/user_learn_path.json",{method:"get"})})}function ke(Qe){return(0,t.ZP)("/api/accounts/valid_email_and_phone.json",{method:"get",params:Qe})}function Ft(Qe){return(0,t.ZP)("/api/accounts/get_verification_code.json",{method:"get",params:Qe})}function ht(Qe){return(0,t.ZP)("/api/accounts/register.json",{method:"post",body:h({},Qe)})}function At(Qe){return Fetch("/api/weapps/register.json",{method:"post",body:h({},Qe)})}function tr(Qe){return(0,t.ZP)(`/api/users/accounts/${Qe.login}/password.json`,{method:"put",body:h({},Qe)})}function qt(Qe){return(0,t.ZP)("/api/accounts/reset_password.json",{method:"post",body:h({},Qe)})}function cr(Qe){return(0,t.ZP)("/api/accounts/login_for_phone.json",{method:"get",params:h({},Qe)})}},53816:function(d,v,e){"use strict";e.d(v,{BQ:function(){return i},DH:function(){return $},Db:function(){return se},Ju:function(){return ne},Mz:function(){return W},O2:function(){return l},TJ:function(){return O},Vg:function(){return g},ZY:function(){return y},Zx:function(){return K},cU:function(){return p},fn:function(){return ie},jK:function(){return k},yN:function(){return Z}});var t=e(7660),n=Object.defineProperty,s=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,c=(Q,Y,G)=>Y in Q?n(Q,Y,{enumerable:!0,configurable:!0,writable:!0,value:G}):Q[Y]=G,h=(Q,Y)=>{for(var G in Y||(Y={}))u.call(Y,G)&&c(Q,G,Y[G]);if(s)for(var G of s(Y))f.call(Y,G)&&c(Q,G,Y[G]);return Q},o=(Q,Y,G)=>new Promise((ae,ee)=>{var J=L=>{try{M(G.next(L))}catch(X){ee(X)}},te=L=>{try{M(G.throw(L))}catch(X){ee(X)}},M=L=>L.done?ae(L.value):Promise.resolve(L.value).then(J,te);M((G=G.apply(Q,Y)).next())});function i(Q){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Q.coursesId}/watch_video_histories.json`,{method:"Get",params:h({},Q)})})}function y(Q){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Q.coursesId}/watch_statics.json`,{method:"Get",params:h({},Q)})})}function p(Q){return o(this,null,function*(){return(0,t.ZP)(`/api/course_videos/${Q.videoId}/watch_histories.json`,{method:"Get",params:h({},Q)})})}function g(Q){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Q.coursesId}/own_watch_histories.json`,{method:"Get",params:h({},Q)})})}function l(Q){return o(this,null,function*(){return(0,t.ZP)(`/api/video_items/${Q.id}.json`,{method:"Get",params:h({},Q)})})}function b(Q){return o(this,null,function*(){return Fetch("/api/video_items.json",{method:"post",body:Q})})}function x(Q){return o(this,null,function*(){return Fetch(`/api/video_items/${Q.id}/edit.json`,{method:"Get",params:h({},Q)})})}function O(Q){return o(this,null,function*(){return(0,t.ZP)(`/api/stage_shixuns/${Q.id}/edit.json`,{method:"Get",params:h({},Q)})})}function k(Q){return o(this,null,function*(){return(0,t.ZP)(`/api/video_items/${Q.id}/star.json`,{method:"post",body:Q})})}function C(Q){return o(this,null,function*(){return Fetch(`/api/video_items/${Q.id}.json`,{method:"put",body:Q})})}function T(Q){return o(this,null,function*(){return Fetch(`/api/video_items/${Q.id}/send_to_course.json`,{method:"post",body:Q})})}function F(Q){return o(this,null,function*(){return Fetch("/api/users/my_courses.json",{method:"Get",params:h({},Q)})})}function $(Q){return o(this,null,function*(){return(0,t.ZP)(`/api/video_items/${Q.id}/view_video.json`,{method:"post",body:Q})})}function R(Q){return o(this,null,function*(){return Fetch(`/api/video_items/${Q.id}/add_school.json`,{method:"post",body:Q})})}function K(Q){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Q.course_id}/video_people_statics.json`,{method:"get",params:Q})})}function W(Q){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Q.course_id}/video_duration_statics.json`,{method:"get",params:Q})})}function Z(Q){return o(this,null,function*(){return(0,t.ZP)("/api/stages.json",{method:"get",params:Q})})}function ie(Q){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Q==null?void 0:Q.id}/course_videos_tree.json`,{method:"get",params:Q})})}function ne(Q){return o(this,null,function*(){return(0,t.ZP)("/api/study_action_analyses.json",{method:"post",body:Q})})}function se(Q){return o(this,null,function*(){return(0,t.ZP)("/api/study_action_analyses/detail.json",{method:"post",body:Q})})}},14570:function(d,v,e){"use strict";e.d(v,{A:function(){return W},CH:function(){return u},EA:function(){return h},FU:function(){return y},G_:function(){return l},LY:function(){return F},Ll:function(){return c},MM:function(){return k},Ps:function(){return $},Sl:function(){return x},To:function(){return p},Vf:function(){return g},XQ:function(){return f},b:function(){return i},bq:function(){return K},cZ:function(){return o},rV:function(){return T},sT:function(){return b},tS:function(){return R},xt:function(){return C},y2:function(){return s}});var t=e(7660),n=(Z,ie,ne)=>new Promise((se,Q)=>{var Y=ee=>{try{ae(ne.next(ee))}catch(J){Q(J)}},G=ee=>{try{ae(ne.throw(ee))}catch(J){Q(J)}},ae=ee=>ee.done?se(ee.value):Promise.resolve(ee.value).then(Y,G);ae((ne=ne.apply(Z,ie)).next())});const s=Z=>n(void 0,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${Z.virtual_spacesId}/base_statistic_data.json`,{method:"Get",params:Z})});function u(Z){return n(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${Z.virtual_spacesId}/discussions/${Z.id}.json`,{method:"put",body:Z})})}function f(Z){return n(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${Z.virtual_spacesId}/discussions/${Z.id}.json`,{method:"get",params:Z})})}function c(Z){return n(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${Z.virtual_spacesId}/discussions.json`,{method:"post",body:Z})})}function h(Z){return n(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${Z.virtual_spacesId}/discussions.json`,{method:"get",params:Z})})}function o(Z){return n(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${Z.virtual_spacesId}/good_lessons/${Z.id}/add_resources.json`,{method:"post",body:Z})})}function i(Z){return n(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${Z.virtual_spacesId}/good_lessons/${Z.id}/lesson_resources_list.json`,{method:"get",params:Z})})}function y(Z){return n(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${Z.virtual_spacesId}/good_lessons/${Z.id}.json`,{method:"get",params:Z})})}function p(Z){return n(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${Z.virtual_spacesId}/good_lessons/${Z.id}.json`,{method:"put",body:Z})})}function g(Z){return n(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${Z.virtual_spacesId}/good_lessons.json`,{method:"post",body:Z})})}function l(Z){return n(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${Z.virtual_spacesId}/good_lessons.json`,{method:"get",params:Z})})}function b(Z){return n(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${Z==null?void 0:Z.id}.json`,{method:"get"})})}function x(Z){return n(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${Z==null?void 0:Z.id}/modules.json`,{method:"get"})})}function O(Z){return n(this,null,function*(){return Fetch(`/api/virtual_classrooms/${Z.id}/videos/batch_publish.json`,{method:"post",body:Z})})}function k(Z){return n(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${Z.virtual_spacesId}/members.json`,{method:"post",body:Z})})}function C(Z){return n(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${Z.virtual_spacesId}/members/${Z.id}/change_creator.json`,{method:"post",body:Z})})}function T(Z,ie){return n(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${Z}/shixuns.json`,{method:"get",params:ie})})}function F(Z,ie){return n(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${Z}/shixuns`,{method:"post",body:ie})})}function $(Z){return n(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${Z.virtual_classroom_id}/shixuns/${Z.shixun_id}.json`,{method:"delete"})})}function R(Z,ie){return n(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${Z}/subjects.json`,{method:"get",params:ie})})}function K(Z,ie){return n(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${Z}/subjects.json`,{method:"post",body:ie})})}function W(Z){return n(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${Z.virtual_classroom_id}/subjects/${Z.subject_id}.json`,{method:"delete"})})}},73898:function(d,v,e){"use strict";e.d(v,{$O:function(){return Y},EO:function(){return nt},G5:function(){return K},GD:function(){return n},GJ:function(){return y},Gg:function(){return p},I2:function(){return f},IR:function(){return Z},JA:function(){return Ze},JL:function(){return C},Jd:function(){return Q},Ny:function(){return O},RV:function(){return ne},Rb:function(){return R},Rm:function(){return W},V9:function(){return L},Yh:function(){return J},aN:function(){return b},aQ:function(){return o},ag:function(){return $e},bg:function(){return Wt},d8:function(){return $},dE:function(){return ie},eB:function(){return se},eY:function(){return Zt},fn:function(){return Le},h:function(){return Bt},j5:function(){return l},m$:function(){return Pe},oF:function(){return g},qz:function(){return h},t_:function(){return x},tu:function(){return Kt},y8:function(){return ut}});var t=e(24459),n=(Ct=>(Ct[Ct.SuperAdmin=1]="SuperAdmin",Ct[Ct.Operation=2]="Operation",Ct[Ct.CertifiedTeacher=5]="CertifiedTeacher",Ct[Ct.TrainingProduction=8]="TrainingProduction",Ct[Ct.UncertifiedTeacher=12]="UncertifiedTeacher",Ct[Ct.Student=15]="Student",Ct))(n||{}),s=(Ct=>(Ct[Ct.SuperAdmin=1]="SuperAdmin",Ct[Ct.Operation=2]="Operation",Ct[Ct.Admin=5]="Admin",Ct[Ct.Teacher=8]="Teacher",Ct[Ct.Assistant=12]="Assistant",Ct[Ct.Student=15]="Student",Ct))(s||{}),u=(Ct=>(Ct[Ct.SuperAdmin=0]="SuperAdmin",Ct[Ct.Teacher=1]="Teacher",Ct[Ct.Student=2]="Student",Ct))(u||{});const f=Ct=>{const{user:Yt}=(0,t.getDvaApp)()._store.getState(),{userInfo:ze}=Yt;return Ct.some(ue=>ue==(ze==null?void 0:ze.role))},c=Ct=>{const{user:Yt}=(0,t.getDvaApp)()._store.getState(),{userInfo:ze}=Yt;return ze!=null&&ze.own?!0:Ct.some(ue=>{var le;return ue==((le=ze==null?void 0:ze.course)==null?void 0:le.course_role)})},h=()=>{const{user:Ct}=(0,t.getDvaApp)()._store.getState(),{userInfo:Yt}=Ct;return Yt.main_site},o=()=>{var Ct;const{user:Yt}=(0,t.getDvaApp)()._store.getState(),{userInfo:ze}=Yt;return(Ct=ze==null?void 0:ze.course)==null?void 0:Ct.course_is_end},i=()=>{const{user:Ct}=getDvaApp()._store.getState(),{userInfo:Yt}=Ct;return Yt.authentication},y=()=>c([1,2,5,8,12]),p=()=>c([1,8,5,12,2]),g=()=>c([1,8,5]),l=()=>c([1]),b=()=>c([1,2,5]),x=()=>c([1,2]),O=()=>f([1,2]),k=()=>f([1]),C=()=>f([1,2,5]),T=()=>c([1,5]),F=()=>c([5,8]),$=()=>c([5]),R=()=>c([1,5,2]),K=()=>c([1,2,5,8]),W=()=>c([12]),Z=()=>c([8]),ie=()=>c([15]),ne=()=>c([1,2,5,8,12,15]),se=()=>c([1,2,5,8,12]),Q=()=>{var Ct;const{user:Yt}=(0,t.getDvaApp)()._store.getState(),{userInfo:ze}=Yt;return((Ct=ze==null?void 0:ze.course)==null?void 0:Ct.course_role)===null},Y=()=>{var Ct;const{user:Yt,globalSetting:ze}=(0,t.getDvaApp)()._store.getState(),{userInfo:ue}=Yt,le=((Ct=ze==null?void 0:ze.setting)==null?void 0:Ct.big_model_users)||[];return le==null?void 0:le.includes(ue==null?void 0:ue.login)},G=(Ct=!0,Yt=!1)=>f([1,2,5,8,12,15]),ae=(Ct=!0,Yt=!1)=>Yt||!Yt&&f([1]),ee=(Ct=!0,Yt=!1)=>Yt||!Yt&&f([1,2]),J=()=>f([15]),te=(Ct=!0,Yt=!1)=>Ct?f([1,2,5,8,12,15]):Yt||!Yt&&f([1,2]),M=(Ct=!0,Yt=!1)=>Ct?f([1,2,5,8,12,15]):Yt||!Yt&&f([1,2]),L=(Ct=!0,Yt=!1)=>{const{user:ze}=(0,t.getDvaApp)()._store.getState(),{userInfo:ue}=ze;return ue!=null&&ue.is_shixun_marker?!0:f([1,2,5,8])},X=(Ct=!0,Yt=!1)=>Ct?f([1]):Yt||!Yt&&f([1]),fe=(Ct=!0,Yt=!1)=>Ct?f([1,2]):Yt||!Yt&&f([1,2]),xe=(Ct=!0,Yt=!1)=>Ct?f([1,2,5,8,12,15]):Yt||!Yt&&f([1,2]),Ce=(Ct=!0,Yt=!1)=>Ct?f([1,2,5,8,12]):Yt||!Yt&&f([1,2]),Me=(Ct=!0,Yt=!1)=>Ct?f([1,2,5]):Yt||!Yt&&f([1,2]),ke=(Ct=!0,Yt=!1)=>Ct?f([1]):!1,Ft=(Ct=!0,Yt=!1)=>f([1,2,5,8,12,15]),ht=(Ct=!0,Yt=!1)=>Ct?f([1]):Yt||!Yt&&f([1]),At=(Ct=!0,Yt=!1)=>Ct?f([1,2]):Yt||!Yt&&f([1,2]),tr=(Ct=!0,Yt=!1)=>Ct?f([1,2,5,8,12,15]):Yt||!Yt&&f([1,2]),qt=(Ct=!0,Yt=!1)=>Ct?!1:Yt||!Yt&&f([1,2]),cr=(Ct=!0,Yt=!1)=>Ct?Yt||!Yt&&f([1,2]):!1,Qe=(Ct=!0,Yt=!1)=>Ct?f([1,2,5,8,12]):!1,Pt=(Ct=!0,Yt=!1)=>Ct?!Yt&&f([1,2,5,8,12]):!1,zt=(Ct=!0,Yt=!1)=>Ct?f([1,2,5]):Yt||!Yt&&f([1,2]),it=(Ct=!0,Yt=!1)=>f([1,2,5,8,12]),Ot=(Ct=!0,Yt=!1)=>Ct?f([1]):Yt||!Yt&&f([1]),pt=(Ct=!0,Yt=!1)=>Ct?f([1,2]):Yt||!Yt&&f([1,2]),et=(Ct=!0,Yt=!1)=>Ct?f([1,2,5,8,12]):Yt||!Yt&&f([1,2]),Ne=(Ct=!0,Yt=!1)=>Ct?Yt||!Yt&&f([1,2]):!1,me=(Ct=!0,Yt=!1)=>Ct?f([1,2,5,8,12]):Yt||!Yt&&f([1,2]),Ee=(Ct=!0,Yt=!1)=>c([8]),Le=()=>f([1]),$e=()=>f([1,2]),Ze=()=>f([15]),nt=()=>f([1,2,5]),ut=()=>f([1,2,5,12]),Wt=()=>{var Ct;const{user:Yt}=(0,t.getDvaApp)()._store.getState();return!!((Ct=Yt.userInfo)!=null&&Ct.login)},Zt=()=>{const{user:Ct}=(0,t.getDvaApp)()._store.getState();return Ct.userInfo},Pe=()=>{var Ct,Yt;const{user:ze}=(0,t.getDvaApp)()._store.getState();return!!((Yt=(Ct=ze.userInfo)==null?void 0:Ct.path)!=null&&Yt.own)},qe=Ct=>{const{graduations:Yt}=(0,t.getDvaApp)()._store.getState(),{details:ze}=Yt;return Ct.some(ue=>ue===(ze==null?void 0:ze.user_identity))},Kt=()=>qe([0,1]),Rt=()=>qe([0]),Nt=()=>qe([1]),Bt=()=>qe([2])},149:function(d,v,e){"use strict";e.d(v,{a2:function(){return u},fw:function(){return t},gW:function(){return s},k:function(){return f},k4:function(){return n}});const t=[{id:0,name:"\u5355\u9009\u9898",nameType:"SINGLE"},{id:1,name:"\u591A\u9009\u9898",nameType:"MULTIPLE"},{id:2,name:"\u5224\u65AD\u9898",nameType:"JUDGMENT"},{id:3,name:"\u586B\u7A7A\u9898",nameType:"COMPLETION"},{id:4,name:"\u7B80\u7B54\u9898",nameType:"SUBJECTIVE"},{id:5,name:"\u5B9E\u8BAD\u9898",nameType:"PRACTICAL"},{id:6,name:"\u7F16\u7A0B\u9898",nameType:"PROGRAM"},{id:7,name:"\u7EC4\u5408\u9898",nameType:"COMBINATION"},{id:8,name:"\u7A0B\u5E8F\u586B\u7A7A\u9898",nameType:"BPROGRAM"}],n=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];var s=(c=>(c.PROBLEM="problem",c.PAPER="paper",c.OTHER="other",c))(s||{}),u=(c=>(c.SINGLE="single",c.MULTIPLEFLOW="multiple_flow",c.MULTIPLEFIXED="multiple_fixed",c.OTHER="other",c))(u||{}),f=(c=>(c[c.BISHI=1]="BISHI",c[c.JISHI=2]="JISHI",c[c.KOUSHI=3]="KOUSHI",c[c.OTHER=4]="OTHER",c))(f||{})},5320:function(d,v,e){"use strict";e.d(v,{F:function(){return t}});const t={load:"text/html",123:"application/vndlotus-1-2-3","3ds":"image/x-3ds","3g2":"video/3gpp","3ga":"video/3gpp","3gp":"video/3gpp","3gpp":"video/3gpp",602:"application/x-t602",669:"audio/x-mod","7z":"application/x-7z-compressed",a:"application/x-archive",aac:"audio/mp4",abw:"application/x-abiword",abwcrashed:"application/x-abiword",abwgz:"application/x-abiword",ac3:"audio/ac3",ace:"application/x-ace",adb:"text/x-adasrc",ads:"text/x-adasrc",afm:"application/x-font-afm",ag:"image/x-applix-graphics",ai:"application/illustrator",aif:"audio/x-aiff",aifc:"audio/x-aiff",aiff:"audio/x-aiff",al:"application/x-perl",alz:"application/x-alz",amr:"audio/amr",ani:"application/x-navi-animation","anim[1-9j]":"video/x-anim",anx:"application/annodex",ape:"audio/x-ape",arj:"application/x-arj",arw:"image/x-sony-arw",as:"application/x-applix-spreadsheet",asc:"text/plain",asf:"video/x-ms-asf",asp:"application/x-asp",ass:"text/x-ssa",asx:"audio/x-ms-asx",atom:"application/atom+xml",au:"audio/basic",avi:"video/x-msvideo",aw:"application/x-applix-word",awb:"audio/amr-wb",awk:"application/x-awk",axa:"audio/annodex",axv:"video/annodex",bak:"application/x-trash",bcpio:"application/x-bcpio",bdf:"application/x-font-bdf",bib:"text/x-bibtex",bin:"application/octet-stream",blend:"application/x-blender",blender:"application/x-blender",bmp:"image/bmp",bz:"application/x-bzip",bz2:"application/x-bzip",c:"text/x-csrc","c++":"text/x-c++src",cab:"application/vndms-cab-compressed",cb7:"application/x-cb7",cbr:"application/x-cbr",cbt:"application/x-cbt",cbz:"application/x-cbz",cc:"text/x-c++src",cdf:"application/x-netcdf",cdr:"application/vndcorel-draw",cer:"application/x-x509-ca-cert",cert:"application/x-x509-ca-cert",cgm:"image/cgm",chm:"application/x-chm",chrt:"application/x-kchart",class:"application/x-java",cls:"text/x-tex",cmake:"text/x-cmake",cpio:"application/x-cpio",cpiogz:"application/x-cpio-compressed",cpp:"text/x-c++src",cr2:"image/x-canon-cr2",crt:"application/x-x509-ca-cert",crw:"image/x-canon-crw",cs:"text/x-csharp",csh:"application/x-csh",css:"text/css",cssl:"text/css",csv:"text/csv",cue:"application/x-cue",cur:"image/x-win-bitmap",cxx:"text/x-c++src",d:"text/x-dsrc",dar:"application/x-dar",dbf:"application/x-dbf",dc:"application/x-dc-rom",dcl:"text/x-dcl",dcm:"application/dicom",dcr:"image/x-kodak-dcr",dds:"image/x-dds",deb:"application/x-deb",der:"application/x-x509-ca-cert",desktop:"application/x-desktop",dia:"application/x-dia-diagram",diff:"text/x-patch",divx:"video/x-msvideo",djv:"image/vnddjvu",djvu:"image/vnddjvu",dng:"image/x-adobe-dng",doc:"application/msword",docbook:"application/docbook+xml",docm:"application/vndopenxmlformats-officedocumentwordprocessingmldocument",docx:"application/vndopenxmlformats-officedocumentwordprocessingmldocument",dot:"text/vndgraphviz",dsl:"text/x-dsl",dtd:"application/xml-dtd",dtx:"text/x-tex",dv:"video/dv",dvi:"application/x-dvi",dvibz2:"application/x-bzdvi",dvigz:"application/x-gzdvi",dwg:"image/vnddwg",dxf:"image/vnddxf",e:"text/x-eiffel",egon:"application/x-egon",eif:"text/x-eiffel",el:"text/x-emacs-lisp",emf:"image/x-emf",emp:"application/vndemusic-emusic_package",ent:"application/xml-external-parsed-entity",eps:"image/x-eps",epsbz2:"image/x-bzeps",epsgz:"image/x-gzeps",epsf:"image/x-eps",epsfbz2:"image/x-bzeps",epsfgz:"image/x-gzeps",epsi:"image/x-eps",epsibz2:"image/x-bzeps",epsigz:"image/x-gzeps",epub:"application/epub+zip",erl:"text/x-erlang",es:"application/ecmascript",etheme:"application/x-e-theme",etx:"text/x-setext",exe:"application/x-ms-dos-executable",exr:"image/x-exr",ez:"application/andrew-inset",f:"text/x-fortran",f90:"text/x-fortran",f95:"text/x-fortran",fb2:"application/x-fictionbook+xml",fig:"image/x-xfig",fits:"image/fits",fl:"application/x-fluid",flac:"audio/x-flac",flc:"video/x-flic",fli:"video/x-flic",flv:"video/x-flv",flw:"application/x-kivio",fo:"text/x-xslfo",for:"text/x-fortran",g3:"image/fax-g3",gb:"application/x-gameboy-rom",gba:"application/x-gba-rom",gcrd:"text/directory",ged:"application/x-gedcom",gedcom:"application/x-gedcom",gen:"application/x-genesis-rom",gf:"application/x-tex-gf",gg:"application/x-sms-rom",gif:"image/gif",glade:"application/x-glade",gmo:"application/x-gettext-translation",gnc:"application/x-gnucash",gnd:"application/gnunet-directory",gnucash:"application/x-gnucash",gnumeric:"application/x-gnumeric",gnuplot:"application/x-gnuplot",gp:"application/x-gnuplot",gpg:"application/pgp-encrypted",gplt:"application/x-gnuplot",gra:"application/x-graphite",gsf:"application/x-font-type1",gsm:"audio/x-gsm",gtar:"application/x-tar",gv:"text/vndgraphviz",gvp:"text/x-google-video-pointer",gz:"application/x-gzip",h:"text/x-chdr","h++":"text/x-c++hdr",hdf:"application/x-hdf",hh:"text/x-c++hdr",hp:"text/x-c++hdr",hpgl:"application/vndhp-hpgl",hpp:"text/x-c++hdr",hs:"text/x-haskell",htm:"text/html",html:"text/html",hwp:"application/x-hwp",hwt:"application/x-hwt",hxx:"text/x-c++hdr",ica:"application/x-ica",icb:"image/x-tga",icns:"image/x-icns",ico:"image/vndmicrosofticon",ics:"text/calendar",idl:"text/x-idl",ief:"image/ief",iff:"image/x-iff",ilbm:"image/x-ilbm",ime:"text/x-imelody",imy:"text/x-imelody",ins:"text/x-tex",iptables:"text/x-iptables",iso:"application/x-cd-image",iso9660:"application/x-cd-image",it:"audio/x-it",j2k:"image/jp2",jad:"text/vndsunj2meapp-descriptor",jar:"application/x-java-archive",java:"text/x-java",jng:"image/x-jng",jnlp:"application/x-java-jnlp-file",jp2:"image/jp2",jpc:"image/jp2",jpe:"image/jpeg",jpeg:"image/jpeg",jpf:"image/jp2",jpg:"image/jpeg",jpr:"application/x-jbuilder-project",jpx:"image/jp2",js:"application/javascript",json:"application/json",jsonp:"application/jsonp",k25:"image/x-kodak-k25",kar:"audio/midi",karbon:"application/x-karbon",kdc:"image/x-kodak-kdc",kdelnk:"application/x-desktop",kexi:"application/x-kexiproject-sqlite3",kexic:"application/x-kexi-connectiondata",kexis:"application/x-kexiproject-shortcut",kfo:"application/x-kformula",kil:"application/x-killustrator",kino:"application/smil",kml:"application/vndgoogle-earthkml+xml",kmz:"application/vndgoogle-earthkmz",kon:"application/x-kontour",kpm:"application/x-kpovmodeler",kpr:"application/x-kpresenter",kpt:"application/x-kpresenter",kra:"application/x-krita",ksp:"application/x-kspread",kud:"application/x-kugar",kwd:"application/x-kword",kwt:"application/x-kword",la:"application/x-shared-library-la",latex:"text/x-tex",ldif:"text/x-ldif",lha:"application/x-lha",lhs:"text/x-literate-haskell",lhz:"application/x-lhz",log:"text/x-log",ltx:"text/x-tex",lua:"text/x-lua",lwo:"image/x-lwo",lwob:"image/x-lwo",lws:"image/x-lws",ly:"text/x-lilypond",lyx:"application/x-lyx",lz:"application/x-lzip",lzh:"application/x-lha",lzma:"application/x-lzma",lzo:"application/x-lzop",m:"text/x-matlab",m15:"audio/x-mod",m2t:"video/mpeg",m3u:"audio/x-mpegurl",m3u8:"audio/x-mpegurl",m4:"application/x-m4",m4a:"audio/mp4",m4b:"audio/x-m4b",m4v:"video/mp4",mab:"application/x-markaby",man:"application/x-troff-man",mbox:"application/mbox",md:"application/x-genesis-rom",mdb:"application/vndms-access",mdi:"image/vndms-modi",me:"text/x-troff-me",med:"audio/x-mod",metalink:"application/metalink+xml",mgp:"application/x-magicpoint",mid:"audio/midi",midi:"audio/midi",mif:"application/x-mif",minipsf:"audio/x-minipsf",mka:"audio/x-matroska",mkv:"video/x-matroska",ml:"text/x-ocaml",mli:"text/x-ocaml",mm:"text/x-troff-mm",mmf:"application/x-smaf",mml:"text/mathml",mng:"video/x-mng",mo:"application/x-gettext-translation",mo3:"audio/x-mo3",moc:"text/x-moc",mod:"audio/x-mod",mof:"text/x-mof",moov:"video/quicktime",mov:"video/quicktime",movie:"video/x-sgi-movie","mp+":"audio/x-musepack",mp2:"video/mpeg",mp3:"audio/mpeg",mp4:"video/mp4",mpc:"audio/x-musepack",mpe:"video/mpeg",mpeg:"video/mpeg",mpg:"video/mpeg",mpga:"audio/mpeg",mpp:"audio/x-musepack",mrl:"text/x-mrml",mrml:"text/x-mrml",mrw:"image/x-minolta-mrw",ms:"text/x-troff-ms",msi:"application/x-msi",msod:"image/x-msod",msx:"application/x-msx-rom",mtm:"audio/x-mod",mup:"text/x-mup",mxf:"application/mxf",n64:"application/x-n64-rom",nb:"application/mathematica",nc:"application/x-netcdf",nds:"application/x-nintendo-ds-rom",nef:"image/x-nikon-nef",nes:"application/x-nes-rom",nfo:"text/x-nfo",not:"text/x-mup",nsc:"application/x-netshow-channel",nsv:"video/x-nsv",o:"application/x-object",obj:"application/x-tgif",ocl:"text/x-ocl",oda:"application/oda",odb:"application/vndoasisopendocumentdatabase",odc:"application/vndoasisopendocumentchart",odf:"application/vndoasisopendocumentformula",odg:"application/vndoasisopendocumentgraphics",odi:"application/vndoasisopendocumentimage",odm:"application/vndoasisopendocumenttext-master",odp:"application/vndoasisopendocumentpresentation",ods:"application/vndoasisopendocumentspreadsheet",odt:"application/vndoasisopendocumenttext",oga:"audio/ogg",ogg:"video/x-theora+ogg",ogm:"video/x-ogm+ogg",ogv:"video/ogg",ogx:"application/ogg",old:"application/x-trash",oleo:"application/x-oleo",opml:"text/x-opml+xml",ora:"image/openraster",orf:"image/x-olympus-orf",otc:"application/vndoasisopendocumentchart-template",otf:"application/x-font-otf",otg:"application/vndoasisopendocumentgraphics-template",oth:"application/vndoasisopendocumenttext-web",otp:"application/vndoasisopendocumentpresentation-template",ots:"application/vndoasisopendocumentspreadsheet-template",ott:"application/vndoasisopendocumenttext-template",owl:"application/rdf+xml",oxt:"application/vndopenofficeorgextension",p:"text/x-pascal",p10:"application/pkcs10",p12:"application/x-pkcs12",p7b:"application/x-pkcs7-certificates",p7s:"application/pkcs7-signature",pack:"application/x-java-pack200",pak:"application/x-pak",par2:"application/x-par2",pas:"text/x-pascal",patch:"text/x-patch",pbm:"image/x-portable-bitmap",pcd:"image/x-photo-cd",pcf:"application/x-cisco-vpn-settings",pcfgz:"application/x-font-pcf",pcfz:"application/x-font-pcf",pcl:"application/vndhp-pcl",pcx:"image/x-pcx",pdb:"chemical/x-pdb",pdc:"application/x-aportisdoc",pdf:"application/pdf",pdfbz2:"application/x-bzpdf",pdfgz:"application/x-gzpdf",pef:"image/x-pentax-pef",pem:"application/x-x509-ca-cert",perl:"application/x-perl",pfa:"application/x-font-type1",pfb:"application/x-font-type1",pfx:"application/x-pkcs12",pgm:"image/x-portable-graymap",pgn:"application/x-chess-pgn",pgp:"application/pgp-encrypted",php:"application/x-php",php3:"application/x-php",php4:"application/x-php",pict:"image/x-pict",pict1:"image/x-pict",pict2:"image/x-pict",pickle:"application/python-pickle",pk:"application/x-tex-pk",pkipath:"application/pkix-pkipath",pkr:"application/pgp-keys",pl:"application/x-perl",pla:"audio/x-iriver-pla",pln:"application/x-planperfect",pls:"audio/x-scpls",pm:"application/x-perl",png:"image/png",pnm:"image/x-portable-anymap",pntg:"image/x-macpaint",po:"text/x-gettext-translation",por:"application/x-spss-por",pot:"text/x-gettext-translation-template",ppm:"image/x-portable-pixmap",pps:"application/vndms-powerpoint",ppt:"application/vndms-powerpoint",pptm:"application/vndopenxmlformats-officedocumentpresentationmlpresentation",pptx:"application/vndopenxmlformats-officedocumentpresentationmlpresentation",ppz:"application/vndms-powerpoint",prc:"application/x-palm-database",ps:"application/postscript",psbz2:"application/x-bzpostscript",psgz:"application/x-gzpostscript",psd:"image/vndadobephotoshop",psf:"audio/x-psf",psfgz:"application/x-gz-font-linux-psf",psflib:"audio/x-psflib",psid:"audio/prssid",psw:"application/x-pocket-word",pw:"application/x-pw",py:"text/x-python",pyc:"application/x-python-bytecode",pyo:"application/x-python-bytecode",qif:"image/x-quicktime",qt:"video/quicktime",qtif:"image/x-quicktime",qtl:"application/x-quicktime-media-link",qtvr:"video/quicktime",ra:"audio/vndrn-realaudio",raf:"image/x-fuji-raf",ram:"application/ram",rar:"application/x-rar",ras:"image/x-cmu-raster",raw:"image/x-panasonic-raw",rax:"audio/vndrn-realaudio",rb:"application/x-ruby",rdf:"application/rdf+xml",rdfs:"application/rdf+xml",reg:"text/x-ms-regedit",rej:"application/x-reject",rgb:"image/x-rgb",rle:"image/rle",rm:"application/vndrn-realmedia",rmj:"application/vndrn-realmedia",rmm:"application/vndrn-realmedia",rms:"application/vndrn-realmedia",rmvb:"application/vndrn-realmedia",rmx:"application/vndrn-realmedia",roff:"text/troff",rp:"image/vndrn-realpix",rpm:"application/x-rpm",rss:"application/rss+xml",rt:"text/vndrn-realtext",rtf:"application/rtf",rtx:"text/richtext",rv:"video/vndrn-realvideo",rvx:"video/vndrn-realvideo",s3m:"audio/x-s3m",sam:"application/x-amipro",sami:"application/x-sami",sav:"application/x-spss-sav",scm:"text/x-scheme",sda:"application/vndstardivisiondraw",sdc:"application/vndstardivisioncalc",sdd:"application/vndstardivisionimpress",sdp:"application/sdp",sds:"application/vndstardivisionchart",sdw:"application/vndstardivisionwriter",sgf:"application/x-go-sgf",sgi:"image/x-sgi",sgl:"application/vndstardivisionwriter",sgm:"text/sgml",sgml:"text/sgml",sh:"application/x-shellscript",shar:"application/x-shar",shn:"application/x-shorten",siag:"application/x-siag",sid:"audio/prssid",sik:"application/x-trash",sis:"application/vndsymbianinstall",sisx:"x-epoc/x-sisx-app",sit:"application/x-stuffit",siv:"application/sieve",sk:"image/x-skencil",sk1:"image/x-skencil",skr:"application/pgp-keys",slk:"text/spreadsheet",smaf:"application/x-smaf",smc:"application/x-snes-rom",smd:"application/vndstardivisionmail",smf:"application/vndstardivisionmath",smi:"application/x-sami",smil:"application/smil",sml:"application/smil",sms:"application/x-sms-rom",snd:"audio/basic",so:"application/x-sharedlib",spc:"application/x-pkcs7-certificates",spd:"application/x-font-speedo",spec:"text/x-rpm-spec",spl:"application/x-shockwave-flash",spx:"audio/x-speex",sql:"text/x-sql",sr2:"image/x-sony-sr2",src:"application/x-wais-source",srf:"image/x-sony-srf",srt:"application/x-subrip",ssa:"text/x-ssa",stc:"application/vndsunxmlcalctemplate",std:"application/vndsunxmldrawtemplate",sti:"application/vndsunxmlimpresstemplate",stm:"audio/x-stm",stw:"application/vndsunxmlwritertemplate",sty:"text/x-tex",sub:"text/x-subviewer",sun:"image/x-sun-raster",sv4cpio:"application/x-sv4cpio",sv4crc:"application/x-sv4crc",svg:"image/svg+xml",svgz:"image/svg+xml-compressed",swf:"application/x-shockwave-flash",sxc:"application/vndsunxmlcalc",sxd:"application/vndsunxmldraw",sxg:"application/vndsunxmlwriterglobal",sxi:"application/vndsunxmlimpress",sxm:"application/vndsunxmlmath",sxw:"application/vndsunxmlwriter",sylk:"text/spreadsheet",t:"text/troff",t2t:"text/x-txt2tags",tar:"application/x-tar",tarbz:"application/x-bzip-compressed-tar",tarbz2:"application/x-bzip-compressed-tar",targz:"application/x-compressed-tar",tarlzma:"application/x-lzma-compressed-tar",tarlzo:"application/x-tzo",tarxz:"application/x-xz-compressed-tar",tarz:"application/x-tarz",tbz:"application/x-bzip-compressed-tar",tbz2:"application/x-bzip-compressed-tar",tcl:"text/x-tcl",tex:"text/x-tex",texi:"text/x-texinfo",texinfo:"text/x-texinfo",tga:"image/x-tga",tgz:"application/x-compressed-tar",theme:"application/x-theme",themepack:"application/x-windows-themepack",tif:"image/tiff",tiff:"image/tiff",tk:"text/x-tcl",tlz:"application/x-lzma-compressed-tar",tnef:"application/vndms-tnef",tnf:"application/vndms-tnef",toc:"application/x-cdrdao-toc",torrent:"application/x-bittorrent",tpic:"image/x-tga",tr:"text/troff",ts:"application/x-linguist",tsv:"text/tab-separated-values",tta:"audio/x-tta",ttc:"application/x-font-ttf",ttf:"application/x-font-ttf",ttx:"application/x-font-ttx",txt:"text/plain",txz:"application/x-xz-compressed-tar",tzo:"application/x-tzo",ufraw:"application/x-ufraw",ui:"application/x-designer",uil:"text/x-uil",ult:"audio/x-mod",uni:"audio/x-mod",uri:"text/x-uri",url:"text/x-uri",ustar:"application/x-ustar",vala:"text/x-vala",vapi:"text/x-vala",vcf:"text/directory",vcs:"text/calendar",vct:"text/directory",vda:"image/x-tga",vhd:"text/x-vhdl",vhdl:"text/x-vhdl",viv:"video/vivo",vivo:"video/vivo",vlc:"audio/x-mpegurl",vob:"video/mpeg",voc:"audio/x-voc",vor:"application/vndstardivisionwriter",vst:"image/x-tga",wav:"audio/x-wav",wax:"audio/x-ms-asx",wb1:"application/x-quattropro",wb2:"application/x-quattropro",wb3:"application/x-quattropro",wbmp:"image/vndwapwbmp",wcm:"application/vndms-works",wdb:"application/vndms-works",webm:"video/webm",wk1:"application/vndlotus-1-2-3",wk3:"application/vndlotus-1-2-3",wk4:"application/vndlotus-1-2-3",wks:"application/vndms-works",wma:"audio/x-ms-wma",wmf:"image/x-wmf",wml:"text/vndwapwml",wmls:"text/vndwapwmlscript",wmv:"video/x-ms-wmv",wmx:"audio/x-ms-asx",wp:"application/vndwordperfect",wp4:"application/vndwordperfect",wp5:"application/vndwordperfect",wp6:"application/vndwordperfect",wpd:"application/vndwordperfect",wpg:"application/x-wpg",wpl:"application/vndms-wpl",wpp:"application/vndwordperfect",wps:"application/vndms-works",wri:"application/x-mswrite",wrl:"model/vrml",wv:"audio/x-wavpack",wvc:"audio/x-wavpack-correction",wvp:"audio/x-wavpack",wvx:"audio/x-ms-asx",x3f:"image/x-sigma-x3f",xac:"application/x-gnucash",xbel:"application/x-xbel",xbl:"application/xml",xbm:"image/x-xbitmap",xcf:"image/x-xcf",xcfbz2:"image/x-compressed-xcf",xcfgz:"image/x-compressed-xcf",xhtml:"application/xhtml+xml",xi:"audio/x-xi",xla:"application/vndms-excel",xlc:"application/vndms-excel",xld:"application/vndms-excel",xlf:"application/x-xliff",xliff:"application/x-xliff",xll:"application/vndms-excel",xlm:"application/vndms-excel",xls:"application/vndms-excel",xlsm:"application/vndopenxmlformats-officedocumentspreadsheetmlsheet",xlsx:"application/vndopenxmlformats-officedocumentspreadsheetmlsheet",xlt:"application/vndms-excel",xlw:"application/vndms-excel",xm:"audio/x-xm",xmf:"audio/x-xmf",xmi:"text/x-xmi",xml:"application/xml",xpm:"image/x-xpixmap",xps:"application/vndms-xpsdocument",xsl:"application/xml",xslfo:"text/x-xslfo",xslt:"application/xml",xspf:"application/xspf+xml",xul:"application/vndmozillaxul+xml",xwd:"image/x-xwindowdump",xyz:"chemical/x-pdb",xz:"application/x-xz",w2p:"application/w2p",z:"application/x-compress",zabw:"application/x-abiword",zip:"application/zip"}},38446:function(d,v,e){"use strict";e.d(v,{Z:function(){return u}});const t={PROXY_SERVER:"http://172.16.100.111",API_SERVER:"",REPORT_SERVER:"http://192.168.1.57:3001",IMG_SERVER:"http://172.16.100.239",FORGE:"https://code.educoder.net/",SSH_SERVER:"wss://webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",TERMINAL_URL:"testsvc1.vnc.educoder.net",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")};var n=null,u={local:{API_SERVER:"http://localhost:3000",IMG_SERVER:"https://testali-cdn.educoder.net/",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"https://test-oldweb.educoder.net/",SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")},dev:t,newReactTest:{API_SERVER:(()=>{let f;switch(location.host){case"test4.educoder.net":f="https://test4-data.educoder.net";break;case"test3.educoder.net":f="https://test3-data.educoder.net";break;case"test2.educoder.net":f="https://test2-data.educoder.net";break;default:f="https://test-data.educoder.net";break}return f})(),SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",IMG_SERVER:(()=>{let f="https://new-testali-cdn.educoder.net";const c=location.host;return c==="test3.educoder.net"&&(f="https://test3-data.educoder.net"),c==="test4.educoder.net"&&(f="https://test4-data.educoder.net"),f})(),OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"https://test-oldweb.educoder.net/",QQLoginCB:encodeURIComponent("https://test-data.educoder.net"),TERMINAL_URL:"testsvc1.vnc.educoder.net"},preNewBuild:{API_SERVER:(()=>{let f="https://pre-data.educoder.net";return location.host==="pre2.educoder.net"&&(f="https://pre-data2.educoder.net"),f})(),IMG_SERVER:"https://preali-cdn.educoder.net",SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",REPORT_SERVER:"http://192.168.1.57:3001",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",FORGE:"https://forge.educoder.net/",QQLoginCB:encodeURIComponent("https://pre.educoder.net")},newBuild:{API_SERVER:(()=>{let f="https://data.educoder.net";return document.domain==="kepukehuan.educoder.net"?f="https://kepukehuan-data.educoder.net":(document.domain==="www.tokcoder.com"||document.domain==="tokcoder.com")&&(f="https://data.tokcoder.com"),f})(),SSH_SERVER:"wss://webssh.educoder.net",REPORT_SERVER:"http://192.168.1.57:3001",SSH_Slice:"https://fu.educoder.net",IMG_SERVER:"https://ali-cdn.educoder.net",OFFICE_SERVER:"https://officeserver.educoder.net",ONLYOFFICE:"https://office.educoder.net",OFFICE_IP:"https://officedata.educoder.net",FORGE:"https://code.educoder.net/",QQLoginCB:encodeURIComponent("https://www.educoder.net"),TERMINAL_URL:".jupyter.educoder.net"},newTest:{API_SERVER:"https://test-data.educoder.net",IMG_SERVER:"https://test-data.educoder.net",REPORT_SERVER:"http://192.168.1.57:3001",SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",FORGE:"http://test-oldweb.educoder.net/",QQLoginCB:encodeURIComponent("https://test-data.educoder.net")},test:{API_SERVER:"",IMG_SERVER:"",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"http://test-oldweb.educoder.net/",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",SSH_SERVER:"wss://pre-webssh.educoder.net",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")},preBuild:{API_SERVER:"",IMG_SERVER:"https://preali-cdn.educoder.net",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"https://forge.educoder.net/",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",SSH_SERVER:"wss://pre-webssh.educoder.net",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")},newWeb:{API_SERVER:"https://test-newweb.educoder.net",IMG_SERVER:"https://test-newweb.educoder.net/",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"http://test-oldweb.educoder.net/",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",SSH_SERVER:"wss://pre-webssh.educoder.net",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")},build:{API_SERVER:"",IMG_SERVER:"",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"https://forge.educoder.net/",SSH_SERVER:"wss://webssh.educoder.net",SSH_Slice:"https://fu.educoder.net",OFFICE_SERVER:"https://officeserver.educoder.net",ONLYOFFICE:"",OFFICE_IP:"https://officedata.educoder.net",QQLoginCB:encodeURIComponent("https://www.educoder.net"),TERMINAL_URL:".jupyter.educoder.net"}}[window.ENV||"dev"]},7660:function(d,v,e){"use strict";e.d(v,{IV:function(){return M},U2:function(){return ae},ZP:function(){return se},d4:function(){return ee},gz:function(){return te},rz:function(){return ne},v_:function(){return J}});var t=e(38446),n=e(28909),s=e(43418),u=e(8591),f=e(85582),c=e.n(f),h=e(59301),o=e(24459),i=e(88230),y=e(89392),p=e.n(y),g=Object.defineProperty,l=Object.defineProperties,b=Object.getOwnPropertyDescriptors,x=Object.getOwnPropertySymbols,O=Object.prototype.hasOwnProperty,k=Object.prototype.propertyIsEnumerable,C=(L,X,fe)=>X in L?g(L,X,{enumerable:!0,configurable:!0,writable:!0,value:fe}):L[X]=fe,T=(L,X)=>{for(var fe in X||(X={}))O.call(X,fe)&&C(L,fe,X[fe]);if(x)for(var fe of x(X))k.call(X,fe)&&C(L,fe,X[fe]);return L},F=(L,X)=>l(L,b(X)),$=(L,X,fe)=>new Promise((xe,Ce)=>{var Me=ht=>{try{Ft(fe.next(ht))}catch(At){Ce(At)}},ke=ht=>{try{Ft(fe.throw(ht))}catch(At){Ce(At)}},Ft=ht=>ht.done?xe(ht.value):Promise.resolve(ht.value).then(Me,ke);Ft((fe=fe.apply(L,X)).next())});let R;const K={200:"\u670D\u52A1\u5668\u6210\u529F\u8FD4\u56DE\u8BF7\u6C42\u7684\u6570\u636E\u3002",201:"\u65B0\u5EFA\u6216\u4FEE\u6539\u6570\u636E\u6210\u529F\u3002",202:"\u4E00\u4E2A\u8BF7\u6C42\u5DF2\u7ECF\u8FDB\u5165\u540E\u53F0\u6392\u961F\uFF08\u5F02\u6B65\u4EFB\u52A1\uFF09\u3002",204:"\u5220\u9664\u6570\u636E\u6210\u529F\u3002",400:"\u53D1\u51FA\u7684\u8BF7\u6C42\u6709\u9519\u8BEF\uFF0C\u670D\u52A1\u5668\u6CA1\u6709\u8FDB\u884C\u65B0\u5EFA\u6216\u4FEE\u6539\u6570\u636E\u7684\u64CD\u4F5C\u3002",401:"\u7528\u6237\u6CA1\u6709\u6743\u9650\uFF08\u4EE4\u724C\u3001\u7528\u6237\u540D\u3001\u5BC6\u7801\u9519\u8BEF\uFF09\u3002",403:"\u7528\u6237\u5F97\u5230\u6388\u6743\uFF0C\u4F46\u662F\u8BBF\u95EE\u662F\u88AB\u7981\u6B62\u7684\u3002",404:"\u53D1\u51FA\u7684\u8BF7\u6C42\u9488\u5BF9\u7684\u662F\u4E0D\u5B58\u5728\u7684\u8BB0\u5F55\uFF0C\u670D\u52A1\u5668\u6CA1\u6709\u8FDB\u884C\u64CD\u4F5C\u3002",406:"\u8BF7\u6C42\u7684\u683C\u5F0F\u4E0D\u53EF\u5F97\u3002",410:"\u8BF7\u6C42\u7684\u8D44\u6E90\u88AB\u6C38\u4E45\u5220\u9664\uFF0C\u4E14\u4E0D\u4F1A\u518D\u5F97\u5230\u7684\u3002",422:"\u5F53\u521B\u5EFA\u4E00\u4E2A\u5BF9\u8C61\u65F6\uFF0C\u53D1\u751F\u4E00\u4E2A\u9A8C\u8BC1\u9519\u8BEF\u3002",500:"\u670D\u52A1\u5668\u53D1\u751F\u9519\u8BEF\uFF0C\u8BF7\u68C0\u67E5\u670D\u52A1\u5668\u3002",502:"\u7F51\u5173\u9519\u8BEF\u3002",503:"\u670D\u52A1\u4E0D\u53EF\u7528\uFF0C\u670D\u52A1\u5668\u6682\u65F6\u8FC7\u8F7D\u6216\u7EF4\u62A4\u3002",504:"\u7F51\u5173\u8D85\u65F6\u3002"},W=(L,X)=>$(void 0,null,function*(){if(L.status>=200&&L.status<300)return L;const fe=K[L.status]||L.statusText;let xe;var Ce=L.json();yield Ce.then((ke,Ft)=>{setTimeout(()=>{let ht=(0,o.getDvaApp)()},400),xe=ke.message,window.showNetworkErrorTip(ke.message||`\u8BF7\u6C42\u9519\u8BEF ${L.status}: ${L.message}`),n.Z.error({style:{wordBreak:"break-all"},message:ke.message||`\u8BF7\u6C42\u9519\u8BEF ${L.status}: ${L.message}`,description:ke.message?"":fe})});const Me=new Error(fe);throw Me.name=L.status,Me.response=L,{data:L,code:L.status,message:xe||fe}}),Z=(L,X)=>{const fe=L.headers.get("Content-Type");return fe&&fe.match(/application\/json/i)&&L.clone().text().then(()=>{}),L};function ie(L){try{return decodeURIComponent(L),decodeURIComponent(encodeURIComponent(L))===L}catch(X){return!1}}const ne=L=>{L=L||{};let X="";for(let fe in L)typeof L[fe]=="object"?Array.isArray(L[fe])&&L[fe].forEach((xe,Ce)=>{X+="&"+fe+"[]="+xe}):L[fe]!==void 0&&(X+="&"+fe+"="+(ie(L[fe])?L[fe]:encodeURIComponent(L[fe])));return X.substr(1)};function se(L,X,fe,xe){X.method||(X.method="get"),X.method=X.method.toUpperCase(),X.mode="cors";const Ce=T({},X),{user:Me}=(0,o.getDvaApp)()._store.getState(),{userInfo:ke}=Me,Ft=L+(Ce.body?JSON.stringify(Ce.body):""),ht=c().sha256().update(Ft).digest("hex"),At={credentials:"include",withCredentials:!0},tr={};ke!=null&&ke.login&&(tr.zzud=ke==null?void 0:ke.login,ke!=null&&ke.school_id&&(tr.zzsud=ke==null?void 0:ke.school_id),Ce.params=T(T({},Ce.params||{}),tr));let qt=T(T({},At),(0,y.cloneDeep)(Ce));(qt.method==="POST"||qt.method==="PUT"||qt.method==="PATCH"||qt.method==="DELETE")&&(fe?(qt.headers=F(T({_method:X.method.toUpperCase()},qt.headers),{"Pc-Authorization":(0,i.ej)("_educoder_session")}),qt.body=Ce.body):(qt.headers=T({Accept:"application/json",_method:X.method.toUpperCase(),"Content-Type":"application/json; charset=utf-8","Pc-Authorization":(0,i.ej)("_educoder_session")},qt.headers),qt.body=JSON.stringify(Ce.body))),qt.method=="GET"?(qt.headers=F(T({Accept:"application/json","Content-Type":"application/json; charset=utf-8",_method:X.method.toUpperCase()},qt.headers),{"Pc-Authorization":(0,i.ej)("_educoder_session")}),Ce.params&&ne(Ce.params)&&(L+="?"+ne(Ce.params))):tr.zzud&&(L+="?"+ne(T({},tr)));const cr=Ce.expirys&&60;let Qe;(Ot=>{Ot.json="application/json;charset=UTF-8",Ot.form="application/x-www-form-urlencoded; charset=UTF-8"})(Qe||(Qe={}));let Pt;(Ot=>{Ot.get="GET",Ot.post="POST"})(Pt||(Pt={}));const zt=Ot=>$(this,null,function*(){const pt=yield Ot.arrayBuffer();let et;const Ne=new Blob([pt]);try{et=Ot.headers.get("Content-Disposition").split(";")[1].replace("filename=","").replace(/[\s+,\',\",\‘,\’,\“,\”,\<,\>,\《,\》]/g,"")}catch($e){et="userfiles.zip"}const me=document.createElement("a"),Ee=window.URL.createObjectURL(Ne),Le=et;return me.href=Ee,me.download=Le,me.click(),window.URL.revokeObjectURL(Ee),pt});let it=t.Z.API_SERVER;return(window.ENV==="dev"||L.startsWith("http"))&&(it=""),qt.method=="GET"&&qt.params&&Object.keys(qt.params).map(Ot=>{if(qt.params[Ot]&&!Array.isArray(qt.params[Ot]))try{qt.params[Ot]=encodeURIComponent(decodeURIComponent(qt.params[Ot]))}catch(pt){qt.params[Ot]=encodeURIComponent(qt.params[Ot])}}),(0,i.Ec)(qt,L),xe&&(it=""),qt.headers._method=qt.method,qt.headers["X-HTTP-Method-Override"]=qt.method,qt.method!=="GET"&&(qt.method="POST"),fetch(it+L,qt).then(Ot=>W(Ot,T({url:t.Z.API_SERVER+L},qt))).then(Ot=>Z(Ot,ht)).then(Ot=>$(this,null,function*(){var pt,et,Ne,me;try{const Le=Ot.headers.get("cs");Le&&(0,i.d8)("_educoder_session",Le,1)}catch(Le){}if(Ot.status===204)return Ot.text();let Ee;if(Ot.headers.get("content-type").indexOf("application/json")>-1){Ee=yield Ot.json();try{const Le=/\(\s+\/api\/attachments\/(\d+)|\(\/api\/attachments\/(\d+)\//g,$e=/\"\/api\/attachments\/(\d+)\//g,Ze=/\(\s+\/files\/uploads\/(\d+)|\"\/files\/uploads\/(\d+)\//g,nt=/\/api\/attachments\/(\d+)/g,ut=/\/attachments\/download\/(\d+)/g;let Wt=JSON.stringify(Ee).replace(nt,(Zt,Pe,qe,Kt)=>{const Rt=Pe||qe||Kt;return"/api/attachments/"+(0,i.Jn)(Rt)}).replace(ut,(Zt,Pe,qe)=>{const Kt=Pe||qe;return"/attachments/download/"+(0,i.Jn)(Kt)}).replace(Le,(Zt,Pe,qe,Kt)=>{const Rt=Pe||qe||Kt;return"(/api/attachments/"+(0,i.Jn)(Rt)}).replace($e,(Zt,Pe,qe)=>{const Kt=Pe||qe;return'"/api/attachments/'+(0,i.Jn)(Kt)}).replace(Ze,(Zt,Pe,qe)=>{const Kt=Pe||qe;return"(/files/uploads/"+(0,i.Jn)(Kt)}).replace(/\r\n/g,` -`);Ee=JSON.parse(Wt)}catch(Le){}}else qt.headers["Content-Type"]==="application/xml"?Ee=yield Ot.text():(pt=Ce.body)!=null&&pt.autoDownload||(et=Ce.params)!=null&&et.autoDownload?Ee=yield zt(Ot):Ee=yield Ot.arrayBuffer();try{Ee.status===401&&(!((Ne=qt.params)!=null&&Ne.hidePopLogin)||!((me=qt.body)!=null&&me.hidePopLogin))&&(0,o.getDvaApp)()._store.dispatch({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}}),Ee.status===402&&(localStorage.getItem("addinfo")==="2"?(0,o.getDvaApp)()._store.dispatch({type:"shixunHomeworks/setActionTabs",payload:{key:"\u586B\u5145\u4FE1\u606F\u5F39\u7A97"}}):(R=R||s.default.confirm({visible:!1,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88"}),R.update({centered:!0,visible:!0,title:"\u63D0\u793A",content:"\u60A8\u9700\u8981\u53BB\u5B8C\u5584\u60A8\u7684\u4E2A\u4EBA\u8D44\u6599\uFF0C\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD",okText:"\u7ACB\u5373\u5B8C\u5584",cancelText:"\u7A0D\u540E\u5B8C\u5584",onOk:()=>{o.history.push("/account/profile/edit")}})))}catch(Le){console.log("fetcherr",Le)}return G(Ee,L),Ee})).catch(Ot=>{try{const pt=Ot.code;if(Ot instanceof TypeError&&window.showNetworkErrorTip(`${L}${Ot.message}`),pt){if(pt===401){(0,o.getDvaApp)()._store.dispatch({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}});return}G(Ot,L)}else L.includes("/file/filePatchMerge")?(0,o.getDvaApp)()._store.dispatch({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5206\u7247\u4E13\u7528504",params:qt.body}}):Ot.message!=="403"&&window.showNetworkErrorTip(`${L}${Ot.message}`);return Ot}catch(pt){}})}let Q=!1,Y=!1;const G=(L,X)=>{var fe,xe,Ce;if(L.status==-6&&!Y){Y=!0,(0,i.d8)("_educoder_session","logout",1),(0,i.m5)(),setTimeout(()=>Y=!1,500),s.default.info({title:"\u7CFB\u7EDF\u901A\u77E5",content:L.message,okText:"\u77E5\u9053\u4E86",maskStyle:{background:"#000"},onOk:()=>{window.location.reload()}});return}if(L.status==-7){Y=!0,setTimeout(()=>Y=!1,500);let ke="";(fe=L==null?void 0:L.data)!=null&&fe.exercise_list&&((Ce=(xe=L==null?void 0:L.data)==null?void 0:xe.exercise_list)==null||Ce.map(Ft=>{ke+=`\u300A${Ft.exercise_name}\u300B`})),s.default.info({title:"\u63D0\u793A",content:h.createElement("div",{id:"fetchStatus7",className:"fetchStatus7"},""),maskClosable:!1,closeIcon:!1,width:550,maskStyle:{background:"#000"},okText:"\u8FD4\u56DE\u9996\u9875",onOk:()=>{window.location.href="/"}}),setTimeout(()=>{document.getElementById("fetchStatus7").innerHTML=`
\u60A8\u5F53\u524D\u6709\u6B63\u5728\u8FDB\u884C\u7684\u8003\u8BD5 ${ke} \uFF0C\u8BF7\u5728\u8003\u8BD5\u7ED3\u675F\u540E\u8BBF\u95EE\u8BE5\u9875\u9762
`},500);return}if((L.status==-1||L.status==-2||L.status==-102||L.status>400)&&L.status!=403&&!Y){Y=!0,setTimeout(()=>Y=!1,500),u.ZP.warning({content:L.message,key:"message-key"});return}const Me={};if(Me[L.status]&&!Q){const{user:ke}=(0,o.getDvaApp)()._store.getState(),{userInfo:Ft}=ke;throw window.location.pathname.indexOf("/users")>-1&&document.domain==="kepukehuan.educoder.net"&&(Q=!0),setTimeout(()=>Q=!1,500),sessionStorage.setItem("errorStatus",JSON.stringify(L)),Object.values(Me).includes(window.location.pathname)?console.log("\u5F53\u524D\u8DEF\u5F84\u5B58\u5728\u4E8E mapping \u4E2D, \u4E0D\u518D\u6267\u884C\u8DF3\u8F6C"):location.replace(Me[L.status]),new Error("403")}};function ae(L,X){return se(`/api/${L}`,{method:"Get",params:X||{}})}function ee(L,X){return se(`/${L}`,{method:"Get",params:X})}function J(L,X){return se(`/api/${L}`,{method:"Post",body:T({},X)})}function te(L,X){return se(`/api/${L}`,{method:"Put",body:T({},X)})}function M(L,X){return se(`/api/${L}`,{method:"delete",body:T({},X||{})})}},42274:function(d,v,e){"use strict";e.d(v,{Bn:function(){return s},hw:function(){return n},mi:function(){return t}});const t="WTJJelpXRXdaakk0Tm1SbE56UTFPRFl5TXpnNVltWmtZVE0zTVdSalltST0=",n="WVdaak1UVmhOVEF3TkRRd05qZGlZemRsTVdZeFptSTROek5rT0daak1UYz0=",s="Y1dJeFpXRXdaakk0Tm1GblpqUTFPRFl5TXpnNVltWmtZVE0zTVdSalluQT0="},85187:function(d,v,e){"use strict";e.d(v,{AL:function(){return $},Iy:function(){return p},Qv:function(){return b},ez:function(){return F},jb:function(){return g}});var t=e(32834),n=e.n(t),s=e(11690),u=e.n(s);let f=1;function c(ie,ne){const se=ie.match(/^(\s+)(?:```)/);if(se===null)return ne;const Q=se[1];return ne.split(` +`);Ee=JSON.parse(Wt)}catch(Le){}}else qt.headers["Content-Type"]==="application/xml"?Ee=yield Ot.text():(pt=Ce.body)!=null&&pt.autoDownload||(et=Ce.params)!=null&&et.autoDownload?Ee=yield zt(Ot):Ee=yield Ot.arrayBuffer();try{Ee.status===401&&(!((Ne=qt.params)!=null&&Ne.hidePopLogin)||!((me=qt.body)!=null&&me.hidePopLogin))&&(0,o.getDvaApp)()._store.dispatch({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}}),Ee.status===402&&(localStorage.getItem("addinfo")==="2"?(0,o.getDvaApp)()._store.dispatch({type:"shixunHomeworks/setActionTabs",payload:{key:"\u586B\u5145\u4FE1\u606F\u5F39\u7A97"}}):(R=R||s.default.confirm({visible:!1,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88"}),R.update({centered:!0,visible:!0,title:"\u63D0\u793A",content:"\u60A8\u9700\u8981\u53BB\u5B8C\u5584\u60A8\u7684\u4E2A\u4EBA\u8D44\u6599\uFF0C\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD",okText:"\u7ACB\u5373\u5B8C\u5584",cancelText:"\u7A0D\u540E\u5B8C\u5584",onOk:()=>{o.history.push("/account/profile/edit")}})))}catch(Le){console.log("fetcherr",Le)}return G(Ee,L),Ee})).catch(Ot=>{try{const pt=Ot.code;if(Ot instanceof TypeError&&window.showNetworkErrorTip(`${L}${Ot.message}`),pt){if(pt===401){(0,o.getDvaApp)()._store.dispatch({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}});return}G(Ot,L)}else L.includes("/file/filePatchMerge")?(0,o.getDvaApp)()._store.dispatch({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5206\u7247\u4E13\u7528504",params:qt.body}}):Ot.message!=="403"&&window.showNetworkErrorTip(`${L}${Ot.message}`);return Ot}catch(pt){}})}let Q=!1,Y=!1;const G=(L,X)=>{var fe,xe,Ce;if(L.status==-6&&!Y){Y=!0,(0,i.d8)("_educoder_session","logout",1),(0,i.m5)(),setTimeout(()=>Y=!1,500),s.default.info({title:"\u7CFB\u7EDF\u901A\u77E5",content:L.message,okText:"\u77E5\u9053\u4E86",maskStyle:{background:"#000"},onOk:()=>{window.location.reload()}});return}if(L.status==-7){Y=!0,setTimeout(()=>Y=!1,500);let ke="";(fe=L==null?void 0:L.data)!=null&&fe.exercise_list&&((Ce=(xe=L==null?void 0:L.data)==null?void 0:xe.exercise_list)==null||Ce.map(Ft=>{ke+=`\u300A${Ft.exercise_name}\u300B`})),s.default.info({title:"\u63D0\u793A",content:h.createElement("div",{id:"fetchStatus7",className:"fetchStatus7"},""),maskClosable:!1,closeIcon:!1,width:550,maskStyle:{background:"#000"},okText:"\u8FD4\u56DE\u9996\u9875",onOk:()=>{window.location.href="/"}}),setTimeout(()=>{document.getElementById("fetchStatus7").innerHTML=`
\u60A8\u5F53\u524D\u6709\u6B63\u5728\u8FDB\u884C\u7684\u8003\u8BD5 ${ke} \uFF0C\u8BF7\u5728\u8003\u8BD5\u7ED3\u675F\u540E\u8BBF\u95EE\u8BE5\u9875\u9762
`},500);return}if((L.status==-1||L.status==-2||L.status==-102||L.status>400)&&L.status!=403&&!Y){Y=!0,setTimeout(()=>Y=!1,500),u.ZP.warning({content:L.message,key:"message-key"});return}const Me={403:"/403",404:"/404",500:"/500"};if(Me[L.status]&&!Q){const{user:ke}=(0,o.getDvaApp)()._store.getState(),{userInfo:Ft}=ke;throw window.location.pathname.indexOf("/users")>-1&&document.domain==="kepukehuan.educoder.net"&&(Q=!0),setTimeout(()=>Q=!1,500),sessionStorage.setItem("errorStatus",JSON.stringify(L)),Object.values(Me).includes(window.location.pathname)?console.log("\u5F53\u524D\u8DEF\u5F84\u5B58\u5728\u4E8E mapping \u4E2D, \u4E0D\u518D\u6267\u884C\u8DF3\u8F6C"):location.replace(Me[L.status]),new Error("403")}};function ae(L,X){return se(`/api/${L}`,{method:"Get",params:X||{}})}function ee(L,X){return se(`/${L}`,{method:"Get",params:X})}function J(L,X){return se(`/api/${L}`,{method:"Post",body:T({},X)})}function te(L,X){return se(`/api/${L}`,{method:"Put",body:T({},X)})}function M(L,X){return se(`/api/${L}`,{method:"delete",body:T({},X||{})})}},42274:function(d,v,e){"use strict";e.d(v,{Bn:function(){return s},hw:function(){return n},mi:function(){return t}});const t="WTJJelpXRXdaakk0Tm1SbE56UTFPRFl5TXpnNVltWmtZVE0zTVdSalltST0=",n="WVdaak1UVmhOVEF3TkRRd05qZGlZemRsTVdZeFptSTROek5rT0daak1UYz0=",s="Y1dJeFpXRXdaakk0Tm1GblpqUTFPRFl5TXpnNVltWmtZVE0zTVdSalluQT0="},85187:function(d,v,e){"use strict";e.d(v,{AL:function(){return $},Iy:function(){return p},Qv:function(){return b},ez:function(){return F},jb:function(){return g}});var t=e(32834),n=e.n(t),s=e(11690),u=e.n(s);let f=1;function c(ie,ne){const se=ie.match(/^(\s+)(?:```)/);if(se===null)return ne;const Q=se[1];return ne.split(` `).map(Y=>{const G=Y.match(/^\s+/);if(G===null)return Y;const[ae]=G;return ae.length>=Q.length?Y.slice(Q.length):Y}).join(` `)}let h=[],o=["