newreactbuild/p__Paperlibrary__index.js

2 lines
86 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(window.webpackJsonp=window.webpackJsonp||[]).push([[135,5],{"1XHU":function(T,i,n){"use strict";var L=n("2qtc"),a=n("kLXV"),v=n("q1tI"),s=n.n(v),S=n("9kvl"),f=n("3wET"),me=n.n(f),j=n("bUJZ"),M=n.n(j),_=n("Ct/S"),y=n.n(_),le=function(X){var D=X.visible,J=X.occupationValue,fe=X.onCancel,F=fe===void 0?function(){}:fe,k=function(){return s.a.createElement("div",{className:y.a.flexColumn},s.a.createElement("img",{className:y.a.img,src:M.a}),s.a.createElement("span",{className:y.a.content},"\u672A\u804C\u4E1A\u8BA4\u8BC1"))},H=function(){return s.a.createElement("div",{className:y.a.flexColumn},s.a.createElement("img",{className:y.a.img,src:me.a}),s.a.createElement("span",{className:y.a.content},"\u672A\u5B9E\u540D\u8BA4\u8BC1"))},se=function(){return J===3?s.a.createElement(s.a.Fragment,null,H(),k()):J===2?k():H()};return s.a.createElement(a.a,{centered:!0,keyboard:!1,closable:!1,destroyOnClose:!0,visible:D,title:"\u56E0\u4E3A\u4EE5\u4E0B\u539F\u56E0\uFF0C\u60A8\u6682\u65F6\u4E0D\u80FD\u8FDB\u884C\u64CD\u4F5C",okText:"\u7ACB\u5373\u8BA4\u8BC1",cancelText:"\u53D6\u6D88",width:"600px",onOk:function(){F(),S.c.push("/account/certification")},onCancel:function(){F()}},s.a.createElement("div",{className:y.a.tilte},"\u8BF7\u5728\u5B8C\u6210\u6761\u4EF6\u540E\u91CD\u8BD5"),s.a.createElement("div",{className:y.a.flexRow},se()))};i.a=Object(S.a)(function(B){var X=B.paperlibrary,D=B.loading,J=B.globalSetting;return{paperlibrary:X,globalSetting:J,loading:D.effects}})(le)},"1vsH":function(T,i,n){"use strict";n.d(i,"i",function(){return J}),n.d(i,"k",function(){return F}),n.d(i,"e",function(){return k}),n.d(i,"h",function(){return H}),n.d(i,"c",function(){return se}),n.d(i,"f",function(){return ne}),n.d(i,"g",function(){return ae}),n.d(i,"a",function(){return Ee}),n.d(i,"D",function(){return Z}),n.d(i,"C",function(){return r}),n.d(i,"E",function(){return te}),n.d(i,"F",function(){return Be}),n.d(i,"s",function(){return Ae}),n.d(i,"r",function(){return Ue}),n.d(i,"p",function(){return N}),n.d(i,"o",function(){return he}),n.d(i,"A",function(){return Ce}),n.d(i,"j",function(){return Se}),n.d(i,"z",function(){return x}),n.d(i,"u",function(){return ce}),n.d(i,"l",function(){return re}),n.d(i,"x",function(){return je}),n.d(i,"n",function(){return Ie}),n.d(i,"d",function(){return We}),n.d(i,"b",function(){return ke}),n.d(i,"t",function(){return oe}),n.d(i,"y",function(){return De}),n.d(i,"w",function(){return $}),n.d(i,"m",function(){return ve}),n.d(i,"v",function(){return ye}),n.d(i,"q",function(){return c}),n.d(i,"B",function(){return u});var L=n("sRBo"),a=n("kaz8"),v=n("14J3"),s=n("BMrR"),S=n("jCWc"),f=n("kPKH"),me=n("2qtc"),j=n("kLXV"),M=n("jrin"),_=n("q1tI"),y=n.n(_),le=n("xKgJ"),B=n("bntm"),X=n("aCH8"),D=n.n(X),J=["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"],fe=function(e){var t={\u5DF2\u622A\u6B62:{class:"tag-style bg-pink ml10"},\u63D0\u4EA4\u4E2D:{class:"tag-style bg-blue ml10"},\u672A\u53D1\u5E03:{class:"tag-style bg-blue ml10"},\u8865\u4EA4\u4E2D:{class:"tag-style bg-blue ml10"}};return e.data&&e.data.map(function(o,g){return y.a.createElement("span",{key:g,className:t[o]&&t[o].class},o)})},F=function(e){var t,o=(t={},Object(M.a)(t,-1,"\u91CD\u505A\u4E2D"),Object(M.a)(t,0,"\u672A\u5F00\u542F"),Object(M.a)(t,1,"\u672A\u901A\u5173"),Object(M.a)(t,2,"\u6309\u65F6\u901A\u5173"),t);return o[e]||"\u8FDF\u4EA4\u901A\u5173"},k=function(e){var t,o,g,m=(t={},Object(M.a)(t,-1,{name:"\u91CD\u505A\u4E2D",class:"c-orange"}),Object(M.a)(t,0,{name:"\u672A\u5F00\u542F",class:"c-black"}),Object(M.a)(t,1,{name:"\u672A\u901A\u5173",class:"c-red"}),Object(M.a)(t,2,{name:"\u6309\u65F6\u901A\u5173",class:"c-green"}),Object(M.a)(t,3,{name:"\u8FDF\u4EA4\u901A\u5173",class:"c-orange"}),t);return y.a.createElement("span",{className:m==null||((o=m[e.status])===null||o===void 0)?void 0:o.class},m==null||((g=m[e.status])===null||g===void 0)?void 0:g.name)},H=function(e){var t=e.status,o={0:{class:"tag-style bg-blue ml10",name:"\u5F85\u9009\u4E2D"},1:{class:"tag-style bg-blue ml10",name:"\u5F85\u786E\u8BA4"},2:{class:"tag-style bg-pink ml10",name:"\u5DF2\u786E\u8BA4"}};try{return y.a.createElement("span",{className:o[t].class},o[t].name)}catch(g){console.log("utils.StatusGraduationProjectTags",e.status)}},se={1:"\u672A\u53D1\u5E03",2:"\u8003\u8BD5\u4E2D",3:"\u5DF2\u622A\u6B62",4:"\u5DF2\u7ED3\u675F"},ne={1:"\u672A\u53D1\u5E03",2:"\u63D0\u4EA4\u4E2D",3:"\u5DF2\u622A\u6B62",4:"\u5DF2\u7ED3\u675F"},ae=function(e){var t={\u5DF2\u5F00\u542F\u9632\u4F5C\u5F0A:{class:"tag-style-fzb ml10 iconfont icon-fangzuobi"},\u516C\u5F00:{class:"tag-style bg-blue ml10"},\u5DF2\u5F00\u542F\u8865\u4EA4:{class:"tag-style bg-green ml10"},\u672A\u5F00\u542F\u8865\u4EA4:{class:"tag-style bg-pink ml10"},\u672A\u53D1\u5E03:{class:"tag-style bg-light-blue ml10"},\u533F\u540D\u4F5C\u54C1:{class:"tag-style bg-cyan ml10"},\u5DF2\u9009\u62E9:{class:"tag-style bg-grey-ede ml10"},\u5DF2\u7ED3\u675F:{class:"tag-style bg-grey-ede ml10"},\u63D0\u4EA4\u4E2D:{class:"tag-style bg-blue ml10"},\u533F\u8BC4\u4E2D:{class:"tag-style bg-blue ml10"},\u7533\u8BC9\u4E2D:{class:"tag-style bg-blue ml10"},\u8003\u8BD5\u4E2D:{class:"tag-style bg-light-blue ml10"},\u8865\u4EA4\u4E2D:{class:"tag-style bg-blue ml10"},\u8BC4\u9605\u4E2D:{class:"tag-style bg-blue ml10"},\u5F85\u9009\u4E2D:{class:"tag-style bg-blue ml10"},\u4EA4\u53C9\u8BC4\u9605\u4E2D:{class:"tag-style bg-light-orange ml10"},\u5DF2\u5F00\u542F\u4EA4\u53C9\u8BC4\u9605:{class:"tag-style bg-lightblue-purple ml10"},\u5F85\u786E\u8BA4:{class:"tag-style bg-lightblue-purple ml10"},\u5F85\u5904\u7406:{class:"tag-style bg-lightblue-purple ml10"},\u79C1\u6709:{class:"tag-style bg-lightblue-purple ml10"},\u672A\u63D0\u4EA4:{class:"tag-style bg-lightblue-purple ml10"},\u5DF2\u786E\u8BA4:{class:"tag-style bg-light-pink ml10"},\u5DF2\u53D1\u5E03:{class:"tag-style bg-light-blue ml10"},\u5DF2\u622A\u6B62:{class:"tag-style bg-light-pink ml10"},\u5F00\u53D1\u8BFE\u7A0B:{class:"tag-style bg-orange ml10"},\u5DF2\u5F00\u64AD:{class:"tag-style-border border-green c-green ml10"},\u672A\u5F00\u64AD:{class:"tag-style-border border-light-black ml10"},\u6309\u65F6\u901A\u5173:{class:"tag-style-border border-light-black ml10"},\u8FDF\u4EA4\u901A\u5173:{class:"tag-style-border border-light-black ml10"},\u672A\u901A\u5173:{class:"tag-style-border border-light-black ml10"},\u672A\u5F00\u542F:{class:"tag-style-border border-light-black ml10"}},o=[];e.is_random&&o.push(y.a.createElement("span",{className:"tag-style bg-blue ml10"},"\u968F\u673A"));try{e.status&&e.status.map(function(g,m){o.push(y.a.createElement("span",{key:m,className:t[g]&&t[g].class},g))})}catch(g){console.log("utils.status.tag:",g,e.status)}return o},Pe=function(e){var t,o,g,m=(t={},Object(M.a)(t,-1,{name:"\u91CD\u505A\u4E2D",class:"c-orange"}),Object(M.a)(t,0,{name:"\u672A\u63D0\u4EA4",class:"c-black"}),Object(M.a)(t,1,{name:"\u672A\u901A\u5173",class:"c-red"}),Object(M.a)(t,2,{name:"\u6309\u65F6\u901A\u5173",class:"c-green"}),Object(M.a)(t,3,{name:"\u8FDF\u4EA4\u901A\u5173",class:"c-orange"}),t);return y.a.createElement("span",{className:(o=m[e.status])===null||o===void 0?void 0:o.class},(g=m[e.status])===null||g===void 0?void 0:g.name)},Ee=function(e){var t,o,g={0:{name:"\u672A\u63D0\u4EA4",class:"c-black"},1:{name:"\u6309\u65F6\u63D0\u4EA4",class:"c-green"},2:{name:"\u5EF6\u65F6\u63D0\u4EA4",class:"c-red"}};return y.a.createElement("span",{className:(t=g[e.status])===null||t===void 0?void 0:t.class},(o=g[e.status])===null||o===void 0?void 0:o.name)},Z=function(e){e=new Date(e).getTime();var t=1e3*60,o=t*60,g=o*24,m="",d=new Date().getTime(),C=d-e;if(C<0)return console.log("\u65F6\u95F4\u4E0D\u5BF9\u52B2,\u670D\u52A1\u5668\u521B\u5EFA\u65F6\u95F4\u4E0E\u5F53\u524D\u65F6\u95F4\u4E0D\u540C\u6B65"),m="\u521A\u521A";var O=parseInt(C/g,10),V=parseInt(C/o,10),W=parseInt(C/t,10);return O>30?m=""+r(e,"yyyy-MM-dd"):O>1?m=""+O+"\u5929\u524D":O==1?m="\u6628\u5929":V>=1?m=""+V+"\u5C0F\u65F6\u524D":W>=5?m=""+W+"\u5206\u949F\u524D":m="\u521A\u521A",m},r=function(e,t){typeof e=="string"&&(e.indexOf("T")>=0&&(e=e.replace("T"," ")),e=new Date(Date.parse(e.replace(/-/g,"/")))),e=new Date(e);var o={"M+":e.getMonth()+1,"d+":e.getDate(),"h+":e.getHours(),"m+":e.getMinutes(),"s+":e.getSeconds(),"q+":Math.floor((e.getMonth()+3)/3),S:e.getMilliseconds()},g=[["\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"],["\u5468\u65E5","\u5468\u4E00","\u5468\u4E8C","\u5468\u4E09","\u5468\u56DB","\u5468\u4E94","\u5468\u516D"],["\u661F\u671F\u65E5","\u661F\u671F\u4E00","\u661F\u671F\u4E8C","\u661F\u671F\u4E09","\u661F\u671F\u56DB","\u661F\u671F\u4E94","\u661F\u671F\u516D"]];/(y+)/.test(t)&&(t=t.replace(RegExp.$1,(e.getFullYear()+"").substr(4-RegExp.$1.length))),/(w+)/.test(t)&&(t=t.replace(RegExp.$1,g[RegExp.$1.length-1][e.getDay()]));for(var m in o)new RegExp("("+m+")").test(t)&&(t=t.replace(RegExp.$1,RegExp.$1.length==1?o[m]:("00"+o[m]).substr((""+o[m]).length)));return t},te=function(e){if(!e||e<0)return"0\u79D2";console.log("time:",e);var t=60,o=t*60,g=o*24,m=e/g,d=e/o,C=e/t,O=e%60;return m>=1?parseInt(m.toString())+"\u5929"+Math.floor(d%24)+"\u65F6"+Math.floor(C%60)+"\u5206"+Math.floor(e%60)+"\u79D2":d>1?parseInt(d.toString())+"\u65F6"+Math.floor(C%60)+"\u5206"+Math.floor(e%60)+"\u79D2":C>=1?parseInt(C.toString())+"\u5206"+Math.floor(e%60)+"\u79D2":Math.ceil(e)+"\u79D2"},Be=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:100,o=0;if(e){o=e.length;for(var g=0;g<o;g++){var m=e.charCodeAt(g);m>=55296&&m<=56319&&(o--,g++)}}return o<=t},Ae=function(e,t,o){if(t){var g=/[`~!@#$%^&*()\-+=<>?:"{}|,.\/;'\\[\]·~@#¥%……&*()——\-+={}|《》?:“”【】、;‘’,。、]/im,m=/[\uD83C|\uD83D|\uD83E][\uDC00-\uDFFF][\u200D|\uFE0F]|[\uD83C|\uD83D|\uD83E][\uDC00-\uDFFF]|[0-9|*|#]\uFE0F\u20E3|[0-9|#]\u20E3|[\u203C-\u3299]\uFE0F\u200D|[\u203C-\u3299]\uFE0F|[\u2122-\u2B55]|\u303D|[\A9|\AE]\u3030|\uA9|\uAE|\u3030/ig,d=m.test(t),C=g.test(t);(d===!0||C===!0||(t.length<2||t.length>=21))&&o("2-20\u4F4D\u4E2D\u82F1\u6587\u3001\u6570\u5B57\u53CA\u4E0B\u5212\u7EBF")}o()},Ue=function(e,t,o){if(t){var g=/[`~!@#$%^&()_\-+=<>?:"{}|,.\/;'\\[\]·~@#¥%……&()——\-+={}|《》?:“”【】、;‘’,。、]/im,m=/[\uD83C|\uD83D|\uD83E][\uDC00-\uDFFF][\u200D|\uFE0F]|[\uD83C|\uD83D|\uD83E][\uDC00-\uDFFF]|[0-9|*|#]\uFE0F\u20E3|[0-9|#]\u20E3|[\u203C-\u3299]\uFE0F\u200D|[\u203C-\u3299]\uFE0F|[\u2122-\u2B55]|\u303D|[\A9|\AE]\u3030|\uA9|\uAE|\u3030/ig,d=m.test(t),C=g.test(t);(d===!0||C===!0||(t.length<2||t.length>=11))&&o("2-10\u4F4D\u4E2D\u82F1\u6587\u3001\u6570\u5B57")}o()},N=function(e){if(!e)return"";for(var t=e.length-1,o="",g=0;g<t;g++)o+="*";var m=e.substr(0,1)+o;return m},he=function(e,t){var o=new FileReader;o.addEventListener("load",function(){return t(o.result)}),o.readAsDataURL(e)};function Ce(p){var e="79e33abd4b6588941ab7622aed1e67e8";return D()(e+p)}var pe=function(e){var t,o=RegExp("(^| )"+e+"=([^;]+)(;|$)");return(t=document.cookie.match(o))?decodeURIComponent(t[2]):null};function Ne(p,e,t){var o=new Date;o.setTime(o.getTime()+t*24*60*60*1e3);var g="expires="+o.toUTCString();document.cookie=p+"="+e+"; "+g}var xe=function(e){document.cookie=e+"=; expires=Thu, 01 Jan 1970 00:00:01 GMT;path=/;"};function Se(p,e){return new Promise(function(t,o){var g=e,m=document.createElement("iframe"),d;console.log("downloadFileUrl",g),document.body.appendChild(m),m.src=g,m.style.display="none",d=setInterval(function(){pe("fileDownload")&&(xe("fileDownload"),clearInterval(d),t())},1e3)})}var x=function(e){var t=e.url,o=e.query;return t?(o&&function(){var g=[],m=function(O){o.hasOwnProperty(O)&&!ye(o[O])&&(typeof o[O]=="object"?o[O].map(function(V){g.push("".concat(O,"[]=").concat(V))}):g.push("".concat(O,"=").concat(o[O])))};for(var d in o)m(d);t.indexOf("?")!==-1?t="".concat(t,"&").concat(g.join("&")):t="".concat(t,"?").concat(g.join("&")),console.log("url1111",t)}(),t):""};function ce(){for(var p=navigator.userAgent,e=["Android","iPhone","SymbianOS","Windows Phone","iPad","iPod"],t=!0,o=0;o<e.length;o++)if(p.indexOf(e[o])>0){t=!1;break}return t}function h(){var p=navigator.userAgent,e=["Chrome","Firefox"];return e.some(function(t){return p.indexOf(t)>-1})}var re=function(){var e,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return t==null||((e=t.toString())===null||e===void 0)?void 0:e.replace(/\B(?=(\d{3})+(?!\d))/g,",")},je=function(e){var t=document.createElement("a");t.target="_blank",document.body.appendChild(t),t.href=e;var o=document.createEvent("MouseEvents");o.initEvent("click",!1,!1),t.dispatchEvent(o),document.body.removeChild(t)},Ie=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return e.length<=6?e:"".concat(e.substring(0,3),"...").concat(e.substring(e.length-3,e.length))},We=function(){var e=new Date().getHours(),t=new Date().getMinutes();return t>=30?(e++,t="00"):t="30",e+":"+t},ke=function(){var e=new Date().getHours(),t=new Date().getMinutes();return t>=30?(e++,t="00"):t="30",new Date().toLocaleDateString().replace(/\//g,"-")+" "+e+":"+t},G;(function(p){p.Number="Number",p.String="String",p.Boolean="Boolean",p.Object="Object",p.Array="Array",p.Function="Function"})(G||(G={}));var z=function(e){var t=Object.prototype.toString.call(e);return t.substring(8,t.length-1)},oe=function(e){return z(e)===G.Array?e.length===0:z(e)===G.Object?Object.keys(e).length===0:!e},De=function(e,t){for(var o=[],g=e;g<t;g++)o.push(g);return o},$=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:12,o=t/2-2,g=t/2+3;return e.length>t?e.substr(0,o)+"..."+e.substr(g,t):e},ve=function(e){return e>4.5?5:e>4&&e<=4.5?4.5:e>3.5&&e<=4?4:e>3&&e<=3.5?3.5:e>2.5&&e<=3?3:e>2&&e<=2.5?2.5:e>1.5&&e<=2?2:e>1&&e<=1.5?1.5:e>.5&&e<=1?1:e>0&&e<=.5?.5:0},ye=function(e){return e==null};function l(p,e){var t=new RegExp("(^|&)".concat(p,"=([^&]*)(&|$)"),"i"),o=e.substr(1).match(t);return o!=null?decodeURIComponent(o[2]):null}var c=function(e){switch(e.container_type){case"ApplyUserAuthentication":if(e.tiding_type==="Apply"){if(e.auth_type===1)return window.open("/admins/identity_authentications");if(e.auth_type===2)return window.open("/admins/professional_authentications")}return e.tiding_type==="System"?window.open("/account/certification"):void 0;case"CancelUserAuthentication":return window.open("/account/certification");case"CancelUserProCertification":return window.open("/account/certification");case"ApplyAddDepartment":return e.tiding_type==="Apply"?window.open("/admins/department_applies"):e.tiding_type==="System"?window.open("/account/profile"):void 0;case"ApplyAddSchools":return e.tiding_type==="Apply"?window.open("/admins/unit_applies"):e.tiding_type==="System"?window.open("/account/profile"):void 0;case"ApplyAction":switch(e.parent_container_type){case"ApplyShixun":if(e.tiding_type==="Apply")return window.open("/admins/shixun_authorizations");if(e.tiding_type==="System")return window.open("/shixuns/".concat(e.identifier,"/challenges"));case"ApplySubject":if(e.tiding_type==="Apply")return window.open("/admins/subject_authorizations");if(e.tiding_type==="System")return window.open("/paths/".concat(e.parent_container_id));case"TrialAuthorization":if(e.tiding_type==="Apply")return window.open("/managements/trial_authorization");if(e.tiding_type==="System")return window.open("/account/profile")}return;case"JoinCourse":return window.open("/classrooms/".concat(e.belong_container_id,"/teachers"));case"StudentJoinCourse":if(e.tiding_type==="Apply")return window.open("/classrooms/".concat(e.belong_container_id,"/teachers"));if(e.tiding_type==="System")return window.open("/classrooms/".concat(e.belong_container_id,"/students"));case"DealCourse":return window.open("/classrooms/".concat(e.belong_container_id,"/shixun_homework/"));case"TeacherJoinCourse":return window.open("/classrooms/".concat(e.belong_container_id,"/shixun_homework/"));case"Course":return e.tiding_type==="Delete"?void 0:window.open("/classrooms/".concat(e.belong_container_id,"/shixun_homework/"));case"ArchiveCourse":return window.open("/classrooms/".concat(e.belong_container_id,"/shixun_homework/"));case"Shixun":return window.open("/shixuns/".concat(e.identifier,"/challenges"));case"Subject":return window.open("/paths/".concat(e.container_id));case"JournalsForMessage":switch(e.parent_container_type){case"Principal":return"";case"HomeworkCommon":return e.homework_type==="normal"?window.open("/classrooms/".concat(e.belong_container_id,"/common_homework/").concat(e.parent_container_id,"/question")):e.homework_type==="group"?window.open("/classrooms/".concat(e.belong_container_id,"/group_homework/").concat(e.parent_container_id,"/question")):e.homework_type==="practice"?window.open("/classrooms/".concat(e.belong_container_id,"/shixun_homework/").concat(e.parent_container_id,"/detail?tabs=1")):"";case"GraduationTopic":return window.open("/classrooms/".concat(e.belong_container_id,"/graduation_topics/").concat(e.parent_container_id,"/detail"));case"StudentWorksScore":return e.homework_type==="normal"?window.open("/classrooms/".concat(e.belong_container_id,"/common_homework/").concat(e.parent_container_id,"/question")):e.homework_type==="group"?window.open("/classrooms/".concat(e.belong_container_id,"/group_homework/").concat(e.parent_container_id,"/question")):e.homework_type==="practice"?window.open("/classrooms/".concat(e.belong_container_id,"/shixun_homework/").concat(e.parent_container_id,"/detail?tabs=1")):""}case"Memo":return window.open("/forums/".concat(e.parent_container_id));case"Message":return window.open("/forums/");case"Watcher":return window.open("/users/".concat(e.trigger_user.login,"/classrooms"));case"PraiseTread":return"";case"Grade":return"";case"JoinProject":return window.open("/projects/".concat(e.container_id));case"ReporterJoinProject":return window.open("/projects/".concat(e.container_id));case"DealProject":return window.open("/projects/".concat(e.container_id));case"ManagerJoinProject":return window.open("/projects/".concat(e.container_id));case"Poll":switch(e.parent_container_type){case"CommitPoll":return window.open(" /classrooms/".concat(e.belong_container_id,"/poll/").concat(e.container_id,"/detail"));default:return window.open(" /classrooms/".concat(e.belong_container_id,"/poll/").concat(e.container_id,"/detail"))}case"Exercise":switch(e.parent_container_type){case"CommitExercise":return window.open(" /classrooms/".concat(e.belong_container_id,"/exercise/").concat(e.container_id,"/detail?tab=0"));case"ExerciseScore":return window.open(" /classrooms/".concat(e.belong_container_id,"/exercise/").concat(e.container_id,"/detail?tab=0"));default:return window.open("/classrooms/".concat(e.belong_container_id,"/exercise/").concat(e.container_id,"/detail?tab=0"))}case"StudentGraduationTopic":return window.open("/classrooms/".concat(e.belong_container_id,"/graduation_topics/").concat(e.parent_container_id,"/detail"));case"DealStudentTopicSelect":return window.open("/classrooms/".concat(e.belong_container_id,"/graduation_topics/").concat(e.parent_container_id,"/detail"));case"GraduationTask":return window.open("/classrooms/".concat(e.belong_container_id,"/graduation_tasks/").concat(e.container_id));case"GraduationWork":return window.open("/classrooms/".concat(e.belong_container_id,"/graduation_tasks/").concat(e.container_id));case"GraduationWorkScore":return window.open("/classrooms/".concat(e.belong_container_id,"/graduation_tasks/").concat(e.parent_container_id));case"HomeworkCommon":switch(e.parent_container_type){case"AnonymousCommentFail":if(e.homework_type==="normal")return window.open("/classrooms/".concat(e.belong_container_id,"/common_homework/").concat(e.parent_container_id,"/detail"));if(e.homework_type==="group")return window.open("/classrooms/".concat(e.belong_container_id,"/group_homework/").concat(e.parent_container_id,"/detail"));if(e.homework_type==="practice")return window.open("/classrooms/".concat(e.belong_container_id,"/shixun_homework/").concat(e.parent_container_id,"/detail?tabs=0"));case"HomeworkPublish":if(e.homework_type==="normal")return window.open("/classrooms/".concat(e.belong_container_id,"/common_homework/").concat(e.parent_container_id,"/detail"));if(e.homework_type==="group")return window.open("/classrooms/".concat(e.belong_container_id,"/group_homework/").concat(e.parent_container_id,"/detail"));if(e.homework_type==="practice")return window.open("/classrooms/".concat(e.belong_container_id,"/shixun_homework/").concat(e.parent_container_id,"/detail?tabs=0"));case"AnonymousAppeal":if(e.homework_type==="normal")return window.open("/classrooms/".concat(e.belong_container_id,"/common_homework/").concat(e.parent_container_id,"/detail"));if(e.homework_type==="group")return window.open("/classrooms/".concat(e.belong_container_id,"/group_homework/").concat(e.parent_container_id,"/detail"));if(e.homework_type==="practice")return window.open("/classrooms/".concat(e.belong_container_id,"/shixun_homework/").concat(e.parent_container_id,"/detail?tabs=0"));default:if(e.homework_type==="normal")return window.open("/classrooms/".concat(e.belong_container_id,"/common_homework/").concat(e.parent_container_id,"/detail"));if(e.homework_type==="group")return window.open("/classrooms/".concat(e.belong_container_id,"/group_homework/").concat(e.parent_container_id,"/detail"));if(e.homework_type==="practice")return window.open("/classrooms/".concat(e.belong_container_id,"/shixun_homework/").concat(e.parent_container_id,"/detail?tabs=0"))}case"StudentWork":if(e.homework_type==="normal")return window.open("/classrooms/".concat(e.belong_container_id,"/common_homework/").concat(e.parent_container_id,"/review/").concat(e.container_id));if(e.homework_type==="group")return window.open("/classrooms/".concat(e.belong_container_id,"/group_homework/").concat(e.parent_container_id,"/review/").concat(e.container_id));if(e.homework_type==="practice")return window.open("/classrooms/".concat(e.belong_container_id,"/shixun_homework/").concat(e.parent_container_id,"/detail"));case"StudentWorksScore":return window.open("/classrooms/".concat(e.belong_container_id,"/common_homework/").concat(e.trigger_user.id,"/review/").concat(e.parent_container_id));case"StudentWorksScoresAppeal":return window.open("/classrooms/".concat(e.belong_container_id,"/common_homework/").concat(e.trigger_user.id,"/review/").concat(e.parent_container_id));case"ChallengeWorkScore":return"";case"SendMessage":return window.open("/managements/mirror_repository");case"Journal":return window.open("/issues/".concat(e.parent_container_id));case"Issue":return window.open("/issues/".concat(e.container_id));case"PullRequest":return window.open("/projects/".concat(e.parent_container_id,"/pull_requests"));case"Department":return window.open("/account/profile");case"Library":if(e.tiding_type==="Apply")return window.open("/admins/library_applies");if(e.tiding_type==="System")return window.open("/moop_cases/".concat(e.container_id));case"ProjectPackage":return e.tiding_type==="Destroyed"||e.tiding_type==="Destroyed_end"?void 0:e.tiding_type==="Apply"?window.open("/admins/project_package_applies"):window.open("/crowdsourcing/".concat(e.container_id));case"Discuss":return e.parent_container_type==="Hack"&&e.extra?window.open("/myproblems/".concat(e.extra,"/comment")):window.open("/shixuns/".concat(e.identifier,"/shixun_discuss"));case"Video":if(e.tiding_type==="Apply")return window.open("/admins/video_applies");if(e.tiding_type==="System"){var t;return window.open("/users/".concat((t=Object(le.t)())===null||t===void 0?void 0:t.login,"/videos"))}return"";case"PublicCourseStart":return window.open("/classrooms/".concat(e.container_id,"/informs"));case"SubjectStartCourse":return window.open("/paths/".concat(e.container_id));case"ResubmitStudentWork":if(e.homework_type==="normal")return window.open("/classrooms/".concat(e.belong_container_id,"/common_homework/").concat(e.parent_container_id,"/").concat(e.container_id,"/appraise"));if(e.homework_type==="group")return window.open("/classrooms/".concat(e.belong_container_id,"/group_homework/").concat(e.parent_container_id,"/").concat(e.container_id,"/appraise"));case"AdjustScore":if(e.homework_type==="normal")return window.open("/classrooms/".concat(e.belong_container_id,"/common_homework/").concat(e.parent_container_id));if(e.homework_type==="group")return window.open("/classrooms/".concat(e.belong_container_id,"/group_homework/").concat(e.parent_container_id));case"LiveLink":return window.open("/classrooms/".concat(e.belong_container_id,"/course_videos?open=live"));case"Hack":if(e.extra&&e.parent_container_type!=="HackDelete")return window.open("/problems/".concat(e.extra,"/edit"));default:return}},u=function(e){if(e.open_camera||e.screen_open){if(!h())return j.a.info({icon:null,okText:"\u786E\u5B9A",width:500,content:y.a.createElement("div",{className:"font16"},"\u672C\u6B21\u8003\u8BD5\u5DF2\u5F00\u542F\u9632\u4F5C\u5F0A\u8BBE\u7F6E\uFF0C\u4EC5\u652F\u6301",y.a.createElement("span",{className:"c-red"},"\u8C37\u6B4C"),"\u3001",y.a.createElement("span",{className:"c-red"},"\u706B\u72D0"),"\u6D4F\u89C8\u5668\u3002",y.a.createElement("br",null),"\u8BF7\u4F7F\u7528",y.a.createElement("span",{className:"c-red"},"\u8C37\u6B4C"),"\u3001",y.a.createElement("span",{className:"c-red"},"\u706B\u72D0"),"\u6D4F\u89C8\u5668\u5F00\u59CB\u8003\u8BD5\u3002")}),!1;var t=j.a.info({title:y.a.createElement(s.a,null,y.a.createElement(f.a,{flex:"1"},"\u8003\u8BD5\u8BF4\u660E"),y.a.createElement(f.a,null,y.a.createElement("span",{className:"iconfont icon-yiguanbi1 current c-grey-c",onClick:function(){return t.destroy()}}))),width:700,icon:null,className:"custom-modal-divider",content:y.a.createElement("div",{className:"font16 p20"},e.open_camera&&y.a.createElement(s.a,{align:"middle",justify:"start",className:"mt20"},y.a.createElement(f.a,null,y.a.createElement("span",{className:"iconfont icon-kaiqishexiangtou c-blue mr20 font24"})),y.a.createElement(f.a,null,"\u8FDB\u5165\u8003\u8BD5\u540E\uFF0C\u8BF7\u5141\u8BB8\u6444\u50CF\u5934\u6388\u6743\uFF0C\u6388\u6743\u540E\u6253\u5F00\u6444\u50CF\u5934\u65B9\u53EF\u4F5C\u7B54\uFF01",y.a.createElement("a",{target:"_blank",href:"https://www.educoder.net/forums/4459"},"\u65E0\u6CD5\u8C03\u7528\u6444\u50CF\u5934\uFF1F"))),e.screen_open&&y.a.createElement(s.a,{justify:"start",className:"mt20"},y.a.createElement(f.a,{flex:"24px",className:"mr20"},y.a.createElement("span",{className:"iconfont icon-kaiqifangqieping c-blue font24"})),y.a.createElement(f.a,{flex:"1"},"\u5F53\u524D\u8003\u8BD5\u5DF2\u5F00\u542F\u9632\u5207\u5C4F\uFF0C\u5207\u5C4F\u8D85\u8FC7",e.screen_num,"\u6B21\u5C06\u5F3A\u5236\u4EA4\u5377\u3002\uFF08\u9000\u51FA\u5168\u5C4F\u5C06\u5224\u5B9A\u4E3A\u5207\u5C4F\u4E00\u6B21\uFF0C\u8003\u8BD5\u8FC7\u7A0B\u4E2D\u8BF7\u52FF\u9000\u51FA\u5168\u5C4F\uFF09",y.a.createElement("a",{target:"_blank",href:"https://www.educoder.net/forums/4460"},"\u6D4F\u89C8\u5668\u65E0\u6CD5\u81EA\u52A8\u5168\u5C4F\uFF1F"))),y.a.createElement("p",{className:"ml40 mt40"},y.a.createElement(a.a,{onChange:function(g){return t.update({okButtonProps:{disabled:!g.target.checked}})}},"\u6211\u5DF2\u9605\u8BFB"))),onOk:function(){var g;Object(B.d)(document.body),e.history.push("/classrooms/".concat(e.coursesId,"/exercise/").concat(e.exerciseId,"/users/").concat((g=Object(le.t)())===null||g===void 0?void 0:g.login))},okText:"\u8FDB\u5165\u8003\u8BD5",okButtonProps:{disabled:!0}});t.update({})}else e.history.push("/classrooms/".concat(e.coursesId,"/exercise/").concat(e.exerciseId,"/users/").concat(e.login))}},"3wET":function(T,i){T.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAAAXNSR0IArs4c6QAACE5JREFUWAmtWH1snVUZ/533tuvYVreyjGy3Y6srTBo2srI4XbtKgFQxIrKYzeAfk8AfCzHbCkPMjPjBP0aCsjr1D01USCQ6oosyiLF8xMGqc2BHauUj1I2Ntghs7dqytuu99/j7nfOee9/73js+jKd53+d5n3Oe5/zO8zznOafX4EO2ta/bhqlJfM4adFJ1hQWyxiIrM5QNG2CY7EnKei5agMf7V5pR9X3QRv0P1pr77WaO3AGLDoKokZYlY2hBtFqLDHLse9ZE2De41hyoNiYte19AzX22nfPdT8NtnJr6UgkIAl/dTLKXwHupeM9gqzmcBpH8rm6JI7ZYm3nhBfyAQHYlFcr4NL6yTn4kEamPxkxkutevx+5Hjcmnh+u7KqB1fXbR+Az2U195UmyWnjH8E1ULvGgsKDlRghTg8MnhPQvrsPVYqxnziqV3BSCBGZuUe21LMUGUKGx6F42K14rZJ6oWeFG19+w3eGnhPLSlQUVOM34pTGfHsR95tCBPozlOFCh5q++YOj7uqyfUxhqDbAYQjxzB8JFuoJ739qRrZ22L5tKcSQx+KbFk1VN2b8Fa5ky8QvojhEVDAh9C1DAH2NYIdFwMNM3TCIsT5wwOnbH45SlgIufDG8arv+RnsQb0SPe/rzd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ukJnmx8jD3FstpTCxw8+ciH+0nvv4gFlb/v9tJbAAAAAElFTkSuQmCC"},"5Hdu":function(T,i,n){T.exports={itemWrap:"itemWrap___3lG_d",listWrap:"listWrap___6_KEa",list:"list___32V3K",flexCenter:"flexCenter___3Ec8L",flexRow:"flexRow___2pI0p",imgWrap:"imgWrap___Tu7QA",img:"img___15DQN",contentWrap:"contentWrap___3n4mM",titleWrap:"titleWrap___322dN",title:"title___1roC-",content:"content___1kicS",bottomWrap:"bottomWrap___2cg64",updateTime:"updateTime___1ja4c",useCount:"useCount___3A5XZ",actionLink:"actionLink___3QxIj",actionIcon:"actionIcon___1cCk5",actionButton:"actionButton___13Glg",actionBar:"actionBar___1iGk9",typeIcon:"typeIcon___397Bo",private:"private___2hU03",public:"public___3eAcJ",random:"random___2-Fnl",line:"line___1cP3Z",actionLeftItem:"actionLeftItem___23qvP"}},BdwD:function(T,i,n){"use strict";var L=n("k1fw"),a=n("q1tI"),v=n.n(a),s=function(f){var me=f.styles,j=me===void 0?{}:me,M=f.customText;return v.a.createElement("section",{className:"tc animated fadeIn",style:Object(L.a)(Object(L.a)({},{color:"#999",margin:"200px auto"}),j)},v.a.createElement("img",{src:n("FOrL")}),v.a.createElement("p",{className:"mt20 font14"},M||"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"))};i.a=s},CJx2:function(T,i,n){"use strict";n.d(i,"a",function(){return f});var L=n("+L6B"),a=n("2/Rp"),v=n("q1tI"),s=n.n(v),S=n("hQp1"),f=function(j){var M=j.count,_=j.page,y=j.onChangePage,le=y===void 0?function(){}:y;return s.a.createElement(s.a.Fragment,null,_>2&&s.a.createElement(a.a,{className:"ml8",type:"default",onClick:function(){return le(S.a.FirstPage)}},"\u9996\u9875"),_>1&&s.a.createElement(a.a,{className:"ml8",type:"default",onClick:function(){return le(S.a.PrevPage)}},"\u4E0A\u4E00\u9875"),_!==Math.ceil(M/10)&&s.a.createElement(a.a,{className:"ml8",type:"primary",onClick:function(){return le(S.a.NextPage)}},"\u4E0B\u4E00\u9875"))}},"Ct/S":function(T,i,n){T.exports={tilte:"tilte___1Tz7i",flexRow:"flexRow___3w9_D",flexColumn:"flexColumn___2HzC_",footerWrap:"footerWrap___12F5M",img:"img___3ED9Z",content:"content___rqPDY",modalContent:"modalContent___2h4ne"}},FOrL:function(T,i){T.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFsAAABKCAYAAADUvCinAAAAAXNSR0IArs4c6QAAFq9JREFUeAHdnAl4VFWWx6sqlYWEkIRsJCRkJQECCXsIS0gAWWwQl1YQxQ2nRx0/u9We8etvpmf87LFt7XHs7mmXbhVEFESQdWRfwiKGXRYhkI0sQAIBAmQnqZrfKfMyZVGVqldLjL7vu9997757zz33/84995xzb5VG8xO/Fi1aNPTDDz/M7w7D1HcHJjzFAyCPNxgMi/V6/YOe6kMNXZ2ayj+mugsXLhSAFxqNxtmPPvroge7A+09Osj///HOvmzdvvoZET/D19Z04f/78i90BaOHhJwU20hx748aNZVqt9kR0dHTOnXfe2dxdgBY+tN2JGVd4QT8/gsp4GRovPfnkkytcoeWptj96ycbaiEdl/BWgEWjt+AULFlzwFFiu0v3RSvaGDRt8L168+CIALNDpdL99/PHHl7oKhqfbe3m6A3fTR4J1/fr1m88iuBxJPs8iOBdr45C7+/EEvR+NZIuVUVdX9wBg/wYgTnp7e//rI488UuoqKCyqv4FmK+rnj67Sste+2+vsjz/+OODWrVsiyb9iMIcAZh4L4El7A3PkPUA/Db2ZERERdzhS39U63RbsDz74YDBq4qmWlpZZ5GtIdz7xxBMlrg5YaY/18iuAnhsYGDht1qxZDUq5J/NuBTZSnIAUzwGEOYB7i/R3pO5f3AkGtHVI9BuAmkG644EHHrjpSYDNaf+gOvvQoUPe33zzTRYMTSVNB1xf0mfo4+V4fkXmjMr9p59+GtLU1CSSPpzHvcQ8NqK36y3r2Xpub7+M92UZGRnPjhw58patup4o71KwkahwgBqFXTyawUgS6RI9vBngNj/22GPFlo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AfkKdRz9TrGEZi/REZGLwFw4cstl1vANueEA5BjDIbWOUiEOAcJ5u8cvL+K8fC6HMXF55DjwrIQl5PEodqEKWnSvRxw1OBaXw8MDFg+ePAQCYA5tbtDO9MFqKWIzTqdTv8ZBznzlXJ35m4H25w5gB8M8LMpuwvwhwNchw42r2fjvrCurv4N/vspFyBEf5t4HT16lAZ1UYskf8aGcgptRdervqDJoRzTEV8BeB0An1BNRGUDj4Jtzgtg9cBOz0BaRzLQkayFnDzVDqTcy7ye5T3qZVdJSfH7BQWFv+edN2plDfY5el2Ta1nX1jP9tQHsaYyew/R3CHPzEHbyMcobbbXxRHmXgW2NeQbuS6Qwlg9AyLaNQzLySwKtqAt+dSxHwsQE1PYAWAM5Z+hM/1F1B+344ar8+6URsP4/p9512lZQXs49uVc5wFaw4VEBsLT5Ya//AzDfafkdei4SAAAAAElFTkSuQmCC"},IoUt:function(T,i,n){T.exports={flex_box_center:"flex_box_center___3N1vU",flex_space_between:"flex_space_between___A7Vod",flex_box_vertical_center:"flex_box_vertical_center___34bDS",flex_box_center_end:"flex_box_center_end___3_uG-",flex_box_column:"flex_box_column___1D2by",wrap:"wrap___3HjzC",contentWrap:"contentWrap___DSAvO",tabsWrap:"tabsWrap___4HtM9",searchWrap:"searchWrap___2Zt2F",searchContent:"searchContent___3NqTR",search:"search___pLAYU",buttonWrap:"buttonWrap___2X_Df",selectBar:"selectBar___3eSji",tableWrap:"tableWrap___wwRLZ",paginationWrap:"paginationWrap___3xt0C",modal:"modal___1KOAK",gap:"gap___2B8M7",checkbox:"checkbox___dUmix"}},PEfE:function(T,i,n){T.exports={wrap:"wrap___1KBbe",title:"title___316_5",radioWrap:"radioWrap___2b58p",radio:"radio___3wz7l",colorFF0000:"colorFF0000___3JfbP",pagination:"pagination___3UF9N"}},Q0Vu:function(T,i,n){T.exports={flex_box_center:"flex_box_center___3fHaw",flex_space_between:"flex_space_between___1tu3K",flex_box_vertical_center:"flex_box_vertical_center___3kmTT",flex_box_center_end:"flex_box_center_end___19OcD",flex_box_column:"flex_box_column___1aMoy",main:"main___JkLSb",wrap:"wrap___1k_Ib",contentWrap:"contentWrap___1KQv5",content:"content___1by-P",directionItem:"directionItem___2aAvu",active:"active___ACZqb",directionContentWrap:"directionContentWrap___3qsxQ",subItem:"subItem___3tJgX",minWidth43:"minWidth43___bHvAc",minWidth60:"minWidth60___ENd8l",subMenu:"subMenu___Y_7S_",selectAll:"selectAll___3niaa",selectNotAll:"selectNotAll___1SP47"}},Ynr3:function(T,i,n){"use strict";n.r(i);var L=n("T2oS"),a=n("W9HT"),v=n("14J3"),s=n("BMrR"),S=n("+L6B"),f=n("2/Rp"),me=n("jCWc"),j=n("kPKH"),M=n("miYZ"),_=n("tsqr"),y=n("oBTY"),le=n("sRBo"),B=n("kaz8"),X=n("2qtc"),D=n("kLXV"),J=n("jrin"),fe=n("WmNS"),F=n.n(fe),k=n("9og8"),H=n("tJVT"),se=n("PpiC"),ne=n("5NDa"),ae=n("5rEg"),Pe=n("Znn+"),Ee=n("ZTPi"),Z=n("q1tI"),r=n.n(Z),te=n("9kvl"),Be=n("BdwD"),Ae=n("iris"),Ue=n("IoUt"),N=n.n(Ue),he=n("1XHU"),Ce=n("z5tG"),pe=n.n(Ce),Ne=function(d){var C=d.paperlibrary,O=d.globalSetting,V=d.loading,W=d.dispatch,ue=Object(se.a)(d,["paperlibrary","globalSetting","loading","dispatch"]);return r.a.createElement(D.a,{centered:!0,keyboard:!1,closable:!1,destroyOnClose:!0,visible:C.actionTabs.key==="Paperlibrary-RandomPrompt",title:"\u6E29\u99A8\u63D0\u793A",footer:null},"\u968F\u673A\u7EC4\u5377\u529F\u80FD\u5728\u7F16\u8F91\u65F6\u4EC5\u80FD\u786E\u5B9A\u968F\u673A\u89C4\u5219\uFF0C\u4E0D\u80FD\u7F16\u8F91\u786E\u5B9A\u7684\u8BD5\u9898\u3002 \u5728\u8BFE\u5802\u4E0A\u5E94\u7528\u65F6\uFF0C\u5C06\u6839\u636E\u89C4\u5219\u4E3A\u6BCF\u4F4D\u5B66\u751F\u968F\u673A\u751F\u6210\u4E00\u4EFD\u8003\u5BDF\u70B9\u548C\u9898\u578B\u76F8\u540C\uFF0C\u4F46\u8BD5\u9898\u4E92\u4E0D\u76F8\u540C\u7684\u8BD5\u5377\u3002 \u4E3A\u987A\u5229\u7EC4\u5377\uFF0C\u8BF7\u53CA\u65F6\u5220\u9664\u4E2A\u4EBA\u9898\u5E93\u4E2D\u5197\u4F59\u3001\u9519\u8BEF\u3001\u65E0\u6548\u7684\u8BD5\u9898\uFF0C\u786E\u4FDD\u60A8\u7684\u4E2A\u4EBA\u9898\u5E93\u4E2D\u5168\u90E8\u8BD5\u9898\u5747\u6B63\u786E\u4E14\u6709\u6548\u3002",r.a.createElement("div",{className:"".concat(pe.a.footerWrap," mt30")},r.a.createElement(B.a,{onChange:function(q){var P=window.localStorage;P&&(P.no_alert_randompaper=q.target.checked?"1":"0")}},"\u4E0D\u518D\u63D0\u793A"),r.a.createElement(f.a,{type:"primary",onClick:function(){W({type:"paperlibrary/setActionTabs",payload:{}}),te.c.push("/randompaper")}},"\u786E\u5B9A")))},xe=Object(te.a)(function(m){var d=m.paperlibrary,C=m.loading,O=m.globalSetting;return{paperlibrary:d,globalSetting:O,loading:C.effects}})(Ne),Se=n("wd/R"),x=n.n(Se),ce=n("5Hdu"),h=n.n(ce),re=n("xKgJ"),je={1:"\u7B80\u5355",2:"\u9002\u4E2D",3:"\u56F0\u96BE"},Ie=function(d){var C,O,V,W,ue,K=d.showCheckbox,q=K===void 0?!1:K,P=d.data,_e=d.user,de=d.authRole,w=d.activeTabsKey,en=d.selectIds,Fe=en===void 0?[]:en,Xe=d.onSetSelectIds,A=Xe===void 0?function(){}:Xe,be=d.onPublicReview,un=be===void 0?function(){}:be,He=d.onCancelPublic,nn=He===void 0?function(){}:He,an=d.onCancelShare,ln=an===void 0?function(){}:an,Ze=d.onEdit,ee=Ze===void 0?function(){}:Ze,tn=d.onDelete,sn=tn===void 0?function(){}:tn,Qe=d.onSendToClass,Ge=Qe===void 0?function(){}:Qe,cn=function(){D.a.warning({centered:!0,width:530,okText:"\u77E5\u9053\u5566",title:"\u63D0\u793A",icon:null,content:r.a.createElement("div",{className:"tc font16"},"\u672C\u5957\u8BD5\u5377\u6240\u9009\u7528\u8BD5\u9898\u90E8\u5206\u4E22\u5931\uFF0C\u8BF7\u8C28\u614E\u4F7F\u7528\u5E76\u53CA\u65F6\u8C03\u6574\u3002")})};return r.a.createElement("div",{className:h.a.itemWrap},q&&r.a.createElement(B.a,{className:"ml20",checked:Fe.includes(P.id),onChange:function(Ye){if(P.is_random)return _.b.info("\u968F\u673A\u8BD5\u5377\u4E0D\u53EF\u516C\u5F00\u6216\u5171\u4EAB\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9\uFF01");A(P.id)}}),r.a.createElement("div",{className:h.a.listWrap,style:{width:q?1e3:1020,marginLeft:q?8:20}},r.a.createElement("div",{className:"".concat(h.a.list," ").concat(h.a.flexCenter)},r.a.createElement("div",{className:"".concat(h.a.flexCenter," ").concat(h.a.imgWrap)},r.a.createElement("i",{className:"iconfont font40 ".concat(P.public?"icon-yigongkaishijuan c-green-13b":"icon-ziyongshijuan c-light-primary")})),r.a.createElement("div",{className:h.a.contentWrap},r.a.createElement("div",{className:h.a.flexRow},r.a.createElement("a",{className:h.a.titleWrap,onClick:function(){if(de){var Ye=P.is_random?"/randompaper/detail/".concat(P.id):"/paperlibrary/see/".concat(P.id,"?defaultActiveKey=").concat(w);te.c.push(Ye)}}},r.a.createElement("p",{className:h.a.title,title:P.name},P.name)),(w==="0"||w==="2")&&r.a.createElement(r.a.Fragment,null,P.public?r.a.createElement("div",{className:"".concat(h.a.typeIcon," ").concat(h.a.public)},"\u5DF2\u516C\u5F00"):r.a.createElement("div",{className:"".concat(h.a.typeIcon," ").concat(h.a.private)},"\u81EA\u7528"),P.is_random&&r.a.createElement("div",{className:"".concat(h.a.typeIcon," ").concat(h.a.random)},"\u968F\u673A")),(w==="1"&&Object(re.m)()||w==="0")&&P.changed&&r.a.createElement("i",{className:"iconfont icon-jinggao1 c-red font16 ml10 current",onClick:cn})),r.a.createElement("div",{className:"".concat(h.a.flexRow," mt10")},r.a.createElement("p",{className:h.a.content},"\u8BD5\u9898\u6570\uFF1A",r.a.createElement("span",null,P.question_count)),r.a.createElement("i",{className:h.a.line}),r.a.createElement("p",{className:h.a.content},"\u603B\u5206\uFF1A",r.a.createElement("span",null,P.total_score)),r.a.createElement("i",{className:h.a.line}),r.a.createElement("p",{className:h.a.content},"\u96BE\u5EA6\uFF1A",r.a.createElement("span",null,je[P.difficulty]))))),r.a.createElement("div",{className:h.a.actionBar},r.a.createElement("div",{className:h.a.flexRow},r.a.createElement("p",{className:h.a.actionLeftItem},"\u66F4\u65B0\uFF1A",r.a.createElement("span",null,P.update_time?x()(P.update_time).format("YYYY-MM-DD"):"")),r.a.createElement("i",{className:h.a.line}),r.a.createElement("p",{className:h.a.actionLeftItem},"\u4F7F\u7528\u6B21\u6570\uFF1A",r.a.createElement("span",null,P.quotes)),w==="1"&&r.a.createElement(r.a.Fragment,null,r.a.createElement("i",{className:h.a.line}),r.a.createElement("p",{className:h.a.actionLeftItem},"\u521B\u5EFA\u8005\uFF1A",r.a.createElement("span",null,(C=P.author)===null||C===void 0?void 0:C.name)))),r.a.createElement("div",{className:h.a.flexRow},w==="0"&&!P.public&&!P.is_random&&P.apply&&r.a.createElement("a",{className:"".concat(h.a.actionLink," mr20"),onClick:un},r.a.createElement("i",{className:"iconfont icon-gongkai ".concat(h.a.actionIcon)}),"\u5BA1\u6838\u4E2D"),w==="0"&&P.public&&!P.is_random&&r.a.createElement("a",{className:"".concat(h.a.actionLink," mr20 current"),onClick:function(){return nn(P.id)}},r.a.createElement("i",{className:"iconfont icon-gongkai ".concat(h.a.actionIcon)}),"\u64A4\u9500\u516C\u5F00"),w==="0"&&(P==null?void 0:P.is_share)&&!P.is_random&&r.a.createElement("a",{className:"".concat(h.a.actionLink," mr20 current"),onClick:function(){return ln(P.id)}},r.a.createElement("i",{className:"iconfont icon-chexiaogongxiang ".concat(h.a.actionIcon," font16")}),"\u64A4\u9500\u5171\u4EAB"),((w==="0"||w==="2")&&!P.public||w==="1"&&((O=P.author)===null||O===void 0?void 0:O.login)!==((V=_e.userInfo)===null||V===void 0?void 0:V.login)&&Object(re.m)())&&r.a.createElement("a",{className:"".concat(h.a.actionLink," mr20"),onClick:function(){return ee(P.id,P.is_random)}},r.a.createElement("i",{className:"iconfont icon-bianji2 ".concat(h.a.actionIcon)}),"\u7F16\u8F91"),((w==="0"||w==="2")&&!P.public||w==="1"&&((W=P.author)===null||W===void 0?void 0:W.login)!==((ue=_e.userInfo)===null||ue===void 0?void 0:ue.login)&&Object(re.l)())&&r.a.createElement("a",{className:"".concat(h.a.actionLink," mr20"),onClick:function(){return sn(P.id)}},r.a.createElement("i",{className:"iconfont icon-shanchu1 ".concat(h.a.actionIcon)}),"\u5220\u9664"),de&&r.a.createElement("button",{className:h.a.actionButton,onClick:function(){return Ge(P.id)}},"\u53D1\u9001\u81F3\u8BFE\u5802")))))},We=function(d){var C=d.paperlibrary,O=d.globalSetting,V=d.loading,W=d.dispatch,ue=Object(se.a)(d,["paperlibrary","globalSetting","loading","dispatch"]);return r.a.createElement(D.a,{centered:!0,keyboard:!1,closable:!1,destroyOnClose:!0,visible:C.actionTabs.key==="Paperlibrary-PublicReview",title:"\u5BA1\u6838\u544A\u77E5",okText:"\u77E5\u9053\u5566",cancelText:"",width:"442px",onOk:function(){W({type:"paperlibrary/setActionTabs",payload:{}})},onCancel:function(){W({type:"paperlibrary/setActionTabs",payload:{}})}},r.a.createElement("div",{className:pe.a.modalContent},"\u516C\u5F00\u7533\u8BF7\u5DF2\u63D0\u4EA4\uFF0C\u8BF7\u7B49\u5F85\u7BA1\u7406\u5458\u7684\u5BA1\u6838"),r.a.createElement("div",{className:pe.a.modalContent},"\u6211\u4EEC\u5C06\u57281-2\u4E2A\u5DE5\u4F5C\u65E5\u5185\u5B8C\u6210\u5BA1\u6838"))},ke=Object(te.a)(function(m){var d=m.paperlibrary,C=m.loading,O=m.globalSetting;return{paperlibrary:d,globalSetting:O,loading:C.effects}})(We),G=function(d){var C=d.paperlibrary,O=d.globalSetting,V=d.loading,W=d.dispatch,ue=d.onReloadData,K=ue===void 0?function(){}:ue,q=Object(se.a)(d,["paperlibrary","globalSetting","loading","dispatch","onReloadData"]),P=function(){var _e=Object(k.a)(F.a.mark(function de(){var w;return F.a.wrap(function(Fe){for(;;)switch(Fe.prev=Fe.next){case 0:return Fe.next=2,W({type:"paperlibrary/handleDelete",payload:C.actionTabs.params});case 2:w=Fe.sent,W({type:"paperlibrary/setActionTabs",payload:{}}),w.status===0&&K();case 5:case"end":return Fe.stop()}},de)}));return function(){return _e.apply(this,arguments)}}();return r.a.createElement(D.a,{centered:!0,keyboard:!1,closable:!1,destroyOnClose:!0,visible:C.actionTabs.key==="Paperlibrary-Delete",title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",confirmLoading:V["paperlibrary/handleDelete"],width:"442px",onOk:P,onCancel:function(){W({type:"paperlibrary/setActionTabs",payload:{}})}},r.a.createElement("div",{className:pe.a.modalContent},"\u786E\u8BA4\u5220\u9664\u540E\uFF0C\u65E0\u6CD5\u64A4\u9500"),r.a.createElement("div",{className:pe.a.modalContent},"\u662F\u5426\u786E\u8BA4\u5220\u9664\uFF1F"))},z=Object(te.a)(function(m){var d=m.paperlibrary,C=m.loading,O=m.globalSetting;return{paperlibrary:d,globalSetting:O,loading:C.effects}})(G),oe=n("kHHm"),De=n("1vsH"),$=n("CJx2"),ve=n("hQp1"),ye=n("vCeJ"),l=n("svTM"),c=n.n(l),u=function(d){var C,O,V=d.dispatch,W=d.paperlibrary,ue=d.groupIds,K=ue===void 0?[]:ue,q=d.onChangeTeachGroup,P=q===void 0?function(){}:q,_e=W.teachGroupData;return!!(_e==null||((C=_e.groups)===null||C===void 0)?void 0:C.length)&&r.a.createElement("div",{className:c.a.groupWrap},r.a.createElement("span",{className:"".concat(c.a.minWidth73," ml20 mt3")},"\u6559\u7814\u56E2\u961F\uFF1A"),r.a.createElement("span",null,r.a.createElement("li",{className:"mr10 mb10 ".concat(c.a.minWidth60," ").concat(c.a.directionItem," ").concat((K==null?void 0:K.length)?"":c.a.active),onClick:function(){return P([])}},"\u5168\u90E8")),r.a.createElement("div",{className:c.a.directionContentWrap},_e==null||((O=_e.groups)===null||O===void 0)?void 0:O.map(function(de){return r.a.createElement("span",null,r.a.createElement("li",{key:de.group_id,onClick:function(){return P([de.group_id])},className:"".concat(c.a.directionItem," ").concat((K==null?void 0:K.includes(de.group_id))?c.a.active:"")},de.name))})))},p=n("WCUW"),e=Ee.a.TabPane,t=ae.a.Search,o=function(d){var C,O,V,W,ue,K,q=d.paperlibrary,P=d.user,_e=d.globalSetting,de=d.loading,w=d.dispatch,en=Object(se.a)(d,["paperlibrary","user","globalSetting","loading","dispatch"]),Fe=Object(Z.useState)({discipline_id:null,sub_discipline_id:null,tag_discipline_id:null,public:"0",difficulty:null,keyword:null,page:1,per_page:10,group_id:null}),Xe=Object(H.a)(Fe,2),A=Xe[0],be=Xe[1],un=Object(Z.useState)(0),He=Object(H.a)(un,2),nn=He[0],an=He[1],ln=Object(Z.useState)([]),Ze=Object(H.a)(ln,2),ee=Ze[0],tn=Ze[1],sn=Object(Z.useState)(),Qe=Object(H.a)(sn,2),Ge=Qe[0],cn=Qe[1],we=Object(Z.useState)("0"),Ye=Object(H.a)(we,2),Le=Ye[0],gn=Ye[1],fn=Object(Z.useState)([]),mn=Object(H.a)(fn,2),Q=mn[0],rn=mn[1],ze=Object(Z.useRef)(!1),Re=Object(Z.useRef)();Object(Z.useEffect)(function(){w({type:"paperlibrary/getDisciplines",payload:{source:"question"}}),Te(A),En(),document.title="\u6211\u7684\u8BD5\u5377\u5E93"},[]);var En=function(){var U=Object(k.a)(F.a.mark(function E(){return F.a.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:w({type:"paperlibrary/getTeachGroupData"});case 1:case"end":return b.stop()}},E)}));return function(){return U.apply(this,arguments)}}(),Te=function(){var U=Object(k.a)(F.a.mark(function E(R){var b;return F.a.wrap(function(I){for(;;)switch(I.prev=I.next){case 0:return I.next=2,w({type:"paperlibrary/getPaperlibraryList",payload:R});case 2:b=I.sent,b&&b.status!==403&&b.status!==401&&b.status!==500&&(an(b.exam_count||0),tn(b.exams||[]),cn(b.auth_role),rn([]));case 4:case"end":return I.stop()}},E)}));return function(R){return U.apply(this,arguments)}}(),Je=function(){A.per_page=10,be(A),Te(A)},hn=function(E,R){A.discipline_id=E||"",A.sub_discipline_id=R||"",A.page=1,A.per_page=10,be(A),Te(A)},vn=function(E){A.item_type=E||"",A.page=1,A.per_page=10,be(A),Te(A)},yn=function(E){A.difficulty=E||"",A.page=1,A.per_page=10,be(A),Te(A)},bn=function(E){A.public=E,A.group_id=null,A.page=1,A.per_page=10,gn(E),be(A),Te(A)},Pn=function(E){var R,b=A.page,Y=(R={},Object(J.a)(R,ve.a.FirstPage,1),Object(J.a)(R,ve.a.PrevPage,b-1),Object(J.a)(R,ve.a.NextPage,b+1),R);A.page=Y[E],A.per_page=10,be(A),Te(A)},An=function(E){A.page=1,A.keyword=E,Te(A)},Cn=function(){if(!Ge){w({type:"paperlibrary/setActionTabs",payload:{key:"Paperlibrary-Auth",params:{occupation:2}}});return}te.c.push("/problemset")},Dn=function(){if(localStorage.no_alert_randompaper==="1"){te.c.push("/randompaper");return}w({type:"paperlibrary/setActionTabs",payload:{key:"Paperlibrary-RandomPrompt"}})},Rn=function(E){ze.current=!1,window.localStorage.getItem("paperlibrary-cancel-public-hint-flag")==="1"?pn(E):D.a.confirm({centered:!0,width:530,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",icon:null,title:"\u64A4\u9500\u516C\u5F00\u544A\u77E5",className:N.a.modal,content:r.a.createElement("div",{className:"font16"},"\u672C\u8BD5\u5377\u5DF2\u516C\u5F00\uFF0C\u64A4\u9500\u516C\u5F00\u540E\u5C06\u5BF9\u5176\u4ED6\u7528\u6237\u4E0D\u53EF\u89C1\u3002 \u786E\u8BA4\u64A4\u9500\u516C\u5F00\u56DE\u5230\u81EA\u6709\u72B6\u6001\u5417\uFF1F",r.a.createElement("div",null,r.a.createElement(B.a,{className:"mt10",defaultChecked:!1,onChange:function(b){return ze.current=b.target.checked}},"\u4E0D\u518D\u63D0\u793A"))),onOk:function(){ze.current&&window.localStorage.setItem("paperlibrary-cancel-public-hint-flag","1"),pn(E)}})},pn=function(){var U=Object(k.a)(F.a.mark(function E(R){var b;return F.a.wrap(function(I){for(;;)switch(I.prev=I.next){case 0:return I.next=2,Object(ye.m)({id:R});case 2:b=I.sent,(b==null?void 0:b.status)===0&&Je();case 4:case"end":return I.stop()}},E)}));return function(R){return U.apply(this,arguments)}}(),On=function(){w({type:"paperlibrary/setActionTabs",payload:{key:"Paperlibrary-PublicReview"}})},Un=function(E,R){if(!Ge){w({type:"paperlibrary/setActionTabs",payload:{key:"Paperlibrary-Auth",params:{occupation:2}}});return}var b=R?"/randompaper/edit/".concat(E):"/paperlibrary/edit/".concat(E,"?defaultActiveKey=").concat(Le);Object(De.x)(b)},xn=function(E){if(!Ge){w({type:"paperlibrary/setActionTabs",payload:{key:"Paperlibrary-Auth",params:{occupation:2}}});return}w({type:"paperlibrary/setActionTabs",payload:{key:"Paperlibrary-Delete",params:{id:E}}})},Sn=function(E){w({type:"paperlibrary/setActionTabs",payload:{key:"Paperlibrary-SendToClass",params:{id:E}}})},Fn=function(E){rn((Q==null?void 0:Q.includes(E))?Q.filter(function(R){return R!==E}):[].concat(Object(y.a)(Q),[E]))},wn=function(E){var R;rn(E?ee==null||((R=ee.filter(function(b){return!b.is_random}))===null||R===void 0)?void 0:R.map(function(b){return b.id}):[])},Tn=function(){var E,R,b,Y,I;if(!(Q==null?void 0:Q.length))return _.b.info("\u8BF7\u5148\u9009\u62E9\u8BD5\u5377");if(ee==null||((E=ee.filter(function(ie){return Q.includes(ie.id)}))===null||E===void 0)?void 0:E.find(function(ie){return ie.is_random}))return _.b.info("\u968F\u673A\u8BD5\u5377\u4E0D\u53EF\u516C\u5F00\u6216\u5171\u4EAB\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9");if(!((R=q.teachGroupData)===null||R===void 0||((b=R.groups)===null||b===void 0)?void 0:b.length))return _.b.info("\u60A8\u6682\u672A\u521B\u5EFA\u6216\u52A0\u5165\u4EFB\u4F55\u6559\u7814\u56E2\u961F\uFF0C\u8BF7\u524D\u5F80\u201C\u8D26\u53F7\u7BA1\u7406-\u6559\u7814\u56E2\u961F\u201D\u67E5\u770B");D.a.confirm({centered:!0,width:530,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u5171\u4EAB\u81F3\u6559\u7814\u56E2\u961F",maskClosable:!0,icon:null,content:r.a.createElement("div",{className:"font14 ".concat(N.a.overflow)},r.a.createElement(B.a.Group,{className:N.a.checkbox,defaultValue:Re.current,onChange:function(Oe){return Re.current=Oe}},(Y=q.teachGroupData)===null||Y===void 0||((I=Y.groups)===null||I===void 0)?void 0:I.map(function(ie){return r.a.createElement(B.a,{key:ie.group_id,value:ie.group_id},ie.name)}))),onOk:function(){return new Promise(function(){var Oe=Object(k.a)(F.a.mark(function Ve(on,qe){var Ke,Me;return F.a.wrap(function(ge){for(;;)switch(ge.prev=ge.next){case 0:if((Ke=Re.current)===null||Ke===void 0?void 0:Ke.length){ge.next=3;break}return _.b.info("\u8BF7\u5148\u9009\u62E9\u6559\u7814\u56E2\u961F"),ge.abrupt("return",qe());case 3:return ge.next=5,Object(p.i)({ids:Q,clazz:"ExaminationBank",group_ids:Re.current});case 5:Me=ge.sent,(Me==null?void 0:Me.status)===0&&(_.b.info("\u6240\u9009\u8BD5\u5377\u6210\u529F\u5206\u4EAB\u81F3\u6559\u7814\u56E2\u961F"),Re.current=[],Je(),rn([]),on());case 7:case"end":return ge.stop()}},Ve)}));return function(Ve,on){return Oe.apply(this,arguments)}}())}})},Mn=function(){var E,R;if(!(Q==null?void 0:Q.length))return _.b.info("\u8BF7\u5148\u9009\u62E9\u8BD5\u5377");if(ee==null||((E=ee.filter(function(b){return Q.includes(b.id)}))===null||E===void 0)?void 0:E.find(function(b){return b.is_random}))return _.b.info("\u968F\u673A\u8BD5\u5377\u4E0D\u53EF\u516C\u5F00\u6216\u5171\u4EAB\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9");if(ee==null||((R=ee.filter(function(b){return Q.includes(b.id)}))===null||R===void 0)?void 0:R.every(function(b){return b.public}))return _.b.info("\u6240\u9009\u8BD5\u5377\u5DF2\u516C\u5F00\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9");window.localStorage.getItem("paperlibrary-set-public-hint-flag")==="1"?_n():D.a.confirm({centered:!0,width:530,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u516C\u5F00\u89C4\u5219\u544A\u77E5",maskClosable:!0,icon:null,content:r.a.createElement("div",{className:"font16 c-grey-333"},"\u516C\u5F00\u5E76\u7ECF\u5E73\u53F0\u5BA1\u6838\u540E\uFF0C\u8BE5\u8BD5\u5377\u5C06\u5728\u516C\u5171\u8BD5\u5377\u5E93\u53EF\u89C1\uFF0CEducoder\u6240\u6709\u7528\u6237\u5747\u53EF\u4F7F\u7528\u8BE5\u8BD5\u5377\uFF1B\u4E14\u8BE5\u8BD5\u5377\u4E0B\u6240\u6709\u8BD5\u9898\u4E00\u5E76\u516C\u5F00\u3002",r.a.createElement("br",null),"\u516C\u5F00\u540E\u4E0D\u53EF\u4FEE\u6539\uFF0C\u4F46\u53EF\u4EE5\u64A4\u9500\uFF1B\u64A4\u9500\u516C\u5F00\u540E\u53EF\u4EE5\u4FEE\u6539\u3002",r.a.createElement("br",null),"\u662F\u5426\u786E\u8BA4\u7533\u8BF7\u516C\u5F00\uFF1F",r.a.createElement("br",null),r.a.createElement(B.a,{className:"mt10",defaultChecked:!1,onChange:function(Y){return ze.current=Y.target.checked}},"\u4E0D\u518D\u63D0\u793A")),onOk:function(){_n()}})},_n=function(){var U=Object(k.a)(F.a.mark(function E(){var R,b;return F.a.wrap(function(I){for(;;)switch(I.prev=I.next){case 0:return R=Le==="2"?1:2,I.next=3,Object(ye.c)({ids:Q,source:R});case 3:b=I.sent,b.status===0&&(ze.current&&window.localStorage.setItem("paperlibrary-set-public-hint-flag","1"),ze.current=!1,Je());case 5:case"end":return I.stop()}},E)}));return function(){return U.apply(this,arguments)}}(),Bn=function(){var U=Object(k.a)(F.a.mark(function E(R){var b,Y;return F.a.wrap(function(ie){for(;;)switch(ie.prev=ie.next){case 0:return ie.next=2,Object(p.x)({clazz:"ExaminationBank",id:R});case 2:b=ie.sent,Y=(b==null?void 0:b.groups)||[],Re.current=[],D.a.confirm({centered:!0,width:530,okText:"\u786E\u5B9A\u64A4\u9500",cancelText:"\u53D6\u6D88",title:"\u672C\u9898\u5DF2\u5171\u4EAB\u7684\u6559\u7814\u56E2\u961F",maskClosable:!0,icon:null,content:r.a.createElement("div",{className:"font14 ".concat(N.a.overflow)},r.a.createElement("p",{className:"c-grey-999"},"\u9009\u4E2D\u5E76\u786E\u5B9A\uFF0C\u5373\u64A4\u9500\u672C\u9898\u5BF9\u9009\u4E2D\u6559\u7814\u56E2\u961F\u7684\u5206\u4EAB"),r.a.createElement(B.a.Group,{className:N.a.checkbox,defaultValue:Re.current,onChange:function(Ve){return Re.current=Ve}},Y==null?void 0:Y.map(function(Oe){return r.a.createElement(B.a,{key:Oe.group_id,value:Oe.group_id},Oe.name)}))),onOk:function(){var Oe=Object(k.a)(F.a.mark(function on(){var qe,Ke,Me;return F.a.wrap(function(ge){for(;;)switch(ge.prev=ge.next){case 0:return Ke=Y==null||((qe=Y.map(function(dn){return dn.group_id}))===null||qe===void 0)?void 0:qe.filter(function(dn){return!Re.current.includes(dn)}),ge.next=3,Object(p.i)({ids:[R],clazz:"ExaminationBank",group_ids:Ke});case 3:Me=ge.sent,Re.current=[],(Me==null?void 0:Me.status)===0&&(_.b.info("\u64A4\u9500\u5171\u4EAB\u6210\u529F"),Je());case 6:case"end":return ge.stop()}},on)}));function Ve(){return Oe.apply(this,arguments)}return Ve}()});case 6:case"end":return ie.stop()}},E)}));return function(R){return U.apply(this,arguments)}}(),Nn=function(E){A.page=1,A.group_id=E,be(A),Te(A)},$e=P.userInfo||{},Ln=$e.admin,jn=$e.business,In=$e.is_shixun_marker,Wn=$e.is_teacher,kn=$e.user_identity,Gn=Ln||jn||In||Wn||kn!=="\u5B66\u751F";return r.a.createElement("section",null,r.a.createElement("div",{className:N.a.wrap},r.a.createElement(Ae.a,{disciplinesData:(C=q.disciplinesData)===null||C===void 0?void 0:C.disciplines,directionValue:A.discipline_id,typeValue:A.item_type,difficultyValue:A.difficulty,showItemType:!1,onDirectionChange:hn,onTypeChange:vn,onDifficultyChange:yn}),r.a.createElement("div",{className:N.a.contentWrap},r.a.createElement("div",{className:N.a.tabsWrap},r.a.createElement(Ee.a,{defaultActiveKey:Le,onChange:bn},r.a.createElement(e,{tab:"\u516C\u5171",key:"1"}),((O=q.teachGroupData)===null||O===void 0||((V=O.groups)===null||V===void 0)?void 0:V.length)&&r.a.createElement(e,{tab:"\u6559\u7814\u5171\u4EAB",key:"2"}),r.a.createElement(e,{tab:"\u6211\u7684",key:"0"})),r.a.createElement("div",{className:N.a.searchWrap},r.a.createElement("div",{className:N.a.searchContent},Gn&&r.a.createElement("div",{style:{display:"flex"}},r.a.createElement("button",{className:"".concat(N.a.buttonWrap," mr10"),onClick:Cn},"\u4EBA\u5DE5\u7EC4\u5377"),r.a.createElement("button",{className:"".concat(N.a.buttonWrap," mr10"),onClick:Dn},"\u968F\u673A\u7EC4\u5377")),r.a.createElement(t,{className:N.a.search,placeholder:"\u8BF7\u8F93\u5165\u9898\u76EE\u540D\u79F0\u3001\u5185\u5BB9",enterButton:!0,size:"large",style:{width:"380px"},onChange:function(E){A.keyword=E.target.value,be(A)},onSearch:An})))),r.a.createElement("div",{className:N.a.tableWrap},Le==="2"&&r.a.createElement(u,{dispatch:w,paperlibrary:q,groupIds:A.group_id,onChangeTeachGroup:Nn}),Le==="2"&&r.a.createElement("div",{className:N.a.gap}),ee.length?r.a.createElement(a.a,{size:"large",spinning:de["paperlibrary/getPaperlibraryList"]},r.a.createElement("div",{className:"mt10"},Le==="0"&&r.a.createElement(s.a,{align:"middle",justify:"space-between",className:"mb10"},r.a.createElement(j.a,{className:"ml20"},r.a.createElement(B.a,{className:"font14",checked:Q.length===ee.filter(function(U){return!U.is_random}).length,onChange:function(E){return wn(E.target.checked)}},"\u672C\u9875\u5168\u9009")),r.a.createElement(j.a,{className:"mr20"},r.a.createElement(f.a,{type:"primary",ghost:!0,className:"ml5",onClick:Tn},"\u5171\u4EAB"),r.a.createElement(f.a,{type:"primary",ghost:!0,className:"ml5",onClick:Mn},"\u516C\u5F00"))),ee.map(function(U,E){return r.a.createElement(Ie,{showCheckbox:Le==="0",key:U.id,data:U,user:P,authRole:Ge,activeTabsKey:Le,selectIds:Q,onSetSelectIds:Fn,onCancelPublic:Rn,onCancelShare:Bn,onPublicReview:On,onEdit:Un,onDelete:xn,onSendToClass:Sn})}))):r.a.createElement(a.a,{size:"large",spinning:de["paperlibrary/getPaperlibraryList"]},r.a.createElement(Be.a,null)))),nn>10&&r.a.createElement("div",{className:N.a.paginationWrap},r.a.createElement($.a,{page:A.page,count:nn,onChangePage:Pn}))),r.a.createElement(he.a,{visible:((W=q.actionTabs)===null||W===void 0?void 0:W.key)==="Paperlibrary-Auth",occupationValue:(ue=q.actionTabs)===null||ue===void 0||((K=ue.params)===null||K===void 0)?void 0:K.occupation,onCancel:function(){w({type:"paperlibrary/setActionTabs",payload:{}})}}),r.a.createElement(xe,null),r.a.createElement(ke,null),r.a.createElement(z,{onReloadData:Je}),r.a.createElement(oe.a,null))},g=i.default=Object(te.a)(function(m){var d=m.paperlibrary,C=m.user,O=m.loading,V=m.globalSetting;return{paperlibrary:d,user:C,globalSetting:V,loading:O.effects}})(o)},bUJZ:function(T,i){T.exports="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reIqqJY98Ripm9z6phWpCC+9v1jL3096tr350GbtJ0XjLivSFkcU8LsJ7Xz+e6V/3dMRZFmBD6ixvRw+2vMC1f5oBuZxgxIl9oPq5ewCOVzaSFl0WPGd+gUMwEh/sPK8A+rl250qq3R+LgDUiN2a2Mzwsv8GJP6sjMp5xuna6LSGzXzL8HvQjBpp3n5Up9MjJf+B5WVB7lfjXHfAAAAAElFTkSuQmCC"},bntm:function(T,i,n){"use strict";n.d(i,"d",function(){return L}),n.d(i,"b",function(){return a}),n.d(i,"c",function(){return v}),n.d(i,"a",function(){return s});function L(S){try{S.mozRequestFullScreen?S.mozRequestFullScreen():S.webkitRequestFullScreen&&S.webkitRequestFullScreen()}catch(f){console.log(f,":e")}}function a(){document.webkitExitFullscreen?document.webkitExitFullscreen():document.exitFullscreen?document.exitFullscreen():document.msExitFullscreen?document.msExitFullscreen():document.mozCancelFullScreen&&document.mozCancelFullScreen()}var v=function(){if(document.webkitExitFullscreen)return"webkitfullscreenchange";if(document.exitFullscreen)return"fullscreenchange";if(document.msExitFullscreen)return"msfullscreenchange";if(document.mozCancelFullScreen)return"mozfullscreenchange"};function s(){var S=document.fullscreenElement||document.mozFullscreenElement||document.webkitFullscreenElement,f=document.fullscreenEnabled||document.mozFullscreenEnabled||document.webkitFullscreenEnabled;return!(S==null)}},hQp1:function(T,i,n){"use strict";n.d(i,"a",function(){return L});var L;(function(a){a.FirstPage="firstPage",a.PrevPage="prevPage",a.NextPage="nextPage"})(L||(L={}))},iris:function(T,i,n){"use strict";n.d(i,"a",function(){return B});var L=n("qVdP"),a=n("jsC+"),v=n("lUTK"),s=n("BvKs"),S=n("q1tI"),f=n.n(S),me=n("wlus"),j=n("w5pM"),M=n("Q0Vu"),_=n.n(M),y=[{name:"\u7F16\u7A0B\u9898",value:"PROGRAM"},{name:"\u5355\u9009\u9898",value:"SINGLE"},{name:"\u591A\u9009\u9898",value:"MULTIPLE"},{name:"\u5224\u65AD\u9898",value:"JUDGMENT"},{name:"\u586B\u7A7A\u9898",value:"COMPLETION"},{name:"\u7B80\u7B54\u9898",value:"SUBJECTIVE"}],le=[{name:"\u7B80\u5355",value:1},{name:"\u9002\u4E2D",value:2},{name:"\u56F0\u96BE",value:3}],B=function(D){var J=D.showSelectAll,fe=J===void 0?!1:J,F=D.disciplinesData,k=F===void 0?[]:F,H=D.directionValue,se=D.typeValue,ne=D.difficultyValue,ae=D.selectAll,Pe=D.showShixun,Ee=Pe===void 0?!1:Pe,Z=D.showItemType,r=Z===void 0?!0:Z,te=D.onShixunChange,Be=te===void 0?function(){}:te,Ae=D.onSelectAll,Ue=Ae===void 0?function(){}:Ae,N=D.onDirectionChange,he=N===void 0?function(){}:N,Ce=D.onTypeChange,pe=Ce===void 0?function(){}:Ce,Ne=D.onDifficultyChange,xe=Ne===void 0?function(){}:Ne,Se=function(){var ce=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],h=arguments.length>1?arguments[1]:void 0;return f.a.createElement(s.a,{className:_.a.subMenu},ce.map(function(re){return f.a.createElement(s.a.Item,{key:re.id},f.a.createElement("a",{className:_.a.subItem,onClick:function(){return he(h,re.id)}},re.name))}))};return f.a.createElement("aside",{className:_.a.main},f.a.createElement("div",{className:_.a.wrap},f.a.createElement("div",{className:_.a.contentWrap},f.a.createElement("div",{className:_.a.content},f.a.createElement("span",{className:"".concat(_.a.minWidth43," mt3")},"\u65B9\u5411\uFF1A"),f.a.createElement("span",null,f.a.createElement("li",{className:"".concat(_.a.minWidth60," ").concat(_.a.directionItem," ").concat(H?"":_.a.active),onClick:function(){return he(null)}},"\u5168\u90E8")),f.a.createElement("div",{className:_.a.directionContentWrap},k.map(function(x){var ce;return f.a.createElement(f.a.Fragment,{key:x.id},((ce=x.sub_disciplines)===null||ce===void 0?void 0:ce.length)>0?f.a.createElement(a.a,{placement:"bottomLeft",overlayStyle:{width:600},getPopupContainer:function(re){return re.parentNode},overlay:function(){return Se(x.sub_disciplines,x.id)}},f.a.createElement("li",{className:"".concat(_.a.directionItem," ").concat(H===x.id?_.a.active:""),onClick:function(){return he(x.id,x.sub_disciplines[0].id)}},x.name)):f.a.createElement("li",{className:"".concat(_.a.directionItem," ").concat(H===x.id?_.a.active:""),onClick:function(){return he(x.id)}},x.name))}))),r&&f.a.createElement("div",{className:_.a.content},f.a.createElement("span",{className:"".concat(_.a.minWidth43," mt3")},"\u9898\u578B\uFF1A"),f.a.createElement("li",{className:"".concat(_.a.minWidth60," ").concat(_.a.directionItem," ").concat(se?"":_.a.active),onClick:function(){return pe(null)}},"\u5168\u90E8"),f.a.createElement("div",{className:_.a.directionContentWrap},y.map(function(x){return f.a.createElement("li",{key:x.name,className:"".concat(_.a.directionItem," ").concat(se===x.value?_.a.active:""),onClick:function(){return pe(x.value)}},x.name)}),Ee&&f.a.createElement("li",{key:"\u5B9E\u8BAD\u9898",className:_.a.directionItem,onClick:function(){return Be()}},"\u5B9E\u8BAD\u9898"))),f.a.createElement("div",{className:_.a.content},f.a.createElement("span",{className:"".concat(_.a.minWidth43," mt3")},"\u96BE\u5EA6\uFF1A"),f.a.createElement("li",{className:"".concat(_.a.minWidth60," ").concat(_.a.directionItem," ").concat(ne?"":_.a.active),onClick:function(){return xe(null)}},"\u5168\u90E8"),f.a.createElement("div",{className:_.a.directionContentWrap},le.map(function(x){return f.a.createElement("li",{key:x.name,className:"".concat(_.a.directionItem," ").concat(ne===x.value?_.a.active:""),onClick:function(){return xe(x.value)}},x.name)}))),fe&&f.a.createElement("button",{className:"".concat(_.a.selectAll," ").concat(ae?_.a.selectNotAll:""),onClick:Ue},ae?f.a.createElement(f.a.Fragment,null,f.a.createElement(me.a,{className:"mr5"}),"\u672C\u9875\u5168\u90E8\u79FB\u9664"):f.a.createElement(f.a.Fragment,null,f.a.createElement(j.a,{className:"mr5"}),"\u672C\u9875\u5168\u90E8\u9009\u7528")))))}},kHHm:function(T,i,n){"use strict";var L=n("2qtc"),a=n("kLXV"),v=n("7Kak"),s=n("9yH6"),S=n("miYZ"),f=n("tsqr"),me=n("WmNS"),j=n.n(me),M=n("9og8"),_=n("tJVT"),y=n("PpiC"),le=n("5NDa"),B=n("5rEg"),X=n("q1tI"),D=n.n(X),J=n("9kvl"),fe=n("PEfE"),F=n.n(fe),k=n("1vsH"),H=B.a.Search,se=function(ae){var Pe=ae.paperlibrary,Ee=ae.globalSetting,Z=ae.loading,r=ae.dispatch,te=Object(y.a)(ae,["paperlibrary","globalSetting","loading","dispatch"]),Be=Object(X.useState)(""),Ae=Object(_.a)(Be,2),Ue=Ae[0],N=Ae[1],he=Object(X.useState)([]),Ce=Object(_.a)(he,2),pe=Ce[0],Ne=Ce[1],xe=Object(X.useState)(),Se=Object(_.a)(xe,2),x=Se[0],ce=Se[1],h=Object(X.useState)(!1),re=Object(_.a)(h,2),je=re[0],Ie=re[1];Object(X.useEffect)(function(){We()},[]);var We=function(){var G=Object(M.a)(j.a.mark(function z(){var oe;return j.a.wrap(function($){for(;;)switch($.prev=$.next){case 0:return $.next=2,r({type:"paperlibrary/getCourseList",payload:{search:Ue}});case 2:oe=$.sent,oe&&Ne((oe==null?void 0:oe.courses)||[]);case 4:case"end":return $.stop()}},z)}));return function(){return G.apply(this,arguments)}}(),ke=function(){var G=Object(M.a)(j.a.mark(function z(){var oe,De,$,ve,ye,l;return j.a.wrap(function(u){for(;;)switch(u.prev=u.next){case 0:if(x){u.next=4;break}return f.b.info("\u60A8\u9700\u8981\u521B\u5EFA\u8BFE\u5802\uFF0C\u624D\u80FD\u53D1\u9001"),Ie(!0),u.abrupt("return");case 4:return u.next=6,r({type:"paperlibrary/sendToClass",payload:{course_id:x,id:(oe=Pe.actionTabs)===null||oe===void 0||((De=oe.params)===null||De===void 0)?void 0:De.id}});case 6:$=u.sent,r({type:"paperlibrary/setActionTabs",payload:{}}),$&&$.status===0&&(l=$==null||((ve=$.first_category_url)===null||ve===void 0||((ye=ve.split("/"))===null||ye===void 0))?void 0:ye[2],Object(k.x)("/classrooms/".concat(l,"/exercise")));case 9:case"end":return u.stop()}},z)}));return function(){return G.apply(this,arguments)}}();return D.a.createElement(a.a,{centered:!0,keyboard:!1,closable:!1,destroyOnClose:!0,visible:Pe.actionTabs.key==="Paperlibrary-SendToClass",title:"\u53D1\u9001\u81F3\u8BFE\u5802",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",confirmLoading:Z["paperlibrary/sendToClass"],width:600,onOk:ke,onCancel:function(){r({type:"paperlibrary/setActionTabs",payload:{}})}},D.a.createElement("div",{className:F.a.wrap},D.a.createElement("div",{className:F.a.title},"\u6E29\u99A8\u63D0\u793A\uFF1A\u9009\u62E9\u7684\u8BD5\u5377\u5C06\u4F1A\u53D1\u9001\u5230\u6307\u5B9A\u8BFE\u5802"),D.a.createElement("div",{className:"mb10"},D.a.createElement(H,{placeholder:"\u8F93\u5165\u8BFE\u5802\u540D\u79F0\u7684\u5173\u952E\u5B57\u8FDB\u884C\u641C\u7D22",value:Ue,onChange:function(z){return N(z.target.value)},onSearch:function(z){N(z),We()}})),D.a.createElement("div",{className:F.a.radioWrap},D.a.createElement(s.a.Group,{value:x,onChange:function(z){ce(z.target.value),Ie(!1)}},pe.map(function(G,z){return D.a.createElement(s.a,{className:F.a.radio,value:G.course_id,key:G.course_id},G.course_name)}))),je&&D.a.createElement("div",{className:F.a.colorFF0000},"\u8BF7\u5148\u9009\u62E9\u8BFE\u5802")))};i.a=Object(J.a)(function(ne){var ae=ne.paperlibrary,Pe=ne.loading,Ee=ne.globalSetting;return{paperlibrary:ae,globalSetting:Ee,loading:Pe.effects}})(se)},svTM:function(T,i,n){T.exports={groupWrap:"groupWrap___i0SHk",directionItem:"directionItem___2mCab",active:"active___3PKqm",directionContentWrap:"directionContentWrap___121Gx",minWidth43:"minWidth43___3ftAa",minWidth73:"minWidth73___3AZEv",minWidth60:"minWidth60___1knTR",delete:"delete___23xxp"}},xKgJ:function(T,i,n){"use strict";n.d(i,"o",function(){return f}),n.d(i,"b",function(){return me}),n.d(i,"c",function(){return j}),n.d(i,"e",function(){return M}),n.d(i,"f",function(){return _}),n.d(i,"r",function(){return y}),n.d(i,"g",function(){return le}),n.d(i,"s",function(){return B}),n.d(i,"d",function(){return X}),n.d(i,"i",function(){return D}),n.d(i,"j",function(){return J}),n.d(i,"q",function(){return fe}),n.d(i,"h",function(){return F}),n.d(i,"p",function(){return k}),n.d(i,"a",function(){return Ee}),n.d(i,"l",function(){return z}),n.d(i,"m",function(){return oe}),n.d(i,"k",function(){return De}),n.d(i,"n",function(){return ve}),n.d(i,"t",function(){return ye});var L=n("9kvl"),a;(function(l){l[l.SuperAdmin=1]="SuperAdmin",l[l.Operation=2]="Operation",l[l.CertifiedTeacher=5]="CertifiedTeacher",l[l.TrainingProduction=8]="TrainingProduction",l[l.UncertifiedTeacher=12]="UncertifiedTeacher",l[l.Student=15]="Student"})(a||(a={}));var v;(function(l){l[l.SuperAdmin=1]="SuperAdmin",l[l.Operation=2]="Operation",l[l.Admin=5]="Admin",l[l.Teacher=8]="Teacher",l[l.Assistant=12]="Assistant",l[l.Student=15]="Student"})(v||(v={}));var s=function(c){var u=Object(L.b)()._store.getState(),p=u.user,e=p.userInfo;return c.some(function(t){return t==(e==null?void 0:e.role)})},S=function(c){var u=Object(L.b)()._store.getState(),p=u.user,e=p.userInfo;return(e==null?void 0:e.own)?!0:c.some(function(t){var o;return t==(e==null||((o=e.course)===null||o===void 0)?void 0:o.course_role)})},f=function(){var c=Object(L.b)()._store.getState(),u=c.user,p=u.userInfo;return p.main_site},me=function(){var c,u=Object(L.b)()._store.getState(),p=u.user,e=p.userInfo;return e==null||((c=e.course)===null||c===void 0)?void 0:c.course_is_end},j=function(){return S([v.SuperAdmin,v.Operation,v.Admin,v.Teacher,v.Assistant])},M=function(){return S([v.SuperAdmin,v.Teacher,v.Admin,v.Assistant,v.Operation])},_=function(){return S([v.SuperAdmin,v.Teacher,v.Admin])},y=function(){return S([v.SuperAdmin])},le=function(){return S([v.SuperAdmin,v.Operation,v.Admin])},B=function(){return S([v.SuperAdmin,v.Operation])},X=function(){return S([v.SuperAdmin,v.Admin])},D=function(){return S([v.SuperAdmin,v.Operation,v.Admin,v.Teacher])},J=function(){return S([v.Assistant])},fe=function(){return S([v.Student])},F=function(){return S([v.SuperAdmin,v.Operation,v.Admin,v.Teacher,v.Assistant,v.Student])},k=function(){var c,u=Object(L.b)()._store.getState(),p=u.user,e=p.userInfo;return(e==null||((c=e.course)===null||c===void 0)?void 0:c.course_role)===null},H=function(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return s([a.SuperAdmin,a.Operation,a.CertifiedTeacher,a.TrainingProduction,a.UncertifiedTeacher,a.Student])},se=function(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return u||!u&&s([a.SuperAdmin])},ne=function(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return u||!u&&s([a.SuperAdmin,a.Operation])},ae=function(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return c?s([a.SuperAdmin,a.Operation,a.CertifiedTeacher,a.TrainingProduction,a.UncertifiedTeacher,a.Student]):u||!u&&s([a.SuperAdmin,a.Operation])},Pe=function(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return c?s([a.SuperAdmin,a.Operation,a.CertifiedTeacher,a.TrainingProduction,a.UncertifiedTeacher,a.Student]):u||!u&&s([a.SuperAdmin,a.Operation])},Ee=function(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return s([a.SuperAdmin,a.Operation,a.CertifiedTeacher,a.TrainingProduction])},Z=function(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return c?s([a.SuperAdmin]):u||!u&&s([a.SuperAdmin])},r=function(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return c?s([a.SuperAdmin,a.Operation]):u||!u&&s([a.SuperAdmin,a.Operation])},te=function(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return c?s([a.SuperAdmin,a.Operation,a.CertifiedTeacher,a.TrainingProduction,a.UncertifiedTeacher,a.Student]):u||!u&&s([a.SuperAdmin,a.Operation])},Be=function(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return c?s([a.SuperAdmin,a.Operation,a.CertifiedTeacher,a.TrainingProduction,a.UncertifiedTeacher]):u||!u&&s([a.SuperAdmin,a.Operation])},Ae=function(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return c?s([a.SuperAdmin,a.Operation,a.CertifiedTeacher]):u||!u&&s([a.SuperAdmin,a.Operation])},Ue=function(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return c?s([a.SuperAdmin]):!1},N=function(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return s([a.SuperAdmin,a.Operation,a.CertifiedTeacher,a.TrainingProduction,a.UncertifiedTeacher,a.Student])},he=function(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return c?s([a.SuperAdmin]):u||!u&&s([a.SuperAdmin])},Ce=function(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return c?s([a.SuperAdmin,a.Operation]):u||!u&&s([a.SuperAdmin,a.Operation])},pe=function(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return c?s([a.SuperAdmin,a.Operation,a.CertifiedTeacher,a.TrainingProduction,a.UncertifiedTeacher,a.Student]):u||!u&&s([a.SuperAdmin,a.Operation])},Ne=function(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return c?!1:u||!u&&s([a.SuperAdmin,a.Operation])},xe=function(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return c?u||!u&&s([a.SuperAdmin,a.Operation]):!1},Se=function(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return c?s([a.SuperAdmin,a.Operation,a.CertifiedTeacher,a.TrainingProduction,a.UncertifiedTeacher]):!1},x=function(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return c?!u&&s([a.SuperAdmin,a.Operation,a.CertifiedTeacher,a.TrainingProduction,a.UncertifiedTeacher]):!1},ce=function(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return c?s([a.SuperAdmin,a.Operation,a.CertifiedTeacher]):u||!u&&s([a.SuperAdmin,a.Operation])},h=function(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return s([a.SuperAdmin,a.Operation,a.CertifiedTeacher,a.TrainingProduction,a.UncertifiedTeacher])},re=function(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return c?s([a.SuperAdmin]):u||!u&&s([a.SuperAdmin])},je=function(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return c?s([a.SuperAdmin,a.Operation]):u||!u&&s([a.SuperAdmin,a.Operation])},Ie=function(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return c?s([a.SuperAdmin,a.Operation,a.CertifiedTeacher,a.TrainingProduction,a.UncertifiedTeacher]):u||!u&&s([a.SuperAdmin,a.Operation])},We=function(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return c?u||!u&&s([a.SuperAdmin,a.Operation]):!1},ke=function(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return c?s([a.SuperAdmin,a.Operation,a.CertifiedTeacher,a.TrainingProduction,a.UncertifiedTeacher]):u||!u&&s([a.SuperAdmin,a.Operation])},G=function(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return S([v.Teacher])},z=function(){return s([a.SuperAdmin])},oe=function(){return s([a.SuperAdmin,a.Operation])},De=function(){return s([a.Student])},$=function(){return s([a.SuperAdmin,a.Operation,a.CertifiedTeacher])},ve=function(){var c,u=Object(L.b)()._store.getState(),p=u.user;return!!((c=p.userInfo)===null||c===void 0?void 0:c.login)},ye=function(){var c=Object(L.b)()._store.getState(),u=c.user;return u.userInfo}},z5tG:function(T,i,n){T.exports={tilte:"tilte___qxhUq",flexRow:"flexRow___3Vjbd",flexColumn:"flexColumn___1VZsd",footerWrap:"footerWrap___1hiUt",img:"img___1jm4F",content:"content___1I6uS",modalContent:"modalContent___3mpPG",modalContentLeft:"modalContentLeft___2OV-j",modal:"modal___1fHWX"}}}]);