(function(){var __webpack_modules__={93398:function(d,v,e){"use strict";e.r(v),e.d(v,{blue:function(){return se},blueDark:function(){return Oe},cyan:function(){return ne},cyanDark:function(){return Le},geekblue:function(){return Q},geekblueDark:function(){return Ft},generate:function(){return A},gold:function(){return H},goldDark:function(){return X},gray:function(){return ee},green:function(){return ie},greenDark:function(){return Ce},grey:function(){return ae},greyDark:function(){return tr},lime:function(){return Z},limeDark:function(){return xe},magenta:function(){return K},magentaDark:function(){return At},orange:function(){return R},orangeDark:function(){return L},presetDarkPalettes:function(){return Jt},presetPalettes:function(){return q},presetPrimaryColors:function(){return T},purple:function(){return V},purpleDark:function(){return ht},red:function(){return F},redDark:function(){return te},volcano:function(){return $},volcanoDark:function(){return M},yellow:function(){return G},yellowDark:function(){return fe}});var t=e(400);const n=Math.round;function s(cr,Qe){const Pt=cr.replace(/^[^(]*\((.*)/,"$1").replace(/\).*/,"").match(/\d*\.?\d+%?/g)||[],zt=Pt.map(it=>parseFloat(it));for(let it=0;it<3;it+=1)zt[it]=Qe(zt[it]||0,Pt[it]||"",it);return Pt[3]?zt[3]=Pt[3].includes("%")?zt[3]/100:zt[3]:zt[3]=1,zt}const u=(cr,Qe,Pt)=>Pt===0?cr:cr/100;function f(cr,Qe){const Pt=Qe||255;return cr>Pt?Pt:cr<0?0:cr}class c{constructor(Qe){(0,t.Z)(this,"isValid",!0),(0,t.Z)(this,"r",0),(0,t.Z)(this,"g",0),(0,t.Z)(this,"b",0),(0,t.Z)(this,"a",1),(0,t.Z)(this,"_h",void 0),(0,t.Z)(this,"_s",void 0),(0,t.Z)(this,"_l",void 0),(0,t.Z)(this,"_v",void 0),(0,t.Z)(this,"_max",void 0),(0,t.Z)(this,"_min",void 0),(0,t.Z)(this,"_brightness",void 0);function Pt(zt){return zt[0]in Qe&&zt[1]in Qe&&zt[2]in Qe}if(Qe)if(typeof Qe=="string"){let it=function(Ot){return zt.startsWith(Ot)};const zt=Qe.trim();/^#?[A-F\d]{3,8}$/i.test(zt)?this.fromHexString(zt):it("rgb")?this.fromRgbString(zt):it("hsl")?this.fromHslString(zt):(it("hsv")||it("hsb"))&&this.fromHsvString(zt)}else if(Qe instanceof c)this.r=Qe.r,this.g=Qe.g,this.b=Qe.b,this.a=Qe.a,this._h=Qe._h,this._s=Qe._s,this._l=Qe._l,this._v=Qe._v;else if(Pt("rgb"))this.r=f(Qe.r),this.g=f(Qe.g),this.b=f(Qe.b),this.a=typeof Qe.a=="number"?f(Qe.a,1):1;else if(Pt("hsl"))this.fromHsl(Qe);else if(Pt("hsv"))this.fromHsv(Qe);else throw new Error("@ant-design/fast-color: unsupported input "+JSON.stringify(Qe))}setR(Qe){return this._sc("r",Qe)}setG(Qe){return this._sc("g",Qe)}setB(Qe){return this._sc("b",Qe)}setA(Qe){return this._sc("a",Qe,1)}setHue(Qe){const Pt=this.toHsv();return Pt.h=Qe,this._c(Pt)}getLuminance(){function Qe(Ot){const pt=Ot/255;return pt<=.03928?pt/12.92:Math.pow((pt+.055)/1.055,2.4)}const Pt=Qe(this.r),zt=Qe(this.g),it=Qe(this.b);return .2126*Pt+.7152*zt+.0722*it}getHue(){if(typeof this._h=="undefined"){const Qe=this.getMax()-this.getMin();Qe===0?this._h=0:this._h=n(60*(this.r===this.getMax()?(this.g-this.b)/Qe+(this.g1&&(it=1),this._c({h:Pt,s:zt,l:it,a:this.a})}mix(Qe,Pt=50){const zt=this._c(Qe),it=Pt/100,Ot=et=>(zt[et]-this[et])*it+this[et],pt={r:n(Ot("r")),g:n(Ot("g")),b:n(Ot("b")),a:n(Ot("a")*100)/100};return this._c(pt)}tint(Qe=10){return this.mix({r:255,g:255,b:255,a:1},Qe)}shade(Qe=10){return this.mix({r:0,g:0,b:0,a:1},Qe)}onBackground(Qe){const Pt=this._c(Qe),zt=this.a+Pt.a*(1-this.a),it=Ot=>n((this[Ot]*this.a+Pt[Ot]*Pt.a*(1-this.a))/zt);return this._c({r:it("r"),g:it("g"),b:it("b"),a:zt})}isDark(){return this.getBrightness()<128}isLight(){return this.getBrightness()>=128}equals(Qe){return this.r===Qe.r&&this.g===Qe.g&&this.b===Qe.b&&this.a===Qe.a}clone(){return this._c(this)}toHexString(){let Qe="#";const Pt=(this.r||0).toString(16);Qe+=Pt.length===2?Pt:"0"+Pt;const zt=(this.g||0).toString(16);Qe+=zt.length===2?zt:"0"+zt;const it=(this.b||0).toString(16);if(Qe+=it.length===2?it:"0"+it,typeof this.a=="number"&&this.a>=0&&this.a<1){const Ot=n(this.a*255).toString(16);Qe+=Ot.length===2?Ot:"0"+Ot}return Qe}toHsl(){return{h:this.getHue(),s:this.getSaturation(),l:this.getLightness(),a:this.a}}toHslString(){const Qe=this.getHue(),Pt=n(this.getSaturation()*100),zt=n(this.getLightness()*100);return this.a!==1?`hsla(${Qe},${Pt}%,${zt}%,${this.a})`:`hsl(${Qe},${Pt}%,${zt}%)`}toHsv(){return{h:this.getHue(),s:this.getSaturation(),v:this.getValue(),a:this.a}}toRgb(){return{r:this.r,g:this.g,b:this.b,a:this.a}}toRgbString(){return this.a!==1?`rgba(${this.r},${this.g},${this.b},${this.a})`:`rgb(${this.r},${this.g},${this.b})`}toString(){return this.toRgbString()}_sc(Qe,Pt,zt){const it=this.clone();return it[Qe]=f(Pt,zt),it}_c(Qe){return new this.constructor(Qe)}getMax(){return typeof this._max=="undefined"&&(this._max=Math.max(this.r,this.g,this.b)),this._max}getMin(){return typeof this._min=="undefined"&&(this._min=Math.min(this.r,this.g,this.b)),this._min}fromHexString(Qe){const Pt=Qe.replace("#","");function zt(it,Ot){return parseInt(Pt[it]+Pt[Ot||it],16)}Pt.length<6?(this.r=zt(0),this.g=zt(1),this.b=zt(2),this.a=Pt[3]?zt(3)/255:1):(this.r=zt(0,1),this.g=zt(2,3),this.b=zt(4,5),this.a=Pt[6]?zt(6,7)/255:1)}fromHsl({h:Qe,s:Pt,l:zt,a:it}){if(this._h=Qe%360,this._s=Pt,this._l=zt,this.a=typeof it=="number"?it:1,Pt<=0){const $e=n(zt*255);this.r=$e,this.g=$e,this.b=$e}let Ot=0,pt=0,et=0;const Ne=Qe/60,me=(1-Math.abs(2*zt-1))*Pt,Ee=me*(1-Math.abs(Ne%2-1));Ne>=0&&Ne<1?(Ot=me,pt=Ee):Ne>=1&&Ne<2?(Ot=Ee,pt=me):Ne>=2&&Ne<3?(pt=me,et=Ee):Ne>=3&&Ne<4?(pt=Ee,et=me):Ne>=4&&Ne<5?(Ot=Ee,et=me):Ne>=5&&Ne<6&&(Ot=me,et=Ee);const Re=zt-me/2;this.r=n((Ot+Re)*255),this.g=n((pt+Re)*255),this.b=n((et+Re)*255)}fromHsv({h:Qe,s:Pt,v:zt,a:it}){this._h=Qe%360,this._s=Pt,this._v=zt,this.a=typeof it=="number"?it:1;const Ot=n(zt*255);if(this.r=Ot,this.g=Ot,this.b=Ot,Pt<=0)return;const pt=Qe/60,et=Math.floor(pt),Ne=pt-et,me=n(zt*(1-Pt)*255),Ee=n(zt*(1-Pt*Ne)*255),Re=n(zt*(1-Pt*(1-Ne))*255);switch(et){case 0:this.g=Re,this.b=me;break;case 1:this.r=Ee,this.b=me;break;case 2:this.r=me,this.b=Re;break;case 3:this.r=me,this.g=Ee;break;case 4:this.r=Re,this.g=me;break;case 5:default:this.g=me,this.b=Ee;break}}fromHsvString(Qe){const Pt=s(Qe,u);this.fromHsv({h:Pt[0],s:Pt[1],v:Pt[2],a:Pt[3]})}fromHslString(Qe){const Pt=s(Qe,u);this.fromHsl({h:Pt[0],s:Pt[1],l:Pt[2],a:Pt[3]})}fromRgbString(Qe){const Pt=s(Qe,(zt,it)=>it.includes("%")?n(zt/100*255):zt);this.r=Pt[0],this.g=Pt[1],this.b=Pt[2],this.a=Pt[3]}}var h=2,o=.16,i=.05,y=.05,p=.15,g=5,l=4,b=[{index:7,amount:15},{index:6,amount:25},{index:5,amount:30},{index:5,amount:45},{index:5,amount:65},{index:5,amount:85},{index:4,amount:90},{index:3,amount:95},{index:2,amount:97},{index:1,amount:98}];function x(cr,Qe,Pt){var zt;return Math.round(cr.h)>=60&&Math.round(cr.h)<=240?zt=Pt?Math.round(cr.h)-h*Qe:Math.round(cr.h)+h*Qe:zt=Pt?Math.round(cr.h)+h*Qe:Math.round(cr.h)-h*Qe,zt<0?zt+=360:zt>=360&&(zt-=360),zt}function O(cr,Qe,Pt){if(cr.h===0&&cr.s===0)return cr.s;var zt;return Pt?zt=cr.s-o*Qe:Qe===l?zt=cr.s+o:zt=cr.s+i*Qe,zt>1&&(zt=1),Pt&&Qe===g&&zt>.1&&(zt=.1),zt<.06&&(zt=.06),Math.round(zt*100)/100}function k(cr,Qe,Pt){var zt;return Pt?zt=cr.v+y*Qe:zt=cr.v-p*Qe,zt=Math.max(0,Math.min(1,zt)),Math.round(zt*100)/100}function A(cr){for(var Qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Pt=[],zt=new c(cr),it=zt.toHsv(),Ot=g;Ot>0;Ot-=1){var pt=new c({h:x(it,Ot,!0),s:O(it,Ot,!0),v:k(it,Ot,!0)});Pt.push(pt)}Pt.push(zt);for(var et=1;et<=l;et+=1){var Ne=new c({h:x(it,et),s:O(it,et),v:k(it,et)});Pt.push(Ne)}return Qe.theme==="dark"?b.map(function(me){var Ee=me.index,Re=me.amount;return new c(Qe.backgroundColor||"#141414").mix(Pt[Ee],Re).toHexString()}):Pt.map(function(me){return me.toHexString()})}var T={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},F=["#fff1f0","#ffccc7","#ffa39e","#ff7875","#ff4d4f","#f5222d","#cf1322","#a8071a","#820014","#5c0011"];F.primary=F[5];var $=["#fff2e8","#ffd8bf","#ffbb96","#ff9c6e","#ff7a45","#fa541c","#d4380d","#ad2102","#871400","#610b00"];$.primary=$[5];var R=["#fff7e6","#ffe7ba","#ffd591","#ffc069","#ffa940","#fa8c16","#d46b08","#ad4e00","#873800","#612500"];R.primary=R[5];var H=["#fffbe6","#fff1b8","#ffe58f","#ffd666","#ffc53d","#faad14","#d48806","#ad6800","#874d00","#613400"];H.primary=H[5];var G=["#feffe6","#ffffb8","#fffb8f","#fff566","#ffec3d","#fadb14","#d4b106","#ad8b00","#876800","#614700"];G.primary=G[5];var Z=["#fcffe6","#f4ffb8","#eaff8f","#d3f261","#bae637","#a0d911","#7cb305","#5b8c00","#3f6600","#254000"];Z.primary=Z[5];var ie=["#f6ffed","#d9f7be","#b7eb8f","#95de64","#73d13d","#52c41a","#389e0d","#237804","#135200","#092b00"];ie.primary=ie[5];var ne=["#e6fffb","#b5f5ec","#87e8de","#5cdbd3","#36cfc9","#13c2c2","#08979c","#006d75","#00474f","#002329"];ne.primary=ne[5];var se=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];se.primary=se[5];var Q=["#f0f5ff","#d6e4ff","#adc6ff","#85a5ff","#597ef7","#2f54eb","#1d39c4","#10239e","#061178","#030852"];Q.primary=Q[5];var V=["#f9f0ff","#efdbff","#d3adf7","#b37feb","#9254de","#722ed1","#531dab","#391085","#22075e","#120338"];V.primary=V[5];var K=["#fff0f6","#ffd6e7","#ffadd2","#ff85c0","#f759ab","#eb2f96","#c41d7f","#9e1068","#780650","#520339"];K.primary=K[5];var ae=["#a6a6a6","#999999","#8c8c8c","#808080","#737373","#666666","#404040","#1a1a1a","#000000","#000000"];ae.primary=ae[5];var ee=ae,q={red:F,volcano:$,orange:R,gold:H,yellow:G,lime:Z,green:ie,cyan:ne,blue:se,geekblue:Q,purple:V,magenta:K,grey:ae},te=["#2a1215","#431418","#58181c","#791a1f","#a61d24","#d32029","#e84749","#f37370","#f89f9a","#fac8c3"];te.primary=te[5];var M=["#2b1611","#441d12","#592716","#7c3118","#aa3e19","#d84a1b","#e87040","#f3956a","#f8b692","#fad4bc"];M.primary=M[5];var L=["#2b1d11","#442a11","#593815","#7c4a15","#aa6215","#d87a16","#e89a3c","#f3b765","#f8cf8d","#fae3b7"];L.primary=L[5];var X=["#2b2111","#443111","#594214","#7c5914","#aa7714","#d89614","#e8b339","#f3cc62","#f8df8b","#faedb5"];X.primary=X[5];var fe=["#2b2611","#443b11","#595014","#7c6e14","#aa9514","#d8bd14","#e8d639","#f3ea62","#f8f48b","#fafab5"];fe.primary=fe[5];var xe=["#1f2611","#2e3c10","#3e4f13","#536d13","#6f9412","#8bbb11","#a9d134","#c9e75d","#e4f88b","#f0fab5"];xe.primary=xe[5];var Ce=["#162312","#1d3712","#274916","#306317","#3c8618","#49aa19","#6abe39","#8fd460","#b2e58b","#d5f2bb"];Ce.primary=Ce[5];var Le=["#112123","#113536","#144848","#146262","#138585","#13a8a8","#33bcb7","#58d1c9","#84e2d8","#b2f1e8"];Le.primary=Le[5];var Oe=["#111a2c","#112545","#15325b","#15417e","#1554ad","#1668dc","#3c89e8","#65a9f3","#8dc5f8","#b7dcfa"];Oe.primary=Oe[5];var Ft=["#131629","#161d40","#1c2755","#203175","#263ea0","#2b4acb","#5273e0","#7f9ef3","#a8c1f8","#d2e0fa"];Ft.primary=Ft[5];var ht=["#1a1325","#24163a","#301c4d","#3e2069","#51258f","#642ab5","#854eca","#ab7ae0","#cda8f0","#ebd7fa"];ht.primary=ht[5];var At=["#291321","#40162f","#551c3b","#75204f","#a02669","#cb2b83","#e0529c","#f37fb7","#f8a8cc","#fad2e3"];At.primary=At[5];var tr=["#151515","#1f1f1f","#2d2d2d","#393939","#494949","#5a5a5a","#6a6a6a","#7b7b7b","#888888","#969696"];tr.primary=tr[5];var Jt={red:te,volcano:M,orange:L,gold:X,yellow:fe,lime:xe,green:Ce,cyan:Le,blue:Oe,geekblue:Ft,purple:ht,magenta:At,grey:tr}},93083:function(d,v,e){"use strict";e.r(v),e.d(v,{Keyframes:function(){return Bs},NaNLinter:function(){return ns},StyleContext:function(){return ne},StyleProvider:function(){return ie},Theme:function(){return At},_experimental:function(){return Ns},createCache:function(){return G},createTheme:function(){return Jt},extractStyle:function(){return Qu},genCalc:function(){return Ce},getComputedToken:function(){return hr},legacyLogicalPropertiesTransformer:function(){return Ao},legacyNotSelectorLinter:function(){return ys},logicalPropertiesLinter:function(){return Ws},parentSelectorLinter:function(){return Rs},px2remTransformer:function(){return sl},token2CSSVar:function(){return Pe},unit:function(){return Gt},useCSSVarRegister:function(){return vu},useCacheToken:function(){return sn},useStyleRegister:function(){return Ba}});var t=e(33606),n=e(400),s=e(26407),u=e(33708);function f(qt){for(var ur=0,ar,mr=0,pr=qt.length;pr>=4;++mr,pr-=4)ar=qt.charCodeAt(mr)&255|(qt.charCodeAt(++mr)&255)<<8|(qt.charCodeAt(++mr)&255)<<16|(qt.charCodeAt(++mr)&255)<<24,ar=(ar&65535)*1540483477+((ar>>>16)*59797<<16),ar^=ar>>>24,ur=(ar&65535)*1540483477+((ar>>>16)*59797<<16)^(ur&65535)*1540483477+((ur>>>16)*59797<<16);switch(pr){case 3:ur^=(qt.charCodeAt(mr+2)&255)<<16;case 2:ur^=(qt.charCodeAt(mr+1)&255)<<8;case 1:ur^=qt.charCodeAt(mr)&255,ur=(ur&65535)*1540483477+((ur>>>16)*59797<<16)}return ur^=ur>>>13,ur=(ur&65535)*1540483477+((ur>>>16)*59797<<16),((ur^ur>>>15)>>>0).toString(36)}var c=f,h=e(810),o=e(59301),i=e.t(o,2),y=e(37061),p=e(80547),g=e(13697),l=e(6909),b=e(4771),x="%";function O(qt){return qt.join(x)}var k=function(){function qt(ur){(0,l.Z)(this,qt),(0,n.Z)(this,"instanceId",void 0),(0,n.Z)(this,"cache",new Map),this.instanceId=ur}return(0,b.Z)(qt,[{key:"get",value:function(ar){return this.opGet(O(ar))}},{key:"opGet",value:function(ar){return this.cache.get(ar)||null}},{key:"update",value:function(ar,mr){return this.opUpdate(O(ar),mr)}},{key:"opUpdate",value:function(ar,mr){var pr=this.cache.get(ar),_n=mr(pr);_n===null?this.cache.delete(ar):this.cache.set(ar,_n)}}]),qt}(),A=k,T=["children"],F="data-token-hash",$="data-css-hash",R="data-cache-path",H="__cssinjs_instance__";function G(){var qt=Math.random().toString(12).slice(2);if(typeof document!="undefined"&&document.head&&document.body){var ur=document.body.querySelectorAll("style[".concat($,"]"))||[],ar=document.head.firstChild;Array.from(ur).forEach(function(pr){pr[H]=pr[H]||qt,pr[H]===qt&&document.head.insertBefore(pr,ar)});var mr={};Array.from(document.querySelectorAll("style[".concat($,"]"))).forEach(function(pr){var _n=pr.getAttribute($);if(mr[_n]){if(pr[H]===qt){var xn;(xn=pr.parentNode)===null||xn===void 0||xn.removeChild(pr)}}else mr[_n]=!0})}return new A(qt)}var Z=o.createContext({hashPriority:"low",cache:G(),defaultCache:!0}),ie=function(ur){var ar=ur.children,mr=(0,y.Z)(ur,T),pr=o.useContext(Z),_n=(0,p.Z)(function(){var xn=(0,u.Z)({},pr);Object.keys(mr).forEach(function($n){var Jn=mr[$n];mr[$n]!==void 0&&(xn[$n]=Jn)});var Nn=mr.cache;return xn.cache=xn.cache||G(),xn.defaultCache=!Nn&&pr.defaultCache,xn},[pr,mr],function(xn,Nn){return!(0,g.Z)(xn[0],Nn[0],!0)||!(0,g.Z)(xn[1],Nn[1],!0)});return o.createElement(Z.Provider,{value:_n},ar)},ne=Z,se=e(39559),Q=e(47273),V=e(25314),K=e(9427),ae=e(25440),ee=(0,b.Z)(function qt(){(0,l.Z)(this,qt)}),q=ee,te="CALC_UNIT",M=new RegExp(te,"g");function L(qt){return typeof qt=="number"?"".concat(qt).concat(te):qt}var X=function(qt){(0,K.Z)(ar,qt);var ur=(0,ae.Z)(ar);function ar(mr,pr){var _n;(0,l.Z)(this,ar),_n=ur.call(this),(0,n.Z)((0,V.Z)(_n),"result",""),(0,n.Z)((0,V.Z)(_n),"unitlessCssVar",void 0),(0,n.Z)((0,V.Z)(_n),"lowPriority",void 0);var xn=(0,se.Z)(mr);return _n.unitlessCssVar=pr,mr instanceof ar?_n.result="(".concat(mr.result,")"):xn==="number"?_n.result=L(mr):xn==="string"&&(_n.result=mr),_n}return(0,b.Z)(ar,[{key:"add",value:function(pr){return pr instanceof ar?this.result="".concat(this.result," + ").concat(pr.getResult()):(typeof pr=="number"||typeof pr=="string")&&(this.result="".concat(this.result," + ").concat(L(pr))),this.lowPriority=!0,this}},{key:"sub",value:function(pr){return pr instanceof ar?this.result="".concat(this.result," - ").concat(pr.getResult()):(typeof pr=="number"||typeof pr=="string")&&(this.result="".concat(this.result," - ").concat(L(pr))),this.lowPriority=!0,this}},{key:"mul",value:function(pr){return this.lowPriority&&(this.result="(".concat(this.result,")")),pr instanceof ar?this.result="".concat(this.result," * ").concat(pr.getResult(!0)):(typeof pr=="number"||typeof pr=="string")&&(this.result="".concat(this.result," * ").concat(pr)),this.lowPriority=!1,this}},{key:"div",value:function(pr){return this.lowPriority&&(this.result="(".concat(this.result,")")),pr instanceof ar?this.result="".concat(this.result," / ").concat(pr.getResult(!0)):(typeof pr=="number"||typeof pr=="string")&&(this.result="".concat(this.result," / ").concat(pr)),this.lowPriority=!1,this}},{key:"getResult",value:function(pr){return this.lowPriority||pr?"(".concat(this.result,")"):this.result}},{key:"equal",value:function(pr){var _n=this,xn=pr||{},Nn=xn.unit,$n=!0;return typeof Nn=="boolean"?$n=Nn:Array.from(this.unitlessCssVar).some(function(Jn){return _n.result.includes(Jn)})&&($n=!1),this.result=this.result.replace(M,$n?"px":""),typeof this.lowPriority!="undefined"?"calc(".concat(this.result,")"):this.result}}]),ar}(q),fe=function(qt){(0,K.Z)(ar,qt);var ur=(0,ae.Z)(ar);function ar(mr){var pr;return(0,l.Z)(this,ar),pr=ur.call(this),(0,n.Z)((0,V.Z)(pr),"result",0),mr instanceof ar?pr.result=mr.result:typeof mr=="number"&&(pr.result=mr),pr}return(0,b.Z)(ar,[{key:"add",value:function(pr){return pr instanceof ar?this.result+=pr.result:typeof pr=="number"&&(this.result+=pr),this}},{key:"sub",value:function(pr){return pr instanceof ar?this.result-=pr.result:typeof pr=="number"&&(this.result-=pr),this}},{key:"mul",value:function(pr){return pr instanceof ar?this.result*=pr.result:typeof pr=="number"&&(this.result*=pr),this}},{key:"div",value:function(pr){return pr instanceof ar?this.result/=pr.result:typeof pr=="number"&&(this.result/=pr),this}},{key:"equal",value:function(){return this.result}}]),ar}(q),xe=function(ur,ar){var mr=ur==="css"?X:fe;return function(pr){return new mr(pr,ar)}},Ce=xe;function Le(qt,ur){if(qt.length!==ur.length)return!1;for(var ar=0;ar1&&arguments[1]!==void 0?arguments[1]:!1,xn={map:this.cache};return ar.forEach(function(Nn){if(!xn)xn=void 0;else{var $n;xn=($n=xn)===null||$n===void 0||($n=$n.map)===null||$n===void 0?void 0:$n.get(Nn)}}),(mr=xn)!==null&&mr!==void 0&&mr.value&&_n&&(xn.value[1]=this.cacheCallTimes++),(pr=xn)===null||pr===void 0?void 0:pr.value}},{key:"get",value:function(ar){var mr;return(mr=this.internalGet(ar,!0))===null||mr===void 0?void 0:mr[0]}},{key:"has",value:function(ar){return!!this.internalGet(ar)}},{key:"set",value:function(ar,mr){var pr=this;if(!this.has(ar)){if(this.size()+1>qt.MAX_CACHE_SIZE+qt.MAX_CACHE_OFFSET){var _n=this.keys.reduce(function(Jn,sr){var Nr=(0,t.Z)(Jn,2),xr=Nr[1];return pr.internalGet(sr)[1]0,"[Ant Design CSS-in-JS] Theme should have at least one derivative function."),ht+=1}return(0,b.Z)(qt,[{key:"getDerivativeToken",value:function(ar){return this.derivatives.reduce(function(mr,pr){return pr(ar,mr)},void 0)}}]),qt}(),tr=new Oe;function Jt(qt){var ur=Array.isArray(qt)?qt:[qt];return tr.has(ur)||tr.set(ur,new At(ur)),tr.get(ur)}var cr=new WeakMap,Qe={};function Pt(qt,ur){for(var ar=cr,mr=0;mr3&&arguments[3]!==void 0?arguments[3]:{},_n=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;if(_n)return qt;var xn=(0,u.Z)((0,u.Z)({},pr),{},(mr={},(0,n.Z)(mr,F,ur),(0,n.Z)(mr,$,ar),mr)),Nn=Object.keys(xn).map(function($n){var Jn=xn[$n];return Jn?"".concat($n,'="').concat(Jn,'"'):null}).filter(function($n){return $n}).join(" ");return"")}var Pe=function(ur){var ar=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return"--".concat(ar?"".concat(ar,"-"):"").concat(ur).replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/([A-Z]+)([A-Z][a-z0-9]+)/g,"$1-$2").replace(/([a-z])([A-Z0-9])/g,"$1-$2").toLowerCase()},Je=function(ur,ar,mr){return Object.keys(ur).length?".".concat(ar).concat(mr!=null&&mr.scope?".".concat(mr.scope):"","{").concat(Object.entries(ur).map(function(pr){var _n=(0,t.Z)(pr,2),xn=_n[0],Nn=_n[1];return"".concat(xn,":").concat(Nn,";")}).join(""),"}"):""},Vt=function(ur,ar,mr){var pr={},_n={};return Object.entries(ur).forEach(function(xn){var Nn,$n,Jn=(0,t.Z)(xn,2),sr=Jn[0],Nr=Jn[1];if(mr!=null&&(Nn=mr.preserve)!==null&&Nn!==void 0&&Nn[sr])_n[sr]=Nr;else if((typeof Nr=="string"||typeof Nr=="number")&&!(mr!=null&&($n=mr.ignore)!==null&&$n!==void 0&&$n[sr])){var xr,mn=Pe(sr,mr==null?void 0:mr.prefix);pr[mn]=typeof Nr=="number"&&!(mr!=null&&(xr=mr.unitless)!==null&&xr!==void 0&&xr[sr])?"".concat(Nr,"px"):String(Nr),_n[sr]="var(".concat(mn,")")}}),[_n,Je(pr,ar,{scope:mr==null?void 0:mr.scope})]},Rt=e(34280),Nt=(0,u.Z)({},i),Bt=Nt.useInsertionEffect,Ct=function(ur,ar,mr){o.useMemo(ur,mr),(0,Rt.Z)(function(){return ar(!0)},mr)},Yt=Bt?function(qt,ur,ar){return Bt(function(){return qt(),ur()},ar)}:Ct,ze=Yt,ue=(0,u.Z)({},i),le=ue.useInsertionEffect,Dt=function(ur){var ar=[],mr=!1;function pr(_n){mr||ar.push(_n)}return o.useEffect(function(){return mr=!1,function(){mr=!0,ar.length&&ar.forEach(function(_n){return _n()})}},ur),pr},Te=function(){return function(ur){ur()}},dt=typeof le!="undefined"?Dt:Te,Ht=dt;function ct(){return!1}var Ie=!1;function Et(){return Ie}var ge=ct;if(0)var Ke,yt;function kt(qt,ur,ar,mr,pr){var _n=o.useContext(ne),xn=_n.cache,Nn=[qt].concat((0,s.Z)(ur)),$n=O(Nn),Jn=Ht([$n]),sr=ge(),Nr=function(ft){xn.opUpdate($n,function(Rn){var Kn=Rn||[void 0,void 0],li=(0,t.Z)(Kn,2),Bi=li[0],Kr=Bi===void 0?0:Bi,Qi=li[1],ya=Qi,Li=ya||ar(),Oa=[Kr,Li];return ft?ft(Oa):Oa})};o.useMemo(function(){Nr()},[$n]);var xr=xn.opGet($n),mn=xr[1];return ze(function(){pr==null||pr(mn)},function(zn){return Nr(function(ft){var Rn=(0,t.Z)(ft,2),Kn=Rn[0],li=Rn[1];return zn&&Kn===0&&(pr==null||pr(mn)),[Kn+1,li]}),function(){xn.opUpdate($n,function(ft){var Rn=ft||[],Kn=(0,t.Z)(Rn,2),li=Kn[0],Bi=li===void 0?0:li,Kr=Kn[1],Qi=Bi-1;return Qi===0?(Jn(function(){(zn||!xn.opGet($n))&&(mr==null||mr(Kr,!1))}),null):[Bi-1,Kr]})}},[$n]),mn}var Fe={},Dr="css",St=new Map;function Vr(qt){St.set(qt,(St.get(qt)||0)+1)}function qr(qt,ur){if(typeof document!="undefined"){var ar=document.querySelectorAll("style[".concat(F,'="').concat(qt,'"]'));ar.forEach(function(mr){if(mr[H]===ur){var pr;(pr=mr.parentNode)===null||pr===void 0||pr.removeChild(mr)}})}}var Er=0;function jr(qt,ur){St.set(qt,(St.get(qt)||0)-1);var ar=Array.from(St.keys()),mr=ar.filter(function(pr){var _n=St.get(pr)||0;return _n<=0});ar.length-mr.length>Er&&mr.forEach(function(pr){qr(pr,ur),St.delete(pr)})}var hr=function(ur,ar,mr,pr){var _n=mr.getDerivativeToken(ur),xn=(0,u.Z)((0,u.Z)({},_n),ar);return pr&&(xn=pr(xn)),xn},Zr="token";function sn(qt,ur){var ar=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},mr=(0,o.useContext)(ne),pr=mr.cache.instanceId,_n=mr.container,xn=ar.salt,Nn=xn===void 0?"":xn,$n=ar.override,Jn=$n===void 0?Fe:$n,sr=ar.formatToken,Nr=ar.getComputedToken,xr=ar.cssVar,mn=Pt(function(){return Object.assign.apply(Object,[{}].concat((0,s.Z)(ur)))},ur),zn=it(mn),ft=it(Jn),Rn=xr?it(xr):"",Kn=kt(Zr,[Nn,qt.id,zn,ft,Rn],function(){var li,Bi=Nr?Nr(mn,Jn,qt):hr(mn,Jn,qt,sr),Kr=(0,u.Z)({},Bi),Qi="";if(xr){var ya=Vt(Bi,xr.key,{prefix:xr.prefix,ignore:xr.ignore,unitless:xr.unitless,preserve:xr.preserve}),Li=(0,t.Z)(ya,2);Bi=Li[0],Qi=Li[1]}var Oa=Ot(Bi,Nn);Bi._tokenKey=Oa,Kr._tokenKey=Ot(Kr,Nn);var xs=(li=xr==null?void 0:xr.key)!==null&&li!==void 0?li:Oa;Bi._themeKey=xs,Vr(xs);var pi="".concat(Dr,"-").concat(c(Oa));return Bi._hashId=pi,[Bi,pi,Kr,Qi,(xr==null?void 0:xr.key)||""]},function(li){jr(li[0]._themeKey,pr)},function(li){var Bi=(0,t.Z)(li,4),Kr=Bi[0],Qi=Bi[3];if(xr&&Qi){var ya=(0,h.hq)(Qi,c("css-variables-".concat(Kr._themeKey)),{mark:$,prepend:"queue",attachTo:_n,priority:-999});ya[H]=pr,ya.setAttribute(F,Kr._themeKey)}});return Kn}var ln=function(ur,ar,mr){var pr=(0,t.Z)(ur,5),_n=pr[2],xn=pr[3],Nn=pr[4],$n=mr||{},Jn=$n.plain;if(!xn)return null;var sr=_n._tokenKey,Nr=-999,xr={"data-rc-order":"prependQueue","data-rc-priority":"".concat(Nr)},mn=Zt(xn,Nn,sr,xr,Jn);return[Nr,sr,mn]},or=e(92413),Lt={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},gt=Lt,bt="-ms-",jt="-moz-",Cr="-webkit-",br="comm",at="rule",Fr="decl",gn="@page",Wn="@media",gr="@import",Xr="@charset",dn="@viewport",Mn="@supports",ei="@document",ni="@namespace",Gi="@keyframes",Mi="@font-face",Ti="@counter-style",mi="@font-feature-values",vi="@layer",aa="@scope",ii=Math.abs,Wi=String.fromCharCode,wt=Object.assign;function st(qt,ur){return xi(qt,0)^45?(((ur<<2^xi(qt,0))<<2^xi(qt,1))<<2^xi(qt,2))<<2^xi(qt,3):0}function qn(qt){return qt.trim()}function bi(qt,ur){return(qt=ur.exec(qt))?qt[0]:qt}function ti(qt,ur,ar){return qt.replace(ur,ar)}function Ki(qt,ur,ar){return qt.indexOf(ur,ar)}function xi(qt,ur){return qt.charCodeAt(ur)|0}function Pi(qt,ur,ar){return qt.slice(ur,ar)}function ai(qt){return qt.length}function er(qt){return qt.length}function mt(qt,ur){return ur.push(qt),qt}function tt(qt,ur){return qt.map(ur).join("")}function It(qt,ur){return qt.filter(function(ar){return!bi(ar,ur)})}function _t(qt,ur){for(var ar="",mr=0;mr0?xi(ye,--Ue):0,Tr--,rt===10&&(Tr=1,fr--),rt}function Ur(){return rt=Ue2||tn(rt)>3?"":" "}function On(qt){for(;Ur();)switch(tn(rt)){case 0:append(Is(Ue-1),qt);break;case 2:append(ha(rt),qt);break;default:append(from(rt),qt)}return qt}function Ri(qt,ur){for(;--ur&&Ur()&&!(rt<48||rt>102||rt>57&&rt<65||rt>70&&rt<97););return cn(qt,Ir()+(ur<6&&yn()==32&&Ur()==32))}function $i(qt){for(;Ur();)switch(rt){case qt:return Ue;case 34:case 39:qt!==34&&qt!==39&&$i(rt);break;case 40:qt===41&&$i(qt);break;case 92:Ur();break}return Ue}function la(qt,ur){for(;Ur()&&qt+rt!==57;)if(qt+rt===84&&yn()===47)break;return"/*"+cn(ur,Ue-1)+"*"+Wi(qt===47?qt:Ur())}function Is(qt){for(;!tn(yn());)Ur();return cn(qt,Ue)}function ba(qt){return bn(As("",null,null,null,[""],qt=on(qt),0,[0],qt))}function As(qt,ur,ar,mr,pr,_n,xn,Nn,$n){for(var Jn=0,sr=0,Nr=xn,xr=0,mn=0,zn=0,ft=1,Rn=1,Kn=1,li=0,Bi="",Kr=pr,Qi=_n,ya=mr,Li=Bi;Rn;)switch(zn=li,li=Ur()){case 40:if(zn!=108&&xi(Li,Nr-1)==58){Ki(Li+=ti(ha(li),"&","&\f"),"&\f",ii(Jn?Nn[Jn-1]:0))!=-1&&(Kn=-1);break}case 34:case 39:case 91:Li+=ha(li);break;case 9:case 10:case 13:case 32:Li+=wi(zn);break;case 92:Li+=Ri(Ir()-1,7);continue;case 47:switch(yn()){case 42:case 47:mt(qa(la(Ur(),Ir()),ur,ar,$n),$n),(tn(zn||1)==5||tn(yn()||1)==5)&&ai(Li)&&Pi(Li,-1,void 0)!==" "&&(Li+=" ");break;default:Li+="/"}break;case 123*ft:Nn[Jn++]=ai(Li)*Kn;case 125*ft:case 59:case 0:switch(li){case 0:case 125:Rn=0;case 59+sr:Kn==-1&&(Li=ti(Li,/\f/g,"")),mn>0&&(ai(Li)-Nr||ft===0&&zn===47)&&mt(mn>32?na(Li+";",mr,ar,Nr-1,$n):na(ti(Li," ","")+";",mr,ar,Nr-2,$n),$n);break;case 59:Li+=";";default:if(mt(ya=Ds(Li,ur,ar,Jn,sr,pr,Nn,Bi,Kr=[],Qi=[],Nr,_n),_n),li===123)if(sr===0)As(Li,ur,ya,ya,Kr,_n,Nr,Nn,Qi);else{switch(xr){case 99:if(xi(Li,3)===110)break;case 108:if(xi(Li,2)===97)break;default:sr=0;case 100:case 109:case 115:}sr?As(qt,ya,ya,mr&&mt(Ds(qt,ya,ya,0,0,pr,Nn,Bi,pr,Kr=[],Nr,Qi),Qi),pr,Qi,Nr,Nn,mr?Kr:Qi):As(Li,ya,ya,ya,[""],Qi,0,Nn,Qi)}}Jn=sr=mn=0,ft=Kn=1,Bi=Li="",Nr=xn;break;case 58:Nr=1+ai(Li),mn=zn;default:if(ft<1){if(li==123)--ft;else if(li==125&&ft++==0&&Sr()==125)continue}switch(Li+=Wi(li),li*ft){case 38:Kn=sr>0?1:(Li+="\f",-1);break;case 44:Nn[Jn++]=(ai(Li)-1)*Kn,Kn=1;break;case 64:yn()===45&&(Li+=ha(Ur())),xr=yn(),sr=Nr=ai(Bi=Li+=Is(Ir())),li++;break;case 45:zn===45&&ai(Li)==2&&(ft=0)}}return _n}function Ds(qt,ur,ar,mr,pr,_n,xn,Nn,$n,Jn,sr,Nr){for(var xr=pr-1,mn=pr===0?_n:[""],zn=er(mn),ft=0,Rn=0,Kn=0;ft0?mn[li]+" "+Bi:ti(Bi,/&\f/g,mn[li])))&&($n[Kn++]=Kr);return Ye(qt,ur,ar,pr===0?at:Nn,$n,Jn,sr,Nr)}function qa(qt,ur,ar,mr){return Ye(qt,ur,ar,br,Wi(Or()),Pi(qt,2,-2),0,mr)}function na(qt,ur,ar,mr,pr){return Ye(qt,ur,ar,Fr,Pi(qt,0,mr),Pi(qt,mr+1,-1),mr,pr)}function Ii(qt,ur){var ar=ur.path,mr=ur.parentSelectors;(0,Ft.ZP)(!1,"[Ant Design CSS-in-JS] ".concat(ar?"Error in ".concat(ar,": "):"").concat(qt).concat(mr.length?" Selector: ".concat(mr.join(" | ")):""))}var Ts=function(ur,ar,mr){if(ur==="content"){var pr=/(attr|counters?|url|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,_n=["normal","none","initial","inherit","unset"];(typeof ar!="string"||_n.indexOf(ar)===-1&&!pr.test(ar)&&(ar.charAt(0)!==ar.charAt(ar.length-1)||ar.charAt(0)!=='"'&&ar.charAt(0)!=="'"))&&lintWarning("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\"".concat(ar,"\"'`."),mr)}},$a=null,Os=function(ur,ar,mr){ur==="animation"&&mr.hashId&&ar!=="none"&&lintWarning("You seem to be using hashed animation '".concat(ar,"', in which case 'animationName' with Keyframe as value is recommended."),mr)},zi=null;function ks(qt){var ur,ar=((ur=qt.match(/:not\(([^)]*)\)/))===null||ur===void 0?void 0:ur[1])||"",mr=ar.split(/(\[[^[]*])|(?=[.#])/).filter(function(pr){return pr});return mr.length>1}function Ro(qt){return qt.parentSelectors.reduce(function(ur,ar){return ur?ar.includes("&")?ar.replace(/&/g,ur):"".concat(ur," ").concat(ar):ar},"")}var ja=function(ur,ar,mr){var pr=Ro(mr),_n=pr.match(/:not\([^)]*\)/g)||[];_n.length>0&&_n.some(ks)&&Ii("Concat ':not' selector not support in legacy browsers.",mr)},ys=ja,rs=function(ur,ar,mr){switch(ur){case"marginLeft":case"marginRight":case"paddingLeft":case"paddingRight":case"left":case"right":case"borderLeft":case"borderLeftWidth":case"borderLeftStyle":case"borderLeftColor":case"borderRight":case"borderRightWidth":case"borderRightStyle":case"borderRightColor":case"borderTopLeftRadius":case"borderTopRightRadius":case"borderBottomLeftRadius":case"borderBottomRightRadius":Ii("You seem to be using non-logical property '".concat(ur,"' which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),mr);return;case"margin":case"padding":case"borderWidth":case"borderStyle":if(typeof ar=="string"){var pr=ar.split(" ").map(function(Nn){return Nn.trim()});pr.length===4&&pr[1]!==pr[3]&&Ii("You seem to be using '".concat(ur,"' property with different left ").concat(ur," and right ").concat(ur,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),mr)}return;case"clear":case"textAlign":(ar==="left"||ar==="right")&&Ii("You seem to be using non-logical value '".concat(ar,"' of ").concat(ur,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),mr);return;case"borderRadius":if(typeof ar=="string"){var _n=ar.split("/").map(function(Nn){return Nn.trim()}),xn=_n.reduce(function(Nn,$n){if(Nn)return Nn;var Jn=$n.split(" ").map(function(sr){return sr.trim()});return Jn.length>=2&&Jn[0]!==Jn[1]||Jn.length===3&&Jn[1]!==Jn[2]||Jn.length===4&&Jn[2]!==Jn[3]?!0:Nn},!1);xn&&Ii("You seem to be using non-logical value '".concat(ar,"' of ").concat(ur,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),mr)}return;default:}},Ws=rs,kn=function(ur,ar,mr){(typeof ar=="string"&&/NaN/g.test(ar)||Number.isNaN(ar))&&Ii("Unexpected 'NaN' in property '".concat(ur,": ").concat(ar,"'."),mr)},ns=kn,yo=function(ur,ar,mr){mr.parentSelectors.some(function(pr){var _n=pr.split(",");return _n.some(function(xn){return xn.split("&").length>2})})&&Ii("Should not use more than one `&` in a selector.",mr)},Rs=yo,Vi="data-ant-cssinjs-cache-path",Ua="_FILE_STYLE__";function Da(qt){return Object.keys(qt).map(function(ur){var ar=qt[ur];return"".concat(ur,":").concat(ar)}).join(";")}var vs,Gs=!0;function So(qt){var ur=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;vs=qt,Gs=ur}function _o(){if(!vs&&(vs={},(0,Q.Z)())){var qt=document.createElement("div");qt.className=Vi,qt.style.position="fixed",qt.style.visibility="hidden",qt.style.top="-9999px",document.body.appendChild(qt);var ur=getComputedStyle(qt).content||"";ur=ur.replace(/^"/,"").replace(/"$/,""),ur.split(";").forEach(function(pr){var _n=pr.split(":"),xn=(0,t.Z)(_n,2),Nn=xn[0],$n=xn[1];vs[Nn]=$n});var ar=document.querySelector("style[".concat(Vi,"]"));if(ar){var mr;Gs=!1,(mr=ar.parentNode)===null||mr===void 0||mr.removeChild(ar)}document.body.removeChild(qt)}}function Ks(qt){return _o(),!!vs[qt]}function Qs(qt){var ur=vs[qt],ar=null;if(ur&&(0,Q.Z)())if(Gs)ar=Ua;else{var mr=document.querySelector("style[".concat($,'="').concat(vs[qt],'"]'));mr?ar=mr.innerHTML:delete vs[qt]}return[ar,ur]}var Lo="_skip_check_",mo="_multi_value_";function Ho(qt){var ur=_t(ba(qt),lr);return ur.replace(/\{%%%\:[^;];}/g,";")}function Co(qt){return(0,se.Z)(qt)==="object"&&qt&&(Lo in qt||mo in qt)}function Xo(qt,ur,ar){if(!ur)return qt;var mr=".".concat(ur),pr=ar==="low"?":where(".concat(mr,")"):mr,_n=qt.split(",").map(function(xn){var Nn,$n=xn.trim().split(/\s+/),Jn=$n[0]||"",sr=((Nn=Jn.match(/^\w+/))===null||Nn===void 0?void 0:Nn[0])||"";return Jn="".concat(sr).concat(pr).concat(Jn.slice(sr.length)),[Jn].concat((0,s.Z)($n.slice(1))).join(" ")});return _n.join(",")}var hi=function qt(ur){var ar=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},mr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{root:!0,parentSelectors:[]},pr=mr.root,_n=mr.injectHash,xn=mr.parentSelectors,Nn=ar.hashId,$n=ar.layer,Jn=ar.path,sr=ar.hashPriority,Nr=ar.transformers,xr=Nr===void 0?[]:Nr,mn=ar.linters,zn=mn===void 0?[]:mn,ft="",Rn={};function Kn(Kr){var Qi=Kr.getName(Nn);if(!Rn[Qi]){var ya=qt(Kr.style,ar,{root:!1,parentSelectors:xn}),Li=(0,t.Z)(ya,1),Oa=Li[0];Rn[Qi]="@keyframes ".concat(Kr.getName(Nn)).concat(Oa)}}function li(Kr){var Qi=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return Kr.forEach(function(ya){Array.isArray(ya)?li(ya,Qi):ya&&Qi.push(ya)}),Qi}var Bi=li(Array.isArray(ur)?ur:[ur]);return Bi.forEach(function(Kr){var Qi=typeof Kr=="string"&&!pr?{}:Kr;if(typeof Qi=="string")ft+="".concat(Qi,` `);else if(Qi._keyframe)Kn(Qi);else{var ya=xr.reduce(function(Li,Oa){var xs;return(Oa==null||(xs=Oa.visit)===null||xs===void 0?void 0:xs.call(Oa,Li))||Li},Qi);Object.keys(ya).forEach(function(Li){var Oa=ya[Li];if((0,se.Z)(Oa)==="object"&&Oa&&(Li!=="animationName"||!Oa._keyframe)&&!Co(Oa)){var xs=!1,pi=Li.trim(),hn=!1;(pr||_n)&&Nn?pi.startsWith("@")?xs=!0:pi==="&"?pi=Xo("",Nn,sr):pi=Xo(Li,Nn,sr):pr&&!Nn&&(pi==="&"||pi==="")&&(pi="",hn=!0);var To=qt(Oa,ar,{root:hn,injectHash:xs,parentSelectors:[].concat((0,s.Z)(xn),[pi])}),ms=(0,t.Z)(To,2),ka=ms[0],no=ms[1];Rn=(0,u.Z)((0,u.Z)({},Rn),no),ft+="".concat(pi).concat(ka)}else{let us=function(Ls,Ve){var qe=Ls.replace(/[A-Z]/g,function(Wt){return"-".concat(Wt.toLowerCase())}),Mt=Ve;!gt[Ls]&&typeof Mt=="number"&&Mt!==0&&(Mt="".concat(Mt,"px")),Ls==="animationName"&&Ve!==null&&Ve!==void 0&&Ve._keyframe&&(Kn(Ve),Mt=Ve.getName(Nn)),ft+="".concat(qe,":").concat(Mt,";")};var qs,Cn=(qs=Oa==null?void 0:Oa.value)!==null&&qs!==void 0?qs:Oa;(0,se.Z)(Oa)==="object"&&Oa!==null&&Oa!==void 0&&Oa[mo]&&Array.isArray(Cn)?Cn.forEach(function(Ls){us(Li,Ls)}):us(Li,Cn)}})}}),pr?$n&&(ft&&(ft="@layer ".concat($n.name," {").concat(ft,"}")),$n.dependencies&&(Rn["@layer ".concat($n.name)]=$n.dependencies.map(function(Kr){return"@layer ".concat(Kr,", ").concat($n.name,";")}).join(` `))):ft="{".concat(ft,"}"),[ft,Rn]};function Gn(qt,ur){return c("".concat(qt.join("%")).concat(ur))}function ga(){return null}var os="style";function Ba(qt,ur){var ar=qt.token,mr=qt.path,pr=qt.hashId,_n=qt.layer,xn=qt.nonce,Nn=qt.clientOnly,$n=qt.order,Jn=$n===void 0?0:$n,sr=o.useContext(ne),Nr=sr.autoClear,xr=sr.mock,mn=sr.defaultCache,zn=sr.hashPriority,ft=sr.container,Rn=sr.ssrInline,Kn=sr.transformers,li=sr.linters,Bi=sr.cache,Kr=sr.layer,Qi=ar._tokenKey,ya=[Qi];Kr&&ya.push("layer"),ya.push.apply(ya,(0,s.Z)(mr));var Li=ut,Oa=kt(os,ya,function(){var ms=ya.join("|");if(Ks(ms)){var ka=Qs(ms),no=(0,t.Z)(ka,2),qs=no[0],Cn=no[1];if(qs)return[qs,Qi,Cn,{},Nn,Jn]}var us=ur(),Ls=hi(us,{hashId:pr,hashPriority:zn,layer:Kr?_n:void 0,path:mr.join("-"),transformers:Kn,linters:li}),Ve=(0,t.Z)(Ls,2),qe=Ve[0],Mt=Ve[1],Wt=Ho(qe),dr=Gn(ya,Wt);return[Wt,Qi,dr,Mt,Nn,Jn]},function(ms,ka){var no=(0,t.Z)(ms,3),qs=no[2];(ka||Nr)&&ut&&(0,h.jL)(qs,{mark:$})},function(ms){var ka=(0,t.Z)(ms,4),no=ka[0],qs=ka[1],Cn=ka[2],us=ka[3];if(Li&&no!==Ua){var Ls={mark:$,prepend:Kr?!1:"queue",attachTo:ft,priority:Jn},Ve=typeof xn=="function"?xn():xn;Ve&&(Ls.csp={nonce:Ve});var qe=[],Mt=[];Object.keys(us).forEach(function(dr){dr.startsWith("@layer")?qe.push(dr):Mt.push(dr)}),qe.forEach(function(dr){(0,h.hq)(Ho(us[dr]),"_layer-".concat(dr),(0,u.Z)((0,u.Z)({},Ls),{},{prepend:!0}))});var Wt=(0,h.hq)(no,Cn,Ls);Wt[H]=Bi.instanceId,Wt.setAttribute(F,Qi),Mt.forEach(function(dr){(0,h.hq)(Ho(us[dr]),"_effect-".concat(dr),Ls)})}}),xs=(0,t.Z)(Oa,3),pi=xs[0],hn=xs[1],To=xs[2];return function(ms){var ka;if(!Rn||Li||!mn)ka=o.createElement(ga,null);else{var no;ka=o.createElement("style",(0,or.Z)({},(no={},(0,n.Z)(no,F,hn),(0,n.Z)(no,$,To),no),{dangerouslySetInnerHTML:{__html:pi}}))}return o.createElement(o.Fragment,null,ka,ms)}}var ro=function(ur,ar,mr){var pr=(0,t.Z)(ur,6),_n=pr[0],xn=pr[1],Nn=pr[2],$n=pr[3],Jn=pr[4],sr=pr[5],Nr=mr||{},xr=Nr.plain;if(Jn)return null;var mn=_n,zn={"data-rc-order":"prependQueue","data-rc-priority":"".concat(sr)};return mn=Zt(_n,xn,Nn,zn,xr),$n&&Object.keys($n).forEach(function(ft){if(!ar[ft]){ar[ft]=!0;var Rn=Ho($n[ft]),Kn=Zt(Rn,xn,"_effect-".concat(ft),zn,xr);ft.startsWith("@layer")?mn=Kn+mn:mn+=Kn}}),[sr,Nn,mn]},Wo="cssVar",iu=function(ur,ar){var mr=ur.key,pr=ur.prefix,_n=ur.unitless,xn=ur.ignore,Nn=ur.token,$n=ur.scope,Jn=$n===void 0?"":$n,sr=(0,o.useContext)(ne),Nr=sr.cache.instanceId,xr=sr.container,mn=Nn._tokenKey,zn=[].concat((0,s.Z)(ur.path),[mr,Jn,mn]),ft=kt(Wo,zn,function(){var Rn=ar(),Kn=Vt(Rn,mr,{prefix:pr,unitless:_n,ignore:xn,scope:Jn}),li=(0,t.Z)(Kn,2),Bi=li[0],Kr=li[1],Qi=Gn(zn,Kr);return[Bi,Kr,Qi,mr]},function(Rn){var Kn=(0,t.Z)(Rn,3),li=Kn[2];ut&&(0,h.jL)(li,{mark:$})},function(Rn){var Kn=(0,t.Z)(Rn,3),li=Kn[1],Bi=Kn[2];if(li){var Kr=(0,h.hq)(li,Bi,{mark:$,prepend:"queue",attachTo:xr,priority:-999});Kr[H]=Nr,Kr.setAttribute(F,mr)}});return ft},_s=function(ur,ar,mr){var pr=(0,t.Z)(ur,4),_n=pr[1],xn=pr[2],Nn=pr[3],$n=mr||{},Jn=$n.plain;if(!_n)return null;var sr=-999,Nr={"data-rc-order":"prependQueue","data-rc-priority":"".concat(sr)},xr=Zt(_n,Nn,xn,Nr,Jn);return[sr,xn,xr]},vu=iu,$o,fu=($o={},(0,n.Z)($o,os,ro),(0,n.Z)($o,Zr,ln),(0,n.Z)($o,Wo,_s),$o);function gu(qt){return qt!==null}function Qu(qt,ur){var ar=typeof ur=="boolean"?{plain:ur}:ur||{},mr=ar.plain,pr=mr===void 0?!1:mr,_n=ar.types,xn=_n===void 0?["style","token","cssVar"]:_n,Nn=new RegExp("^(".concat((typeof xn=="string"?[xn]:xn).join("|"),")%")),$n=Array.from(qt.cache.keys()).filter(function(xr){return Nn.test(xr)}),Jn={},sr={},Nr="";return $n.map(function(xr){var mn=xr.replace(Nn,"").replace(/%/g,"|"),zn=xr.split("%"),ft=(0,t.Z)(zn,1),Rn=ft[0],Kn=fu[Rn],li=Kn(qt.cache.get(xr)[1],Jn,{plain:pr});if(!li)return null;var Bi=(0,t.Z)(li,3),Kr=Bi[0],Qi=Bi[1],ya=Bi[2];return xr.startsWith("style")&&(sr[mn]=Qi),[Kr,ya]}).filter(gu).sort(function(xr,mn){var zn=(0,t.Z)(xr,1),ft=zn[0],Rn=(0,t.Z)(mn,1),Kn=Rn[0];return ft-Kn}).forEach(function(xr){var mn=(0,t.Z)(xr,2),zn=mn[1];Nr+=zn}),Nr+=Zt(".".concat(Vi,'{content:"').concat(Da(sr),'";}'),void 0,void 0,(0,n.Z)({},Vi,Vi),pr),Nr}var Mo=function(){function qt(ur,ar){(0,l.Z)(this,qt),(0,n.Z)(this,"name",void 0),(0,n.Z)(this,"style",void 0),(0,n.Z)(this,"_keyframe",!0),this.name=ur,this.style=ar}return(0,b.Z)(qt,[{key:"getName",value:function(){var ar=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return ar?"".concat(ar,"-").concat(this.name):this.name}}]),qt}(),Bs=Mo;function Ou(qt){if(typeof qt=="number")return[[qt],!1];var ur=String(qt).trim(),ar=ur.match(/(.*)(!important)/),mr=(ar?ar[1]:ur).trim().split(/\s+/),pr=[],_n=0;return[mr.reduce(function(xn,Nn){if(Nn.includes("(")||Nn.includes(")")){var $n=Nn.split("(").length-1,Jn=Nn.split(")").length-1;_n+=$n-Jn}return _n>=0&&pr.push(Nn),_n===0&&(xn.push(pr.join(" ")),pr=[]),xn},[]),!!ar]}function Go(qt){return qt.notSplit=!0,qt}var bs={inset:["top","right","bottom","left"],insetBlock:["top","bottom"],insetBlockStart:["top"],insetBlockEnd:["bottom"],insetInline:["left","right"],insetInlineStart:["left"],insetInlineEnd:["right"],marginBlock:["marginTop","marginBottom"],marginBlockStart:["marginTop"],marginBlockEnd:["marginBottom"],marginInline:["marginLeft","marginRight"],marginInlineStart:["marginLeft"],marginInlineEnd:["marginRight"],paddingBlock:["paddingTop","paddingBottom"],paddingBlockStart:["paddingTop"],paddingBlockEnd:["paddingBottom"],paddingInline:["paddingLeft","paddingRight"],paddingInlineStart:["paddingLeft"],paddingInlineEnd:["paddingRight"],borderBlock:Go(["borderTop","borderBottom"]),borderBlockStart:Go(["borderTop"]),borderBlockEnd:Go(["borderBottom"]),borderInline:Go(["borderLeft","borderRight"]),borderInlineStart:Go(["borderLeft"]),borderInlineEnd:Go(["borderRight"]),borderBlockWidth:["borderTopWidth","borderBottomWidth"],borderBlockStartWidth:["borderTopWidth"],borderBlockEndWidth:["borderBottomWidth"],borderInlineWidth:["borderLeftWidth","borderRightWidth"],borderInlineStartWidth:["borderLeftWidth"],borderInlineEndWidth:["borderRightWidth"],borderBlockStyle:["borderTopStyle","borderBottomStyle"],borderBlockStartStyle:["borderTopStyle"],borderBlockEndStyle:["borderBottomStyle"],borderInlineStyle:["borderLeftStyle","borderRightStyle"],borderInlineStartStyle:["borderLeftStyle"],borderInlineEndStyle:["borderRightStyle"],borderBlockColor:["borderTopColor","borderBottomColor"],borderBlockStartColor:["borderTopColor"],borderBlockEndColor:["borderBottomColor"],borderInlineColor:["borderLeftColor","borderRightColor"],borderInlineStartColor:["borderLeftColor"],borderInlineEndColor:["borderRightColor"],borderStartStartRadius:["borderTopLeftRadius"],borderStartEndRadius:["borderTopRightRadius"],borderEndStartRadius:["borderBottomLeftRadius"],borderEndEndRadius:["borderBottomRightRadius"]};function bo(qt,ur){var ar=qt;return ur&&(ar="".concat(ar," !important")),{_skip_check_:!0,value:ar}}var yu={visit:function(ur){var ar={};return Object.keys(ur).forEach(function(mr){var pr=ur[mr],_n=bs[mr];if(_n&&(typeof pr=="number"||typeof pr=="string")){var xn=Ou(pr),Nn=(0,t.Z)(xn,2),$n=Nn[0],Jn=Nn[1];_n.length&&_n.notSplit?_n.forEach(function(sr){ar[sr]=bo(pr,Jn)}):_n.length===1?ar[_n[0]]=bo($n[0],Jn):_n.length===2?_n.forEach(function(sr,Nr){var xr;ar[sr]=bo((xr=$n[Nr])!==null&&xr!==void 0?xr:$n[0],Jn)}):_n.length===4?_n.forEach(function(sr,Nr){var xr,mn;ar[sr]=bo((xr=(mn=$n[Nr])!==null&&mn!==void 0?mn:$n[Nr-2])!==null&&xr!==void 0?xr:$n[0],Jn)}):ar[mr]=pr}else ar[mr]=pr}),ar}},Ao=yu,jo=/url\([^)]+\)|var\([^)]+\)|(\d*\.?\d+)px/g;function Vs(qt,ur){var ar=Math.pow(10,ur+1),mr=Math.floor(qt*ar);return Math.round(mr/10)*10/ar}var so=function(){var ur=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},ar=ur.rootValue,mr=ar===void 0?16:ar,pr=ur.precision,_n=pr===void 0?5:pr,xn=ur.mediaQuery,Nn=xn===void 0?!1:xn,$n=function(Nr,xr){if(!xr)return Nr;var mn=parseFloat(xr);if(mn<=1)return Nr;var zn=Vs(mn/mr,_n);return"".concat(zn,"rem")},Jn=function(Nr){var xr=(0,u.Z)({},Nr);return Object.entries(Nr).forEach(function(mn){var zn=(0,t.Z)(mn,2),ft=zn[0],Rn=zn[1];if(typeof Rn=="string"&&Rn.includes("px")){var Kn=Rn.replace(jo,$n);xr[ft]=Kn}!gt[ft]&&typeof Rn=="number"&&Rn!==0&&(xr[ft]="".concat(Rn,"px").replace(jo,$n));var li=ft.trim();if(li.startsWith("@")&&li.includes("px")&&Nn){var Bi=ft.replace(jo,$n);xr[Bi]=xr[ft],delete xr[ft]}}),xr};return{visit:Jn}},sl=so,Ns={supportModernCSS:function(){return $e()&&nt()}}},7657:function(d,v,e){"use strict";e.d(v,{Z:function(){return te}});var t=e(92413),n=e(33606),s=e(400),u=e(37061),f=e(59301),c=e(92310),h=e.n(c),o=e(93398),i=e(18418),y=e(33708),p=e(39559),g=e(810),l=e(96452),b=e(48736);function x(M){return M.replace(/-(.)/g,function(L,X){return X.toUpperCase()})}function O(M,L){(0,b.ZP)(M,"[@ant-design/icons] ".concat(L))}function k(M){return(0,p.Z)(M)==="object"&&typeof M.name=="string"&&typeof M.theme=="string"&&((0,p.Z)(M.icon)==="object"||typeof M.icon=="function")}function A(){var M=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(M).reduce(function(L,X){var fe=M[X];switch(X){case"class":L.className=fe,delete L.class;break;default:delete L[X],L[x(X)]=fe}return L},{})}function T(M,L,X){return X?f.createElement(M.tag,(0,y.Z)((0,y.Z)({key:L},A(M.attrs)),X),(M.children||[]).map(function(fe,xe){return T(fe,"".concat(L,"-").concat(M.tag,"-").concat(xe))})):f.createElement(M.tag,(0,y.Z)({key:L},A(M.attrs)),(M.children||[]).map(function(fe,xe){return T(fe,"".concat(L,"-").concat(M.tag,"-").concat(xe))}))}function F(M){return(0,o.generate)(M)[0]}function $(M){return M?Array.isArray(M)?M:[M]:[]}var R={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},H=` .anticon { display: inline-flex; align-items: center; color: inherit; font-style: normal; line-height: 0; text-align: center; text-transform: none; vertical-align: -0.125em; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .anticon > * { line-height: 1; } .anticon svg { display: inline-block; } .anticon::before { display: none; } .anticon .anticon-icon { display: block; } .anticon[tabindex] { cursor: pointer; } .anticon-spin::before, .anticon-spin { display: inline-block; -webkit-animation: loadingCircle 1s infinite linear; animation: loadingCircle 1s infinite linear; } @-webkit-keyframes loadingCircle { 100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); } } @keyframes loadingCircle { 100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); } } `,G=function(L){var X=(0,f.useContext)(i.Z),fe=X.csp,xe=X.prefixCls,Ce=X.layer,Le=H;xe&&(Le=Le.replace(/anticon/g,xe)),Ce&&(Le="@layer ".concat(Ce,` { `).concat(Le,` }`)),(0,f.useEffect)(function(){var Oe=L.current,Ft=(0,l.A)(Oe);(0,g.hq)(Le,"@ant-design-icons",{prepend:!Ce,csp:fe,attachTo:Ft})},[])},Z=["icon","className","onClick","style","primaryColor","secondaryColor"],ie={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function ne(M){var L=M.primaryColor,X=M.secondaryColor;ie.primaryColor=L,ie.secondaryColor=X||F(L),ie.calculated=!!X}function se(){return(0,y.Z)({},ie)}var Q=function(L){var X=L.icon,fe=L.className,xe=L.onClick,Ce=L.style,Le=L.primaryColor,Oe=L.secondaryColor,Ft=(0,u.Z)(L,Z),ht=f.useRef(),At=ie;if(Le&&(At={primaryColor:Le,secondaryColor:Oe||F(Le)}),G(ht),O(k(X),"icon should be icon definiton, but got ".concat(X)),!k(X))return null;var tr=X;return tr&&typeof tr.icon=="function"&&(tr=(0,y.Z)((0,y.Z)({},tr),{},{icon:tr.icon(At.primaryColor,At.secondaryColor)})),T(tr.icon,"svg-".concat(tr.name),(0,y.Z)((0,y.Z)({className:fe,onClick:xe,style:Ce,"data-icon":tr.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},Ft),{},{ref:ht}))};Q.displayName="IconReact",Q.getTwoToneColors=se,Q.setTwoToneColors=ne;var V=Q;function K(M){var L=$(M),X=(0,n.Z)(L,2),fe=X[0],xe=X[1];return V.setTwoToneColors({primaryColor:fe,secondaryColor:xe})}function ae(){var M=V.getTwoToneColors();return M.calculated?[M.primaryColor,M.secondaryColor]:M.primaryColor}var ee=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];K(o.blue.primary);var q=f.forwardRef(function(M,L){var X=M.className,fe=M.icon,xe=M.spin,Ce=M.rotate,Le=M.tabIndex,Oe=M.onClick,Ft=M.twoToneColor,ht=(0,u.Z)(M,ee),At=f.useContext(i.Z),tr=At.prefixCls,Jt=tr===void 0?"anticon":tr,cr=At.rootClassName,Qe=h()(cr,Jt,(0,s.Z)((0,s.Z)({},"".concat(Jt,"-").concat(fe.name),!!fe.name),"".concat(Jt,"-spin"),!!xe||fe.name==="loading"),X),Pt=Le;Pt===void 0&&Oe&&(Pt=-1);var zt=Ce?{msTransform:"rotate(".concat(Ce,"deg)"),transform:"rotate(".concat(Ce,"deg)")}:void 0,it=$(Ft),Ot=(0,n.Z)(it,2),pt=Ot[0],et=Ot[1];return f.createElement("span",(0,t.Z)({role:"img","aria-label":fe.name},ht,{ref:L,tabIndex:Pt,onClick:Oe,className:Qe}),f.createElement(V,{icon:fe,primaryColor:pt,secondaryColor:et,style:zt}))});q.displayName="AntdIcon",q.getTwoToneColor=ae,q.setTwoToneColor=K;var te=q},18418:function(d,v,e){"use strict";var t=e(59301),n=(0,t.createContext)({});v.Z=n},29679:function(d,v,e){"use strict";e.d(v,{Z:function(){return o}});var t=e(92413),n=e(59301),s={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"},u=s,f=e(7657),c=function(y,p){return n.createElement(f.Z,(0,t.Z)({},y,{ref:p,icon:u}))},h=n.forwardRef(c),o=h},19248:function(d,v,e){"use strict";e.d(v,{Z:function(){return o}});var t=e(92413),n=e(59301),s={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z"}}]},name:"close-circle",theme:"filled"},u=s,f=e(7657),c=function(y,p){return n.createElement(f.Z,(0,t.Z)({},y,{ref:p,icon:u}))},h=n.forwardRef(c),o=h},99267:function(d,v,e){"use strict";e.d(v,{Z:function(){return o}});var t=e(92413),n=e(59301),s={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"}}]},name:"close",theme:"outlined"},u=s,f=e(7657),c=function(y,p){return n.createElement(f.Z,(0,t.Z)({},y,{ref:p,icon:u}))},h=n.forwardRef(c),o=h},96512:function(d,v,e){"use strict";e.d(v,{Z:function(){return o}});var t=e(92413),n=e(59301),s={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"exclamation-circle",theme:"filled"},u=s,f=e(7657),c=function(y,p){return n.createElement(f.Z,(0,t.Z)({},y,{ref:p,icon:u}))},h=n.forwardRef(c),o=h},78987:function(d,v,e){"use strict";e.d(v,{Z:function(){return o}});var t=e(92413),n=e(59301),s={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"info-circle",theme:"filled"},u=s,f=e(7657),c=function(y,p){return n.createElement(f.Z,(0,t.Z)({},y,{ref:p,icon:u}))},h=n.forwardRef(c),o=h},58617:function(d,v,e){"use strict";e.d(v,{Z:function(){return o}});var t=e(92413),n=e(59301),s={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"},u=s,f=e(7657),c=function(y,p){return n.createElement(f.Z,(0,t.Z)({},y,{ref:p,icon:u}))},h=n.forwardRef(c),o=h},12722:function(d,v,e){"use strict";e.d(v,{GC:function(){return y},T6:function(){return g},VD:function(){return l},WE:function(){return h},Wl:function(){return p},Yt:function(){return b},lC:function(){return s},py:function(){return c},rW:function(){return n},s:function(){return i},ve:function(){return f},vq:function(){return o}});var t=e(12187);function n(x,O,k){return{r:(0,t.sh)(x,255)*255,g:(0,t.sh)(O,255)*255,b:(0,t.sh)(k,255)*255}}function s(x,O,k){x=(0,t.sh)(x,255),O=(0,t.sh)(O,255),k=(0,t.sh)(k,255);var A=Math.max(x,O,k),T=Math.min(x,O,k),F=0,$=0,R=(A+T)/2;if(A===T)$=0,F=0;else{var H=A-T;switch($=R>.5?H/(2-A-T):H/(A+T),A){case x:F=(O-k)/H+(O1&&(k-=1),k<.16666666666666666?x+(O-x)*(6*k):k<.5?O:k<.6666666666666666?x+(O-x)*(.6666666666666666-k)*6:x}function f(x,O,k){var A,T,F;if(x=(0,t.sh)(x,360),O=(0,t.sh)(O,100),k=(0,t.sh)(k,100),O===0)T=k,F=k,A=k;else{var $=k<.5?k*(1+O):k+O-k*O,R=2*k-$;A=u(R,$,x+.3333333333333333),T=u(R,$,x),F=u(R,$,x-.3333333333333333)}return{r:A*255,g:T*255,b:F*255}}function c(x,O,k){x=(0,t.sh)(x,255),O=(0,t.sh)(O,255),k=(0,t.sh)(k,255);var A=Math.max(x,O,k),T=Math.min(x,O,k),F=0,$=A,R=A-T,H=A===0?0:R/A;if(A===T)F=0;else{switch(A){case x:F=(O-k)/R+(O>16,g:(x&65280)>>8,b:x&255}}},93796:function(d,v,e){"use strict";e.d(v,{R:function(){return t}});var t={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"}},9915:function(d,v,e){"use strict";e.d(v,{ky:function(){return g},uA:function(){return u},uz:function(){return p}});var t=e(12722),n=e(93796),s=e(12187);function u(l){var b={r:0,g:0,b:0},x=1,O=null,k=null,A=null,T=!1,F=!1;return typeof l=="string"&&(l=p(l)),typeof l=="object"&&(g(l.r)&&g(l.g)&&g(l.b)?(b=(0,t.rW)(l.r,l.g,l.b),T=!0,F=String(l.r).substr(-1)==="%"?"prgb":"rgb"):g(l.h)&&g(l.s)&&g(l.v)?(O=(0,s.JX)(l.s),k=(0,s.JX)(l.v),b=(0,t.WE)(l.h,O,k),T=!0,F="hsv"):g(l.h)&&g(l.s)&&g(l.l)&&(O=(0,s.JX)(l.s),A=(0,s.JX)(l.l),b=(0,t.ve)(l.h,O,A),T=!0,F="hsl"),Object.prototype.hasOwnProperty.call(l,"a")&&(x=l.a)),x=(0,s.Yq)(x),{ok:T,format:l.format||F,r:Math.min(255,Math.max(b.r,0)),g:Math.min(255,Math.max(b.g,0)),b:Math.min(255,Math.max(b.b,0)),a:x}}var f="[-\\+]?\\d+%?",c="[-\\+]?\\d*\\.\\d+%?",h="(?:".concat(c,")|(?:").concat(f,")"),o="[\\s|\\(]+(".concat(h,")[,|\\s]+(").concat(h,")[,|\\s]+(").concat(h,")\\s*\\)?"),i="[\\s|\\(]+(".concat(h,")[,|\\s]+(").concat(h,")[,|\\s]+(").concat(h,")[,|\\s]+(").concat(h,")\\s*\\)?"),y={CSS_UNIT:new RegExp(h),rgb:new RegExp("rgb"+o),rgba:new RegExp("rgba"+i),hsl:new RegExp("hsl"+o),hsla:new RegExp("hsla"+i),hsv:new RegExp("hsv"+o),hsva:new RegExp("hsva"+i),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function p(l){if(l=l.trim().toLowerCase(),l.length===0)return!1;var b=!1;if(n.R[l])l=n.R[l],b=!0;else if(l==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var x=y.rgb.exec(l);return x?{r:x[1],g:x[2],b:x[3]}:(x=y.rgba.exec(l),x?{r:x[1],g:x[2],b:x[3],a:x[4]}:(x=y.hsl.exec(l),x?{h:x[1],s:x[2],l:x[3]}:(x=y.hsla.exec(l),x?{h:x[1],s:x[2],l:x[3],a:x[4]}:(x=y.hsv.exec(l),x?{h:x[1],s:x[2],v:x[3]}:(x=y.hsva.exec(l),x?{h:x[1],s:x[2],v:x[3],a:x[4]}:(x=y.hex8.exec(l),x?{r:(0,t.VD)(x[1]),g:(0,t.VD)(x[2]),b:(0,t.VD)(x[3]),a:(0,t.T6)(x[4]),format:b?"name":"hex8"}:(x=y.hex6.exec(l),x?{r:(0,t.VD)(x[1]),g:(0,t.VD)(x[2]),b:(0,t.VD)(x[3]),format:b?"name":"hex"}:(x=y.hex4.exec(l),x?{r:(0,t.VD)(x[1]+x[1]),g:(0,t.VD)(x[2]+x[2]),b:(0,t.VD)(x[3]+x[3]),a:(0,t.T6)(x[4]+x[4]),format:b?"name":"hex8"}:(x=y.hex3.exec(l),x?{r:(0,t.VD)(x[1]+x[1]),g:(0,t.VD)(x[2]+x[2]),b:(0,t.VD)(x[3]+x[3]),format:b?"name":"hex"}:!1)))))))))}function g(l){return!!y.CSS_UNIT.exec(String(l))}},64993:function(d,v,e){"use strict";e.d(v,{C:function(){return f},H:function(){return c}});var t=e(12722),n=e(93796),s=e(9915),u=e(12187),f=function(){function h(o,i){o===void 0&&(o=""),i===void 0&&(i={});var y;if(o instanceof h)return o;typeof o=="number"&&(o=(0,t.Yt)(o)),this.originalInput=o;var p=(0,s.uA)(o);this.originalInput=o,this.r=p.r,this.g=p.g,this.b=p.b,this.a=p.a,this.roundA=Math.round(100*this.a)/100,this.format=(y=i.format)!==null&&y!==void 0?y:p.format,this.gradientType=i.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=p.ok}return h.prototype.isDark=function(){return this.getBrightness()<128},h.prototype.isLight=function(){return!this.isDark()},h.prototype.getBrightness=function(){var o=this.toRgb();return(o.r*299+o.g*587+o.b*114)/1e3},h.prototype.getLuminance=function(){var o=this.toRgb(),i,y,p,g=o.r/255,l=o.g/255,b=o.b/255;return g<=.03928?i=g/12.92:i=Math.pow((g+.055)/1.055,2.4),l<=.03928?y=l/12.92:y=Math.pow((l+.055)/1.055,2.4),b<=.03928?p=b/12.92:p=Math.pow((b+.055)/1.055,2.4),.2126*i+.7152*y+.0722*p},h.prototype.getAlpha=function(){return this.a},h.prototype.setAlpha=function(o){return this.a=(0,u.Yq)(o),this.roundA=Math.round(100*this.a)/100,this},h.prototype.isMonochrome=function(){var o=this.toHsl().s;return o===0},h.prototype.toHsv=function(){var o=(0,t.py)(this.r,this.g,this.b);return{h:o.h*360,s:o.s,v:o.v,a:this.a}},h.prototype.toHsvString=function(){var o=(0,t.py)(this.r,this.g,this.b),i=Math.round(o.h*360),y=Math.round(o.s*100),p=Math.round(o.v*100);return this.a===1?"hsv(".concat(i,", ").concat(y,"%, ").concat(p,"%)"):"hsva(".concat(i,", ").concat(y,"%, ").concat(p,"%, ").concat(this.roundA,")")},h.prototype.toHsl=function(){var o=(0,t.lC)(this.r,this.g,this.b);return{h:o.h*360,s:o.s,l:o.l,a:this.a}},h.prototype.toHslString=function(){var o=(0,t.lC)(this.r,this.g,this.b),i=Math.round(o.h*360),y=Math.round(o.s*100),p=Math.round(o.l*100);return this.a===1?"hsl(".concat(i,", ").concat(y,"%, ").concat(p,"%)"):"hsla(".concat(i,", ").concat(y,"%, ").concat(p,"%, ").concat(this.roundA,")")},h.prototype.toHex=function(o){return o===void 0&&(o=!1),(0,t.vq)(this.r,this.g,this.b,o)},h.prototype.toHexString=function(o){return o===void 0&&(o=!1),"#"+this.toHex(o)},h.prototype.toHex8=function(o){return o===void 0&&(o=!1),(0,t.s)(this.r,this.g,this.b,this.a,o)},h.prototype.toHex8String=function(o){return o===void 0&&(o=!1),"#"+this.toHex8(o)},h.prototype.toHexShortString=function(o){return o===void 0&&(o=!1),this.a===1?this.toHexString(o):this.toHex8String(o)},h.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},h.prototype.toRgbString=function(){var o=Math.round(this.r),i=Math.round(this.g),y=Math.round(this.b);return this.a===1?"rgb(".concat(o,", ").concat(i,", ").concat(y,")"):"rgba(".concat(o,", ").concat(i,", ").concat(y,", ").concat(this.roundA,")")},h.prototype.toPercentageRgb=function(){var o=function(i){return"".concat(Math.round((0,u.sh)(i,255)*100),"%")};return{r:o(this.r),g:o(this.g),b:o(this.b),a:this.a}},h.prototype.toPercentageRgbString=function(){var o=function(i){return Math.round((0,u.sh)(i,255)*100)};return this.a===1?"rgb(".concat(o(this.r),"%, ").concat(o(this.g),"%, ").concat(o(this.b),"%)"):"rgba(".concat(o(this.r),"%, ").concat(o(this.g),"%, ").concat(o(this.b),"%, ").concat(this.roundA,")")},h.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var o="#"+(0,t.vq)(this.r,this.g,this.b,!1),i=0,y=Object.entries(n.R);i=0,g=!i&&p&&(o.startsWith("hex")||o==="name");return g?o==="name"&&this.a===0?this.toName():this.toRgbString():(o==="rgb"&&(y=this.toRgbString()),o==="prgb"&&(y=this.toPercentageRgbString()),(o==="hex"||o==="hex6")&&(y=this.toHexString()),o==="hex3"&&(y=this.toHexString(!0)),o==="hex4"&&(y=this.toHex8String(!0)),o==="hex8"&&(y=this.toHex8String()),o==="name"&&(y=this.toName()),o==="hsl"&&(y=this.toHslString()),o==="hsv"&&(y=this.toHsvString()),y||this.toHexString())},h.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},h.prototype.clone=function(){return new h(this.toString())},h.prototype.lighten=function(o){o===void 0&&(o=10);var i=this.toHsl();return i.l+=o/100,i.l=(0,u.V2)(i.l),new h(i)},h.prototype.brighten=function(o){o===void 0&&(o=10);var i=this.toRgb();return i.r=Math.max(0,Math.min(255,i.r-Math.round(255*-(o/100)))),i.g=Math.max(0,Math.min(255,i.g-Math.round(255*-(o/100)))),i.b=Math.max(0,Math.min(255,i.b-Math.round(255*-(o/100)))),new h(i)},h.prototype.darken=function(o){o===void 0&&(o=10);var i=this.toHsl();return i.l-=o/100,i.l=(0,u.V2)(i.l),new h(i)},h.prototype.tint=function(o){return o===void 0&&(o=10),this.mix("white",o)},h.prototype.shade=function(o){return o===void 0&&(o=10),this.mix("black",o)},h.prototype.desaturate=function(o){o===void 0&&(o=10);var i=this.toHsl();return i.s-=o/100,i.s=(0,u.V2)(i.s),new h(i)},h.prototype.saturate=function(o){o===void 0&&(o=10);var i=this.toHsl();return i.s+=o/100,i.s=(0,u.V2)(i.s),new h(i)},h.prototype.greyscale=function(){return this.desaturate(100)},h.prototype.spin=function(o){var i=this.toHsl(),y=(i.h+o)%360;return i.h=y<0?360+y:y,new h(i)},h.prototype.mix=function(o,i){i===void 0&&(i=50);var y=this.toRgb(),p=new h(o).toRgb(),g=i/100,l={r:(p.r-y.r)*g+y.r,g:(p.g-y.g)*g+y.g,b:(p.b-y.b)*g+y.b,a:(p.a-y.a)*g+y.a};return new h(l)},h.prototype.analogous=function(o,i){o===void 0&&(o=6),i===void 0&&(i=30);var y=this.toHsl(),p=360/i,g=[this];for(y.h=(y.h-(p*o>>1)+720)%360;--o;)y.h=(y.h+p)%360,g.push(new h(y));return g},h.prototype.complement=function(){var o=this.toHsl();return o.h=(o.h+180)%360,new h(o)},h.prototype.monochromatic=function(o){o===void 0&&(o=6);for(var i=this.toHsv(),y=i.h,p=i.s,g=i.v,l=[],b=1/o;o--;)l.push(new h({h:y,s:p,v:g})),g=(g+b)%1;return l},h.prototype.splitcomplement=function(){var o=this.toHsl(),i=o.h;return[this,new h({h:(i+72)%360,s:o.s,l:o.l}),new h({h:(i+216)%360,s:o.s,l:o.l})]},h.prototype.onBackground=function(o){var i=this.toRgb(),y=new h(o).toRgb(),p=i.a+y.a*(1-i.a);return new h({r:(i.r*i.a+y.r*y.a*(1-i.a))/p,g:(i.g*i.a+y.g*y.a*(1-i.a))/p,b:(i.b*i.a+y.b*y.a*(1-i.a))/p,a:p})},h.prototype.triad=function(){return this.polyad(3)},h.prototype.tetrad=function(){return this.polyad(4)},h.prototype.polyad=function(o){for(var i=this.toHsl(),y=i.h,p=[this],g=360/o,l=1;l1)&&(o=1),o}function c(o){return o<=1?"".concat(Number(o)*100,"%"):o}function h(o){return o.length===1?"0"+o:String(o)}},43403:function(d,v,e){"use strict";e.d(v,{Z:function(){return G}});var t=e(33606),n=e(59301),s=e(4676),u=e(47273),f=e(48736),c=e(8654),h=n.createContext(null),o=h,i=e(26407),y=e(34280),p=[];function g(Z,ie){var ne=n.useState(function(){if(!(0,u.Z)())return null;var fe=document.createElement("div");return fe}),se=(0,t.Z)(ne,1),Q=se[0],V=n.useRef(!1),K=n.useContext(o),ae=n.useState(p),ee=(0,t.Z)(ae,2),q=ee[0],te=ee[1],M=K||(V.current?void 0:function(fe){te(function(xe){var Ce=[fe].concat((0,i.Z)(xe));return Ce})});function L(){Q.parentElement||document.body.appendChild(Q),V.current=!0}function X(){var fe;(fe=Q.parentElement)===null||fe===void 0||fe.removeChild(Q),V.current=!1}return(0,y.Z)(function(){return Z?K?K(L):L():X(),X},[Z]),(0,y.Z)(function(){q.length&&(q.forEach(function(fe){return fe()}),te(p))},[q]),[Q,M]}var l=e(810),b=e(75152);function x(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var O="rc-util-locker-".concat(Date.now()),k=0;function A(Z){var ie=!!Z,ne=n.useState(function(){return k+=1,"".concat(O,"_").concat(k)}),se=(0,t.Z)(ne,1),Q=se[0];(0,y.Z)(function(){if(ie){var V=(0,b.o)(document.body).width,K=x();(0,l.hq)(` html body { overflow-y: hidden; `.concat(K?"width: calc(100% - ".concat(V,"px);"):"",` }`),Q)}else(0,l.jL)(Q);return function(){(0,l.jL)(Q)}},[ie,Q])}var T=!1;function F(Z){return typeof Z=="boolean"&&(T=Z),T}var $=function(ie){return ie===!1?!1:!(0,u.Z)()||!ie?null:typeof ie=="string"?document.querySelector(ie):typeof ie=="function"?ie():ie},R=n.forwardRef(function(Z,ie){var ne=Z.open,se=Z.autoLock,Q=Z.getContainer,V=Z.debug,K=Z.autoDestroy,ae=K===void 0?!0:K,ee=Z.children,q=n.useState(ne),te=(0,t.Z)(q,2),M=te[0],L=te[1],X=M||ne;n.useEffect(function(){(ae||ne)&&L(ne)},[ne,ae]);var fe=n.useState(function(){return $(Q)}),xe=(0,t.Z)(fe,2),Ce=xe[0],Le=xe[1];n.useEffect(function(){var it=$(Q);Le(it!=null?it:null)});var Oe=g(X&&!Ce,V),Ft=(0,t.Z)(Oe,2),ht=Ft[0],At=Ft[1],tr=Ce!=null?Ce:ht;A(se&&ne&&(0,u.Z)()&&(tr===ht||tr===document.body));var Jt=null;if(ee&&(0,c.Yr)(ee)&&ie){var cr=ee;Jt=cr.ref}var Qe=(0,c.x1)(Jt,ie);if(!X||!(0,u.Z)()||Ce===void 0)return null;var Pt=tr===!1||F(),zt=ee;return ie&&(zt=n.cloneElement(ee,{ref:Qe})),n.createElement(o.Provider,{value:At},Pt?zt:(0,s.createPortal)(zt,tr))}),H=R,G=H},35593:function(d,v,e){"use strict";e.d(v,{Z:function(){return zt}});var t=e(33708),n=e(33606),s=e(37061),u=e(43403),f=e(92310),c=e.n(f),h=e(29301),o=e(76846),i=e(96452),y=e(6089),p=e(80402),g=e(34280),l=e(49658),b=e(59301),x=e(92413),O=e(77900),k=e(8654);function A(it){var Ot=it.prefixCls,pt=it.align,et=it.arrow,Ne=it.arrowPos,me=et||{},Ee=me.className,Re=me.content,$e=Ne.x,Ze=$e===void 0?0:$e,nt=Ne.y,ut=nt===void 0?0:nt,Gt=b.useRef();if(!pt||!pt.points)return null;var Zt={position:"absolute"};if(pt.autoArrow!==!1){var Pe=pt.points[0],Je=pt.points[1],Vt=Pe[0],Rt=Pe[1],Nt=Je[0],Bt=Je[1];Vt===Nt||!["t","b"].includes(Vt)?Zt.top=ut:Vt==="t"?Zt.top=0:Zt.bottom=0,Rt===Bt||!["l","r"].includes(Rt)?Zt.left=Ze:Rt==="l"?Zt.left=0:Zt.right=0}return b.createElement("div",{ref:Gt,className:c()("".concat(Ot,"-arrow"),Ee),style:Zt},Re)}function T(it){var Ot=it.prefixCls,pt=it.open,et=it.zIndex,Ne=it.mask,me=it.motion;return Ne?b.createElement(O.default,(0,x.Z)({},me,{motionAppear:!0,visible:pt,removeOnLeave:!0}),function(Ee){var Re=Ee.className;return b.createElement("div",{style:{zIndex:et},className:c()("".concat(Ot,"-mask"),Re)})}):null}var F=b.memo(function(it){var Ot=it.children;return Ot},function(it,Ot){return Ot.cache}),$=F,R=b.forwardRef(function(it,Ot){var pt=it.popup,et=it.className,Ne=it.prefixCls,me=it.style,Ee=it.target,Re=it.onVisibleChanged,$e=it.open,Ze=it.keepDom,nt=it.fresh,ut=it.onClick,Gt=it.mask,Zt=it.arrow,Pe=it.arrowPos,Je=it.align,Vt=it.motion,Rt=it.maskMotion,Nt=it.forceRender,Bt=it.getPopupContainer,Ct=it.autoDestroy,Yt=it.portal,ze=it.zIndex,ue=it.onMouseEnter,le=it.onMouseLeave,Dt=it.onPointerEnter,Te=it.ready,dt=it.offsetX,Ht=it.offsetY,ct=it.offsetR,Ie=it.offsetB,Et=it.onAlign,ge=it.onPrepare,Ke=it.stretch,yt=it.targetWidth,kt=it.targetHeight,Fe=typeof pt=="function"?pt():pt,Dr=$e||Ze,St=(Bt==null?void 0:Bt.length)>0,Vr=b.useState(!Bt||!St),qr=(0,n.Z)(Vr,2),Er=qr[0],jr=qr[1];if((0,g.Z)(function(){!Er&&St&&Ee&&jr(!0)},[Er,St,Ee]),!Er)return null;var hr="auto",Zr={left:"-1000vw",top:"-1000vh",right:hr,bottom:hr};if(Te||!$e){var sn,ln=Je.points,or=Je.dynamicInset||((sn=Je._experimental)===null||sn===void 0?void 0:sn.dynamicInset),Lt=or&&ln[0][1]==="r",gt=or&&ln[0][0]==="b";Lt?(Zr.right=ct,Zr.left=hr):(Zr.left=dt,Zr.right=hr),gt?(Zr.bottom=Ie,Zr.top=hr):(Zr.top=Ht,Zr.bottom=hr)}var bt={};return Ke&&(Ke.includes("height")&&kt?bt.height=kt:Ke.includes("minHeight")&&kt&&(bt.minHeight=kt),Ke.includes("width")&&yt?bt.width=yt:Ke.includes("minWidth")&&yt&&(bt.minWidth=yt)),$e||(bt.pointerEvents="none"),b.createElement(Yt,{open:Nt||Dr,getContainer:Bt&&function(){return Bt(Ee)},autoDestroy:Ct},b.createElement(T,{prefixCls:Ne,open:$e,zIndex:ze,mask:Gt,motion:Rt}),b.createElement(h.Z,{onResize:Et,disabled:!$e},function(jt){return b.createElement(O.default,(0,x.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:Nt,leavedClassName:"".concat(Ne,"-hidden")},Vt,{onAppearPrepare:ge,onEnterPrepare:ge,visible:$e,onVisibleChanged:function(br){var at;Vt==null||(at=Vt.onVisibleChanged)===null||at===void 0||at.call(Vt,br),Re(br)}}),function(Cr,br){var at=Cr.className,Fr=Cr.style,gn=c()(Ne,at,et);return b.createElement("div",{ref:(0,k.sQ)(jt,Ot,br),className:gn,style:(0,t.Z)((0,t.Z)((0,t.Z)((0,t.Z)({"--arrow-x":"".concat(Pe.x||0,"px"),"--arrow-y":"".concat(Pe.y||0,"px")},Zr),bt),Fr),{},{boxSizing:"border-box",zIndex:ze},me),onMouseEnter:ue,onMouseLeave:le,onPointerEnter:Dt,onClick:ut},Zt&&b.createElement(A,{prefixCls:Ne,arrow:Zt,arrowPos:Pe,align:Je}),b.createElement($,{cache:!$e&&!nt},Fe))})}))}),H=R,G=b.forwardRef(function(it,Ot){var pt=it.children,et=it.getTriggerDOMNode,Ne=(0,k.Yr)(pt),me=b.useCallback(function(Re){(0,k.mH)(Ot,et?et(Re):Re)},[et]),Ee=(0,k.x1)(me,pt.ref);return Ne?b.cloneElement(pt,{ref:Ee}):pt}),Z=G,ie=b.createContext(null),ne=ie;function se(it){return it?Array.isArray(it)?it:[it]:[]}function Q(it,Ot,pt,et){return b.useMemo(function(){var Ne=se(pt!=null?pt:Ot),me=se(et!=null?et:Ot),Ee=new Set(Ne),Re=new Set(me);return it&&(Ee.has("hover")&&(Ee.delete("hover"),Ee.add("click")),Re.has("hover")&&(Re.delete("hover"),Re.add("click"))),[Ee,Re]},[it,Ot,pt,et])}var V=e(29194);function K(){var it=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Ot=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],pt=arguments.length>2?arguments[2]:void 0;return pt?it[0]===Ot[0]:it[0]===Ot[0]&&it[1]===Ot[1]}function ae(it,Ot,pt,et){for(var Ne=pt.points,me=Object.keys(it),Ee=0;Ee1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(it)?Ot:it}function L(it){return M(parseFloat(it),0)}function X(it,Ot){var pt=(0,t.Z)({},it);return(Ot||[]).forEach(function(et){if(!(et instanceof HTMLBodyElement||et instanceof HTMLHtmlElement)){var Ne=q(et).getComputedStyle(et),me=Ne.overflow,Ee=Ne.overflowClipMargin,Re=Ne.borderTopWidth,$e=Ne.borderBottomWidth,Ze=Ne.borderLeftWidth,nt=Ne.borderRightWidth,ut=et.getBoundingClientRect(),Gt=et.offsetHeight,Zt=et.clientHeight,Pe=et.offsetWidth,Je=et.clientWidth,Vt=L(Re),Rt=L($e),Nt=L(Ze),Bt=L(nt),Ct=M(Math.round(ut.width/Pe*1e3)/1e3),Yt=M(Math.round(ut.height/Gt*1e3)/1e3),ze=(Pe-Je-Nt-Bt)*Ct,ue=(Gt-Zt-Vt-Rt)*Yt,le=Vt*Yt,Dt=Rt*Yt,Te=Nt*Ct,dt=Bt*Ct,Ht=0,ct=0;if(me==="clip"){var Ie=L(Ee);Ht=Ie*Ct,ct=Ie*Yt}var Et=ut.x+Te-Ht,ge=ut.y+le-ct,Ke=Et+ut.width+2*Ht-Te-dt-ze,yt=ge+ut.height+2*ct-le-Dt-ue;pt.left=Math.max(pt.left,Et),pt.top=Math.max(pt.top,ge),pt.right=Math.min(pt.right,Ke),pt.bottom=Math.min(pt.bottom,yt)}}),pt}function fe(it){var Ot=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,pt="".concat(Ot),et=pt.match(/^(.*)\%$/);return et?it*(parseFloat(et[1])/100):parseFloat(pt)}function xe(it,Ot){var pt=Ot||[],et=(0,n.Z)(pt,2),Ne=et[0],me=et[1];return[fe(it.width,Ne),fe(it.height,me)]}function Ce(){var it=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[it[0],it[1]]}function Le(it,Ot){var pt=Ot[0],et=Ot[1],Ne,me;return pt==="t"?me=it.y:pt==="b"?me=it.y+it.height:me=it.y+it.height/2,et==="l"?Ne=it.x:et==="r"?Ne=it.x+it.width:Ne=it.x+it.width/2,{x:Ne,y:me}}function Oe(it,Ot){var pt={t:"b",b:"t",l:"r",r:"l"};return it.map(function(et,Ne){return Ne===Ot?pt[et]||"c":et}).join("")}function Ft(it,Ot,pt,et,Ne,me,Ee){var Re=b.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:Ne[et]||{}}),$e=(0,n.Z)(Re,2),Ze=$e[0],nt=$e[1],ut=b.useRef(0),Gt=b.useMemo(function(){return Ot?te(Ot):[]},[Ot]),Zt=b.useRef({}),Pe=function(){Zt.current={}};it||Pe();var Je=(0,y.Z)(function(){if(Ot&&pt&&it){let Ua=function(vs,Gs){var So=arguments.length>2&&arguments[2]!==void 0?arguments[2]:gn,_o=Fe.x+vs,Ks=Fe.y+Gs,Qs=_o+sn,Lo=Ks+Zr,mo=Math.max(_o,So.left),Ho=Math.max(Ks,So.top),Co=Math.min(Qs,So.right),Xo=Math.min(Lo,So.bottom);return Math.max(0,(Co-mo)*(Xo-Ho))},Da=function(){ir=Fe.y+er,Rr=ir+Zr,Or=Fe.x+ai,Sr=Or+sn};var Nt,Bt,Ct=Ot,Yt=Ct.ownerDocument,ze=q(Ct),ue=ze.getComputedStyle(Ct),le=ue.width,Dt=ue.height,Te=ue.position,dt=Ct.style.left,Ht=Ct.style.top,ct=Ct.style.right,Ie=Ct.style.bottom,Et=Ct.style.overflow,ge=(0,t.Z)((0,t.Z)({},Ne[et]),me),Ke=Yt.createElement("div");(Nt=Ct.parentElement)===null||Nt===void 0||Nt.appendChild(Ke),Ke.style.left="".concat(Ct.offsetLeft,"px"),Ke.style.top="".concat(Ct.offsetTop,"px"),Ke.style.position=Te,Ke.style.height="".concat(Ct.offsetHeight,"px"),Ke.style.width="".concat(Ct.offsetWidth,"px"),Ct.style.left="0",Ct.style.top="0",Ct.style.right="auto",Ct.style.bottom="auto",Ct.style.overflow="hidden";var yt;if(Array.isArray(pt))yt={x:pt[0],y:pt[1],width:0,height:0};else{var kt=pt.getBoundingClientRect();yt={x:kt.x,y:kt.y,width:kt.width,height:kt.height}}var Fe=Ct.getBoundingClientRect(),Dr=Yt.documentElement,St=Dr.clientWidth,Vr=Dr.clientHeight,qr=Dr.scrollWidth,Er=Dr.scrollHeight,jr=Dr.scrollTop,hr=Dr.scrollLeft,Zr=Fe.height,sn=Fe.width,ln=yt.height,or=yt.width,Lt={left:0,top:0,right:St,bottom:Vr},gt={left:-hr,top:-jr,right:qr-hr,bottom:Er-jr},bt=ge.htmlRegion,jt="visible",Cr="visibleFirst";bt!=="scroll"&&bt!==Cr&&(bt=jt);var br=bt===Cr,at=X(gt,Gt),Fr=X(Lt,Gt),gn=bt===jt?Fr:at,Wn=br?Fr:gn;Ct.style.left="auto",Ct.style.top="auto",Ct.style.right="0",Ct.style.bottom="0";var gr=Ct.getBoundingClientRect();Ct.style.left=dt,Ct.style.top=Ht,Ct.style.right=ct,Ct.style.bottom=Ie,Ct.style.overflow=Et,(Bt=Ct.parentElement)===null||Bt===void 0||Bt.removeChild(Ke);var Xr=M(Math.round(sn/parseFloat(le)*1e3)/1e3),dn=M(Math.round(Zr/parseFloat(Dt)*1e3)/1e3);if(Xr===0||dn===0||(0,o.Sh)(pt)&&!(0,V.Z)(pt))return;var Mn=ge.offset,ei=ge.targetOffset,ni=xe(Fe,Mn),Gi=(0,n.Z)(ni,2),Mi=Gi[0],Ti=Gi[1],mi=xe(yt,ei),vi=(0,n.Z)(mi,2),aa=vi[0],ii=vi[1];yt.x-=aa,yt.y-=ii;var Wi=ge.points||[],wt=(0,n.Z)(Wi,2),st=wt[0],qn=wt[1],bi=Ce(qn),ti=Ce(st),Ki=Le(yt,bi),xi=Le(Fe,ti),Pi=(0,t.Z)({},ge),ai=Ki.x-xi.x+Mi,er=Ki.y-xi.y+Ti,mt=Ua(ai,er),tt=Ua(ai,er,Fr),It=Le(yt,["t","l"]),_t=Le(Fe,["t","l"]),lr=Le(yt,["b","r"]),fr=Le(Fe,["b","r"]),Tr=ge.overflow||{},kr=Tr.adjustX,Ue=Tr.adjustY,rt=Tr.shiftX,ye=Tr.shiftY,Ye=function(Gs){return typeof Gs=="boolean"?Gs:Gs>=0},ir,Rr,Or,Sr;Da();var Ur=Ye(Ue),yn=ti[0]===bi[0];if(Ur&&ti[0]==="t"&&(Rr>Wn.bottom||Zt.current.bt)){var Ir=er;yn?Ir-=Zr-ln:Ir=It.y-fr.y-Ti;var cn=Ua(ai,Ir),tn=Ua(ai,Ir,Fr);cn>mt||cn===mt&&(!br||tn>=tt)?(Zt.current.bt=!0,er=Ir,Ti=-Ti,Pi.points=[Oe(ti,0),Oe(bi,0)]):Zt.current.bt=!1}if(Ur&&ti[0]==="b"&&(irmt||bn===mt&&(!br||ha>=tt)?(Zt.current.tb=!0,er=on,Ti=-Ti,Pi.points=[Oe(ti,0),Oe(bi,0)]):Zt.current.tb=!1}var gi=Ye(kr),wi=ti[1]===bi[1];if(gi&&ti[1]==="l"&&(Sr>Wn.right||Zt.current.rl)){var On=ai;wi?On-=sn-or:On=It.x-fr.x-Mi;var Ri=Ua(On,er),$i=Ua(On,er,Fr);Ri>mt||Ri===mt&&(!br||$i>=tt)?(Zt.current.rl=!0,ai=On,Mi=-Mi,Pi.points=[Oe(ti,1),Oe(bi,1)]):Zt.current.rl=!1}if(gi&&ti[1]==="r"&&(Ormt||Is===mt&&(!br||ba>=tt)?(Zt.current.lr=!0,ai=la,Mi=-Mi,Pi.points=[Oe(ti,1),Oe(bi,1)]):Zt.current.lr=!1}Da();var As=rt===!0?0:rt;typeof As=="number"&&(OrFr.right&&(ai-=Sr-Fr.right-Mi,yt.x>Fr.right-As&&(ai+=yt.x-Fr.right+As)));var Ds=ye===!0?0:ye;typeof Ds=="number"&&(irFr.bottom&&(er-=Rr-Fr.bottom-Ti,yt.y>Fr.bottom-Ds&&(er+=yt.y-Fr.bottom+Ds)));var qa=Fe.x+ai,na=qa+sn,Ii=Fe.y+er,Ts=Ii+Zr,$a=yt.x,Os=$a+or,zi=yt.y,ks=zi+ln,Ro=Math.max(qa,$a),ja=Math.min(na,Os),ys=(Ro+ja)/2,rs=ys-qa,Ws=Math.max(Ii,zi),kn=Math.min(Ts,ks),ns=(Ws+kn)/2,yo=ns-Ii;Ee==null||Ee(Ot,Pi);var Rs=gr.right-Fe.x-(ai+Fe.width),Vi=gr.bottom-Fe.y-(er+Fe.height);nt({ready:!0,offsetX:ai/Xr,offsetY:er/dn,offsetR:Rs/Xr,offsetB:Vi/dn,arrowX:rs/Xr,arrowY:yo/dn,scaleX:Xr,scaleY:dn,align:Pi})}}),Vt=function(){ut.current+=1;var Bt=ut.current;Promise.resolve().then(function(){ut.current===Bt&&Je()})},Rt=function(){nt(function(Bt){return(0,t.Z)((0,t.Z)({},Bt),{},{ready:!1})})};return(0,g.Z)(Rt,[et]),(0,g.Z)(function(){it||Rt()},[it]),[Ze.ready,Ze.offsetX,Ze.offsetY,Ze.offsetR,Ze.offsetB,Ze.arrowX,Ze.arrowY,Ze.scaleX,Ze.scaleY,Ze.align,Vt]}var ht=e(26407);function At(it,Ot,pt,et,Ne){(0,g.Z)(function(){if(it&&Ot&&pt){let ut=function(){et(),Ne()};var me=Ot,Ee=pt,Re=te(me),$e=te(Ee),Ze=q(Ee),nt=new Set([Ze].concat((0,ht.Z)(Re),(0,ht.Z)($e)));return nt.forEach(function(Gt){Gt.addEventListener("scroll",ut,{passive:!0})}),Ze.addEventListener("resize",ut,{passive:!0}),et(),function(){nt.forEach(function(Gt){Gt.removeEventListener("scroll",ut),Ze.removeEventListener("resize",ut)})}}},[it,Ot,pt])}var tr=e(48736),Jt=e(16089);function cr(it,Ot,pt,et,Ne,me,Ee,Re){var $e=b.useRef(it),Ze=b.useRef(!1);$e.current!==it&&(Ze.current=!0,$e.current=it),b.useEffect(function(){var nt=(0,Jt.Z)(function(){Ze.current=!1});return function(){Jt.Z.cancel(nt)}},[it]),b.useEffect(function(){if(Ot&&et&&(!Ne||me)){var nt=function(){var Te=!1,dt=function(Ie){var Et=Ie.target;Te=Ee(Et)},Ht=function(Ie){var Et=Ie.target;!Ze.current&&$e.current&&!Te&&!Ee(Et)&&Re(!1)};return[dt,Ht]},ut=nt(),Gt=(0,n.Z)(ut,2),Zt=Gt[0],Pe=Gt[1],Je=nt(),Vt=(0,n.Z)(Je,2),Rt=Vt[0],Nt=Vt[1],Bt=q(et);Bt.addEventListener("mousedown",Zt,!0),Bt.addEventListener("click",Pe,!0),Bt.addEventListener("contextmenu",Pe,!0);var Ct=(0,i.A)(pt);if(Ct&&(Ct.addEventListener("mousedown",Rt,!0),Ct.addEventListener("click",Nt,!0),Ct.addEventListener("contextmenu",Nt,!0)),0)var Yt,ze,ue,le;return function(){Bt.removeEventListener("mousedown",Zt,!0),Bt.removeEventListener("click",Pe,!0),Bt.removeEventListener("contextmenu",Pe,!0),Ct&&(Ct.removeEventListener("mousedown",Rt,!0),Ct.removeEventListener("click",Nt,!0),Ct.removeEventListener("contextmenu",Nt,!0))}}},[Ot,pt,et,Ne,me])}var Qe=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];function Pt(){var it=arguments.length>0&&arguments[0]!==void 0?arguments[0]:u.Z,Ot=b.forwardRef(function(pt,et){var Ne=pt.prefixCls,me=Ne===void 0?"rc-trigger-popup":Ne,Ee=pt.children,Re=pt.action,$e=Re===void 0?"hover":Re,Ze=pt.showAction,nt=pt.hideAction,ut=pt.popupVisible,Gt=pt.defaultPopupVisible,Zt=pt.onPopupVisibleChange,Pe=pt.afterPopupVisibleChange,Je=pt.mouseEnterDelay,Vt=pt.mouseLeaveDelay,Rt=Vt===void 0?.1:Vt,Nt=pt.focusDelay,Bt=pt.blurDelay,Ct=pt.mask,Yt=pt.maskClosable,ze=Yt===void 0?!0:Yt,ue=pt.getPopupContainer,le=pt.forceRender,Dt=pt.autoDestroy,Te=pt.destroyPopupOnHide,dt=pt.popup,Ht=pt.popupClassName,ct=pt.popupStyle,Ie=pt.popupPlacement,Et=pt.builtinPlacements,ge=Et===void 0?{}:Et,Ke=pt.popupAlign,yt=pt.zIndex,kt=pt.stretch,Fe=pt.getPopupClassNameFromAlign,Dr=pt.fresh,St=pt.alignPoint,Vr=pt.onPopupClick,qr=pt.onPopupAlign,Er=pt.arrow,jr=pt.popupMotion,hr=pt.maskMotion,Zr=pt.popupTransitionName,sn=pt.popupAnimation,ln=pt.maskTransitionName,or=pt.maskAnimation,Lt=pt.className,gt=pt.getTriggerDOMNode,bt=(0,s.Z)(pt,Qe),jt=Dt||Te||!1,Cr=b.useState(!1),br=(0,n.Z)(Cr,2),at=br[0],Fr=br[1];(0,g.Z)(function(){Fr((0,l.Z)())},[]);var gn=b.useRef({}),Wn=b.useContext(ne),gr=b.useMemo(function(){return{registerSubPopup:function(Gn,ga){gn.current[Gn]=ga,Wn==null||Wn.registerSubPopup(Gn,ga)}}},[Wn]),Xr=(0,p.Z)(),dn=b.useState(null),Mn=(0,n.Z)(dn,2),ei=Mn[0],ni=Mn[1],Gi=(0,y.Z)(function(hi){(0,o.Sh)(hi)&&ei!==hi&&ni(hi),Wn==null||Wn.registerSubPopup(Xr,hi)}),Mi=b.useState(null),Ti=(0,n.Z)(Mi,2),mi=Ti[0],vi=Ti[1],aa=b.useRef(null),ii=(0,y.Z)(function(hi){(0,o.Sh)(hi)&&mi!==hi&&(vi(hi),aa.current=hi)}),Wi=b.Children.only(Ee),wt=(Wi==null?void 0:Wi.props)||{},st={},qn=(0,y.Z)(function(hi){var Gn,ga,os=mi;return(os==null?void 0:os.contains(hi))||((Gn=(0,i.A)(os))===null||Gn===void 0?void 0:Gn.host)===hi||hi===os||(ei==null?void 0:ei.contains(hi))||((ga=(0,i.A)(ei))===null||ga===void 0?void 0:ga.host)===hi||hi===ei||Object.values(gn.current).some(function(Ba){return(Ba==null?void 0:Ba.contains(hi))||hi===Ba})}),bi=ee(me,jr,sn,Zr),ti=ee(me,hr,or,ln),Ki=b.useState(Gt||!1),xi=(0,n.Z)(Ki,2),Pi=xi[0],ai=xi[1],er=ut!=null?ut:Pi,mt=(0,y.Z)(function(hi){ut===void 0&&ai(hi)});(0,g.Z)(function(){ai(ut||!1)},[ut]);var tt=b.useRef(er);tt.current=er;var It=b.useRef([]);It.current=[];var _t=(0,y.Z)(function(hi){var Gn;mt(hi),((Gn=It.current[It.current.length-1])!==null&&Gn!==void 0?Gn:er)!==hi&&(It.current.push(hi),Zt==null||Zt(hi))}),lr=b.useRef(),fr=function(){clearTimeout(lr.current)},Tr=function(Gn){var ga=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;fr(),ga===0?_t(Gn):lr.current=setTimeout(function(){_t(Gn)},ga*1e3)};b.useEffect(function(){return fr},[]);var kr=b.useState(!1),Ue=(0,n.Z)(kr,2),rt=Ue[0],ye=Ue[1];(0,g.Z)(function(hi){(!hi||er)&&ye(!0)},[er]);var Ye=b.useState(null),ir=(0,n.Z)(Ye,2),Rr=ir[0],Or=ir[1],Sr=b.useState([0,0]),Ur=(0,n.Z)(Sr,2),yn=Ur[0],Ir=Ur[1],cn=function(Gn){Ir([Gn.clientX,Gn.clientY])},tn=Ft(er,ei,St?yn:mi,Ie,ge,Ke,qr),on=(0,n.Z)(tn,11),bn=on[0],ha=on[1],gi=on[2],wi=on[3],On=on[4],Ri=on[5],$i=on[6],la=on[7],Is=on[8],ba=on[9],As=on[10],Ds=Q(at,$e,Ze,nt),qa=(0,n.Z)(Ds,2),na=qa[0],Ii=qa[1],Ts=na.has("click"),$a=Ii.has("click")||Ii.has("contextMenu"),Os=(0,y.Z)(function(){rt||As()}),zi=function(){tt.current&&St&&$a&&Tr(!1)};At(er,mi,ei,Os,zi),(0,g.Z)(function(){Os()},[yn,Ie]),(0,g.Z)(function(){er&&!(ge!=null&&ge[Ie])&&Os()},[JSON.stringify(Ke)]);var ks=b.useMemo(function(){var hi=ae(ge,me,ba,St);return c()(hi,Fe==null?void 0:Fe(ba))},[ba,Fe,ge,me,St]);b.useImperativeHandle(et,function(){return{nativeElement:aa.current,forceAlign:Os}});var Ro=b.useState(0),ja=(0,n.Z)(Ro,2),ys=ja[0],rs=ja[1],Ws=b.useState(0),kn=(0,n.Z)(Ws,2),ns=kn[0],yo=kn[1],Rs=function(){if(kt&&mi){var Gn=mi.getBoundingClientRect();rs(Gn.width),yo(Gn.height)}},Vi=function(){Rs(),Os()},Ua=function(Gn){ye(!1),As(),Pe==null||Pe(Gn)},Da=function(){return new Promise(function(Gn){Rs(),Or(function(){return Gn})})};(0,g.Z)(function(){Rr&&(As(),Rr(),Or(null))},[Rr]);function vs(hi,Gn,ga,os){st[hi]=function(Ba){var ro;os==null||os(Ba),Tr(Gn,ga);for(var Wo=arguments.length,iu=new Array(Wo>1?Wo-1:0),_s=1;_s1?ga-1:0),Ba=1;Ba1?ga-1:0),Ba=1;Ba=0)return s[f].splice(o,1),!0}return!1},publish:function(f){if(!s[f])return!1;const c=Array.prototype.slice.call(arguments,1);return s[f].forEach(h=>{h.apply(null,c)}),this}};return n?Object.assign(n,u):u}const t=new e;v.Z=t},29413:function(d,v,e){"use strict";e.d(v,{zt:function(){return Oa},$j:function(){return ya},Ue:function(){return Gs},I0:function(){return To},v9:function(){return $o}});var t={};e.r(t),e.d(t,{actionChannel:function(){return or},all:function(){return Fe},apply:function(){return qr},call:function(){return Vr},cancel:function(){return sn},cancelled:function(){return Lt},cps:function(){return Er},flush:function(){return gt},fork:function(){return jr},getContext:function(){return bt},join:function(){return Zr},put:function(){return kt},race:function(){return Dr},select:function(){return ln},setContext:function(){return jt},spawn:function(){return hr},take:function(){return Ke},takeEvery:function(){return mt},takeLatest:function(){return tt},takem:function(){return yt},throttle:function(){return It}});var n=e(59301),s=e(51801),u=e(59781),f=Object.assign||function(Ve){for(var qe=1;qe=0&&Ve.splice(Mt,1)}var Z={from:function(qe){var Mt=Array(qe.length);for(var Wt in qe)$(qe,Wt)&&(Mt[Wt]=qe[Wt]);return Mt}};function ie(){var Ve=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},qe=f({},Ve),Mt=new Promise(function(Wt,dr){qe.resolve=Wt,qe.reject=dr});return qe.promise=Mt,qe}function ne(Ve){for(var qe=[],Mt=0;Mt1&&arguments[1]!==void 0?arguments[1]:!0,Mt=void 0,Wt=new Promise(function(dr){Mt=setTimeout(function(){return dr(qe)},Ve)});return Wt[p]=function(){return clearTimeout(Mt)},Wt}function Q(){var Ve,qe=!0,Mt=void 0,Wt=void 0;return Ve={},Ve[o]=!0,Ve.isRunning=function(){return qe},Ve.result=function(){return Mt},Ve.error=function(){return Wt},Ve.setRunning=function(Br){return qe=Br},Ve.setResult=function(Br){return Mt=Br},Ve.setError=function(Br){return Wt=Br},Ve}function V(){var Ve=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return function(){return++Ve}}var K=V(),ae=function(qe){throw qe},ee=function(qe){return{value:qe,done:!0}};function q(Ve){var qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ae,Mt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"",Wt=arguments[3],dr={name:Mt,next:Ve,throw:qe,return:ee};return Wt&&(dr[i]=!0),typeof Symbol!="undefined"&&(dr[Symbol.iterator]=function(){return dr}),dr}function te(Ve,qe){var Mt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"";typeof window=="undefined"?console.log("redux-saga "+Ve+": "+qe+` `+(Mt&&Mt.stack||Mt)):console[Ve](qe,Mt)}function M(Ve,qe){return function(){return Ve.apply(void 0,arguments)}}var L=function(qe,Mt){return qe+" has been deprecated in favor of "+Mt+", please update your code"},X=function(qe){return new Error(` redux-saga: Error checking hooks detected an inconsistent state. This is likely a bug in redux-saga code and not yours. Thanks for reporting this in the project's github repo. Error: `+qe+` `)},fe=function(qe,Mt){return(qe?qe+".":"")+"setContext(props): argument "+Mt+" is not a plain object"},xe=function(qe){return function(Mt){return qe(Object.defineProperty(Mt,g,{value:!0}))}},Ce=function Ve(qe){return function(){for(var Mt=arguments.length,Wt=Array(Mt),dr=0;dr0&&arguments[0]!==void 0?arguments[0]:10,qe=arguments[1],Mt=new Array(Ve),Wt=0,dr=0,Br=0,Hr=function(Yn){Mt[dr]=Yn,dr=(dr+1)%Ve,Wt++},pn=function(){if(Wt!=0){var Yn=Mt[Br];return Mt[Br]=null,Wt--,Br=(Br+1)%Ve,Yn}},nn=function(){for(var Yn=[];Wt;)Yn.push(pn());return Yn};return{isEmpty:function(){return Wt==0},put:function(Yn){if(Wt0&&arguments[0]!==void 0?arguments[0]:cr.fixed(),qe=!1,Mt=[];T(Ve,R.buffer,Ze);function Wt(){if(qe&&Mt.length)throw X("Cannot have a closed channel with pending takers");if(Mt.length&&!Ve.isEmpty())throw X("Cannot have pending takers with non empty buffer")}function dr(nn){if(Wt(),T(nn,R.notUndef,nt),!qe){if(!Mt.length)return Ve.put(nn);for(var vn=0;vn1&&arguments[1]!==void 0?arguments[1]:cr.none(),Mt=arguments[2];arguments.length>2&&T(Mt,R.func,"Invalid match function passed to eventChannel");var Wt=ut(qe),dr=function(){Wt.__closed__||(Br&&Br(),Wt.close())},Br=Ve(function(Hr){if(Re(Hr)){dr();return}Mt&&!Mt(Hr)||Wt.put(Hr)});if(Wt.__closed__&&Br(),!R.func(Br))throw new Error("in eventChannel: subscribe should return a function to unsubscribe");return{take:Wt.take,flush:Wt.flush,close:dr}}function Zt(Ve){var qe=Gt(function(Mt){return Ve(function(Wt){if(Wt[g]){Mt(Wt);return}it(function(){return Mt(Wt)})})});return Ne({},qe,{take:function(Wt,dr){arguments.length>1&&(T(dr,R.func,"channel.take's matcher argument must be a function"),Wt[y]=dr),qe.take(Wt)}})}var Pe=h("IO"),Je="TAKE",Vt="PUT",Rt="ALL",Nt="RACE",Bt="CALL",Ct="CPS",Yt="FORK",ze="JOIN",ue="CANCEL",le="SELECT",Dt="ACTION_CHANNEL",Te="CANCELLED",dt="FLUSH",Ht="GET_CONTEXT",ct="SET_CONTEXT",Ie=` (HINT: if you are getting this errors in tests, consider using createMockTask from redux-saga/utils)`,Et=function(qe,Mt){var Wt;return Wt={},Wt[Pe]=!0,Wt[qe]=Mt,Wt},ge=function(qe){return T(br.fork(qe),R.object,"detach(eff): argument must be a fork effect"),qe[Yt].detached=!0,qe};function Ke(){var Ve=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"*";if(arguments.length&&T(arguments[0],R.notUndef,"take(patternOrChannel): patternOrChannel is undefined"),R.pattern(Ve))return Et(Je,{pattern:Ve});if(R.channel(Ve))return Et(Je,{channel:Ve});throw new Error("take(patternOrChannel): argument "+String(Ve)+" is not valid channel or a valid pattern")}Ke.maybe=function(){var Ve=Ke.apply(void 0,arguments);return Ve[Je].maybe=!0,Ve};var yt=M(Ke.maybe,L("takem","take.maybe"));function kt(Ve,qe){return arguments.length>1?(T(Ve,R.notUndef,"put(channel, action): argument channel is undefined"),T(Ve,R.channel,"put(channel, action): argument "+Ve+" is not a valid channel"),T(qe,R.notUndef,"put(channel, action): argument action is undefined")):(T(Ve,R.notUndef,"put(action): argument action is undefined"),qe=Ve,Ve=null),Et(Vt,{channel:Ve,action:qe})}kt.resolve=function(){var Ve=kt.apply(void 0,arguments);return Ve[Vt].resolve=!0,Ve},kt.sync=M(kt.resolve,L("put.sync","put.resolve"));function Fe(Ve){return Et(Rt,Ve)}function Dr(Ve){return Et(Nt,Ve)}function St(Ve,qe,Mt){T(qe,R.notUndef,Ve+": argument fn is undefined");var Wt=null;if(R.array(qe)){var dr=qe;Wt=dr[0],qe=dr[1]}else if(qe.fn){var Br=qe;Wt=Br.context,qe=Br.fn}return Wt&&R.string(qe)&&R.func(Wt[qe])&&(qe=Wt[qe]),T(qe,R.func,Ve+": argument "+qe+" is not a function"),{context:Wt,fn:qe,args:Mt}}function Vr(Ve){for(var qe=arguments.length,Mt=Array(qe>1?qe-1:0),Wt=1;Wt2&&arguments[2]!==void 0?arguments[2]:[];return Et(Bt,St("apply",{context:Ve,fn:qe},Mt))}function Er(Ve){for(var qe=arguments.length,Mt=Array(qe>1?qe-1:0),Wt=1;Wt1?qe-1:0),Wt=1;Wt1?qe-1:0),Wt=1;Wt1)return Fe(qe.map(function(dr){return Zr(dr)}));var Wt=qe[0];return T(Wt,R.notUndef,"join(task): argument task is undefined"),T(Wt,R.task,"join(task): argument "+Wt+" is not a valid Task object "+Ie),Et(ze,Wt)}function sn(){for(var Ve=arguments.length,qe=Array(Ve),Mt=0;Mt1)return Fe(qe.map(function(dr){return sn(dr)}));var Wt=qe[0];return qe.length===1&&(T(Wt,R.notUndef,"cancel(task): argument task is undefined"),T(Wt,R.task,"cancel(task): argument "+Wt+" is not a valid Task object "+Ie)),Et(ue,Wt||l)}function ln(Ve){for(var qe=arguments.length,Mt=Array(qe>1?qe-1:0),Wt=1;Wt1&&(T(qe,R.notUndef,"actionChannel(pattern, buffer): argument buffer is undefined"),T(qe,R.buffer,"actionChannel(pattern, buffer): argument "+qe+" is not a valid buffer")),Et(Dt,{pattern:Ve,buffer:qe})}function Lt(){return Et(Te,{})}function gt(Ve){return T(Ve,R.channel,"flush(channel): argument "+Ve+" is not valid channel"),Et(dt,Ve)}function bt(Ve){return T(Ve,R.string,"getContext(prop): argument "+Ve+" is not a string"),Et(Ht,Ve)}function jt(Ve){return T(Ve,R.object,fe(null,Ve)),Et(ct,Ve)}var Cr=function(qe){return function(Mt){return Mt&&Mt[Pe]&&Mt[qe]}},br={take:Cr(Je),put:Cr(Vt),all:Cr(Rt),race:Cr(Nt),call:Cr(Bt),cps:Cr(Ct),fork:Cr(Yt),join:Cr(ze),cancel:Cr(ue),select:Cr(le),actionChannel:Cr(Dt),cancelled:Cr(Te),flush:Cr(dt),getContext:Cr(Ht),setContext:Cr(ct)},at=Object.assign||function(Ve){for(var qe=1;qe1&&arguments[1]!==void 0?arguments[1]:function(){return k},Mt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:k,Wt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:k,dr=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},Br=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},Hr=arguments.length>6&&arguments[6]!==void 0?arguments[6]:0,pn=arguments.length>7&&arguments[7]!==void 0?arguments[7]:"anonymous",nn=arguments[8];T(Ve,R.iterator,Wn);var vn="[...effects]",Yn=M(ws,L(vn,"all("+vn+")")),ri=Br.sagaMonitor,yi=Br.logger,Si=Br.onError,qi=yi||te,ji=function(Kt){var An=Kt.sagaStack;!An&&Kt.stack&&(An=Kt.stack.split(` `)[0].indexOf(Kt.message)!==-1?Kt.stack:"Error: "+Kt.message+` `+Kt.stack),qi("error","uncaught at "+pn,An||Kt.message||Kt)},Di=Zt(qe),pa=Object.create(dr);Na.cancel=k;var Ci=Jr(Hr,pn,Ve,nn),Ei={name:pn,cancel:io,isRunning:!0},sa=ei(pn,Ei,Wa);function io(){Ei.isRunning&&!Ei.isCancelled&&(Ei.isCancelled=!0,Na(Xr))}function Ps(){Ve._isRunning&&!Ve._isCancelled&&(Ve._isCancelled=!0,sa.cancelAll(),Wa(Xr))}return nn&&(nn.cancel=Ps),Ve._isRunning=!0,Na(),Ci;function Na(vr,Kt){if(!Ei.isRunning)throw new Error("Trying to resume an already finished generator");try{var An=void 0;Kt?An=Ve.throw(vr):vr===Xr?(Ei.isCancelled=!0,Na.cancel(),An=R.func(Ve.return)?Ve.return(Xr):{done:!0,value:Xr}):vr===gr?An=R.func(Ve.return)?Ve.return():{done:!0}:An=Ve.next(vr),An.done?(Ei.isMainRunning=!1,Ei.cont&&Ei.cont(An.value)):Va(An.value,Hr,"",Na)}catch(Xn){Ei.isCancelled&&ji(Xn),Ei.isMainRunning=!1,Ei.cont(Xn,!0)}}function Wa(vr,Kt){Ve._isRunning=!1,Di.close(),Kt?(vr instanceof Error&&Object.defineProperty(vr,"sagaStack",{value:"at "+pn+` `+(vr.sagaStack||vr.stack),configurable:!0}),Ci.cont||(vr instanceof Error&&Si?Si(vr):ji(vr)),Ve._error=vr,Ve._isAborted=!0,Ve._deferredEnd&&Ve._deferredEnd.reject(vr)):(Ve._result=vr,Ve._deferredEnd&&Ve._deferredEnd.resolve(vr)),Ci.cont&&Ci.cont(vr,Kt),Ci.joiners.forEach(function(An){return An.cb(vr,Kt)}),Ci.joiners=null}function Va(vr,Kt){var An=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"",Xn=arguments[3],Ni=K();ri&&ri.effectTriggered({effectId:Ni,parentEffectId:Kt,label:An,effect:vr});var Tn=void 0;function jn(oa,Ga){Tn||(Tn=!0,Xn.cancel=k,ri&&(Ga?ri.effectRejected(Ni,oa):ri.effectResolved(Ni,oa)),Xn(oa,Ga))}jn.cancel=k,Xn.cancel=function(){if(!Tn){Tn=!0;try{jn.cancel()}catch(oa){ji(oa)}jn.cancel=k,ri&&ri.effectCancelled(Ni)}};var Pn=void 0;return R.promise(vr)?Fi(vr,jn):R.helper(vr)?xa(Gi(vr),Ni,jn):R.iterator(vr)?va(vr,Ni,pn,jn):R.array(vr)?Yn(vr,Ni,jn):(Pn=br.take(vr))?Ya(Pn,jn):(Pn=br.put(vr))?Xa(Pn,jn):(Pn=br.all(vr))?ws(Pn,Ni,jn):(Pn=br.race(vr))?ca(Pn,Ni,jn):(Pn=br.call(vr))?xo(Pn,Ni,jn):(Pn=br.cps(vr))?is(Pn,jn):(Pn=br.fork(vr))?xa(Pn,Ni,jn):(Pn=br.join(vr))?Js(Pn,jn):(Pn=br.cancel(vr))?Yi(Pn,jn):(Pn=br.select(vr))?Ja(Pn,jn):(Pn=br.actionChannel(vr))?$s(Pn,jn):(Pn=br.flush(vr))?ve(Pn,jn):(Pn=br.cancelled(vr))?fa(Pn,jn):(Pn=br.getContext(vr))?we(Pn,jn):(Pn=br.setContext(vr))?wr(Pn,jn):jn(vr)}function Fi(vr,Kt){var An=vr[p];R.func(An)?Kt.cancel=An:R.func(vr.abort)&&(Kt.cancel=function(){return vr.abort()}),vr.then(Kt,function(Xn){return Kt(Xn,!0)})}function va(vr,Kt,An,Xn){Mi(vr,qe,Mt,Wt,pa,Br,Kt,An,Xn)}function Ya(vr,Kt){var An=vr.channel,Xn=vr.pattern,Ni=vr.maybe;An=An||Di;var Tn=function(Pn){return Pn instanceof Error?Kt(Pn,!0):Re(Pn)&&!Ni?Kt(gr):Kt(Pn)};try{An.take(Tn,Mn(Xn))}catch(jn){return Kt(jn,!0)}Kt.cancel=Tn.cancel}function Xa(vr,Kt){var An=vr.channel,Xn=vr.action,Ni=vr.resolve;it(function(){var Tn=void 0;try{Tn=(An?An.put:Mt)(Xn)}catch(jn){if(An||Ni)return Kt(jn,!0);ji(jn)}if(Ni&&R.promise(Tn))Fi(Tn,Kt);else return Kt(Tn)})}function xo(vr,Kt,An){var Xn=vr.context,Ni=vr.fn,Tn=vr.args,jn=void 0;try{jn=Ni.apply(Xn,Tn)}catch(Pn){return An(Pn,!0)}return R.promise(jn)?Fi(jn,An):R.iterator(jn)?va(jn,Kt,Ni.name,An):An(jn)}function is(vr,Kt){var An=vr.context,Xn=vr.fn,Ni=vr.args;try{var Tn=function(Pn,oa){return R.undef(Pn)?Kt(oa):Kt(Pn,!0)};Xn.apply(An,Ni.concat(Tn)),Tn.cancel&&(Kt.cancel=function(){return Tn.cancel()})}catch(jn){return Kt(jn,!0)}}function xa(vr,Kt,An){var Xn=vr.context,Ni=vr.fn,Tn=vr.args,jn=vr.detached,Pn=ni({context:Xn,fn:Ni,args:Tn});try{Ot();var oa=Mi(Pn,qe,Mt,Wt,pa,Br,Kt,Ni.name,jn?null:k);jn?An(oa):Pn._isRunning?(sa.addTask(oa),An(oa)):Pn._error?sa.abort(Pn._error):An(oa)}finally{et()}}function Js(vr,Kt){if(vr.isRunning()){var An={task:Ci,cb:Kt};Kt.cancel=function(){return G(vr.joiners,An)},vr.joiners.push(An)}else vr.isAborted()?Kt(vr.error(),!0):Kt(vr.result())}function Yi(vr,Kt){vr===l&&(vr=Ci),vr.isRunning()&&vr.cancel(),Kt()}function ws(vr,Kt,An){var Xn=Object.keys(vr);if(!Xn.length)return An(R.array(vr)?[]:{});var Ni=0,Tn=void 0,jn={},Pn={};function oa(){Ni===Xn.length&&(Tn=!0,An(R.array(vr)?Z.from(at({},jn,{length:Xn.length})):jn))}Xn.forEach(function(Ga){var Po=function(Qo,zu){Tn||(zu||Re(Qo)||Qo===gr||Qo===Xr?(An.cancel(),An(Qo,zu)):(jn[Ga]=Qo,Ni++,oa()))};Po.cancel=k,Pn[Ga]=Po}),An.cancel=function(){Tn||(Tn=!0,Xn.forEach(function(Ga){return Pn[Ga].cancel()}))},Xn.forEach(function(Ga){return Va(vr[Ga],Kt,Ga,Pn[Ga])})}function ca(vr,Kt,An){var Xn=void 0,Ni=Object.keys(vr),Tn={};Ni.forEach(function(jn){var Pn=function(Ga,Po){if(!Xn){if(Po)An.cancel(),An(Ga,!0);else if(!Re(Ga)&&Ga!==gr&&Ga!==Xr){var js;An.cancel(),Xn=!0;var Qo=(js={},js[jn]=Ga,js);An(R.array(vr)?[].slice.call(at({},Qo,{length:Ni.length})):Qo)}}};Pn.cancel=k,Tn[jn]=Pn}),An.cancel=function(){Xn||(Xn=!0,Ni.forEach(function(jn){return Tn[jn].cancel()}))},Ni.forEach(function(jn){Xn||Va(vr[jn],Kt,jn,Tn[jn])})}function Ja(vr,Kt){var An=vr.selector,Xn=vr.args;try{var Ni=An.apply(void 0,[Wt()].concat(Xn));Kt(Ni)}catch(Tn){Kt(Tn,!0)}}function $s(vr,Kt){var An=vr.pattern,Xn=vr.buffer,Ni=Mn(An);Ni.pattern=An,Kt(Gt(qe,Xn||cr.fixed(),Ni))}function fa(vr,Kt){Kt(!!Ei.isCancelled)}function ve(vr,Kt){vr.flush(Kt)}function we(vr,Kt){Kt(pa[vr])}function wr(vr,Kt){H.assign(pa,vr),Kt()}function Jr(vr,Kt,An,Xn){var Ni,Tn,jn;return An._deferredEnd=null,Tn={},Tn[o]=!0,Tn.id=vr,Tn.name=Kt,Ni="done",jn={},jn[Ni]=jn[Ni]||{},jn[Ni].get=function(){if(An._deferredEnd)return An._deferredEnd.promise;var Pn=ie();return An._deferredEnd=Pn,An._isRunning||(An._error?Pn.reject(An._error):Pn.resolve(An._result)),Pn.promise},Tn.cont=Xn,Tn.joiners=[],Tn.cancel=Ps,Tn.isRunning=function(){return An._isRunning},Tn.isCancelled=function(){return An._isCancelled},Tn.isAborted=function(){return An._isAborted},Tn.result=function(){return An._result},Tn.error=function(){return An._error},Tn.setContext=function(oa){T(oa,R.object,fe("task",oa)),H.assign(pa,oa)},gn(Tn,jn),Tn}}var Ti="runSaga(storeInterface, saga, ...args)",mi=Ti+": saga argument must be a Generator function!";function vi(Ve,qe){for(var Mt=arguments.length,Wt=Array(Mt>2?Mt-2:0),dr=2;dr=0||Object.prototype.hasOwnProperty.call(Ve,Wt)&&(Mt[Wt]=Ve[Wt]);return Mt}function ii(){var Ve=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},qe=Ve.context,Mt=qe===void 0?{}:qe,Wt=aa(Ve,["context"]),dr=Wt.sagaMonitor,Br=Wt.logger,Hr=Wt.onError;if(R.func(Wt))throw new Error("Saga middleware no longer accept Generator functions. Use sagaMiddleware.run instead");if(Br&&!R.func(Br))throw new Error("`options.logger` passed to the Saga middleware is not a function!");if(Hr&&!R.func(Hr))throw new Error("`options.onError` passed to the Saga middleware is not a function!");if(Wt.emitter&&!R.func(Wt.emitter))throw new Error("`options.emitter` passed to the Saga middleware is not a function!");function pn(nn){var vn=nn.getState,Yn=nn.dispatch,ri=$e();return ri.emit=(Wt.emitter||A)(ri.emit),pn.run=vi.bind(null,{context:Mt,subscribe:ri.subscribe,dispatch:Yn,getState:vn,sagaMonitor:dr,logger:Br,onError:Hr}),function(yi){return function(Si){dr&&dr.actionDispatched&&dr.actionDispatched(Si);var qi=yi(Si);return ri.emit(Si),qi}}}return pn.run=function(){throw new Error("Before running a Saga, you must mount the Saga middleware on the Store using applyMiddleware")},pn.setContext=function(nn){T(nn,R.object,fe("sagaMiddleware",nn)),H.assign(Mt,nn)},pn}var Wi={done:!0,value:void 0},wt={};function st(Ve){return R.channel(Ve)?"channel":Array.isArray(Ve)?String(Ve.map(function(qe){return String(qe)})):String(Ve)}function qn(Ve,qe){var Mt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"iterator",Wt=void 0,dr=qe;function Br(Hr,pn){if(dr===wt)return Wi;if(pn)throw dr=wt,pn;Wt&&Wt(Hr);var nn=Ve[dr](),vn=nn[0],Yn=nn[1],ri=nn[2];return dr=vn,Wt=ri,dr===wt?Wi:Yn}return q(Br,function(Hr){return Br(null,Hr)},Mt,!0)}function bi(Ve,qe){for(var Mt=arguments.length,Wt=Array(Mt>2?Mt-2:0),dr=2;dr2?Mt-2:0),dr=2;dr3?Wt-3:0),Br=3;Br2?Mt-2:0),dr=2;dr2?Mt-2:0),dr=2;dr3?Wt-3:0),Br=3;Br-1&&(qe[Mt]=Ve[Mt]),qe},{})}var qa=function(){function Ve(){(0,Rr.Z)(this,Ve),this._handleActions=null,this.hooks=As.reduce(function(qe,Mt){return qe[Mt]=[],qe},{})}return(0,Or.Z)(Ve,[{key:"use",value:function(Mt){fr()(Ue()(Mt),"plugin.use: plugin should be plain object");var Wt=this.hooks;for(var dr in Mt)Object.prototype.hasOwnProperty.call(Mt,dr)&&(fr()(Wt[dr],"plugin.use: unknown plugin property: ".concat(dr)),dr==="_handleActions"?this._handleActions=Mt[dr]:dr==="extraEnhancers"?Wt[dr]=Mt[dr]:Wt[dr].push(Mt[dr]))}},{key:"apply",value:function(Mt,Wt){var dr=this.hooks,Br=["onError","onHmr"];fr()(Br.indexOf(Mt)>-1,"plugin.apply: hook ".concat(Mt," cannot be applied"));var Hr=dr[Mt];return function(){if(Hr.length){var pn=!0,nn=!1,vn=void 0;try{for(var Yn=Hr[Symbol.iterator](),ri;!(pn=(ri=Yn.next()).done);pn=!0){var yi=ri.value;yi.apply(void 0,arguments)}}catch(Si){nn=!0,vn=Si}finally{try{!pn&&Yn.return!=null&&Yn.return()}finally{if(nn)throw vn}}}else Wt&&Wt.apply(void 0,arguments)}}},{key:"get",value:function(Mt){var Wt=this.hooks;return fr()(Mt in Wt,"plugin.get: hook ".concat(Mt," cannot be got")),Mt==="extraReducers"?na(Wt[Mt]):Mt==="onReducer"?Ii(Wt[Mt]):Wt[Mt]}}]),Ve}();function na(Ve){var qe={},Mt=!0,Wt=!1,dr=void 0;try{for(var Br=Ve[Symbol.iterator](),Hr;!(Mt=(Hr=Br.next()).done);Mt=!0){var pn=Hr.value;qe=(0,s.Z)({},qe,pn)}}catch(nn){Wt=!0,dr=nn}finally{try{!Mt&&Br.return!=null&&Br.return()}finally{if(Wt)throw dr}}return qe}function Ii(Ve){return function(qe){var Mt=!0,Wt=!1,dr=void 0;try{for(var Br=Ve[Symbol.iterator](),Hr;!(Mt=(Hr=Br.next()).done);Mt=!0){var pn=Hr.value;qe=pn(qe)}}catch(nn){Wt=!0,dr=nn}finally{try{!Mt&&Br.return!=null&&Br.return()}finally{if(Wt)throw dr}}return qe}}function Ts(Ve){var qe=Ve.reducers,Mt=Ve.initialState,Wt=Ve.plugin,dr=Ve.sagaMiddleware,Br=Ve.promiseMiddleware,Hr=Ve.createOpts.setupMiddlewares,pn=Hr===void 0?ha:Hr,nn=Wt.get("extraEnhancers");fr()(on(nn),"[app.start] extraEnhancers should be array, but got ".concat((0,Tr.Z)(nn)));var vn=Wt.get("onAction"),Yn=pn([Br,dr].concat((0,rt.Z)(Ur()(vn)))),ri=u.qC,yi=[u.md.apply(void 0,(0,rt.Z)(Yn))].concat((0,rt.Z)(nn));return(0,u.MT)(qe,Mt,ri.apply(void 0,(0,rt.Z)(yi)))}function $a(Ve,qe){var Mt="".concat(qe.namespace).concat(la).concat(Ve),Wt=Mt.replace(/\/@@[^/]+?$/,""),dr=Array.isArray(qe.reducers)?qe.reducers[0][Wt]:qe.reducers&&qe.reducers[Wt];return dr||qe.effects&&qe.effects[Wt]?Mt:Ve}function Os(Ve,qe,Mt,Wt){var dr=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{};return tn().mark(function Br(){var Hr;return tn().wrap(function(nn){for(;;)switch(nn.prev=nn.next){case 0:nn.t0=tn().keys(Ve);case 1:if((nn.t1=nn.t0()).done){nn.next=7;break}if(Hr=nn.t1.value,!Object.prototype.hasOwnProperty.call(Ve,Hr)){nn.next=5;break}return nn.delegateYield(tn().mark(function vn(){var Yn,ri;return tn().wrap(function(Si){for(;;)switch(Si.prev=Si.next){case 0:return Yn=zi(Hr,Ve[Hr],qe,Mt,Wt,dr),Si.next=3,jr(Yn);case 3:return ri=Si.sent,Si.next=6,jr(tn().mark(function qi(){return tn().wrap(function(Di){for(;;)switch(Di.prev=Di.next){case 0:return Di.next=2,Ke("".concat(qe.namespace,"/@@CANCEL_EFFECTS"));case 2:return Di.next=4,sn(ri);case 4:case"end":return Di.stop()}},qi)}));case 6:case"end":return Si.stop()}},vn)})(),"t2",5);case 5:nn.next=1;break;case 7:case"end":return nn.stop()}},Br)})}function zi(Ve,qe,Mt,Wt,dr,Br){var Hr=tn().mark(qi),pn=qe,nn="takeEvery",vn,Yn;if(Array.isArray(qe)){var ri=(0,Ir.Z)(qe,1);pn=ri[0];var yi=qe[1];yi&&yi.type&&(nn=yi.type,nn==="throttle"&&(fr()(yi.ms,"app.start: opts.ms should be defined if type is throttle"),vn=yi.ms),nn==="poll"&&(fr()(yi.delay,"app.start: opts.delay should be defined if type is poll"),Yn=yi.delay)),fr()(["watcher","takeEvery","takeLatest","throttle","poll"].indexOf(nn)>-1,"app.start: effect type should be takeEvery, takeLatest, throttle, poll or watcher")}function Si(){}function qi(){var Di,pa,Ci,Ei,sa,io,Ps,Na,Wa,Va=arguments;return tn().wrap(function(va){for(;;)switch(va.prev=va.next){case 0:for(Di=Va.length,pa=new Array(Di),Ci=0;Ci0?pa[0]:{},sa=Ei.__dva_resolve,io=sa===void 0?Si:sa,Ps=Ei.__dva_reject,Na=Ps===void 0?Si:Ps,va.prev=2,va.next=5,kt({type:"".concat(Ve).concat(la,"@@start")});case 5:return va.next=7,pn.apply(void 0,(0,rt.Z)(pa.concat(ks(Mt,Br))));case 7:return Wa=va.sent,va.next=10,kt({type:"".concat(Ve).concat(la,"@@end")});case 10:io(Wa),va.next=17;break;case 13:va.prev=13,va.t0=va.catch(2),Wt(va.t0,{key:Ve,effectArgs:pa}),va.t0._dontReject||Na(va.t0);case 17:case"end":return va.stop()}},Hr,null,[[2,13]])}var ji=Ro(dr,qi,Mt,Ve);switch(nn){case"watcher":return qi;case"takeLatest":return tn().mark(function Di(){return tn().wrap(function(Ci){for(;;)switch(Ci.prev=Ci.next){case 0:return Ci.next=2,tt(Ve,ji);case 2:case"end":return Ci.stop()}},Di)});case"throttle":return tn().mark(function Di(){return tn().wrap(function(Ci){for(;;)switch(Ci.prev=Ci.next){case 0:return Ci.next=2,It(vn,Ve,ji);case 2:case"end":return Ci.stop()}},Di)});case"poll":return tn().mark(function Di(){var pa,Ci,Ei,sa,io,Ps,Na;return tn().wrap(function(Va){for(;;)switch(Va.prev=Va.next){case 0:Ei=function(va,Ya){var Xa;return tn().wrap(function(is){for(;;)switch(is.prev=is.next){case 0:Xa=va.call;case 1:return is.next=4,Xa(ji,Ya);case 4:return is.next=6,Xa(Ci,Yn);case 6:is.next=1;break;case 8:case"end":return is.stop()}},pa)},Ci=function(va){return new Promise(function(Ya){return setTimeout(Ya,va)})},pa=tn().mark(Ei),sa=Vr,io=Ke,Ps=Dr;case 4:return Va.next=7,io("".concat(Ve,"-start"));case 7:return Na=Va.sent,Va.next=10,Ps([sa(Ei,t,Na),io("".concat(Ve,"-stop"))]);case 10:Va.next=4;break;case 12:case"end":return Va.stop()}},Di)});default:return tn().mark(function Di(){return tn().wrap(function(Ci){for(;;)switch(Ci.prev=Ci.next){case 0:return Ci.next=2,mt(Ve,ji);case 2:case"end":return Ci.stop()}},Di)})}}function ks(Ve,qe){function Mt(Hr,pn){fr()(Hr,"dispatch: action should be a plain Object with type");var nn=qe.namespacePrefixWarning,vn=nn===void 0?!0:nn;vn&&ir()(Hr.indexOf("".concat(Ve.namespace).concat(la))!==0,"[".concat(pn,"] ").concat(Hr," should not be prefixed with namespace ").concat(Ve.namespace))}function Wt(Hr){var pn=Hr.type;return Mt(pn,"sagaEffects.put"),kt((0,s.Z)({},Hr,{type:$a(pn,Ve)}))}function dr(Hr){var pn=Hr.type;return Mt(pn,"sagaEffects.put.resolve"),kt.resolve((0,s.Z)({},Hr,{type:$a(pn,Ve)}))}Wt.resolve=dr;function Br(Hr){return typeof Hr=="string"?(Mt(Hr,"sagaEffects.take"),Ke($a(Hr,Ve))):Array.isArray(Hr)?Ke(Hr.map(function(pn){return typeof pn=="string"?(Mt(pn,"sagaEffects.take"),$a(pn,Ve)):pn})):Ke(Hr)}return(0,s.Z)({},t,{put:Wt,take:Br})}function Ro(Ve,qe,Mt,Wt){var dr=!0,Br=!1,Hr=void 0;try{for(var pn=Ve[Symbol.iterator](),nn;!(dr=(nn=pn.next()).done);dr=!0){var vn=nn.value;qe=vn(qe,t,Mt,Wt)}}catch(Yn){Br=!0,Hr=Yn}finally{try{!dr&&pn.return!=null&&pn.return()}finally{if(Br)throw Hr}}return qe}function ja(Ve){return Ve}function ys(Ve){var qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ja;return function(Mt,Wt){var dr=Wt.type;return fr()(dr,"dispatch: action should be a plain Object with type"),Ve===dr?qe(Mt,Wt):Mt}}function rs(){for(var Ve=arguments.length,qe=new Array(Ve),Mt=0;Mt0&&arguments[0]!==void 0?arguments[0]:qe,Br=arguments.length>1?arguments[1]:void 0;return Wt(dr,Br)}}function kn(Ve,qe,Mt){return Array.isArray(Ve)?Ve[1]((Mt||Ws)(Ve[0],qe)):(Mt||Ws)(Ve||{},qe)}function ns(Ve){return function(){return function(Mt){return function(Wt){var dr=Wt.type;return qe(dr)?new Promise(function(Br,Hr){Mt((0,s.Z)({__dva_resolve:Br,__dva_reject:Hr},Wt))}):Mt(Wt)}}};function qe(Mt){if(!Mt||typeof Mt!="string")return!1;var Wt=Mt.split(la),dr=(0,Ir.Z)(Wt,1),Br=dr[0],Hr=Ve._models.filter(function(pn){return pn.namespace===Br})[0];return!!(Hr&&Hr.effects&&Hr.effects[Mt])}}function yo(Ve,qe){return function(Mt){var Wt=Mt.type;return fr()(Wt,"dispatch: action should be a plain Object with type"),ir()(Wt.indexOf("".concat(qe.namespace).concat(la))!==0,"dispatch: ".concat(Wt," should not be prefixed with namespace ").concat(qe.namespace)),Ve((0,s.Z)({},Mt,{type:$a(Wt,qe)}))}}function Rs(Ve,qe,Mt,Wt){var dr=[],Br=[];for(var Hr in Ve)if(Object.prototype.hasOwnProperty.call(Ve,Hr)){var pn=Ve[Hr],nn=pn({dispatch:yo(Mt._store.dispatch,qe),history:Mt._history},Wt);bn(nn)?dr.push(nn):Br.push(Hr)}return{funcs:dr,nonFuncs:Br}}function Vi(Ve,qe){if(Ve[qe]){var Mt=Ve[qe],Wt=Mt.funcs,dr=Mt.nonFuncs;ir()(dr.length===0,"[app.unmodel] subscription should return unlistener function, check these subscriptions ".concat(dr.join(", ")));var Br=!0,Hr=!1,pn=void 0;try{for(var nn=Wt[Symbol.iterator](),vn;!(Br=(vn=nn.next()).done);Br=!0){var Yn=vn.value;Yn()}}catch(ri){Hr=!0,pn=ri}finally{try{!Br&&nn.return!=null&&nn.return()}finally{if(Hr)throw pn}}delete Ve[qe]}}var Ua=gi,Da=wi,vs={namespace:"@@dva",state:0,reducers:{UPDATE:function(qe){return qe+1}}};function Gs(){var Ve=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Mt=qe.initialReducer,Wt=qe.setupApp,dr=Wt===void 0?Ua:Wt,Br=new qa;Br.use(Ds(Ve));var Hr={_models:[ba((0,s.Z)({},vs))],_store:null,_plugin:Br,use:Br.use.bind(Br),model:pn,start:ri};return Hr;function pn(yi){var Si=ba((0,s.Z)({},yi));return Hr._models.push(Si),Si}function nn(yi,Si,qi,ji){ji=pn(ji);var Di=Hr._store;Di.asyncReducers[ji.namespace]=kn(ji.reducers,ji.state,Br._handleActions),Di.replaceReducer(yi()),ji.effects&&Di.runSaga(Hr._getSaga(ji.effects,ji,Si,Br.get("onEffect"),Ve)),ji.subscriptions&&(qi[ji.namespace]=Rs(ji.subscriptions,ji,Hr,Si))}function vn(yi,Si,qi,ji){var Di=Hr._store;delete Di.asyncReducers[ji],delete Si[ji],Di.replaceReducer(yi()),Di.dispatch({type:"@@dva/UPDATE"}),Di.dispatch({type:"".concat(ji,"/@@CANCEL_EFFECTS")}),Vi(qi,ji),Hr._models=Hr._models.filter(function(pa){return pa.namespace!==ji})}function Yn(yi,Si,qi,ji,Di){var pa=Hr._store,Ci=Di.namespace,Ei=Da(Hr._models,function(sa){return sa.namespace===Ci});~Ei&&(pa.dispatch({type:"".concat(Ci,"/@@CANCEL_EFFECTS")}),delete pa.asyncReducers[Ci],delete Si[Ci],Vi(qi,Ci),Hr._models.splice(Ei,1)),Hr.model(Di),pa.dispatch({type:"@@dva/UPDATE"})}function ri(){var yi=function(wr,Jr){wr&&(typeof wr=="string"&&(wr=new Error(wr)),wr.preventDefault=function(){wr._dontReject=!0},Br.apply("onError",function(vr){throw new Error(vr.stack||vr)})(wr,Hr._store.dispatch,Jr))},Si=_t(),qi=ns(Hr);Hr._getSaga=Os.bind(null);var ji=[],Di=(0,s.Z)({},Mt),pa=!0,Ci=!1,Ei=void 0;try{for(var sa=Hr._models[Symbol.iterator](),io;!(pa=(io=sa.next()).done);pa=!0){var Ps=io.value;Di[Ps.namespace]=kn(Ps.reducers,Ps.state,Br._handleActions),Ps.effects&&ji.push(Hr._getSaga(Ps.effects,Ps,yi,Br.get("onEffect"),Ve))}}catch(we){Ci=!0,Ei=we}finally{try{!pa&&sa.return!=null&&sa.return()}finally{if(Ci)throw Ei}}var Na=Br.get("onReducer"),Wa=Br.get("extraReducers");fr()(Object.keys(Wa).every(function(we){return!(we in Di)}),"[app.start] extraReducers is conflict with other reducers, reducers list: ".concat(Object.keys(Di).join(", "))),Hr._store=Ts({reducers:ve(),initialState:Ve.initialState||{},plugin:Br,createOpts:qe,sagaMiddleware:Si,promiseMiddleware:qi});var Va=Hr._store;Va.runSaga=Si.run,Va.asyncReducers={};var Fi=Br.get("onStateChange"),va=!0,Ya=!1,Xa=void 0;try{for(var xo=function(){var wr=xa.value;Va.subscribe(function(){wr(Va.getState())})},is=Fi[Symbol.iterator](),xa;!(va=(xa=is.next()).done);va=!0)xo()}catch(we){Ya=!0,Xa=we}finally{try{!va&&is.return!=null&&is.return()}finally{if(Ya)throw Xa}}ji.forEach(Si.run),dr(Hr);var Js={},Yi=!0,ws=!1,ca=void 0;try{for(var Ja=this._models[Symbol.iterator](),$s;!(Yi=($s=Ja.next()).done);Yi=!0){var fa=$s.value;fa.subscriptions&&(Js[fa.namespace]=Rs(fa.subscriptions,fa,Hr,yi))}}catch(we){ws=!0,ca=we}finally{try{!Yi&&Ja.return!=null&&Ja.return()}finally{if(ws)throw ca}}Hr.model=nn.bind(Hr,ve,yi,Js),Hr.unmodel=vn.bind(Hr,ve,Di,Js),Hr.replaceModel=Yn.bind(Hr,ve,Di,Js,yi);function ve(){return Na((0,u.UY)((0,s.Z)({},Di,Wa,Hr._store?Hr._store.asyncReducers:{})))}}}var So=e(19590),_o=e(45702),Ks=e(4676);function Qs(Ve){Ve()}let Lo=Qs;const mo=Ve=>Lo=Ve,Ho=()=>Lo,Co=Symbol.for("react-redux-context"),Xo=typeof globalThis!="undefined"?globalThis:{};function hi(){var Ve;if(!n.createContext)return{};const qe=(Ve=Xo[Co])!=null?Ve:Xo[Co]=new Map;let Mt=qe.get(n.createContext);return Mt||(Mt=n.createContext(null),qe.set(n.createContext,Mt)),Mt}const Gn=hi();var ga=null;function os(Ve=Gn){return function(){return(0,n.useContext)(Ve)}}const Ba=os(),ro=()=>{throw new Error("uSES not initialized!")};let Wo=ro;const iu=Ve=>{Wo=Ve},_s=(Ve,qe)=>Ve===qe;function vu(Ve=Gn){const qe=Ve===Gn?Ba:os(Ve);return function(Wt,dr={}){const{equalityFn:Br=_s,stabilityCheck:Hr=void 0,noopCheck:pn=void 0}=typeof dr=="function"?{equalityFn:dr}:dr,{store:nn,subscription:vn,getServerState:Yn,stabilityCheck:ri,noopCheck:yi}=qe(),Si=(0,n.useRef)(!0),qi=(0,n.useCallback)({[Wt.name](Di){return Wt(Di)}}[Wt.name],[Wt,ri,Hr]),ji=Wo(vn.addNestedSub,nn.getState,Yn||nn.getState,qi,Br);return(0,n.useDebugValue)(ji),ji}}const $o=vu();var fu=e(92413),gu=e(96529),Qu=e(94266),Mo=e.n(Qu),Bs=e(23265);const Ou=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function Go(Ve,qe,Mt,Wt,{areStatesEqual:dr,areOwnPropsEqual:Br,areStatePropsEqual:Hr}){let pn=!1,nn,vn,Yn,ri,yi;function Si(Ci,Ei){return nn=Ci,vn=Ei,Yn=Ve(nn,vn),ri=qe(Wt,vn),yi=Mt(Yn,ri,vn),pn=!0,yi}function qi(){return Yn=Ve(nn,vn),qe.dependsOnOwnProps&&(ri=qe(Wt,vn)),yi=Mt(Yn,ri,vn),yi}function ji(){return Ve.dependsOnOwnProps&&(Yn=Ve(nn,vn)),qe.dependsOnOwnProps&&(ri=qe(Wt,vn)),yi=Mt(Yn,ri,vn),yi}function Di(){const Ci=Ve(nn,vn),Ei=!Hr(Ci,Yn);return Yn=Ci,Ei&&(yi=Mt(Yn,ri,vn)),yi}function pa(Ci,Ei){const sa=!Br(Ei,vn),io=!dr(Ci,nn,Ei,vn);return nn=Ci,vn=Ei,sa&&io?qi():sa?ji():io?Di():yi}return function(Ei,sa){return pn?pa(Ei,sa):Si(Ei,sa)}}function bs(Ve,qe){let{initMapStateToProps:Mt,initMapDispatchToProps:Wt,initMergeProps:dr}=qe,Br=(0,gu.Z)(qe,Ou);const Hr=Mt(Ve,Br),pn=Wt(Ve,Br),nn=dr(Ve,Br);return Go(Hr,pn,nn,Ve,Br)}function bo(Ve,qe){const Mt={};for(const Wt in Ve){const dr=Ve[Wt];typeof dr=="function"&&(Mt[Wt]=(...Br)=>qe(dr(...Br)))}return Mt}function yu(Ve){return function(Mt){const Wt=Ve(Mt);function dr(){return Wt}return dr.dependsOnOwnProps=!1,dr}}function Ao(Ve){return Ve.dependsOnOwnProps?!!Ve.dependsOnOwnProps:Ve.length!==1}function jo(Ve,qe){return function(Wt,{displayName:dr}){const Br=function(pn,nn){return Br.dependsOnOwnProps?Br.mapToProps(pn,nn):Br.mapToProps(pn,void 0)};return Br.dependsOnOwnProps=!0,Br.mapToProps=function(pn,nn){Br.mapToProps=Ve,Br.dependsOnOwnProps=Ao(Ve);let vn=Br(pn,nn);return typeof vn=="function"&&(Br.mapToProps=vn,Br.dependsOnOwnProps=Ao(vn),vn=Br(pn,nn)),vn},Br}}function Vs(Ve,qe){return(Mt,Wt)=>{throw new Error(`Invalid value of type ${typeof Ve} for ${qe} argument when connecting component ${Wt.wrappedComponentName}.`)}}function so(Ve){return Ve&&typeof Ve=="object"?yu(qe=>bo(Ve,qe)):Ve?typeof Ve=="function"?jo(Ve,"mapDispatchToProps"):Vs(Ve,"mapDispatchToProps"):yu(qe=>({dispatch:qe}))}function sl(Ve){return Ve?typeof Ve=="function"?jo(Ve,"mapStateToProps"):Vs(Ve,"mapStateToProps"):yu(()=>({}))}function Ns(Ve,qe,Mt){return(0,fu.Z)({},Mt,Ve,qe)}function qt(Ve){return function(Mt,{displayName:Wt,areMergedPropsEqual:dr}){let Br=!1,Hr;return function(nn,vn,Yn){const ri=Ve(nn,vn,Yn);return Br?dr(ri,Hr)||(Hr=ri):(Br=!0,Hr=ri),Hr}}}function ur(Ve){return Ve?typeof Ve=="function"?qt(Ve):Vs(Ve,"mergeProps"):()=>Ns}function ar(){const Ve=Ho();let qe=null,Mt=null;return{clear(){qe=null,Mt=null},notify(){Ve(()=>{let Wt=qe;for(;Wt;)Wt.callback(),Wt=Wt.next})},get(){let Wt=[],dr=qe;for(;dr;)Wt.push(dr),dr=dr.next;return Wt},subscribe(Wt){let dr=!0,Br=Mt={callback:Wt,next:null,prev:Mt};return Br.prev?Br.prev.next=Br:qe=Br,function(){!dr||qe===null||(dr=!1,Br.next?Br.next.prev=Br.prev:Mt=Br.prev,Br.prev?Br.prev.next=Br.next:qe=Br.next)}}}}const mr={notify(){},get:()=>[]};function pr(Ve,qe){let Mt,Wt=mr,dr=0,Br=!1;function Hr(ji){Yn();const Di=Wt.subscribe(ji);let pa=!1;return()=>{pa||(pa=!0,Di(),ri())}}function pn(){Wt.notify()}function nn(){qi.onStateChange&&qi.onStateChange()}function vn(){return Br}function Yn(){dr++,Mt||(Mt=qe?qe.addNestedSub(nn):Ve.subscribe(nn),Wt=ar())}function ri(){dr--,Mt&&dr===0&&(Mt(),Mt=void 0,Wt.clear(),Wt=mr)}function yi(){Br||(Br=!0,Yn())}function Si(){Br&&(Br=!1,ri())}const qi={addNestedSub:Hr,notifyNestedSubs:pn,handleChangeWrapper:nn,isSubscribed:vn,trySubscribe:yi,tryUnsubscribe:Si,getListeners:()=>Wt};return qi}const xn=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?n.useLayoutEffect:n.useEffect;function Nn(Ve,qe){return Ve===qe?Ve!==0||qe!==0||1/Ve===1/qe:Ve!==Ve&&qe!==qe}function $n(Ve,qe){if(Nn(Ve,qe))return!0;if(typeof Ve!="object"||Ve===null||typeof qe!="object"||qe===null)return!1;const Mt=Object.keys(Ve),Wt=Object.keys(qe);if(Mt.length!==Wt.length)return!1;for(let dr=0;dr{sr=Ve},xr=null,mn=[null,null],zn=Ve=>{try{return JSON.stringify(Ve)}catch(qe){return String(Ve)}};function ft(Ve,qe,Mt){xn(()=>Ve(...qe),Mt)}function Rn(Ve,qe,Mt,Wt,dr,Br){Ve.current=Wt,Mt.current=!1,dr.current&&(dr.current=null,Br())}function Kn(Ve,qe,Mt,Wt,dr,Br,Hr,pn,nn,vn,Yn){if(!Ve)return()=>{};let ri=!1,yi=null;const Si=()=>{if(ri||!pn.current)return;const ji=qe.getState();let Di,pa;try{Di=Wt(ji,dr.current)}catch(Ci){pa=Ci,yi=Ci}pa||(yi=null),Di===Br.current?Hr.current||vn():(Br.current=Di,nn.current=Di,Hr.current=!0,Yn())};return Mt.onStateChange=Si,Mt.trySubscribe(),Si(),()=>{if(ri=!0,Mt.tryUnsubscribe(),Mt.onStateChange=null,yi)throw yi}}const li=()=>xr;function Bi(Ve,qe){return Ve===qe}let Kr=!1;function Qi(Ve,qe,Mt,{pure:Wt,areStatesEqual:dr=Bi,areOwnPropsEqual:Br=$n,areStatePropsEqual:Hr=$n,areMergedPropsEqual:pn=$n,forwardRef:nn=!1,context:vn=Gn}={}){const Yn=vn,ri=sl(Ve),yi=so(qe),Si=ur(Mt),qi=!!Ve;return Di=>{const pa=Di.displayName||Di.name||"Component",Ci=`Connect(${pa})`,Ei={shouldHandleStateChanges:qi,displayName:Ci,wrappedComponentName:pa,WrappedComponent:Di,initMapStateToProps:ri,initMapDispatchToProps:yi,initMergeProps:Si,areStatesEqual:dr,areStatePropsEqual:Hr,areOwnPropsEqual:Br,areMergedPropsEqual:pn};function sa(Na){const[Wa,Va,Fi]=n.useMemo(()=>{const{reactReduxForwardedRef:Tn}=Na,jn=(0,gu.Z)(Na,Jn);return[Na.context,Tn,jn]},[Na]),va=n.useMemo(()=>Wa&&Wa.Consumer&&(0,Bs.isContextConsumer)(n.createElement(Wa.Consumer,null))?Wa:Yn,[Wa,Yn]),Ya=n.useContext(va),Xa=!!Na.store&&!!Na.store.getState&&!!Na.store.dispatch,xo=!!Ya&&!!Ya.store,is=Xa?Na.store:Ya.store,xa=xo?Ya.getServerState:is.getState,Js=n.useMemo(()=>bs(is.dispatch,Ei),[is]),[Yi,ws]=n.useMemo(()=>{if(!qi)return mn;const Tn=pr(is,Xa?void 0:Ya.subscription),jn=Tn.notifyNestedSubs.bind(Tn);return[Tn,jn]},[is,Xa,Ya]),ca=n.useMemo(()=>Xa?Ya:(0,fu.Z)({},Ya,{subscription:Yi}),[Xa,Ya,Yi]),Ja=n.useRef(),$s=n.useRef(Fi),fa=n.useRef(),ve=n.useRef(!1),we=n.useRef(!1),wr=n.useRef(!1),Jr=n.useRef();xn(()=>(wr.current=!0,()=>{wr.current=!1}),[]);const vr=n.useMemo(()=>()=>fa.current&&Fi===$s.current?fa.current:Js(is.getState(),Fi),[is,Fi]),Kt=n.useMemo(()=>jn=>Yi?Kn(qi,is,Yi,Js,$s,Ja,ve,wr,fa,ws,jn):()=>{},[Yi]);ft(Rn,[$s,Ja,ve,Fi,fa,ws]);let An;try{An=sr(Kt,vr,xa?()=>Js(xa(),Fi):vr)}catch(Tn){throw Jr.current&&(Tn.message+=` The error may be correlated with this previous error: ${Jr.current.stack} `),Tn}xn(()=>{Jr.current=void 0,fa.current=void 0,Ja.current=An});const Xn=n.useMemo(()=>n.createElement(Di,(0,fu.Z)({},An,{ref:Va})),[Va,Di,An]);return n.useMemo(()=>qi?n.createElement(va.Provider,{value:ca},Xn):Xn,[va,Xn,ca])}const Ps=n.memo(sa);if(Ps.WrappedComponent=Di,Ps.displayName=sa.displayName=Ci,nn){const Wa=n.forwardRef(function(Fi,va){return n.createElement(Ps,(0,fu.Z)({},Fi,{reactReduxForwardedRef:va}))});return Wa.displayName=Ci,Wa.WrappedComponent=Di,Mo()(Wa,Di)}return Mo()(Ps,Di)}}var ya=Qi;function Li({store:Ve,context:qe,children:Mt,serverState:Wt,stabilityCheck:dr="once",noopCheck:Br="once"}){const Hr=n.useMemo(()=>{const vn=pr(Ve);return{store:Ve,subscription:vn,getServerState:Wt?()=>Wt:void 0,stabilityCheck:dr,noopCheck:Br}},[Ve,Wt,dr,Br]),pn=n.useMemo(()=>Ve.getState(),[Ve]);xn(()=>{const{subscription:vn}=Hr;return vn.onStateChange=vn.notifyNestedSubs,vn.trySubscribe(),pn!==Ve.getState()&&vn.notifyNestedSubs(),()=>{vn.tryUnsubscribe(),vn.onStateChange=void 0}},[Hr,pn]);const nn=qe||Gn;return n.createElement(nn.Provider,{value:Hr},Mt)}var Oa=Li;function xs(Ve=Gn){const qe=Ve===Gn?Ba:os(Ve);return function(){const{store:Wt}=qe();return Wt}}const pi=xs();function hn(Ve=Gn){const qe=Ve===Gn?pi:xs(Ve);return function(){return qe().dispatch}}const To=hn();iu(_o.useSyncExternalStoreWithSelector),Nr(So.useSyncExternalStore),mo(Ks.unstable_batchedUpdates);var ms=Object.defineProperty,ka=Object.getOwnPropertySymbols,no=Object.prototype.hasOwnProperty,qs=Object.prototype.propertyIsEnumerable,Cn=(Ve,qe,Mt)=>qe in Ve?ms(Ve,qe,{enumerable:!0,configurable:!0,writable:!0,value:Mt}):Ve[qe]=Mt,us=(Ve,qe)=>{for(var Mt in qe||(qe={}))no.call(qe,Mt)&&Cn(Ve,Mt,qe[Mt]);if(ka)for(var Mt of ka(qe))qs.call(qe,Mt)&&Cn(Ve,Mt,qe[Mt]);return Ve};function Ls(Ve){const qe=create(Ve,{initialReducer:{},setupApp(){}}),Mt=qe.start;return qe.router=Wt,qe.start=dr,qe;function Wt(Br){qe._router=Br}function dr(Br){if(typeof Br!="undefined")throw new Error("dva.start() should not be called with any arguments.");qe._store||Mt.call(qe);const Hr=qe._store,pn=qe._router;return nn=>React.createElement(Provider,{store:Hr},pn(us({app:qe},nn)))}}},37989:function(d,v,e){"use strict";e.d(v,{fi:function(){return l},m8:function(){return p}});var t=e(19340),n=Object.defineProperty,s=Object.defineProperties,u=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,o=(k,A,T)=>A in k?n(k,A,{enumerable:!0,configurable:!0,writable:!0,value:T}):k[A]=T,i=(k,A)=>{for(var T in A||(A={}))c.call(A,T)&&o(k,T,A[T]);if(f)for(var T of f(A))h.call(A,T)&&o(k,T,A[T]);return k},y=(k,A)=>s(k,u(A));let p,g="/";function l(k){let A;return k.type==="hash"?A=(0,t.q_)():k.type==="memory"?A=(0,t.PP)(k):A=(0,t.lX)(),k.basename&&(g=k.basename),p=y(i({},A),{push(T,F){A.push(x(T,A),F)},replace(T,F){A.replace(x(T,A),F)},get location(){return A.location},get action(){return A.action}}),A}function b(k){k&&(p=k)}function x(k,A){if(typeof k=="string")return`${O(g)}${k}`;if(typeof k=="object"){const T=A.location.pathname;return y(i({},k),{pathname:k.pathname?`${O(g)}${k.pathname}`:T})}else throw new Error(`Unexpected to: ${k}`)}function O(k){return k.slice(-1)==="/"?k.slice(0,-1):k}},5085:function(d,v,e){"use strict";e.d(v,{gD:function(){return ln},We:function(){return or}});var t={};e.r(t),e.d(t,{dva:function(){return i}});var n={};e.r(n),e.d(n,{innerProvider:function(){return Ze}});var s={};e.r(s),e.d(s,{rootContainer:function(){return Te}});var u={};e.r(u),e.d(u,{dataflowProvider:function(){return Ht}});var f={};e.r(f),e.d(f,{i18nProvider:function(){return Er}});var c=e(8591),h=e(61186),o=e.n(h);o().locale("ZH-cn");const i={config:{onError(Lt){c.ZP.error(Lt.message,3)}}};var y=e(59301),p=e(12708),g=e.n(p),l=e(12373),b=e.n(l),x=e(44520),O=e.n(x),k=e(19747),A=e.n(k);function T(){return T=Object.assign||function(Lt){for(var gt=1;gt=0||(Cr[bt]=Lt[bt]);return Cr}var H={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},G={rel:["amphtml","canonical","alternate"]},Z={type:["application/ld+json"]},ie={charset:"",name:["robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]},ne=Object.keys(H).map(function(Lt){return H[Lt]}),se={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},Q=Object.keys(se).reduce(function(Lt,gt){return Lt[se[gt]]=gt,Lt},{}),V=function(Lt,gt){for(var bt=Lt.length-1;bt>=0;bt-=1){var jt=Lt[bt];if(Object.prototype.hasOwnProperty.call(jt,gt))return jt[gt]}return null},K=function(Lt){var gt=V(Lt,H.TITLE),bt=V(Lt,"titleTemplate");if(Array.isArray(gt)&&(gt=gt.join("")),bt&>)return bt.replace(/%s/g,function(){return gt});var jt=V(Lt,"defaultTitle");return gt||jt||void 0},ae=function(Lt){return V(Lt,"onChangeClientState")||function(){}},ee=function(Lt,gt){return gt.filter(function(bt){return bt[Lt]!==void 0}).map(function(bt){return bt[Lt]}).reduce(function(bt,jt){return T({},bt,jt)},{})},q=function(Lt,gt){return gt.filter(function(bt){return bt[H.BASE]!==void 0}).map(function(bt){return bt[H.BASE]}).reverse().reduce(function(bt,jt){if(!bt.length)for(var Cr=Object.keys(jt),br=0;br/g,">").replace(/"/g,""").replace(/'/g,"'")},Le=function(Lt){return Object.keys(Lt).reduce(function(gt,bt){var jt=Lt[bt]!==void 0?bt+'="'+Lt[bt]+'"':""+bt;return gt?gt+" "+jt:jt},"")},Oe=function(Lt,gt){return gt===void 0&&(gt={}),Object.keys(Lt).reduce(function(bt,jt){return bt[se[jt]||jt]=Lt[jt],bt},gt)},Ft=function(Lt,gt){return gt.map(function(bt,jt){var Cr,br=((Cr={key:jt})["data-rh"]=!0,Cr);return Object.keys(bt).forEach(function(at){var Fr=se[at]||at;Fr==="innerHTML"||Fr==="cssText"?br.dangerouslySetInnerHTML={__html:bt.innerHTML||bt.cssText}:br[Fr]=bt[at]}),y.createElement(Lt,br)})},ht=function(Lt,gt,bt){switch(Lt){case H.TITLE:return{toComponent:function(){return Cr=gt.titleAttributes,(br={key:jt=gt.title})["data-rh"]=!0,at=Oe(Cr,br),[y.createElement(H.TITLE,at,jt)];var jt,Cr,br,at},toString:function(){return function(jt,Cr,br,at){var Fr=Le(br),gn=L(Cr);return Fr?"<"+jt+' data-rh="true" '+Fr+">"+Ce(gn,at)+"":"<"+jt+' data-rh="true">'+Ce(gn,at)+""}(Lt,gt.title,gt.titleAttributes,bt)}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return Oe(gt)},toString:function(){return Le(gt)}};default:return{toComponent:function(){return Ft(Lt,gt)},toString:function(){return function(jt,Cr,br){return Cr.reduce(function(at,Fr){var gn=Object.keys(Fr).filter(function(Xr){return!(Xr==="innerHTML"||Xr==="cssText")}).reduce(function(Xr,dn){var Mn=Fr[dn]===void 0?dn:dn+'="'+Ce(Fr[dn],br)+'"';return Xr?Xr+" "+Mn:Mn},""),Wn=Fr.innerHTML||Fr.cssText||"",gr=xe.indexOf(jt)===-1;return at+"<"+jt+' data-rh="true" '+gn+(gr?"/>":">"+Wn+"")},"")}(Lt,gt,bt)}}}},At=function(Lt){var gt=Lt.baseTag,bt=Lt.bodyAttributes,jt=Lt.encode,Cr=Lt.htmlAttributes,br=Lt.noscriptTags,at=Lt.styleTags,Fr=Lt.title,gn=Fr===void 0?"":Fr,Wn=Lt.titleAttributes,gr=Lt.linkTags,Xr=Lt.metaTags,dn=Lt.scriptTags,Mn={toComponent:function(){},toString:function(){return""}};if(Lt.prioritizeSeoTags){var ei=function(ni){var Gi=ni.linkTags,Mi=ni.scriptTags,Ti=ni.encode,mi=X(ni.metaTags,ie),vi=X(Gi,G),aa=X(Mi,Z);return{priorityMethods:{toComponent:function(){return[].concat(Ft(H.META,mi.priority),Ft(H.LINK,vi.priority),Ft(H.SCRIPT,aa.priority))},toString:function(){return ht(H.META,mi.priority,Ti)+" "+ht(H.LINK,vi.priority,Ti)+" "+ht(H.SCRIPT,aa.priority,Ti)}},metaTags:mi.default,linkTags:vi.default,scriptTags:aa.default}}(Lt);Mn=ei.priorityMethods,gr=ei.linkTags,Xr=ei.metaTags,dn=ei.scriptTags}return{priority:Mn,base:ht(H.BASE,gt,jt),bodyAttributes:ht("bodyAttributes",bt,jt),htmlAttributes:ht("htmlAttributes",Cr,jt),link:ht(H.LINK,gr,jt),meta:ht(H.META,Xr,jt),noscript:ht(H.NOSCRIPT,br,jt),script:ht(H.SCRIPT,dn,jt),style:ht(H.STYLE,at,jt),title:ht(H.TITLE,{title:gn,titleAttributes:Wn},jt)}},tr=[],Jt=function(Lt,gt){var bt=this;gt===void 0&&(gt=typeof document!="undefined"),this.instances=[],this.value={setHelmet:function(jt){bt.context.helmet=jt},helmetInstances:{get:function(){return bt.canUseDOM?tr:bt.instances},add:function(jt){(bt.canUseDOM?tr:bt.instances).push(jt)},remove:function(jt){var Cr=(bt.canUseDOM?tr:bt.instances).indexOf(jt);(bt.canUseDOM?tr:bt.instances).splice(Cr,1)}}},this.context=Lt,this.canUseDOM=gt,gt||(Lt.helmet=At({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))},cr=y.createContext({}),Qe=g().shape({setHelmet:g().func,helmetInstances:g().shape({get:g().func,add:g().func,remove:g().func})}),Pt=typeof document!="undefined",zt=function(Lt){function gt(bt){var jt;return(jt=Lt.call(this,bt)||this).helmetData=new Jt(jt.props.context,gt.canUseDOM),jt}return F(gt,Lt),gt.prototype.render=function(){return y.createElement(cr.Provider,{value:this.helmetData.value},this.props.children)},gt}(y.Component);zt.canUseDOM=Pt,zt.propTypes={context:g().shape({helmet:g().shape()}),children:g().node.isRequired},zt.defaultProps={context:{}},zt.displayName="HelmetProvider";var it=function(Lt,gt){var bt,jt=document.head||document.querySelector(H.HEAD),Cr=jt.querySelectorAll(Lt+"[data-rh]"),br=[].slice.call(Cr),at=[];return gt&>.length&>.forEach(function(Fr){var gn=document.createElement(Lt);for(var Wn in Fr)Object.prototype.hasOwnProperty.call(Fr,Wn)&&(Wn==="innerHTML"?gn.innerHTML=Fr.innerHTML:Wn==="cssText"?gn.styleSheet?gn.styleSheet.cssText=Fr.cssText:gn.appendChild(document.createTextNode(Fr.cssText)):gn.setAttribute(Wn,Fr[Wn]===void 0?"":Fr[Wn]));gn.setAttribute("data-rh","true"),br.some(function(gr,Xr){return bt=Xr,gn.isEqualNode(gr)})?br.splice(bt,1):at.push(gn)}),br.forEach(function(Fr){return Fr.parentNode.removeChild(Fr)}),at.forEach(function(Fr){return jt.appendChild(Fr)}),{oldTags:br,newTags:at}},Ot=function(Lt,gt){var bt=document.getElementsByTagName(Lt)[0];if(bt){for(var jt=bt.getAttribute("data-rh"),Cr=jt?jt.split(","):[],br=[].concat(Cr),at=Object.keys(gt),Fr=0;Fr=0;Xr-=1)bt.removeAttribute(br[Xr]);Cr.length===br.length?bt.removeAttribute("data-rh"):bt.getAttribute("data-rh")!==at.join(",")&&bt.setAttribute("data-rh",at.join(","))}},pt=function(Lt,gt){var bt=Lt.baseTag,jt=Lt.htmlAttributes,Cr=Lt.linkTags,br=Lt.metaTags,at=Lt.noscriptTags,Fr=Lt.onChangeClientState,gn=Lt.scriptTags,Wn=Lt.styleTags,gr=Lt.title,Xr=Lt.titleAttributes;Ot(H.BODY,Lt.bodyAttributes),Ot(H.HTML,jt),function(ni,Gi){ni!==void 0&&document.title!==ni&&(document.title=L(ni)),Ot(H.TITLE,Gi)}(gr,Xr);var dn={baseTag:it(H.BASE,bt),linkTags:it(H.LINK,Cr),metaTags:it(H.META,br),noscriptTags:it(H.NOSCRIPT,at),scriptTags:it(H.SCRIPT,gn),styleTags:it(H.STYLE,Wn)},Mn={},ei={};Object.keys(dn).forEach(function(ni){var Gi=dn[ni],Mi=Gi.newTags,Ti=Gi.oldTags;Mi.length&&(Mn[ni]=Mi),Ti.length&&(ei[ni]=dn[ni].oldTags)}),gt&>(),Fr(Lt,Mn,ei)},et=null,Ne=function(Lt){function gt(){for(var jt,Cr=arguments.length,br=new Array(Cr),at=0;at elements are self-closing and can not contain children. Refer to our API for more information.")}},bt.flattenArrayTypeChildren=function(jt){var Cr,br=jt.child,at=jt.arrayTypeChildren;return T({},at,((Cr={})[br.type]=[].concat(at[br.type]||[],[T({},jt.newChildProps,this.mapNestedChildrenToProps(br,jt.nestedChildren))]),Cr))},bt.mapObjectTypeChildren=function(jt){var Cr,br,at=jt.child,Fr=jt.newProps,gn=jt.newChildProps,Wn=jt.nestedChildren;switch(at.type){case H.TITLE:return T({},Fr,((Cr={})[at.type]=Wn,Cr.titleAttributes=T({},gn),Cr));case H.BODY:return T({},Fr,{bodyAttributes:T({},gn)});case H.HTML:return T({},Fr,{htmlAttributes:T({},gn)});default:return T({},Fr,((br={})[at.type]=T({},gn),br))}},bt.mapArrayTypeChildrenToProps=function(jt,Cr){var br=T({},Cr);return Object.keys(jt).forEach(function(at){var Fr;br=T({},br,((Fr={})[at]=jt[at],Fr))}),br},bt.warnOnInvalidChildren=function(jt,Cr){return O()(ne.some(function(br){return jt.type===br}),typeof jt.type=="function"?"You may be attempting to nest components within each other, which is not allowed. Refer to our API for more information.":"Only elements types "+ne.join(", ")+" are allowed. Helmet does not support rendering <"+jt.type+"> elements. Refer to our API for more information."),O()(!Cr||typeof Cr=="string"||Array.isArray(Cr)&&!Cr.some(function(br){return typeof br!="string"}),"Helmet expects a string as a child of <"+jt.type+">. Did you forget to wrap your children in braces? ( <"+jt.type+">{``} ) Refer to our API for more information."),!0},bt.mapChildrenToProps=function(jt,Cr){var br=this,at={};return y.Children.forEach(jt,function(Fr){if(Fr&&Fr.props){var gn=Fr.props,Wn=gn.children,gr=R(gn,me),Xr=Object.keys(gr).reduce(function(Mn,ei){return Mn[Q[ei]||ei]=gr[ei],Mn},{}),dn=Fr.type;switch(typeof dn=="symbol"?dn=dn.toString():br.warnOnInvalidChildren(Fr,Wn),dn){case H.FRAGMENT:Cr=br.mapChildrenToProps(Wn,Cr);break;case H.LINK:case H.META:case H.NOSCRIPT:case H.SCRIPT:case H.STYLE:at=br.flattenArrayTypeChildren({child:Fr,arrayTypeChildren:at,newChildProps:Xr,nestedChildren:Wn});break;default:Cr=br.mapObjectTypeChildren({child:Fr,newProps:Cr,newChildProps:Xr,nestedChildren:Wn})}}}),this.mapArrayTypeChildrenToProps(at,Cr)},bt.render=function(){var jt=this.props,Cr=jt.children,br=R(jt,Ee),at=T({},br),Fr=br.helmetData;return Cr&&(at=this.mapChildrenToProps(Cr,at)),!Fr||Fr instanceof Jt||(Fr=new Jt(Fr.context,Fr.instances)),Fr?y.createElement(Ne,T({},at,{context:Fr.value,helmetData:void 0})):y.createElement(cr.Consumer,null,function(gn){return y.createElement(Ne,T({},at,{context:gn}))})},gt}(y.Component);Re.propTypes={base:g().object,bodyAttributes:g().object,children:g().oneOfType([g().arrayOf(g().node),g().node]),defaultTitle:g().string,defer:g().bool,encodeSpecialCharacters:g().bool,htmlAttributes:g().object,link:g().arrayOf(g().object),meta:g().arrayOf(g().object),noscript:g().arrayOf(g().object),onChangeClientState:g().func,script:g().arrayOf(g().object),style:g().arrayOf(g().object),title:g().string,titleAttributes:g().object,titleTemplate:g().string,prioritizeSeoTags:g().bool,helmetData:g().object},Re.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},Re.displayName="Helmet";const $e={},Ze=Lt=>y.createElement(zt,{context:$e},Lt);var nt=e(92736),ut=e(89070),Gt=e(93083),Zt=e(33143),Pe=e(28440),Je=e.n(Pe),Vt=Object.defineProperty,Rt=Object.getOwnPropertySymbols,Nt=Object.prototype.hasOwnProperty,Bt=Object.prototype.propertyIsEnumerable,Ct=(Lt,gt,bt)=>gt in Lt?Vt(Lt,gt,{enumerable:!0,configurable:!0,writable:!0,value:bt}):Lt[gt]=bt,Yt=(Lt,gt)=>{for(var bt in gt||(gt={}))Nt.call(gt,bt)&&Ct(Lt,bt,gt[bt]);if(Rt)for(var bt of Rt(gt))Bt.call(gt,bt)&&Ct(Lt,bt,gt[bt]);return Lt},ze=(Lt,gt)=>{var bt={};for(var jt in Lt)Nt.call(Lt,jt)&>.indexOf(jt)<0&&(bt[jt]=Lt[jt]);if(Lt!=null&&Rt)for(var jt of Rt(Lt))gt.indexOf(jt)<0&&Bt.call(Lt,jt)&&(bt[jt]=Lt[jt]);return bt};let ue=null;const le=()=>(ue||(ue=or().applyPlugins({key:"antd",type:ut.ApplyPluginsType.modify,initialValue:Yt({},{componentSize:"middle"})})),ue);function Dt({children:Lt}){let gt=Lt;const[bt,jt]=y.useState(()=>{const br=le(),{appConfig:at}=br;return ze(br,["appConfig"])}),Cr=br=>{jt(at=>Je()({},at,typeof br=="function"?br(at):br))};return bt.prefixCls&&nt.ZP.config({prefixCls:bt.prefixCls}),bt.iconPrefixCls&&nt.ZP.config({iconPrefixCls:bt.iconPrefixCls}),bt.theme&&nt.ZP.config({theme:bt.theme}),gt=y.createElement(nt.ZP,Yt({},bt),gt),gt=y.createElement(Gt.StyleProvider,{hashPriority:"high"},gt),gt=y.createElement(Zt.C.Provider,{value:Cr},y.createElement(Zt.S.Provider,{value:bt},gt)),gt}function Te(Lt){return y.createElement(Dt,null,Lt)}var dt=e(72742);function Ht(Lt,gt){return y.createElement(dt.j,gt,Lt)}var ct=e(65517),Ie=e(57013),Et=e(81863),ge=Object.defineProperty,Ke=Object.getOwnPropertySymbols,yt=Object.prototype.hasOwnProperty,kt=Object.prototype.propertyIsEnumerable,Fe=(Lt,gt,bt)=>gt in Lt?ge(Lt,gt,{enumerable:!0,configurable:!0,writable:!0,value:bt}):Lt[gt]=bt,Dr=(Lt,gt)=>{for(var bt in gt||(gt={}))yt.call(gt,bt)&&Fe(Lt,bt,gt[bt]);if(Ke)for(var bt of Ke(gt))kt.call(gt,bt)&&Fe(Lt,bt,gt[bt]);return Lt};function St(){var Lt,gt;const bt=getLocale();(Lt=moment)!=null&&Lt.locale&&moment.locale(((gt=localeInfo[bt])==null?void 0:gt.momentLocale)||"zh-cn"),setIntl(bt)}const Vr=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?y.useLayoutEffect:y.useEffect,qr=Lt=>{var gt;const bt=(0,Ie.Kd)(),[jt,Cr]=y.useState(bt),[br,at]=y.useState(()=>(0,Ie.lw)(jt,!0)),Fr=gr=>{var Xr,dn;(Xr=o())!=null&&Xr.locale&&o().locale(((dn=Ie.H8[gr])==null?void 0:dn.momentLocale)||"en"),Cr(gr),at((0,Ie.lw)(gr))};Vr(()=>(Ie.B.on(Ie.PZ,Fr),()=>{Ie.B.off(Ie.PZ,Fr)}),[]);const gn=Dr({},Et.Z),Wn=(0,Ie.Mg)();return y.createElement(nt.ZP,{direction:Wn,locale:((gt=Ie.H8[jt])==null?void 0:gt.antd)||gn},y.createElement(Ie.eU,{value:br},Lt.children))};function Er(Lt){return y.createElement(qr,null,Lt)}function jr(Lt){return Lt.default?typeof Lt.default=="function"?Lt.default():Lt.default:Lt}function hr(){return[{apply:jr(t),path:void 0},{apply:n,path:void 0},{apply:s,path:void 0},{apply:u,path:void 0},{apply:f,path:void 0}]}function Zr(){return["patchRoutes","patchClientRoutes","modifyContextOpts","modifyClientRenderOpts","rootContainer","innerProvider","i18nProvider","accessProvider","dataflowProvider","outerProvider","render","onRouteChange","antd","dva","locale","qiankun"]}let sn=null;function ln(){return sn=ut.PluginManager.create({plugins:hr(),validKeys:Zr()}),sn}function or(){return sn}},89070:function(d,v,e){"use strict";e.d(v,{ApplyPluginsType:function(){return Pt},Link:function(){return V},Outlet:function(){return K.j3},PluginManager:function(){return zt},connect:function(){return f.$j},getDvaApp:function(){return c.Q},history:function(){return it.m8},useAppData:function(){return Z.Ov},useDispatch:function(){return f.I0},useLocation:function(){return K.TH},useOutletContext:function(){return K.bx},useParams:function(){return K.UO},useSearchParams:function(){return G.lr},useSelector:function(){return f.v9}});var t=e(59301),n=e(33143);function s(){return React.useContext(AntdConfigContext)}function u(){return React.useContext(AntdConfigContextSetter)}var f=e(29413),c=e(72742),h=e(57013),o=Object.defineProperty,i=Object.defineProperties,y=Object.getOwnPropertyDescriptors,p=Object.getOwnPropertySymbols,g=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable,b=(Ze,nt,ut)=>nt in Ze?o(Ze,nt,{enumerable:!0,configurable:!0,writable:!0,value:ut}):Ze[nt]=ut,x=(Ze,nt)=>{for(var ut in nt||(nt={}))g.call(nt,ut)&&b(Ze,ut,nt[ut]);if(p)for(var ut of p(nt))l.call(nt,ut)&&b(Ze,ut,nt[ut]);return Ze},O=(Ze,nt)=>i(Ze,y(nt)),k=(Ze,nt)=>{var ut={};for(var Gt in Ze)g.call(Ze,Gt)&&nt.indexOf(Gt)<0&&(ut[Gt]=Ze[Gt]);if(Ze!=null&&p)for(var Gt of p(Ze))nt.indexOf(Gt)<0&&l.call(Ze,Gt)&&(ut[Gt]=Ze[Gt]);return ut};const A=Ze=>{var nt=Ze,{overlayClassName:ut}=nt,Gt=k(nt,["overlayClassName"]);return React.createElement(Dropdown,x({overlayClassName:ut},Gt))},T=Ze=>Ze.reduce((nt,ut)=>ut.lang?O(x({},nt),{[ut.lang]:ut}):nt,{}),F={"ar-EG":{lang:"ar-EG",label:"\u0627\u0644\u0639\u0631\u0628\u064A\u0629",icon:"\u{1F1EA}\u{1F1EC}",title:"\u0644\u063A\u0629"},"az-AZ":{lang:"az-AZ",label:"Az\u0259rbaycan dili",icon:"\u{1F1E6}\u{1F1FF}",title:"Dil"},"bg-BG":{lang:"bg-BG",label:"\u0411\u044A\u043B\u0433\u0430\u0440\u0441\u043A\u0438 \u0435\u0437\u0438\u043A",icon:"\u{1F1E7}\u{1F1EC}",title:"\u0435\u0437\u0438\u043A"},"bn-BD":{lang:"bn-BD",label:"\u09AC\u09BE\u0982\u09B2\u09BE",icon:"\u{1F1E7}\u{1F1E9}",title:"\u09AD\u09BE\u09B7\u09BE"},"ca-ES":{lang:"ca-ES",label:"Catal\xE1",icon:"\u{1F1E8}\u{1F1E6}",title:"llengua"},"cs-CZ":{lang:"cs-CZ",label:"\u010Ce\u0161tina",icon:"\u{1F1E8}\u{1F1FF}",title:"Jazyk"},"da-DK":{lang:"da-DK",label:"Dansk",icon:"\u{1F1E9}\u{1F1F0}",title:"Sprog"},"de-DE":{lang:"de-DE",label:"Deutsch",icon:"\u{1F1E9}\u{1F1EA}",title:"Sprache"},"el-GR":{lang:"el-GR",label:"\u0395\u03BB\u03BB\u03B7\u03BD\u03B9\u03BA\u03AC",icon:"\u{1F1EC}\u{1F1F7}",title:"\u0393\u03BB\u03CE\u03C3\u03C3\u03B1"},"en-GB":{lang:"en-GB",label:"English",icon:"\u{1F1EC}\u{1F1E7}",title:"Language"},"en-US":{lang:"en-US",label:"English",icon:"\u{1F1FA}\u{1F1F8}",title:"Language"},"es-ES":{lang:"es-ES",label:"Espa\xF1ol",icon:"\u{1F1EA}\u{1F1F8}",title:"Idioma"},"et-EE":{lang:"et-EE",label:"Eesti",icon:"\u{1F1EA}\u{1F1EA}",title:"Keel"},"fa-IR":{lang:"fa-IR",label:"\u0641\u0627\u0631\u0633\u06CC",icon:"\u{1F1EE}\u{1F1F7}",title:"\u0632\u0628\u0627\u0646"},"fi-FI":{lang:"fi-FI",label:"Suomi",icon:"\u{1F1EB}\u{1F1EE}",title:"Kieli"},"fr-BE":{lang:"fr-BE",label:"Fran\xE7ais",icon:"\u{1F1E7}\u{1F1EA}",title:"Langue"},"fr-FR":{lang:"fr-FR",label:"Fran\xE7ais",icon:"\u{1F1EB}\u{1F1F7}",title:"Langue"},"ga-IE":{lang:"ga-IE",label:"Gaeilge",icon:"\u{1F1EE}\u{1F1EA}",title:"Teanga"},"he-IL":{lang:"he-IL",label:"\u05E2\u05D1\u05E8\u05D9\u05EA",icon:"\u{1F1EE}\u{1F1F1}",title:"\u05E9\u05E4\u05D4"},"hi-IN":{lang:"hi-IN",label:"\u0939\u093F\u0928\u094D\u0926\u0940, \u0939\u093F\u0902\u0926\u0940",icon:"\u{1F1EE}\u{1F1F3}",title:"\u092D\u093E\u0937\u093E: \u0939\u093F\u0928\u094D\u0926\u0940"},"hr-HR":{lang:"hr-HR",label:"Hrvatski jezik",icon:"\u{1F1ED}\u{1F1F7}",title:"Jezik"},"hu-HU":{lang:"hu-HU",label:"Magyar",icon:"\u{1F1ED}\u{1F1FA}",title:"Nyelv"},"hy-AM":{lang:"hu-HU",label:"\u0540\u0561\u0575\u0565\u0580\u0565\u0576",icon:"\u{1F1E6}\u{1F1F2}",title:"\u053C\u0565\u0566\u0578\u0582"},"id-ID":{lang:"id-ID",label:"Bahasa Indonesia",icon:"\u{1F1EE}\u{1F1E9}",title:"Bahasa"},"it-IT":{lang:"it-IT",label:"Italiano",icon:"\u{1F1EE}\u{1F1F9}",title:"Linguaggio"},"is-IS":{lang:"is-IS",label:"\xCDslenska",icon:"\u{1F1EE}\u{1F1F8}",title:"Tungum\xE1l"},"ja-JP":{lang:"ja-JP",label:"\u65E5\u672C\u8A9E",icon:"\u{1F1EF}\u{1F1F5}",title:"\u8A00\u8A9E"},"ku-IQ":{lang:"ku-IQ",label:"\u06A9\u0648\u0631\u062F\u06CC",icon:"\u{1F1EE}\u{1F1F6}",title:"Ziman"},"kn-IN":{lang:"kn-IN",label:"\u0C95\u0CA8\u0CCD\u0CA8\u0CA1",icon:"\u{1F1EE}\u{1F1F3}",title:"\u0CAD\u0CBE\u0CB7\u0CC6"},"ko-KR":{lang:"ko-KR",label:"\uD55C\uAD6D\uC5B4",icon:"\u{1F1F0}\u{1F1F7}",title:"\uC5B8\uC5B4"},"lv-LV":{lang:"lv-LV",label:"Latvie\u0161u valoda",icon:"\u{1F1F1}\u{1F1EE}",title:"Kalba"},"mk-MK":{lang:"mk-MK",label:"\u043C\u0430\u043A\u0435\u0434\u043E\u043D\u0441\u043A\u0438 \u0458\u0430\u0437\u0438\u043A",icon:"\u{1F1F2}\u{1F1F0}",title:"\u0408\u0430\u0437\u0438\u043A"},"mn-MN":{lang:"mn-MN",label:"\u041C\u043E\u043D\u0433\u043E\u043B \u0445\u044D\u043B",icon:"\u{1F1F2}\u{1F1F3}",title:"\u0425\u044D\u043B"},"ms-MY":{lang:"ms-MY",label:"\u0628\u0647\u0627\u0633 \u0645\u0644\u0627\u064A\u0648\u200E",icon:"\u{1F1F2}\u{1F1FE}",title:"Bahasa"},"nb-NO":{lang:"nb-NO",label:"Norsk",icon:"\u{1F1F3}\u{1F1F4}",title:"Spr\xE5k"},"ne-NP":{lang:"ne-NP",label:"\u0928\u0947\u092A\u093E\u0932\u0940",icon:"\u{1F1F3}\u{1F1F5}",title:"\u092D\u093E\u0937\u093E"},"nl-BE":{lang:"nl-BE",label:"Vlaams",icon:"\u{1F1E7}\u{1F1EA}",title:"Taal"},"nl-NL":{lang:"nl-NL",label:"Nederlands",icon:"\u{1F1F3}\u{1F1F1}",title:"Taal"},"pl-PL":{lang:"pl-PL",label:"Polski",icon:"\u{1F1F5}\u{1F1F1}",title:"J\u0119zyk"},"pt-BR":{lang:"pt-BR",label:"Portugu\xEAs",icon:"\u{1F1E7}\u{1F1F7}",title:"Idiomas"},"pt-PT":{lang:"pt-PT",label:"Portugu\xEAs",icon:"\u{1F1F5}\u{1F1F9}",title:"Idiomas"},"ro-RO":{lang:"ro-RO",label:"Rom\xE2n\u0103",icon:"\u{1F1F7}\u{1F1F4}",title:"Limba"},"ru-RU":{lang:"ru-RU",label:"\u0420\u0443\u0441\u0441\u043A\u0438\u0439",icon:"\u{1F1F7}\u{1F1FA}",title:"\u044F\u0437\u044B\u043A"},"sk-SK":{lang:"sk-SK",label:"Sloven\u010Dina",icon:"\u{1F1F8}\u{1F1F0}",title:"Jazyk"},"sr-RS":{lang:"sr-RS",label:"\u0441\u0440\u043F\u0441\u043A\u0438 \u0458\u0435\u0437\u0438\u043A",icon:"\u{1F1F8}\u{1F1F7}",title:"\u0408\u0435\u0437\u0438\u043A"},"sl-SI":{lang:"sl-SI",label:"Sloven\u0161\u010Dina",icon:"\u{1F1F8}\u{1F1F1}",title:"Jezik"},"sv-SE":{lang:"sv-SE",label:"Svenska",icon:"\u{1F1F8}\u{1F1EA}",title:"Spr\xE5k"},"ta-IN":{lang:"ta-IN",label:"\u0BA4\u0BAE\u0BBF\u0BB4\u0BCD",icon:"\u{1F1EE}\u{1F1F3}",title:"\u0BAE\u0BCA\u0BB4\u0BBF"},"th-TH":{lang:"th-TH",label:"\u0E44\u0E17\u0E22",icon:"\u{1F1F9}\u{1F1ED}",title:"\u0E20\u0E32\u0E29\u0E32"},"tr-TR":{lang:"tr-TR",label:"T\xFCrk\xE7e",icon:"\u{1F1F9}\u{1F1F7}",title:"Dil"},"uk-UA":{lang:"uk-UA",label:"\u0423\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u0430",icon:"\u{1F1FA}\u{1F1F0}",title:"\u041C\u043E\u0432\u0430"},"vi-VN":{lang:"vi-VN",label:"Ti\u1EBFng Vi\u1EC7t",icon:"\u{1F1FB}\u{1F1F3}",title:"Ng\xF4n ng\u1EEF"},"zh-CN":{lang:"zh-CN",label:"\u7B80\u4F53\u4E2D\u6587",icon:"\u{1F1E8}\u{1F1F3}",title:"\u8BED\u8A00"},"zh-TW":{lang:"zh-TW",label:"\u7E41\u9AD4\u4E2D\u6587",icon:"\u{1F1ED}\u{1F1F0}",title:"\u8A9E\u8A00"}},$=Ze=>React.createElement(React.Fragment,null);var R=e(38329),H=e(38127),G=e(32451),Z=e(95254),ie=e(87296);function ne(Ze,nt){var ut=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Gt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(typeof IntersectionObserver!="function")return null;var Zt=t.useRef(typeof IntersectionObserver=="function"),Pe=t.useRef(null);return t.useEffect(function(){if(!(!Ze.current||!Zt.current||Gt.disabled))return Pe.current=new IntersectionObserver(function(Je){var Vt=(0,ie.Z)(Je,1),Rt=Vt[0];nt(Rt)},ut),Pe.current.observe(Ze.current),function(){var Je;(Je=Pe.current)===null||Je===void 0||Je.disconnect()}},[nt,ut,Gt.disabled,Ze]),Pe.current}var se=["prefetch"];function Q(Ze){var nt=t.useRef(null);return t.useEffect(function(){Ze&&(typeof Ze=="function"?Ze(nt.current):Ze.current=nt.current)}),nt}var V=t.forwardRef(function(Ze,nt){var ut,Gt=Ze.prefetch,Zt=(0,H.Z)(Ze,se),Pe=typeof window!="undefined"&&window.__umi_route_prefetch__||{defaultPrefetch:"none",defaultPrefetchTimeout:50},Je=Pe.defaultPrefetch,Vt=Pe.defaultPrefetchTimeout,Rt=(Gt===!0?"intent":Gt===!1?"none":Gt)||Je;if(!["intent","render","viewport","none"].includes(Rt))throw new Error("Invalid prefetch value ".concat(Rt," found in Link component"));var Nt=(0,Z.Ov)(),Bt=typeof Ze.to=="string"?Ze.to:(ut=Ze.to)===null||ut===void 0?void 0:ut.pathname,Ct=t.useRef(!1),Yt=Q(nt),ze=function(Dt){if(Rt==="intent"){var Te=Dt.target||{};Te.preloadTimeout||(Te.preloadTimeout=setTimeout(function(){var dt;Te.preloadTimeout=null,(dt=Nt.preloadRoute)===null||dt===void 0||dt.call(Nt,Bt)},Ze.prefetchTimeout||Vt))}},ue=function(Dt){if(Rt==="intent"){var Te=Dt.target||{};Te.preloadTimeout&&(clearTimeout(Te.preloadTimeout),Te.preloadTimeout=null)}};return(0,t.useLayoutEffect)(function(){if(Rt==="render"&&!Ct.current){var le;(le=Nt.preloadRoute)===null||le===void 0||le.call(Nt,Bt),Ct.current=!0}},[Rt,Bt]),ne(Yt,function(le){if(le!=null&&le.isIntersecting){var Dt;(Dt=Nt.preloadRoute)===null||Dt===void 0||Dt.call(Nt,Bt)}},{rootMargin:"100px"},{disabled:Rt!=="viewport"}),Bt?t.createElement(G.rU,(0,R.Z)({onMouseEnter:ze,onMouseLeave:ue,ref:Yt},Zt),Ze.children):null}),K=e(35338),ae=e(8616);function ee(){"use strict";ee=function(){return nt};var Ze,nt={},ut=Object.prototype,Gt=ut.hasOwnProperty,Zt=Object.defineProperty||function(Er,jr,hr){Er[jr]=hr.value},Pe=typeof Symbol=="function"?Symbol:{},Je=Pe.iterator||"@@iterator",Vt=Pe.asyncIterator||"@@asyncIterator",Rt=Pe.toStringTag||"@@toStringTag";function Nt(Er,jr,hr){return Object.defineProperty(Er,jr,{value:hr,enumerable:!0,configurable:!0,writable:!0}),Er[jr]}try{Nt({},"")}catch(Er){Nt=function(hr,Zr,sn){return hr[Zr]=sn}}function Bt(Er,jr,hr,Zr){var sn=jr&&jr.prototype instanceof Te?jr:Te,ln=Object.create(sn.prototype),or=new Vr(Zr||[]);return Zt(ln,"_invoke",{value:kt(Er,hr,or)}),ln}function Ct(Er,jr,hr){try{return{type:"normal",arg:Er.call(jr,hr)}}catch(Zr){return{type:"throw",arg:Zr}}}nt.wrap=Bt;var Yt="suspendedStart",ze="suspendedYield",ue="executing",le="completed",Dt={};function Te(){}function dt(){}function Ht(){}var ct={};Nt(ct,Je,function(){return this});var Ie=Object.getPrototypeOf,Et=Ie&&Ie(Ie(qr([])));Et&&Et!==ut&&Gt.call(Et,Je)&&(ct=Et);var ge=Ht.prototype=Te.prototype=Object.create(ct);function Ke(Er){["next","throw","return"].forEach(function(jr){Nt(Er,jr,function(hr){return this._invoke(jr,hr)})})}function yt(Er,jr){function hr(sn,ln,or,Lt){var gt=Ct(Er[sn],Er,ln);if(gt.type!=="throw"){var bt=gt.arg,jt=bt.value;return jt&&(0,ae.Z)(jt)=="object"&&Gt.call(jt,"__await")?jr.resolve(jt.__await).then(function(Cr){hr("next",Cr,or,Lt)},function(Cr){hr("throw",Cr,or,Lt)}):jr.resolve(jt).then(function(Cr){bt.value=Cr,or(bt)},function(Cr){return hr("throw",Cr,or,Lt)})}Lt(gt.arg)}var Zr;Zt(this,"_invoke",{value:function(ln,or){function Lt(){return new jr(function(gt,bt){hr(ln,or,gt,bt)})}return Zr=Zr?Zr.then(Lt,Lt):Lt()}})}function kt(Er,jr,hr){var Zr=Yt;return function(sn,ln){if(Zr===ue)throw new Error("Generator is already running");if(Zr===le){if(sn==="throw")throw ln;return{value:Ze,done:!0}}for(hr.method=sn,hr.arg=ln;;){var or=hr.delegate;if(or){var Lt=Fe(or,hr);if(Lt){if(Lt===Dt)continue;return Lt}}if(hr.method==="next")hr.sent=hr._sent=hr.arg;else if(hr.method==="throw"){if(Zr===Yt)throw Zr=le,hr.arg;hr.dispatchException(hr.arg)}else hr.method==="return"&&hr.abrupt("return",hr.arg);Zr=ue;var gt=Ct(Er,jr,hr);if(gt.type==="normal"){if(Zr=hr.done?le:ze,gt.arg===Dt)continue;return{value:gt.arg,done:hr.done}}gt.type==="throw"&&(Zr=le,hr.method="throw",hr.arg=gt.arg)}}}function Fe(Er,jr){var hr=jr.method,Zr=Er.iterator[hr];if(Zr===Ze)return jr.delegate=null,hr==="throw"&&Er.iterator.return&&(jr.method="return",jr.arg=Ze,Fe(Er,jr),jr.method==="throw")||hr!=="return"&&(jr.method="throw",jr.arg=new TypeError("The iterator does not provide a '"+hr+"' method")),Dt;var sn=Ct(Zr,Er.iterator,jr.arg);if(sn.type==="throw")return jr.method="throw",jr.arg=sn.arg,jr.delegate=null,Dt;var ln=sn.arg;return ln?ln.done?(jr[Er.resultName]=ln.value,jr.next=Er.nextLoc,jr.method!=="return"&&(jr.method="next",jr.arg=Ze),jr.delegate=null,Dt):ln:(jr.method="throw",jr.arg=new TypeError("iterator result is not an object"),jr.delegate=null,Dt)}function Dr(Er){var jr={tryLoc:Er[0]};1 in Er&&(jr.catchLoc=Er[1]),2 in Er&&(jr.finallyLoc=Er[2],jr.afterLoc=Er[3]),this.tryEntries.push(jr)}function St(Er){var jr=Er.completion||{};jr.type="normal",delete jr.arg,Er.completion=jr}function Vr(Er){this.tryEntries=[{tryLoc:"root"}],Er.forEach(Dr,this),this.reset(!0)}function qr(Er){if(Er||Er===""){var jr=Er[Je];if(jr)return jr.call(Er);if(typeof Er.next=="function")return Er;if(!isNaN(Er.length)){var hr=-1,Zr=function sn(){for(;++hr=0;--sn){var ln=this.tryEntries[sn],or=ln.completion;if(ln.tryLoc==="root")return Zr("end");if(ln.tryLoc<=this.prev){var Lt=Gt.call(ln,"catchLoc"),gt=Gt.call(ln,"finallyLoc");if(Lt&>){if(this.prev=0;--Zr){var sn=this.tryEntries[Zr];if(sn.tryLoc<=this.prev&&Gt.call(sn,"finallyLoc")&&this.prev=0;--hr){var Zr=this.tryEntries[hr];if(Zr.finallyLoc===jr)return this.complete(Zr.completion,Zr.afterLoc),St(Zr),Dt}},catch:function(jr){for(var hr=this.tryEntries.length-1;hr>=0;--hr){var Zr=this.tryEntries[hr];if(Zr.tryLoc===jr){var sn=Zr.completion;if(sn.type==="throw"){var ln=sn.arg;St(Zr)}return ln}}throw new Error("illegal catch attempt")},delegateYield:function(jr,hr,Zr){return this.delegate={iterator:qr(jr),resultName:hr,nextLoc:Zr},this.method==="next"&&(this.arg=Ze),Dt}},nt}var q=e(63579);function te(Ze,nt,ut,Gt,Zt,Pe,Je){try{var Vt=Ze[Pe](Je),Rt=Vt.value}catch(Nt){ut(Nt);return}Vt.done?nt(Rt):Promise.resolve(Rt).then(Gt,Zt)}function M(Ze){return function(){var nt=this,ut=arguments;return new Promise(function(Gt,Zt){var Pe=Ze.apply(nt,ut);function Je(Rt){te(Pe,Gt,Zt,Je,Vt,"next",Rt)}function Vt(Rt){te(Pe,Gt,Zt,Je,Vt,"throw",Rt)}Je(void 0)})}}var L=e(99227);function X(Ze,nt){var ut=typeof Symbol!="undefined"&&Ze[Symbol.iterator]||Ze["@@iterator"];if(!ut){if(Array.isArray(Ze)||(ut=(0,L.Z)(Ze))||nt&&Ze&&typeof Ze.length=="number"){ut&&(Ze=ut);var Gt=0,Zt=function(){};return{s:Zt,n:function(){return Gt>=Ze.length?{done:!0}:{done:!1,value:Ze[Gt++]}},e:function(Nt){throw Nt},f:Zt}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Pe=!0,Je=!1,Vt;return{s:function(){ut=ut.call(Ze)},n:function(){var Nt=ut.next();return Pe=Nt.done,Nt},e:function(Nt){Je=!0,Vt=Nt},f:function(){try{!Pe&&ut.return!=null&&ut.return()}finally{if(Je)throw Vt}}}}var fe=e(73825);function xe(Ze){if(typeof Symbol!="undefined"&&Ze[Symbol.iterator]!=null||Ze["@@iterator"]!=null)return Array.from(Ze)}var Ce=e(66160);function Le(Ze){return(0,fe.Z)(Ze)||xe(Ze)||(0,L.Z)(Ze)||(0,Ce.Z)()}function Oe(Ze,nt){if(!(Ze instanceof nt))throw new TypeError("Cannot call a class as a function")}var Ft=e(89878);function ht(Ze,nt){for(var ut=0;ut-1,"register failed, invalid key ".concat(Zt," ").concat(ut.path?"from plugin ".concat(ut.path):"",".")),Gt.hooks[Zt]=(Gt.hooks[Zt]||[]).concat(ut.apply[Zt])})}},{key:"getHooks",value:function(ut){var Gt=ut.split("."),Zt=Le(Gt),Pe=Zt[0],Je=Zt.slice(1),Vt=this.hooks[Pe]||[];return Je.length&&(Vt=Vt.map(function(Rt){try{var Nt=Rt,Bt=X(Je),Ct;try{for(Bt.s();!(Ct=Bt.n()).done;){var Yt=Ct.value;Nt=Nt[Yt]}}catch(ze){Bt.e(ze)}finally{Bt.f()}return Nt}catch(ze){return null}}).filter(Boolean)),Vt}},{key:"applyPlugins",value:function(ut){var Gt=ut.key,Zt=ut.type,Pe=ut.initialValue,Je=ut.args,Vt=ut.async,Rt=this.getHooks(Gt)||[];switch(Je&&Jt((0,ae.Z)(Je)==="object","applyPlugins failed, args must be plain object."),Vt&&Jt(Zt===Pt.modify||Zt===Pt.event,"async only works with modify and event type."),Zt){case Pt.modify:return Vt?Rt.reduce(function(){var Nt=M(ee().mark(function Bt(Ct,Yt){var ze;return ee().wrap(function(le){for(;;)switch(le.prev=le.next){case 0:if(Jt(typeof Yt=="function"||(0,ae.Z)(Yt)==="object"||Qe(Yt),"applyPlugins failed, all hooks for key ".concat(Gt," must be function, plain object or Promise.")),!Qe(Ct)){le.next=5;break}return le.next=4,Ct;case 4:Ct=le.sent;case 5:if(typeof Yt!="function"){le.next=16;break}if(ze=Yt(Ct,Je),!Qe(ze)){le.next=13;break}return le.next=10,ze;case 10:return le.abrupt("return",le.sent);case 13:return le.abrupt("return",ze);case 14:le.next=21;break;case 16:if(!Qe(Yt)){le.next=20;break}return le.next=19,Yt;case 19:Yt=le.sent;case 20:return le.abrupt("return",(0,q.Z)((0,q.Z)({},Ct),Yt));case 21:case"end":return le.stop()}},Bt)}));return function(Bt,Ct){return Nt.apply(this,arguments)}}(),Qe(Pe)?Pe:Promise.resolve(Pe)):Rt.reduce(function(Nt,Bt){return Jt(typeof Bt=="function"||(0,ae.Z)(Bt)==="object","applyPlugins failed, all hooks for key ".concat(Gt," must be function or plain object.")),typeof Bt=="function"?Bt(Nt,Je):(0,q.Z)((0,q.Z)({},Nt),Bt)},Pe);case Pt.event:return M(ee().mark(function Nt(){var Bt,Ct,Yt,ze;return ee().wrap(function(le){for(;;)switch(le.prev=le.next){case 0:Bt=X(Rt),le.prev=1,Bt.s();case 3:if((Ct=Bt.n()).done){le.next=12;break}if(Yt=Ct.value,Jt(typeof Yt=="function","applyPlugins failed, all hooks for key ".concat(Gt," must be function.")),ze=Yt(Je),!(Vt&&Qe(ze))){le.next=10;break}return le.next=10,ze;case 10:le.next=3;break;case 12:le.next=17;break;case 14:le.prev=14,le.t0=le.catch(1),Bt.e(le.t0);case 17:return le.prev=17,Bt.f(),le.finish(17);case 20:case"end":return le.stop()}},Nt,null,[[1,14,17,20]])}))();case Pt.compose:return function(){return cr({fns:Rt.concat(Pe),args:Je})()}}}}],[{key:"create",value:function(ut){var Gt=new Ze({validKeys:ut.validKeys});return ut.plugins.forEach(function(Zt){Gt.register(Zt)}),Gt}}]),Ze}(),it=e(37989);let Ot=0,pt=0;function et(Ze,nt){}function Ne(Ze){return JSON.stringify(Ze,null,2)}function me(Ze){const nt=Ze.length>1?Ze.map(Ee).join(" "):Ze[0];return typeof nt=="object"?`${Ne(nt)}`:nt.toString()}function Ee(Ze){return typeof Ze=="object"?`${JSON.stringify(Ze)}`:Ze.toString()}const Re={log(...Ze){me(Ze)},info(...Ze){me(Ze)},warn(...Ze){me(Ze)},error(...Ze){me(Ze)},group(){pt++},groupCollapsed(){pt++},groupEnd(){pt&&--pt},clear(){},trace(...Ze){console.trace(...Ze)},profile(...Ze){console.profile(...Ze)},profileEnd(...Ze){console.profileEnd(...Ze)}},$e=()=>{}},33143:function(d,v,e){"use strict";e.d(v,{C:function(){return s},S:function(){return n}});var t=e(59301);const n=t.createContext(null),s=t.createContext(()=>{console.error("The 'useAntdConfigSetter()' method depends on the antd 'ConfigProvider', requires one of 'antd.configProvider' / 'antd.dark' / 'antd.compact' to be enabled.")})},72742:function(d,v,e){"use strict";e.d(v,{j:function(){return ci},Q:function(){return Nu}});var t=e(29413),n=e(89880),s=e.n(n),u=e(59301),f=e(89070),c=e(35390),h=Object.defineProperty,o=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable,p=(C,P,I)=>P in C?h(C,P,{enumerable:!0,configurable:!0,writable:!0,value:I}):C[P]=I,g=(C,P)=>{for(var I in P||(P={}))i.call(P,I)&&p(C,I,P[I]);if(o)for(var I of o(P))y.call(P,I)&&p(C,I,P[I]);return C},b={namespace:"account",state:{basicInfo:void 0,actionTabs:{key:"",params:{}}},effects:{*updateAvatar({payload:C},{call:P,put:I}){return yield P(c.n1,C)},*appplySchool({payload:C},{call:P,put:I}){return yield P(c.bz,C)},*getSchoolOption({payload:C},{call:P,put:I}){return yield P(c.GY,C)},*getDepartmentOption({payload:C},{call:P,put:I}){return yield P(c.Ql,C)},*appplyDepartment({payload:C},{call:P,put:I}){return yield P(c.Zm,C)},*updateAccount({payload:C},{call:P,put:I}){return yield P(c.sG,C)},*cancelRealNameAuth({payload:C},{call:P,put:I}){return yield P(c.P,C)},*cancelProfessionalAuth({payload:C},{call:P,put:I}){return yield P(c.$f,C)},*applyProfessionalAuth({payload:C},{call:P,put:I}){return yield P(c.Ow,C)},*applyRealNameAuth({payload:C},{call:P,put:I}){return yield P(c.ht,C)},*getCode({payload:C},{call:P,put:I}){return yield P(c.Cq,C)},*bindPhone({payload:C},{call:P,put:I}){return yield P(c.eF,C)},*bindEmail({payload:C},{call:P,put:I}){return yield P(c.I8,C)},*updatePassword({payload:C},{call:P,put:I}){return yield P(c.gQ,C)},*unbindAccount({payload:C},{call:P,put:I}){return yield P(c.wi,C)},*getBasicInfo({payload:C},{call:P,put:I}){const pe=yield P(c.o9,C);return yield I({type:"save",payload:{basicInfo:g({},pe)}}),pe},*setActionTabs({payload:C},{call:P,put:I}){yield I({type:"save",payload:{actionTabs:g({},C)}})}},reducers:{save(C,P){return g(g({},C),P.payload)}},subscriptions:{setup({dispatch:C,history:P}){return P.listen(({pathname:I})=>{I==="/"&&C({type:"query"})})}}},x=e(13112),O=Object.defineProperty,k=Object.getOwnPropertySymbols,A=Object.prototype.hasOwnProperty,T=Object.prototype.propertyIsEnumerable,F=(C,P,I)=>P in C?O(C,P,{enumerable:!0,configurable:!0,writable:!0,value:I}):C[P]=I,$=(C,P)=>{for(var I in P||(P={}))A.call(P,I)&&F(C,I,P[I]);if(k)for(var I of k(P))T.call(P,I)&&F(C,I,P[I]);return C},H={namespace:"announcement",state:{name:"\u666E\u901A\u8BD5\u5377\uFF0C\u968F\u673A\u8BD5\u5377\u8BE6\u60C5\u9875\u9762",loading:!0,actionTabs:{}},effects:{*informDown({payload:C,callback:P},{call:I,put:pe}){return yield I(x.nZ,C)},*informUp({payload:C,callback:P},{call:I,put:pe}){return yield I(x.TO,C)},*setActionTabs({payload:C},{call:P,put:I}){yield I({type:"save",payload:{actionTabs:$({},C)}})}},reducers:{save(C,P){return $($({},C),P.payload)}},subscriptions:{setup({dispatch:C,history:P}){}}},G=e(19381),Z=Object.defineProperty,ie=Object.getOwnPropertySymbols,ne=Object.prototype.hasOwnProperty,se=Object.prototype.propertyIsEnumerable,Q=(C,P,I)=>P in C?Z(C,P,{enumerable:!0,configurable:!0,writable:!0,value:I}):C[P]=I,V=(C,P)=>{for(var I in P||(P={}))ne.call(P,I)&&Q(C,I,P[I]);if(ie)for(var I of ie(P))se.call(P,I)&&Q(C,I,P[I]);return C},ae={namespace:"attachment",state:{name:"\u8D44\u6E90",loading:!0,detail:{},actionTabs:{}},effects:{*allAttachment({payload:C,callback:P},{call:I,put:pe}){const je=yield I(G.SV,C);return yield pe({type:"save",payload:{allList:V({},je)}}),je},*mineAttachment({payload:C,callback:P},{call:I,put:pe}){const je=yield I(G.zI,C);return yield pe({type:"save",payload:{mineList:V({},je)}}),je},*fileImport({payload:C,callback:P},{call:I,put:pe}){return yield I(G.tO,C)},*getDetail({payload:C,callback:P},{call:I,put:pe}){const je=yield I(G.Nm,C);return yield pe({type:"save",payload:{detail:V({},je)}}),je},*updateVisits({payload:C,callback:P},{call:I,put:pe}){return yield I(G.H,C)},*setActionTabs({payload:C},{call:P,put:I}){yield I({type:"save",payload:{actionTabs:V({},C)}})}},reducers:{save(C,P){return V(V({},C),P.payload)}},subscriptions:{setup({dispatch:C,history:P}){}}},ee=e(10813),q=Object.defineProperty,te=Object.getOwnPropertySymbols,M=Object.prototype.hasOwnProperty,L=Object.prototype.propertyIsEnumerable,X=(C,P,I)=>P in C?q(C,P,{enumerable:!0,configurable:!0,writable:!0,value:I}):C[P]=I,fe=(C,P)=>{for(var I in P||(P={}))M.call(P,I)&&X(C,I,P[I]);if(te)for(var I of te(P))L.call(P,I)&&X(C,I,P[I]);return C},Ce={namespace:"boards",state:{name:"\u8BA8\u8BBA",loading:!0,actionTabs:{},boardsDetail:{},boardsCategoryList:{}},effects:{*getBoardsCategoryList({payload:C,callback:P},{call:I,put:pe}){const je=yield I(ee.yq,C);return yield pe({type:"save",payload:{boardsCategoryList:fe({},je.data)}}),je.data},*getBoardsDetail({payload:C,callback:P},{call:I,put:pe}){const je=yield I(ee.dI,C);return yield pe({type:"save",payload:{boardsDetail:fe({},je.data)}}),je.data},*setTopping({payload:C,callback:P},{call:I,put:pe}){return yield I(ee.cc,C)},*escTopping({payload:C,callback:P},{call:I,put:pe}){return yield I(ee.CJ,C)},*getReplyList({payload:C,callback:P},{call:I,put:pe}){const je=yield I(ee.PC,C);yield pe({type:"save",payload:{replyList:fe({},je.data)}})},*createReply({payload:C,callback:P},{call:I,put:pe}){return yield I(ee.PP,C)},*replyLike({payload:C,callback:P},{call:I,put:pe}){return yield I(ee.NA,C)},*replyUnLike({payload:C,callback:P},{call:I,put:pe}){return yield I(ee.YQ,C)},*deleteReply({payload:C,callback:P},{call:I,put:pe}){return yield I(ee.Mf,C)},*setActionTabs({payload:C},{call:P,put:I}){yield I({type:"save",payload:{actionTabs:fe({},C)}})}},reducers:{save(C,P){return fe(fe({},C),P.payload)}},subscriptions:{setup({dispatch:C,history:P}){}}},Le=e(94941),Oe=Object.defineProperty,Ft=Object.getOwnPropertySymbols,ht=Object.prototype.hasOwnProperty,At=Object.prototype.propertyIsEnumerable,tr=(C,P,I)=>P in C?Oe(C,P,{enumerable:!0,configurable:!0,writable:!0,value:I}):C[P]=I,Jt=(C,P)=>{for(var I in P||(P={}))ht.call(P,I)&&tr(C,I,P[I]);if(Ft)for(var I of Ft(P))At.call(P,I)&&tr(C,I,P[I]);return C},Qe={namespace:"exercise",state:{name:"\u666E\u901A\u8BD5\u5377\uFF0C\u968F\u673A\u8BD5\u5377\u8BE6\u60C5\u9875\u9762",loading:!0,exerciseList:{},userExerciseList:{},statisticsList:{},exerciseCoursesList:{},brankList:{},editData:{},endGroups:{},actionTabs:{removeEventListenerExitScreen:!1},publishGroups:{},commonHeader:{},reviewExercise:{},reviewGroupExercise:{},workSetting:{},editRandomExercises:{},redoModal:{},exerciseUserInfo:{},examinationIntelligentSettings:{},exerciseExportHeadData:{},codeReviewDetail:{},exerciseIdentityPhotos:{},checkDomain:window.document.domain==="kepukehuan.educoder.net"||window.document.domain==="test-kepukehuan.educoder.net",order_type:"",order:"",updateIndex:null,saveExerciseDownUsers:null,NormalResult:{},course_groups:[],SumupDetail:{},ScoreRangesData:{}},effects:{*getScoreRangesData({payload:C,callback:P},{call:I,put:pe}){const je=yield I(Le.$Q,C);return yield pe({type:"save",payload:{ScoreRangesData:je==null?void 0:je.data}}),je},*getQuestionResult({payload:C,callback:P},{call:I,put:pe}){const je=yield I(Le._U,C);return yield pe({type:"save",payload:{NormalResult:je}}),je},*getUserExercise({payload:C,callback:P},{call:I,put:pe}){const je=yield I(Le.xA,C);return yield pe({type:"save",payload:{userExerciseList:Jt({},(je==null?void 0:je.data)||{})}}),console.log("getUserExercise-res:",je),je==null?void 0:je.data},*getExerciseIdentityPhotos({payload:C,callback:P},{call:I,put:pe}){const je=yield I(Le.J,C);return yield pe({type:"save",payload:{exerciseIdentityPhotos:Jt({},(je==null?void 0:je.data)||{})}}),je==null?void 0:je.data},*getExerciseExportHeadData({payload:C,callback:P},{call:I,put:pe}){const je=yield I(Le.iw,C);return yield pe({type:"save",payload:{exerciseExportHeadData:Jt({},je)}}),je},*getExerciseUserInfo({payload:C,callback:P},{call:I,put:pe}){const je=yield I(Le.Ty,C);return(je==null?void 0:je.status)===0&&(yield pe({type:"save",payload:Jt({},{exerciseUserInfo:Jt({},je.data)})})),je},*getExaminationIntelligentSettings({payload:C,callback:P},{call:I,put:pe}){const je=yield I(Le.sA,C);return yield pe({type:"save",payload:{examinationIntelligentSettings:Jt({},je)}}),je},*getRandomEditExercises({payload:C,callback:P},{call:I,put:pe}){const je=yield I(Le.yu,C);return yield pe({type:"save",payload:{editRandomExercises:Jt({},je)}}),je},*getExerciseList({payload:C,callback:P},{call:I,put:pe}){const je=yield I(Le.G$,C);if(je!=null&&je.total_exercise_users)try{localStorage.total_exercise_users=JSON.stringify(je.total_exercise_users)}catch(rn){}return yield pe({type:"save",payload:{exerciseList:Jt({},je)}}),yield pe({type:"save",payload:{order_type:C.order_type,order:C.order}}),je},*getExerciseStatistics({payload:C,callback:P},{call:I,put:pe}){const je=yield I(Le._u,C);return yield pe({type:"save",payload:{statisticsList:Jt({},je)}}),je},*getBrankList({payload:C,callback:P},{call:I,put:pe}){const je=yield I(Le.n$,C);return yield pe({type:"save",payload:{brankList:Jt({},je)}}),je},*saveBanks({payload:C,callback:P},{call:I,put:pe}){return yield I(Le.lf,C)},*getExerciseCourses({payload:C,callback:P},{call:I,put:pe}){const je=yield I(Le.N3,C);return yield pe({type:"save",payload:{exerciseCoursesList:Jt({},je)}}),je},*addExercise({payload:C,callback:P},{call:I,put:pe}){return yield I(Le.uR,C)},*editExercise({payload:C,callback:P},{call:I,put:pe}){const je=yield I(Le.qf,C);return yield pe({type:"save",payload:{editData:Jt({},je)}}),je},*getTagDiscipline({payload:C,callback:P},{call:I,put:pe}){const je=yield I(Le.YY,C);return yield pe({type:"save",payload:{tagDisciplineData:Jt({},je)}}),je},*editExerciseQuestion({payload:C,callback:P},{call:I,put:pe}){return yield I(Le.Di,C)},*addExerciseQuestion({payload:C,callback:P},{call:I,put:pe}){return yield I(Le.MK,C)},*exeriseMoveUpDown({payload:C,callback:P},{call:I,put:pe}){return yield I(Le.GK,C)},*getEndGroups({payload:C,callback:P},{call:I,put:pe}){const je=yield I(Le.KE,C);return yield pe({type:"save",payload:{endGroups:Jt({},je)}}),je},*getPublishGroups({payload:C,callback:P},{call:I,put:pe}){const je=yield I(Le.ux,C);return yield pe({type:"save",payload:{publishGroups:Jt({},je)}}),je},*getCommonHeader({payload:C,callback:P},{call:I,put:pe}){const je=yield I(Le.UK,C);return yield pe({type:"save",payload:{commonHeader:Jt({},je)}}),je},*getReviewExercise({payload:C,callback:P},{call:I,put:pe}){const je=yield I(Le.BJ,C);return yield pe({type:"save",payload:{reviewExercise:Jt({},je)}}),je},*postReviewExercise({payload:C,callback:P},{call:I,put:pe}){const je=yield I(Le.pu,C);return yield pe({type:"save",payload:{reviewExercise:Jt({},je)}}),je},*getCentralizeReviewExercise({payload:C,callback:P},{call:I,put:pe}){const je=yield I(Le.X4,C);return yield pe({type:"save",payload:{reviewExercise:Jt({},je)}}),je},*clearData({payload:C,callback:P},{call:I,put:pe}){yield pe({type:"save",payload:{[C.key]:{}}})},*getReviewGroupExercise({payload:C,callback:P},{call:I,put:pe}){const je=yield I(Le.W4,C);return yield pe({type:"save",payload:{reviewGroupExercise:Jt({},je)}}),je},*getWorkSetting({payload:C,callback:P},{call:I,put:pe}){const je=yield I(Le.Ul,C);return yield pe({type:"save",payload:{workSetting:Jt({},je)}}),je},*getRedoModal({payload:C,callback:P},{call:I,put:pe}){const je=yield I(Le.tX,C);return yield pe({type:"save",payload:{redoModal:Jt({},je)}}),je},*getRedoListModal({payload:C,callback:P},{call:I,put:pe}){const je=yield I(Le.s,C);return yield pe({type:"save",payload:{redoModal:Jt({},je)}}),je},*getCodeReviewDetail({payload:C,callback:P},{call:I,put:pe}){const je=yield I(Le.Xn,C);return yield pe({type:"save",payload:{codeReviewDetail:Jt({},je)}}),je},*changeScore({payload:C,callback:P},{call:I,put:pe}){return yield I(Le.gG,C)},*setActionTabs({payload:C},{call:P,put:I}){yield I({type:"save",payload:{actionTabs:Jt({},C)}})},*setUpdateIndex({payload:C},{call:P,put:I}){yield I({type:"save",payload:{updateIndex:C==="clear"?null:Math.random()}})},*setSaveExerciseDownUsers({payload:C},{call:P,put:I}){yield I({type:"save",payload:{saveExerciseDownUsers:C}})}},reducers:{save(C,P){return Jt(Jt({},C),P.payload)}},subscriptions:{setup({dispatch:C,history:P}){}}},Pt=e(89887),zt=Object.defineProperty,it=Object.getOwnPropertySymbols,Ot=Object.prototype.hasOwnProperty,pt=Object.prototype.propertyIsEnumerable,et=(C,P,I)=>P in C?zt(C,P,{enumerable:!0,configurable:!0,writable:!0,value:I}):C[P]=I,Ne=(C,P)=>{for(var I in P||(P={}))Ot.call(P,I)&&et(C,I,P[I]);if(it)for(var I of it(P))pt.call(P,I)&&et(C,I,P[I]);return C},Ee={namespace:"graduation",state:{name:"\u6BD5\u4E1A\u8BBE\u8BA1",loading:!0,actionTabs:{},detailList:{},detailTaskList:{},replyList:{},detail:{},addTopicData:{},editTopicData:{},editTasksData:{}},effects:{*getTopisDetailList({payload:C,callback:P},{call:I,put:pe}){const je=yield I(Pt.x_,C);return yield pe({type:"save",payload:{detailList:Ne({},je)}}),je},*getTasksListDetail({payload:C,callback:P},{call:I,put:pe}){const je=yield I(Pt.QA,C);return yield pe({type:"save",payload:{detailTaskList:Ne({},je)}}),je},*getTopisDetail({payload:C,callback:P},{call:I,put:pe}){const je=yield I(Pt.B6,C);return yield pe({type:"save",payload:{detail:Ne({},je)}}),je},*getTasksDetail({payload:C,callback:P},{call:I,put:pe}){const je=yield I(Pt.y3,C);return yield pe({type:"save",payload:{tasksDetail:Ne({},je)}}),je},*refuseTopic({payload:C,callback:P},{call:I,put:pe}){return yield I(Pt.mM,C)},*agreeTopic({payload:C,callback:P},{call:I,put:pe}){return yield I(Pt.je,C)},*getReplyList({payload:C,callback:P},{call:I,put:pe}){const je=yield I(Pt.PC,C);yield pe({type:"save",payload:{replyList:Ne({},je)}})},*createReply({payload:C,callback:P},{call:I,put:pe}){return yield I(Pt.PP,C)},*replyLike({payload:C,callback:P},{call:I,put:pe}){return yield I(Pt.NA,C)},*replyUnLike({payload:C,callback:P},{call:I,put:pe}){return yield I(Pt.YQ,C)},*deleteReply({payload:C,callback:P},{call:I,put:pe}){return yield I(Pt.Mf,C)},*addTopicDefaultData({payload:C,callback:P},{call:I,put:pe}){const je=yield I(Pt.y0,C);yield pe({type:"save",payload:{addTopicData:Ne({},je)}})},*editTopicDefaultData({payload:C,callback:P},{call:I,put:pe}){const je=yield I(Pt.hL,C);return yield pe({type:"save",payload:{editTopicData:Ne({},je)}}),je},*editTasksDefaultData({payload:C,callback:P},{call:I,put:pe}){const je=yield I(Pt._n,C);return yield pe({type:"save",payload:{editTasksData:Ne({},je)}}),je},*addTopic({payload:C,callback:P},{call:I,put:pe}){return yield I(Pt.Gr,C)},*editTopic({payload:C,callback:P},{call:I,put:pe}){return yield I(Pt.wA,C)},*addTasks({payload:C,callback:P},{call:I,put:pe}){return yield I(Pt.Sv,C)},*editTasks({payload:C,callback:P},{call:I,put:pe}){return yield I(Pt.RP,C)},*setActionTabs({payload:C},{call:P,put:I}){yield I({type:"save",payload:{actionTabs:Ne({},C)}})}},reducers:{save(C,P){return Ne(Ne({},C),P.payload)}},subscriptions:{setup({dispatch:C,history:P}){}}},Re=e(89392),$e=e(36708),Ze=Object.defineProperty,nt=Object.getOwnPropertySymbols,ut=Object.prototype.hasOwnProperty,Gt=Object.prototype.propertyIsEnumerable,Zt=(C,P,I)=>P in C?Ze(C,P,{enumerable:!0,configurable:!0,writable:!0,value:I}):C[P]=I,Pe=(C,P)=>{for(var I in P||(P={}))ut.call(P,I)&&Zt(C,I,P[I]);if(nt)for(var I of nt(P))Gt.call(P,I)&&Zt(C,I,P[I]);return C},Vt={namespace:"shixunHomeworks",state:{name:"",loading:!0,workList:{},shixunWorkList:{},headerInfo:{},shixunWorkReport:{},codeReview:{},codeReviewDetail:{},workSetting:{},changeData:{},codeReviewCourse:{},referenceAnswer:{},publishGroups:{},endGroups:{},brankList:{},replyList:{},workDetail:{},commonHomeWorkAddDefaultData:{},studentWorkAddDefaultData:{},studentWorkEditDefaultData:{},commonHomeWorkEditDefaultData:{},studentWorkDetail:{},studentWorkSupplyDetail:{},studentWorkCommon:{},allStudentWorks:{},searchMemberList:{},searchProjectList:{},actionTabs:{key:""},listParams:{order:"all",page:1,limit:16,search:""},homeworkAssistantPermissions:{},shixunAssistantPermission:{},courseAssistantPermission:{}},effects:{*getWorkList({payload:C,callback:P},{call:I,put:pe}){const je=yield I($e.h$,C);try{sessionStorage.all_student_works=JSON.stringify(je.all_student_works),sessionStorage.all_student_works_params=JSON.stringify(C),localStorage.setItem("all_student_works_param",JSON.stringify(C))}catch(rn){}return yield pe({type:"save",payload:{workList:Pe({},je)}}),je},*getShixunWorkHeadInfo({payload:C,callback:P},{call:I,put:pe}){const je=yield I($e.fK,C);try{}catch(rn){}return yield pe({type:"save",payload:{headerInfo:je==null?void 0:je.data}}),je},*getShixunWorkList({payload:C,callback:P},{call:I,put:pe}){const je=yield I($e.Z8,C);try{sessionStorage.all_student_works=JSON.stringify(je.all_student_works),sessionStorage.all_student_works_params=JSON.stringify(C),localStorage.setItem("all_student_works_param",JSON.stringify(C))}catch(rn){}return yield pe({type:"save",payload:{shixunWorkList:je==null?void 0:je.data,homeworkAssistantPermissions:je.homework_assistant_permissions,shixunAssistantPermission:je.shixun_assistant_permission,courseAssistantPermission:je.course_assistant_permission}}),je},*getCodeReview({payload:C,callback:P},{call:I,put:pe}){const je=yield I($e.RP,C);return yield pe({type:"save",payload:{codeReview:Pe({},je)}}),je},*getCodeReviewDetail({payload:C,callback:P},{call:I,put:pe}){const je=yield I($e.Xn,C);return yield pe({type:"save",payload:{codeReviewDetail:Pe({},je)}}),je},*getWorkDetail({payload:C,callback:P},{call:I,put:pe}){const je=yield I($e.to,C);return yield pe({type:"save",payload:{workDetail:Pe({},je)}}),je},*updateWork({payload:C,callback:P},{call:I,put:pe}){return yield I($e.H,C)},*getShixunWorkReport({payload:C,callback:P},{call:I,put:pe}){const je=yield I($e.sw,C);try{je.all_student_works=JSON.parse(sessionStorage.all_student_works||"[]")}catch(rn){}return yield pe({type:"save",payload:{shixunWorkReport:Pe({},je)}}),je},*getShixunWorkReports({payload:C,callback:P},{call:I,put:pe}){const je=yield I($e.cz,C);try{je.all_student_works=JSON.parse(sessionStorage.all_student_works||"[]")}catch(rn){}return yield pe({type:"save",payload:{shixunWorkReport:Pe({},je)}}),je},*getWorkSetting({payload:C,callback:P},{call:I,put:pe}){var je,rn;const ui=yield I($e.Ul,C);(je=ui==null?void 0:ui.group_settings)==null||je.map(Zi=>{Zi.value=Zi.group_name,Zi.id=Zi.group_id,Zi.group_id=[Zi.group_id]}),(rn=ui==null?void 0:ui.allow_late_settings)==null||rn.map(Zi=>{Zi.value=Zi.group_name,Zi.id=Zi.group_id,Zi.group_id=[Zi.group_id]});const Xi={shixun_evaluation:ui.shixun_evaluation,challenge_settings:ui.challenge_settings};return yield pe({type:"save",payload:{workSetting:Pe({},ui),changeData:(0,Re.cloneDeep)(Xi)}}),ui},*updateSetting({payload:C,callback:P},{call:I,put:pe}){return yield I($e.m7,C)},*getCodeReviewCourse({payload:C,callback:P},{call:I,put:pe}){const je=yield I($e.JG,C);return yield pe({type:"save",payload:{codeReviewCourse:Pe({},je)}}),je},*exportShixunWorks({payload:C,callback:P},{call:I,put:pe}){const je=yield I($e.Dx,C)},*getReferenceAnswer({payload:C,callback:P},{call:I,put:pe}){const je=yield I($e.Q3,C);return yield pe({type:"save",payload:{referenceAnswer:Pe({},je)}}),je},*getPublishGroups({payload:C,callback:P},{call:I,put:pe}){const je=yield I($e.ux,C);return yield pe({type:"save",payload:{publishGroups:Pe({},je)}}),je},*getEndGroups({payload:C,callback:P},{call:I,put:pe}){const je=yield I($e.KE,C);return yield pe({type:"save",payload:{endGroups:Pe({},je)}}),je},*getBrankList({payload:C,callback:P},{call:I,put:pe}){const je=yield I($e.n$,C);return yield pe({type:"save",payload:{brankList:Pe({},je)}}),je},*changeScore({payload:C,callback:P},{call:I,put:pe}){return yield I($e.gG,C)},*saveBanks({payload:C,callback:P},{call:I,put:pe}){return yield I($e.lf,C)},*addCommonHomeWorkDefaultData({payload:C,callback:P},{call:I,put:pe}){const je=yield I($e.Qt,C);return yield pe({type:"save",payload:{commonHomeWorkAddDefaultData:Pe({},je)}}),je},*getSearchMemberList({payload:C,callback:P},{call:I,put:pe}){const je=yield I($e.Lz,C);return yield pe({type:"save",payload:{searchMemberList:Pe({},je)}}),je},*getProjectList({payload:C,callback:P},{call:I,put:pe}){const je=yield I($e.ku,C);return yield pe({type:"save",payload:{searchProjectList:Pe({},je)}}),je},*addStudentWorkDefaultData({payload:C,callback:P},{call:I,put:pe}){const je=yield I($e.ak,C);return yield pe({type:"save",payload:{studentWorkAddDefaultData:Pe({},je)}}),je},*editStudentWorkDefaultData({payload:C,callback:P},{call:I,put:pe}){const je=yield I($e.PW,C);return yield pe({type:"save",payload:{studentWorkEditDefaultData:Pe({},je)}}),je},*editCommonHomeWorkDefaultData({payload:C,callback:P},{call:I,put:pe}){const je=yield I($e.BD,C);return yield pe({type:"save",payload:{commonHomeWorkEditDefaultData:Pe({},je)}}),je},*editCommonHomeWorkDefaultBankData({payload:C,callback:P},{call:I,put:pe}){const je=yield I($e.pH,C);return yield pe({type:"save",payload:{commonHomeWorkEditDefaultData:Pe({},je)}}),je},*getReplyList({payload:C,callback:P},{call:I,put:pe}){const je=yield I($e.PC,C);yield pe({type:"save",payload:{replyList:Pe({},je)}})},*getStudentWorkDetail({payload:C,callback:P},{call:I,put:pe}){const je=yield I($e.Hj,C);yield pe({type:"save",payload:{studentWorkDetail:Pe({},je)}})},*getStudentWorkSupplyDetail({payload:C,callback:P},{call:I,put:pe}){const je=yield I($e.ub,C);yield pe({type:"save",payload:{studentWorkSupplyDetail:Pe({},je)}})},*getStudentWorkCommon({payload:C,callback:P},{call:I,put:pe}){const je=yield I($e.JA,C);yield pe({type:"save",payload:{studentWorkCommon:Pe({},je)}})},*getAllStudentWorks({payload:C,callback:P},{call:I,put:pe}){const je=yield I($e.ql,C);return yield pe({type:"save",payload:{allStudentWorks:Pe({},je)}}),je},*getFileRepeatResult({payload:C,callback:P},{call:I,put:pe}){const je=yield I($e.oN,C);return yield pe({type:"save",payload:{codeReview:Pe({},je)}}),je},*getFileRepeatDetail({payload:C,callback:P},{call:I,put:pe}){const je=yield I($e.Ti,C);return yield pe({type:"save",payload:{codeReviewDetail:Pe({},je)}}),je},*createReply({payload:C,callback:P},{call:I,put:pe}){return yield I($e.PP,C)},*replyLike({payload:C,callback:P},{call:I,put:pe}){return yield I($e.NA,C)},*replyUnLike({payload:C,callback:P},{call:I,put:pe}){return yield I($e.YQ,C)},*deleteReply({payload:C,callback:P},{call:I,put:pe}){return yield I($e.Mf,C)},*setActionTabs({payload:C},{call:P,put:I}){yield I({type:"save",payload:{actionTabs:Pe({},C)}})}},reducers:{save(C,P){return Pe(Pe({},C),P.payload)}},subscriptions:{setup({dispatch:C,history:P}){return P.listen(({pathname:I})=>{I==="/"&&C({type:"query"})})}}},Rt=e(92365),Nt=e(24065),Bt=Object.defineProperty,Ct=Object.getOwnPropertySymbols,Yt=Object.prototype.hasOwnProperty,ze=Object.prototype.propertyIsEnumerable,ue=(C,P,I)=>P in C?Bt(C,P,{enumerable:!0,configurable:!0,writable:!0,value:I}):C[P]=I,le=(C,P)=>{for(var I in P||(P={}))Yt.call(P,I)&&ue(C,I,P[I]);if(Ct)for(var I of Ct(P))ze.call(P,I)&&ue(C,I,P[I]);return C},Te={namespace:"classroomList",state:{name:"",loading:!0,detailTopBanner:{copy_completed:!0},detailLeftMenus:{},detailLeftMenusNames:{},detailShixunsList:{},detailGraduationTopicsList:{},detailGraduationTaskList:{},detailExerciseList:{},detailPollsList:{},detailCommonHomeworksList:{},detailAttendancesList:{},detailAttendancesDetail:{},detailAnnouncementList:{},detailAttachmentList:{},detailCourseware:{},courseMine:{},detailVideoList:{},detailLiveVideoList:{},detailBoardList:{},courseGroups:{},allCourseGroups:{},detailCourseGroupsList:{},detailCoursStudentsList:{},detailCourseStatisticsList:{},detailAttendancesStatistic:{},detailCourseWorkscore:{},detailCourseActscore:{},coursesLists:{},shixunLists:{},schoolList:{},taskList:[],searchMemberList:{},actionTabs:{key:""},listParams:{order:"all",page:1,limit:16,search:""},shareStatus:!1,AssistantObject:{},updateData:""},effects:{*setAssistantPermissions({payload:C},{call:P,put:I}){yield P(Rt.gq,C)},*getAssistantPermissions({payload:C},{call:P,put:I}){if(!(0,Nt.eB)())return;const pe=yield P(Rt.rS,C);yield I({type:"save",payload:{AssistantObject:pe.permissions}})},*getAiStatusQuery({payload:C},{call:P,put:I}){const pe=yield P(Rt.LH,C);return yield I({type:"save",payload:{cal_finish_if:pe.cal_finish_if}}),pe},*updateCoursePortraitData({payload:C},{call:P,put:I}){return yield P(Rt.Z_,C)},*getUserPortraitConfig({payload:C},{call:P,put:I}){const pe=yield P(Rt._0,C);return yield I({type:"save",payload:{userPortraitConfig:pe.data}}),pe},*updateUserPortraitConfig({payload:C},{call:P,put:I}){return yield P(Rt.r2,C)},*getClassroom({payload:C},{call:P,put:I}){const pe=C,je=yield P(Rt.V8,C);return yield I({type:"save",payload:le({listParams:pe},je)}),je},*getClassroomTopBanner({payload:C},{call:P,put:I}){const pe=yield P(Rt.U_,C);return yield I({type:"save",payload:{detailTopBanner:pe.status?{copy_completed:!0}:le({},pe)}}),pe.status?{copy_completed:!0}:pe},*getClassroomLeftMenus({payload:C},{call:P,put:I}){const pe=yield P(Rt.w9,C);let je=[...(pe==null?void 0:pe.course_modules)||[],...(pe==null?void 0:pe.hidden_modules)||[]],rn={};return je==null||je.forEach(ui=>{rn[ui.type]=ui.name}),yield I({type:"save",payload:{detailLeftMenus:le({},pe),detailLeftMenusNames:rn}}),pe},*getClassroomShixunsList({payload:C},{call:P,put:I}){const pe=yield P(Rt.Nd,C);yield I({type:"save",payload:{detailShixunsList:le({},pe)}})},*getClassroomTeacherShixunsList({payload:C},{call:P,put:I}){const pe=yield P(Rt.Gk,C);return yield I({type:"save",payload:{detailShixunsList:le({},pe)}}),pe},*getClassroomCommonList({payload:C},{call:P,put:I}){const pe=yield P(Rt.Nd,C);yield I({type:"save",payload:{detailCommonHomeworksList:le({},pe)}})},*getClassroomTeacherCommonList({payload:C},{call:P,put:I}){const pe=yield P(Rt.Gk,C);return yield I({type:"save",payload:{detailCommonHomeworksList:le({},pe)}}),pe},*getClassroomGraduationTopicsList({payload:C},{call:P,put:I}){const pe=yield P(Rt.yV,C);yield I({type:"save",payload:{detailGraduationTopicsList:le({},pe)}})},*getClassroomGraduationTaskList({payload:C},{call:P,put:I}){const pe=yield P(Rt.R2,C);yield I({type:"save",payload:{detailGraduationTaskList:le({},pe)}})},*getClassroomExercisesList({payload:C},{call:P,put:I}){const pe=yield P(Rt.N7,C);yield I({type:"save",payload:{detailExerciseList:le({},pe)}})},*getClassroomPollsList({payload:C},{call:P,put:I}){const pe=yield P(Rt.BR,C);yield I({type:"save",payload:{detailPollsList:le({},pe)}})},*getCourseGroups({payload:C},{call:P,put:I}){const pe=yield P(Rt.qB,C);yield I({type:"save",payload:{courseGroups:le({},pe)}})},*getAllCourseGroup({payload:C},{call:P,put:I}){const pe=yield P(Rt.c_,C);return yield I({type:"save",payload:{allCourseGroups:le({},pe)}}),pe},*getClassroomCommonHomeworksList({payload:C},{call:P,put:I}){const pe=yield P(Rt.Al,C);yield I({type:"save",payload:{detailCommonHomeworksList:le({},pe)}})},*getClassroomAttendancesList({payload:C},{call:P,put:I}){const pe=yield P(Rt.Vw,C);yield I({type:"save",payload:{detailAttendancesList:le({},pe)}})},*getClassroomAttendancesStatistic({payload:C},{call:P,put:I}){const pe=yield P(Rt.Ls,C);yield I({type:"save",payload:{detailAttendancesStatistic:le({},pe)}})},*getAttendanceDetail({payload:C},{call:P,put:I}){const pe=yield P(Rt.zg,C);return yield I({type:"save",payload:{detailAttendancesDetail:le({},pe)}}),pe},*getAnnouncementList({payload:C},{call:P,put:I}){const pe=yield P(Rt.QZ,C);yield I({type:"save",payload:{detailAnnouncementList:le({},pe)}})},*getAttachmentList({payload:C},{call:P,put:I}){const pe=yield P(Rt.KT,C);yield I({type:"save",payload:{detailAttachmentList:le({},pe.data)}})},*getCourseware({payload:C},{call:P,put:I}){const pe=yield P(Rt.ZT,C);yield I({type:"save",payload:{detailCourseware:le({},pe.data)}})},*getVideoList({payload:C},{call:P,put:I}){const pe=yield P(Rt.O3,C);yield I({type:"save",payload:{detailVideoList:le({},pe)}})},*getLiveVideoList({payload:C},{call:P,put:I}){const pe=yield P(Rt.DJ,C);yield I({type:"save",payload:{detailLiveVideoList:le({},pe)}})},*getCoursesMine({payload:C,callback:P},{call:I,put:pe}){const je=yield I(Rt.Ed,C);return yield pe({type:"save",payload:{courseMine:le({},je)}}),je.data},*getBoardList({payload:C,callback:P},{call:I,put:pe}){const je=yield I(Rt.KP,C);return yield pe({type:"save",payload:{detailBoardList:le({},je.data)}}),je.data},*getCourseGroupsList({payload:C,callback:P},{call:I,put:pe}){const je=yield I(Rt.kW,C);return yield pe({type:"save",payload:{detailCourseGroupsList:le({},je)}}),je},*getCourseStudentsList({payload:C,callback:P},{call:I,put:pe}){const je=yield I(Rt.J2,C);return yield pe({type:"save",payload:{detailCoursStudentsList:le({},je)}}),je.data},*getCourseStatistics({payload:C,callback:P},{call:I,put:pe}){const je=yield I(Rt.g4,C);return yield pe({type:"save",payload:{detailCourseStatisticsList:le({},je)}}),je},*getCourseActscore({payload:C,callback:P},{call:I,put:pe}){const je=yield I(Rt.t1,C);return yield pe({type:"save",payload:{detailCourseActscore:le({},je)}}),je},*getCourseWorkscore({payload:C,callback:P},{call:I,put:pe}){const je=yield I(Rt.GV,C);return yield pe({type:"save",payload:{detailCourseWorkscore:le({},je)}}),je},*getShixunLists({payload:C,callback:P},{call:I,put:pe}){const je=yield I(Rt.Pj,C);return yield pe({type:"save",payload:{shixunLists:le({},je)}}),je},*getExperimentLists({payload:C,callback:P},{call:I,put:pe}){const je=yield I(Rt._9,C);return yield pe({type:"save",payload:{shixunLists:le({},je)}}),je},*getShixunAiRecommendLists({payload:C,callback:P},{call:I,put:pe}){const je=yield I(Rt.Hn,C);return yield pe({type:"save",payload:{shixunAiRecommendLists:le({},je)}}),je},*getCoursesLists({payload:C,callback:P},{call:I,put:pe}){const je=yield I(Rt.W7,C);return yield pe({type:"save",payload:{coursesLists:le({},je)}}),je},*createCoursesHomework({payload:C,callback:P},{call:I,put:pe}){return yield I(Rt.Ds,C)},*createShixunHomework({payload:C,callback:P},{call:I,put:pe}){return yield I(Rt.aQ,C)},*createExperiment({payload:C,callback:P},{call:I,put:pe}){return yield I(Rt.BQ,C)},*getSchoolList({payload:C,callback:P},{call:I,put:pe}){const je=yield I(Rt.K$,C);return yield pe({type:"save",payload:{schoolList:le({},je.school_names)}}),je.school_names},*searchSchoolTeacherList({payload:C,callback:P},{call:I,put:pe}){const je=yield I(Rt.nQ,C);return yield pe({type:"save",payload:{searchMemberList:le({},je)}}),je},*getAllTaskList({payload:C,callback:P},{call:I,put:pe}){const je=yield I(Rt.km,C);return yield pe({type:"save",payload:{taskList:[...je.tasks]}}),je},*updateTaskPosition({payload:C,callback:P},{call:I,put:pe}){const je=yield I(Rt.U8,C);return yield pe({type:"save",payload:{actionTabs:{key:""}}}),je},*setActionTabs({payload:C},{call:P,put:I}){yield I({type:"save",payload:{actionTabs:le({},C)}})},*setUpdateData({payload:C},{call:P,put:I}){yield I({type:"save",payload:{updateData:C}})}},reducers:{save(C,P){return le(le({},C),P.payload)}},subscriptions:{setup({dispatch:C,history:P}){return P.listen(({pathname:I})=>{I==="/"&&C({type:"query"})})}}},dt=Object.defineProperty,Ht=Object.getOwnPropertySymbols,ct=Object.prototype.hasOwnProperty,Ie=Object.prototype.propertyIsEnumerable,Et=(C,P,I)=>P in C?dt(C,P,{enumerable:!0,configurable:!0,writable:!0,value:I}):C[P]=I,ge=(C,P)=>{for(var I in P||(P={}))ct.call(P,I)&&Et(C,I,P[I]);if(Ht)for(var I of Ht(P))Ie.call(P,I)&&Et(C,I,P[I]);return C},yt={namespace:"newClassroom",state:{schoolList:[],searchCourseList:[],actionTabs:{key:"",params:{}}},effects:{*getSchoolList({payload:C},{call:P,put:I}){const pe=yield P(Rt.K$,C);yield I({type:"save",payload:{schoolList:(pe==null?void 0:pe.school_names)||[]}})},*getSearchCourseList({payload:C},{call:P,put:I}){const pe=yield P(Rt.oM,C);yield I({type:"save",payload:{searchCourseList:(pe==null?void 0:pe.course_lists)||[]}})},*submitCourses({payload:C},{call:P,put:I}){return yield P(Rt.Bn,C)},*appplySchool({payload:C},{call:P,put:I}){return yield P(Rt.bz,C)},*setActionTabs({payload:C},{call:P,put:I}){yield I({type:"save",payload:{actionTabs:ge({},C)}})},*joincoursegroup({payload:C},{call:P,put:I}){return yield P(Rt.WK,C)}},reducers:{save(C,P){return ge(ge({},C),P.payload)}},subscriptions:{setup({dispatch:C,history:P}){}}},kt=Object.defineProperty,Fe=Object.getOwnPropertySymbols,Dr=Object.prototype.hasOwnProperty,St=Object.prototype.propertyIsEnumerable,Vr=(C,P,I)=>P in C?kt(C,P,{enumerable:!0,configurable:!0,writable:!0,value:I}):C[P]=I,qr=(C,P)=>{for(var I in P||(P={}))Dr.call(P,I)&&Vr(C,I,P[I]);if(Fe)for(var I of Fe(P))St.call(P,I)&&Vr(C,I,P[I]);return C},jr={namespace:"classroomsOverview",state:{},effects:{*getCourseUseInfos({payload:C},{call:P,put:I}){const pe=yield P(Rt.Dd,C);yield I({type:"save",payload:{CourseUseInfos:pe}})},*getRankList({payload:C},{call:P,put:I}){const pe=yield P(Rt.Fg,C);yield I({type:"save",payload:{RankList:{teacher_list:[{rank:"\u6392\u540D",name:"\u59D3\u540D",course_num:"\u7BA1\u7406\u8BFE",homework_num:"\u53D1\u5E03\u4F5C\u4E1A\u6570",exercise_num:"\u53D1\u5E03\u8003\u8BD5\u6570",resource_num:"\u4E0A\u4F20\u8D44\u6E90\u6570"},...(pe==null?void 0:pe.teacher_list)||[]],student_list:[{rank:"\u6392\u540D",name:"\u59D3\u540D",student_id:"\u5B66\u53F7/\u5DE5\u53F7",finish_num:"\u5B8C\u6210\u4F5C\u4E1A\u6570",total_score:"\u603B\u6210\u7EE9"},...(pe==null?void 0:pe.student_list)||[]],learn_course_list:[{rank:"\u6392\u540D",name:"\u6559\u5B66\u8BFE\u5802\u540D\u79F0",num:"\u5B66\u4E60\u4EBA\u6570"},...(pe==null?void 0:pe.learn_course_list)||[]],interact_course_list:[{rank:"\u6392\u540D",name:"\u6559\u5B66\u8BFE\u5802\u540D\u79F0",num:"\u4E92\u52A8\u8BA8\u8BBA\u6570"},...(pe==null?void 0:pe.interact_course_list)||[]],finish_course_list:[{rank:"\u6392\u540D",name:"\u6559\u5B66\u8BFE\u5802\u540D\u79F0",num:"\u603B\u5B8C\u6210\u6570"},...(pe==null?void 0:pe.finish_course_list)||[]]}}})},*getStatisticsBody({payload:C},{call:P,put:I}){const pe=yield P(Rt.Gz,C);yield I({type:"save",payload:{SBody:pe}})},*getStatisticsHeader({payload:C},{call:P,put:I}){const pe=yield P(Rt.Hl,C);yield I({type:"save",payload:{SHeader:pe}})}},reducers:{save(C,P){return qr(qr({},C),P.payload)}},subscriptions:{setup({dispatch:C,history:P}){return P.listen(({pathname:I})=>{I==="/"&&C({type:"query"})})}}},hr=e(31417),Zr=Object.defineProperty,sn=Object.getOwnPropertySymbols,ln=Object.prototype.hasOwnProperty,or=Object.prototype.propertyIsEnumerable,Lt=(C,P,I)=>P in C?Zr(C,P,{enumerable:!0,configurable:!0,writable:!0,value:I}):C[P]=I,gt=(C,P)=>{for(var I in P||(P={}))ln.call(P,I)&&Lt(C,I,P[I]);if(sn)for(var I of sn(P))or.call(P,I)&&Lt(C,I,P[I]);return C},jt={namespace:"polls",state:{name:"\u666E\u901A\u8BD5\u5377\uFF0C\u968F\u673A\u8BD5\u5377\u8BE6\u60C5\u9875\u9762",loading:!0,pollsList:{},statisticsList:{},pollsCoursesList:{},brankList:{},actionTabs:{},commonHeader:{},pollSetting:{},endGroups:{},publishGroups:{},exerciseBanks:{}},effects:{*getPollsList({payload:C,callback:P},{call:I,put:pe}){const je=yield I(hr.s3,C);return yield pe({type:"save",payload:{pollsList:gt({},je)}}),je},*getCommonHeader({payload:C,callback:P},{call:I,put:pe}){const je=yield I(hr.UK,C);return yield pe({type:"save",payload:{commonHeader:gt({},je)}}),je},*getPollsStatistics({payload:C,callback:P},{call:I,put:pe}){const je=yield I(hr.Qn,C);return yield pe({type:"save",payload:{statisticsList:gt({},je)}}),je},*getBrankList({payload:C,callback:P},{call:I,put:pe}){const je=yield I(hr.n$,C);return yield pe({type:"save",payload:{brankList:gt({},je)}}),je},*saveBanks({payload:C,callback:P},{call:I,put:pe}){return yield I(hr.lf,C)},*getPollsCourses({payload:C,callback:P},{call:I,put:pe}){const je=yield I(hr.Q9,C);return yield pe({type:"save",payload:{pollsCoursesList:gt({},je)}}),je},*getPollsSetting({payload:C,callback:P},{call:I,put:pe}){const je=yield I(hr.Hi,C);return yield pe({type:"save",payload:{pollSetting:gt({},je)}}),je},*editPolls({payload:C,callback:P},{call:I,put:pe}){const je=yield I(hr.Ye,C);return yield pe({type:"save",payload:{editData:gt({},JSON.parse(JSON.stringify(je)))}}),je},*getEndGroups({payload:C,callback:P},{call:I,put:pe}){const je=yield I(hr.KE,C);return yield pe({type:"save",payload:{endGroups:gt({},je)}}),je},*getPublishGroups({payload:C,callback:P},{call:I,put:pe}){const je=yield I(hr.ux,C);return yield pe({type:"save",payload:{publishGroups:gt({},je)}}),je},*getExerciseBanks({payload:C,callback:P},{call:I,put:pe}){const je=yield I(hr.kp,C);return yield pe({type:"save",payload:{exerciseBanks:gt({},je)}}),je},*setActionTabs({payload:C},{call:P,put:I}){yield I({type:"save",payload:{actionTabs:gt({},C)}})}},reducers:{save(C,P){return gt(gt({},C),P.payload)}},subscriptions:{setup({dispatch:C,history:P}){}}},Cr=e(43859),br=Object.defineProperty,at=Object.getOwnPropertySymbols,Fr=Object.prototype.hasOwnProperty,gn=Object.prototype.propertyIsEnumerable,Wn=(C,P,I)=>P in C?br(C,P,{enumerable:!0,configurable:!0,writable:!0,value:I}):C[P]=I,gr=(C,P)=>{for(var I in P||(P={}))Fr.call(P,I)&&Wn(C,I,P[I]);if(at)for(var I of at(P))gn.call(P,I)&&Wn(C,I,P[I]);return C},dn={namespace:"teachers",state:{list:{},applyList:{},allCourseGroups:{},graduationGroupList:{},studentsList:{},actionTabs:{key:"",params:{}},updateIndex:1},effects:{*getList({payload:C},{call:P,put:I}){var pe;const je=yield P(Cr.gp,C);return(pe=je==null?void 0:je.teacher_list)==null||pe.map(rn=>(rn.key=rn.course_member_id,rn)),yield I({type:"save",payload:{list:je}}),je},*getStudentsList({payload:C},{call:P,put:I}){var pe;const je=yield P(Cr.ur,C);return(pe=je==null?void 0:je.students)==null||pe.map(rn=>(rn.key=rn.user_id,rn)),yield I({type:"save",payload:{studentsList:je}}),je},*getApplyList({payload:C},{call:P,put:I}){const pe=yield P(Cr.s,C);return yield I({type:"save",payload:{applyList:pe}}),pe},*getAllCourseGroups({payload:C},{call:P,put:I}){const pe=yield P(Cr.xV,C);return yield I({type:"save",payload:{allCourseGroups:pe}}),pe},*getGraduationGroupList({payload:C},{call:P,put:I}){const pe=yield P(Cr.Bg,C);return yield I({type:"save",payload:{graduationGroupList:pe}}),pe},*setAllCourseGroups({payload:C},{call:P,put:I}){const pe=yield P(Cr.oZ,C);return yield I({type:"save",payload:{setAllCourseGroups:pe}}),pe},*setActionTabs({payload:C},{call:P,put:I}){yield I({type:"save",payload:{actionTabs:gr({},C)}})},*setUpdateIndex({payload:C},{call:P,put:I}){yield I({type:"save",payload:{updateIndex:Math.random()}})}},reducers:{save(C,P){return gr(gr({},C),P.payload)}},subscriptions:{setup({dispatch:C,history:P}){}}},Mn=e(75730),ei=Object.defineProperty,ni=Object.getOwnPropertySymbols,Gi=Object.prototype.hasOwnProperty,Mi=Object.prototype.propertyIsEnumerable,Ti=(C,P,I)=>P in C?ei(C,P,{enumerable:!0,configurable:!0,writable:!0,value:I}):C[P]=I,mi=(C,P)=>{for(var I in P||(P={}))Gi.call(P,I)&&Ti(C,I,P[I]);if(ni)for(var I of ni(P))Mi.call(P,I)&&Ti(C,I,P[I]);return C},aa={namespace:"video",state:{name:"\u8D44\u6E90",loading:!0,actionTabs:{},videoStatisticsList:{},newVideoStatisticsList:{},videoDurationStatics:{},StudentvideoStatistics:{},videoPeopleStatics:{},videoStatistics:{},oneVideoStatisticsList:{}},effects:{*getVideoStatisticsList({payload:C,callback:P},{call:I,put:pe}){const je=yield I(Mn.BQ,C);return yield pe({type:"save",payload:{videoStatisticsList:mi({},je)}}),je},*getNewVideoStatisticsList({payload:C,callback:P},{call:I,put:pe}){const je=yield I(Mn.cU,C);return yield pe({type:"save",payload:{newVideoStatisticsList:mi({},je)}}),je},*getVideoPeopleStatics({payload:C,callback:P},{call:I,put:pe}){const je=yield I(Mn.Zx,C);return yield pe({type:"save",payload:{videoPeopleStatics:mi({},je)}}),je},*getVideoDurationStatics({payload:C,callback:P},{call:I,put:pe}){const je=yield I(Mn.Mz,C);return yield pe({type:"save",payload:{videoDurationStatics:mi({},je)}}),je},*getVideoStatistics({payload:C,callback:P},{call:I,put:pe}){const je=yield I(Mn.ZY,C);return yield pe({type:"save",payload:{videoStatistics:mi({},je)}}),je},*getOneVideoStatisticsList({payload:C,callback:P},{call:I,put:pe}){const je=yield I(Mn.cU,C);return yield pe({type:"save",payload:{oneVideoStatisticsList:mi({},je)}}),je},*setActionTabs({payload:C},{call:P,put:I}){yield I({type:"save",payload:{actionTabs:mi({},C)}})},*getStudentVideoStatisticsList({payload:C,callback:P},{call:I,put:pe}){const je=yield I(Mn.Vg,C);return yield pe({type:"save",payload:{StudentvideoStatistics:mi({},je)}}),je}},reducers:{save(C,P){return mi(mi({},C),P.payload)}},subscriptions:{setup({dispatch:C,history:P}){}}},ii=e(52721),Wi=Object.defineProperty,wt=Object.getOwnPropertySymbols,st=Object.prototype.hasOwnProperty,qn=Object.prototype.propertyIsEnumerable,bi=(C,P,I)=>P in C?Wi(C,P,{enumerable:!0,configurable:!0,writable:!0,value:I}):C[P]=I,ti=(C,P)=>{for(var I in P||(P={}))st.call(P,I)&&bi(C,I,P[I]);if(wt)for(var I of wt(P))qn.call(P,I)&&bi(C,I,P[I]);return C},xi={namespace:"competitions",state:{name:"",loading:!0,listParams:{page:1,per_page:20,category:""},Staff:{},Header:{},competition_title:"",banner:"",competitions:[],count:"",RightItems:{},Prizes:{},Account:{},TabResultList:{},competition_team:{},all_team_member:{},actionTabs:{key:"",params:{}},GuidesData:{}},effects:{*postGuides({payload:C,callback:P},{call:I,put:pe}){return yield I(ii.cC,C)},*getGuides({payload:C,callback:P},{call:I,put:pe}){const je=yield I(ii.Ax,C);return yield pe({type:"save",payload:{GuidesData:je}}),je},*getWorkSubmitUpdateRes({payload:C,callback:P},{call:I,put:pe}){return yield I(ii.zF,C)},*getList({payload:C},{call:P,put:I}){const pe=C,je=yield P(ii.bQ,C);return yield I({type:"save",payload:ti({listParams:pe},je)}),je},*getMemberWorks({payload:C},{call:P,put:I}){const pe=yield P(ii.xx,C);return yield I({type:"save",payload:{MemberWorks:pe||{}}}),pe},*addApplytojoincourse({payload:C,callback:P},{call:I,put:pe}){return yield I(ii.qS,C)},*competitionTeams({payload:C,callback:P},{call:I,put:pe}){return yield I(ii.Pt,C)},*getStaff({payload:C,callback:P},{call:I,put:pe}){const je=yield I(ii.Dh,C);return yield pe({type:"save",payload:{Staff:je}}),je},*getHeader({payload:C,callback:P},{call:I,put:pe}){const je=yield I(ii.Pg,C);return yield pe({type:"save",payload:{Header:je}}),je},*getItem({payload:C,callback:P},{call:I,put:pe}){const je=yield I(ii.rV,C);return yield pe({type:"save",payload:{RightItems:je}}),je},*updateMdContent({payload:C,callback:P},{call:I,put:pe}){return yield I(ii.zj,C)},*getTeamList({payload:C,callback:P},{call:I,put:pe}){return yield I(ii.aq,C)},*getTeamDetail({payload:C,callback:P},{call:I,put:pe}){return yield I(ii.Ze,C)},*UpTeam({payload:C,callback:P},{call:I,put:pe}){return yield I(ii.yS,C)},*DeleteTeam({payload:C,callback:P},{call:I,put:pe}){return yield I(ii.ps,C)},*ExitTeam({payload:C,callback:P},{call:I,put:pe}){return yield I(ii.vV,C)},*AddTeam({payload:C,callback:P},{call:I,put:pe}){return yield I(ii.FU,C)},*AddPersonnel({payload:C,callback:P},{call:I,put:pe}){return yield I(ii.R9,C)},*JoinTeam({payload:C,callback:P},{call:I,put:pe}){return yield I(ii.zc,C)},*getTeacher({payload:C,callback:P},{call:I,put:pe}){return yield I(ii.jS,C)},*getStudents({payload:C,callback:P},{call:I,put:pe}){return yield I(ii.sK,C)},*SubmitTeam({payload:C,callback:P},{call:I,put:pe}){return yield I(ii.rm,C)},*Reward({payload:C,callback:P},{call:I,put:pe}){return yield I(ii.Qp,C)},*ChartRules({payload:C,callback:P},{call:I,put:pe}){return yield I(ii.Ux,C)},*Charts({payload:C,callback:P},{call:I,put:pe}){return yield I(ii.GQ,C)},*TabResults({payload:C,callback:P},{call:I,put:pe}){const je=yield I(ii.ml,C);return yield pe({type:"save",payload:{TabResultList:je}}),je},*setActionTabs({payload:C},{call:P,put:I}){yield I({type:"save",payload:{actionTabs:ti({},C)}})},*Results({payload:C,callback:P},{call:I,put:pe}){return yield I(ii.u9,C)},*Prize({payload:C,callback:P},{call:I,put:pe}){const je=yield I(ii.pU,C);return yield pe({type:"save",payload:{Prizes:je}}),je},*Accounts({payload:C,callback:P},{call:I,put:pe}){const je=yield I(ii.XJ,C);return yield pe({type:"save",payload:{Account:je}}),je},*getVerification({payload:C,callback:P},{call:I,put:pe}){return yield I(ii.Ni,C)},*PhoneBind({payload:C,callback:P},{call:I,put:pe}){return yield I(ii.uZ,C)},*EmailBind({payload:C,callback:P},{call:I,put:pe}){return yield I(ii.rk,C)},*Authentication({payload:C,callback:P},{call:I,put:pe}){return yield I(ii.Vy,C)},*Professional({payload:C,callback:P},{call:I,put:pe}){return yield I(ii.tC,C)},*setleader({payload:C,callback:P},{call:I,put:pe}){return yield I(ii.tO,C)},*getShixun({payload:C,callback:P},{call:I,put:pe}){return yield I(ii.qj,C)},*getCourse({payload:C,callback:P},{call:I,put:pe}){return yield I(ii.XR,C)},*competition_teams({payload:C,callback:P},{call:I,put:pe}){const je=yield I(ii.zz,C);return yield pe({type:"save",payload:{competition_team:je}}),je},*all_team_members({payload:C,callback:P},{call:I,put:pe}){const je=yield I(ii.$P,C);return yield pe({type:"save",payload:{all_team_member:je}}),je}},reducers:{save(C,P){return ti(ti({},C),P.payload)}},subscriptions:{setup({dispatch:C,history:P}){return P.listen(({pathname:I})=>{I==="/"&&C({type:"query"})})}}},Pi=e(70849),ai=Object.defineProperty,er=Object.getOwnPropertySymbols,mt=Object.prototype.hasOwnProperty,tt=Object.prototype.propertyIsEnumerable,It=(C,P,I)=>P in C?ai(C,P,{enumerable:!0,configurable:!0,writable:!0,value:I}):C[P]=I,_t=(C,P)=>{for(var I in P||(P={}))mt.call(P,I)&&It(C,I,P[I]);if(er)for(var I of er(P))tt.call(P,I)&&It(C,I,P[I]);return C},fr={namespace:"declaration",state:{name:"\u79D1\u7814\u6559\u5B66\u7533\u62A5",loading:!0,mode:"view"},effects:{*changeMode({payload:C},{put:P}){yield P({type:"save",payload:{mode:C.mode}})},*getDeclaraList({payload:C},{call:P,put:I}){return yield P(Pi.Dn,{payload:C})},*getDeclaraDetail({payload:C},{call:P,put:I}){return yield P(Pi.Hs,{payload:C})},*addDeclara({payload:C},{call:P,put:I}){return yield P(Pi.eu,{payload:C})},*updateDeclara({payload:C},{call:P,put:I}){return yield P(Pi.Bb,{payload:C})}},reducers:{save(C,P){return _t(_t({},C),P.payload)}},subscriptions:{setup({dispatch:C,history:P}){return P.listen(({pathname:I})=>{I==="/declaration"&&P.replace({pathname:"/declaration/home"})})}}},Tr=e(38650),kr=e(52743),Ue=Object.defineProperty,rt=Object.defineProperties,ye=Object.getOwnPropertyDescriptors,Ye=Object.getOwnPropertySymbols,ir=Object.prototype.hasOwnProperty,Rr=Object.prototype.propertyIsEnumerable,Or=(C,P,I)=>P in C?Ue(C,P,{enumerable:!0,configurable:!0,writable:!0,value:I}):C[P]=I,Sr=(C,P)=>{for(var I in P||(P={}))ir.call(P,I)&&Or(C,I,P[I]);if(Ye)for(var I of Ye(P))Rr.call(P,I)&&Or(C,I,P[I]);return C},Ur=(C,P)=>rt(C,ye(P)),Ir={namespace:"engineeringEvaluteDetail",state:{classDataSource:{active:null,dataList:[]},actionTabs:{key:"",params:{}},name:"",headerData:{dataSource:{[kr.k[0]]:{width:235,placeholder:`\u8BF7\u9009\u62E9${kr.k[0]}`,loading:"engineeringEvaluteDetail/getMajorList",dataList:[]},[kr.k[1]]:{width:138,placeholder:`\u8BF7\u9009\u62E9${kr.k[1]}`,loading:"engineeringEvaluteDetail/getYearList",dataList:[]}},active:{}},tabListData:[],echartsData:{barData:{name:"",dataSource:{xData:[],yBarData:[],yLineData:[]}},lineData:{name:"",xData:[],seriesData:[]},scatterData:{}}},effects:{*setActionTabs({payload:C},{call:P,put:I}){yield I({type:"save",payload:{actionTabs:Sr({},C)}})},*getMajorList({payload:C},{call:P,put:I,select:pe}){const{userInfo:je}=yield pe(rn=>rn.user);if(je!=null&&je.school_id){const rn=yield P(Tr.BA,je.school_id);rn&&rn.data&&(yield I({type:"setMajorOrYearDataSource",payload:{key:kr.k[0],value:rn.data.map(ui=>({label:ui.name,value:ui.ec_major_school_id}))}}))}},*getYearList({payload:C},{call:P,put:I}){const pe=yield P(Tr.Nx,C);pe&&pe.data&&(yield I({type:"setMajorOrYearDataSource",payload:{key:kr.k[1],value:pe.data.map(je=>({label:je.year,value:je.ec_year_id}))}}))},*getCourseResultDetail({payload:C},{call:P,put:I}){console.log(C,"payload");const pe=yield P(Tr.p1,C);pe&&pe.ec_course_target&&(yield I({type:"setEchartsData",payload:pe}))},*getCourseResultDetailClass({payload:C},{call:P,put:I}){const pe=yield P(Tr.ff,C);pe&&pe.class_name&&(yield I({type:"save",payload:{classDataSource:{active:null,dataList:[...pe.class_name]}}}))},*setClassActive({payload:C},{call:P,put:I}){yield I({type:"save",payload:{classDataSource:Sr({},C)}})}},reducers:{save(C,P){return Sr(Sr({},C),P.payload)},setMajorOrYearDataSource(C,{payload:P}){return Ur(Sr({},C),{headerData:Ur(Sr({},C.headerData),{dataSource:Ur(Sr({},C.headerData.dataSource),{[P.key]:Ur(Sr({},C.headerData.dataSource[P.key]),{dataList:P.value})})})})},setMajorOrYearActive(C,{payload:P}){return Ur(Sr({},C),{headerData:Ur(Sr({},C.headerData),{active:Ur(Sr({},C.headerData.active),{[P.key]:P.value})})})},setEchartsData(C,{payload:P}){let I={name:P.course_name||"",dataSource:{xData:[],yBarData:[],yLineData:[]}},pe={name:P.course_name||"",xData:[],seriesData:[]},je={};return P.ec_course_target.forEach((rn,ui)=>{rn.position=ui+1,I=Ur(Sr({},I),{dataSource:{xData:[...I.dataSource.xData,ui+1],yBarData:[...I.dataSource.yBarData,rn.actual_grade],yLineData:[...I.dataSource.yLineData,rn.standard_grade]}});let Xi=[],Zi={min:[],max:[]},ss=[],eo=[],si=[];rn.student_data.detail.forEach((Ss,Zo)=>{let Hs=Ss.score;Xi.push(Zo+1),Zi.max.push(Hs>=rn.student_data.goal_score?Hs:null),Zi.min.push(Hs>=rn.student_data.goal_score?null:Hs),ss.push(Ss.name),eo.push(Ss.student_id),si.push(Ss.clazz)}),je[ui+1]={name:ui+1,average_score:rn.student_data.average_score,goal_score:rn.student_data.goal_score,xData:Xi,yData:Zi,name_data:ss,student_ids:eo,class_data:si,goal_scoreData:new Array(rn.student_data.detail.length).fill(rn.student_data.goal_score),average_scoreData:new Array(rn.student_data.detail.length).fill(rn.student_data.average_score)}}),P.history.forEach(rn=>{pe=Ur(Sr({},pe),{xData:[...pe.xData,rn.year],seriesData:[...pe.seriesData,rn.total_score]})}),Ur(Sr({},C),{name:P.course_name||"",tabListData:P.ec_course_target,echartsData:{barData:I,lineData:pe,scatterData:je}})}},subscriptions:{setup({dispatch:C,history:P}){return P.listen(({pathname:I})=>{I==="/"&&C({type:"query"})})}}},cn=Object.defineProperty,tn=Object.getOwnPropertySymbols,on=Object.prototype.hasOwnProperty,bn=Object.prototype.propertyIsEnumerable,ha=(C,P,I)=>P in C?cn(C,P,{enumerable:!0,configurable:!0,writable:!0,value:I}):C[P]=I,gi=(C,P)=>{for(var I in P||(P={}))on.call(P,I)&&ha(C,I,P[I]);if(tn)for(var I of tn(P))bn.call(P,I)&&ha(C,I,P[I]);return C},On={namespace:"engineering",state:{showMenu:!0,matrixVerify:{key:!1,params:{}},actionTabs:{key:"",params:{}}},effects:{*setActionTabs({payload:C},{call:P,put:I}){yield I({type:"save",payload:{actionTabs:gi({},C)}})},*setShowMenu({payload:C},{call:P,put:I}){yield I({type:"save",payload:{showMenu:C}})},*setMatrixVerify({payload:C},{call:P,put:I}){yield I({type:"save",payload:{matrixVerify:gi({},C)}})}},reducers:{save(C,P){return gi(gi({},C),P.payload)}},subscriptions:{setup({dispatch:C,history:P}){return P.listen(({pathname:I})=>{I==="/"&&C({type:"query"})})}}},Ri=e(99309),$i=Object.defineProperty,la=Object.defineProperties,Is=Object.getOwnPropertyDescriptors,ba=Object.getOwnPropertySymbols,As=Object.prototype.hasOwnProperty,Ds=Object.prototype.propertyIsEnumerable,qa=(C,P,I)=>P in C?$i(C,P,{enumerable:!0,configurable:!0,writable:!0,value:I}):C[P]=I,na=(C,P)=>{for(var I in P||(P={}))As.call(P,I)&&qa(C,I,P[I]);if(ba)for(var I of ba(P))Ds.call(P,I)&&qa(C,I,P[I]);return C},Ii=(C,P)=>la(C,Is(P)),$a={namespace:"engineeringNavigtion",state:{actionTabs:{key:"",params:{}},headerData:{title:"\u8BA4\u8BC1\u5BFC\u822A",dataSource:{[kr.k[0]]:{width:235,placeholder:`\u8BF7\u9009\u62E9${kr.k[0]}`,loading:"engineeringNavigtion/getMajorList",dataList:[]},[kr.k[1]]:{width:138,placeholder:`\u8BF7\u9009\u62E9${kr.k[1]}`,loading:"engineeringNavigtion/getYearList",dataList:[]}},active:{},name:"",tabBarContent:{user_name:"",user_school:"",user_type:""}},cardListData:{appraiseData:{norm:{title:"\u6307\u6807\u8BC4\u4EF7",result:"-",tabBarContent:[{icon:"icon-biyezhibiao",label:"\u6BD5\u4E1A\u6307\u6807",value:"/engineering/graduated/index"},{icon:"icon-biyejuzhen",label:"\u6BD5\u4E1A\u77E9\u9635",value:"/engineering/graduated/matrix"}],listData:[{key:"graduation_count",icon:"icon-biyeyaoqiu1",backgroundColor:"#F2EBFB",textColor:"#713BDB",label:"\u6BD5\u4E1A\u8981\u6C42",value:"-",unit:"\u9879"},{key:"graduation_subitem_count",icon:"icon-zhibiaodian",backgroundColor:"#FEF3EF",textColor:"#FF8B58",label:"\u6307\u6807\u70B9",value:"-",unit:"\u9879"},{key:"graduation_achieve_count",icon:"icon-dacheng",backgroundColor:"#D7F5E6",textColor:"#07C160",label:"\u5DF2\u8FBE\u6210\u6BD5\u4E1A\u8981\u6C42",value:"-",unit:"\u9879"},{key:"graduation_not_achieve_count",icon:"icon-weidacheng",backgroundColor:"#F5F5F5",textColor:"#7C8184",label:"\u672A\u8FBE\u6210\u6BD5\u4E1A\u8981\u6C42",value:"-",unit:"\u9879"}]},course:{title:"\u8BFE\u7A0B\u8BC4\u4EF7",result:"-",tabBarContent:[{icon:"icon-kechengliebiao",label:"\u8BFE\u7A0B\u5217\u8868",value:"/engineering/course/list"},{icon:"icon-kechengjuzhen",label:"\u8BFE\u7A0B\u77E9\u9635",value:"/engineering/course/matrix"}],listData:[{key:"course_count",icon:"icon-kechengshuliang",backgroundColor:"#E2F5FF",textColor:"#007AFF",label:"\u8BFE\u7A0B\u6570\u91CF",value:"-",unit:"\u95E8"},{key:"course_target_count",icon:"icon-mubiao",backgroundColor:"#FEF8EF",textColor:"#FEB315",label:"\u8BFE\u7A0B\u76EE\u6807",value:"-",unit:"\u9879"},{key:"course_achieve_count",icon:"icon-dacheng",backgroundColor:"#D7F5E6",textColor:"#07C160",label:"\u5DF2\u8FBE\u6210\u8BFE\u7A0B\u6570\u91CF",value:"-",unit:"\u95E8"},{key:"course_not_achieve_count",icon:"icon-weidacheng",backgroundColor:"#F5F5F5",textColor:"#7C8184",label:"\u672A\u8FBE\u6210\u8BFE\u7A0B\u6570\u91CF",value:"-",unit:"\u95E8"}]}},teamData:{teach:{title:"\u6388\u8BFE\u56E2\u961F",tabBarContent:"0\u4EBA",listData:[]},work:{title:"\u5DE5\u4F5C\u56E2\u961F",tabBarContent:"0\u4EBA",listData:[]}}},totalListData:[{key:"student_count",title:"\u5F53\u524D\u5B66\u751F\u603B\u6570",value:0,icon:"icon-xuesheng1",backgroundColor:"rgba(201,236,255,0.51)",textColor:"#007AFF"},{key:"student_in_count",title:"\u8F6C\u5165\u5B66\u751F\u603B\u6570",value:0,icon:"icon-zhuanru",backgroundColor:"rgba(119,241,174,0.4)",textColor:"#1FA363"},{key:"student_out_count",title:"\u8F6C\u51FA\u5B66\u751F\u603B\u6570",value:0,icon:"icon-zhuanchu",backgroundColor:"rgba(255,197,147,0.44)",textColor:"#FA6400"}]},effects:{*setActionTabs({payload:C},{call:P,put:I}){yield I({type:"save",payload:{actionTabs:na({},C)}})},*getMajorList({},{call:C,put:P,select:I}){const{userInfo:pe}=yield I(je=>je.user);if(pe!=null&&pe.school_id){const je=yield C(Tr.BA,pe.school_id);if(je&&je.data){const rn=Ri.U.getItem(pe==null?void 0:pe.login);yield P({type:"setMajorOrYearDataSource",payload:{key:kr.k[0],value:je.data.map(ui=>({label:ui.name,value:ui.ec_major_school_id})),active:je.data.length>0?rn[0]||je.data[0].ec_major_school_id:void 0}})}}},*getYearList({payload:C},{call:P,put:I,select:pe}){const je=yield P(Tr.Nx,C.id),{userInfo:rn}=yield pe(ui=>ui.user);if(je&&je.data){const ui=Ri.U.getItem(rn==null?void 0:rn.login);yield I({type:"setMajorOrYearDataSource",payload:{key:kr.k[1],value:je.data.map(Xi=>({label:Xi.year,value:Xi.ec_year_id})),active:je.data.length>0?C.firstEnter?ui[1]:je.data[0].ec_year_id:void 0}})}},*getTopPage({},{call:C,put:P,select:I}){const{headerData:pe}=yield I(ui=>ui.engineeringNavigtion),{userInfo:je}=yield I(ui=>ui.user);let rn={};if(pe.active[kr.k[1]]&&je.school_id){const ui=[pe.active[kr.k[0]],pe.active[kr.k[1]]];Ri.U.setItem(je==null?void 0:je.login,ui);const Xi=yield C(Tr.bA,{ec_year_id:pe.active[kr.k[1]],school_id:je.school_id});Xi&&Xi.data&&(rn=Xi.data),yield P({type:"setTopPage",payload:rn})}},*putTopPageName({payload:C,callback:P},{call:I,put:pe}){try{const je=yield I(Tr.ay,C);P(je)}catch(je){let rn="";je&&(rn=JSON.stringify(je),je.message&&(rn=je.message)),P({message:rn,status:999})}}},reducers:{save(C,P){return na(na({},C),P.payload)},setMajorOrYearDataSource(C,{payload:P}){let I=C.headerData.active;return P.active&&(I=Ii(na({},I),{[P.key]:P.active})),Ii(na({},C),{headerData:Ii(na({},C.headerData),{dataSource:Ii(na({},C.headerData.dataSource),{[P.key]:Ii(na({},C.headerData.dataSource[P.key]),{dataList:P.value})}),active:I})})},setMajorOrYearActive(C,{payload:P}){return Ii(na({},C),{headerData:Ii(na({},C.headerData),{active:Ii(na({},C.headerData.active),{[P.key]:P.value})})})},setTopPage(C,{payload:P}){return Ii(na({},C),{headerData:Ii(na({},C.headerData),{name:P.name,tabBarContent:{user_name:P.user_name,user_school:P.user_school,user_type:P.user_type}}),cardListData:Ii(na({},C.cardListData),{appraiseData:Ii(na({},C.cardListData.appraiseData),{norm:Ii(na({},C.cardListData.appraiseData.norm),{result:P.graduaiton_result,listData:C.cardListData.appraiseData.norm.listData.map(I=>Ii(na({},I),{value:P[I.key]||0}))}),course:Ii(na({},C.cardListData.appraiseData.course),{result:P.course_result,listData:C.cardListData.appraiseData.course.listData.map(I=>Ii(na({},I),{value:P[I.key]||0}))})}),teamData:{teach:Ii(na({},C.cardListData.teamData.teach),{tabBarContent:`${P.course_teachers?P.course_teachers.length:0}\u4EBA`,listData:P.course_teachers||[]}),work:Ii(na({},C.cardListData.teamData.work),{tabBarContent:`${P.work_teachers?P.work_teachers.length:0}\u4EBA`,listData:P.work_teachers||[]})}}),totalListData:C.totalListData.map(I=>Ii(na({},I),{value:P[I.key]||0}))})}},subscriptions:{setup({dispatch:C,history:P}){return P.listen(({pathname:I})=>{I==="/"&&C({type:"query"})})}}},Os=Object.defineProperty,zi=Object.defineProperties,ks=Object.getOwnPropertyDescriptors,Ro=Object.getOwnPropertySymbols,ja=Object.prototype.hasOwnProperty,ys=Object.prototype.propertyIsEnumerable,rs=(C,P,I)=>P in C?Os(C,P,{enumerable:!0,configurable:!0,writable:!0,value:I}):C[P]=I,Ws=(C,P)=>{for(var I in P||(P={}))ja.call(P,I)&&rs(C,I,P[I]);if(Ro)for(var I of Ro(P))ys.call(P,I)&&rs(C,I,P[I]);return C},kn=(C,P)=>zi(C,ks(P)),yo={namespace:"engineeringNormDetail",state:{actionTabs:{key:"",params:{}},dataSource:{name:"",goal_value:0,actual_value:0,subitems:[]}},effects:{*setActionTabs({payload:C},{call:P,put:I}){yield I({type:"save",payload:{actionTabs:Ws({},C)}})},*getGraduationResultDetail({payload:C},{call:P,put:I}){const pe=yield P(Tr.gq,C);yield I({type:"save",payload:{dataSource:pe}})}},reducers:{save(C,P){return Ws(Ws({},C),P.payload)},setDataSource(C,{payload:P}){let I=P;return kn(Ws({},C),{dataSource:I})}},subscriptions:{setup({dispatch:C,history:P}){return P.listen(({pathname:I})=>{I==="/"&&C({type:"query"})})}}},Rs=e(8591),Vi=Object.defineProperty,Ua=Object.defineProperties,Da=Object.getOwnPropertyDescriptors,vs=Object.getOwnPropertySymbols,Gs=Object.prototype.hasOwnProperty,So=Object.prototype.propertyIsEnumerable,_o=(C,P,I)=>P in C?Vi(C,P,{enumerable:!0,configurable:!0,writable:!0,value:I}):C[P]=I,Ks=(C,P)=>{for(var I in P||(P={}))Gs.call(P,I)&&_o(C,I,P[I]);if(vs)for(var I of vs(P))So.call(P,I)&&_o(C,I,P[I]);return C},Qs=(C,P)=>Ua(C,Da(P)),Lo=(C,P)=>{var I={};for(var pe in C)Gs.call(C,pe)&&P.indexOf(pe)<0&&(I[pe]=C[pe]);if(C!=null&&vs)for(var pe of vs(C))P.indexOf(pe)<0&&So.call(C,pe)&&(I[pe]=C[pe]);return I},Ho={namespace:"engineeringNormList",state:{actionTabs:{key:"",params:{}},headerData:{dataSource:{[kr.k[0]]:{width:235,placeholder:`\u8BF7\u9009\u62E9${kr.k[0]}`,loading:"engineeringNormList/getMajorList",dataList:[]},[kr.k[1]]:{width:138,placeholder:`\u8BF7\u9009\u62E9${kr.k[1]}`,loading:"engineeringNormList/getYearList",dataList:[]}},active:{}},tabListData:[],expandedRowKeys:[],all_goal_value:""},effects:{*setActionTabs({payload:C},{call:P,put:I}){yield I({type:"save",payload:{actionTabs:Ks({},C)}})},*getMajorList({},{call:C,put:P,select:I}){const{userInfo:pe}=yield I(je=>je.user);if(pe!=null&&pe.school_id){const je=yield C(Tr.BA,pe.school_id);if(je&&je.data){const rn=Ri.U.getItem(pe==null?void 0:pe.login);yield P({type:"setMajorOrYearDataSource",payload:{key:kr.k[0],value:je.data.map(ui=>({label:ui.name,value:ui.ec_major_school_id})),active:je.data.length>0?rn[0]||je.data[0].ec_major_school_id:void 0}})}}},*getYearList({payload:C},{call:P,put:I,select:pe}){const je=yield P(Tr.Nx,C.id),{userInfo:rn}=yield pe(ui=>ui.user);if(je&&je.data){const ui=Ri.U.getItem(rn==null?void 0:rn.login);yield I({type:"setMajorOrYearDataSource",payload:{key:kr.k[1],value:je.data.map(Xi=>({label:Xi.year,value:Xi.ec_year_id})),active:je.data.length>0?C.firstEnter?ui[1]:je.data[0].ec_year_id:void 0}})}},*getGraduationResults({},{call:C,put:P,select:I}){const{headerData:pe}=yield I(ss=>ss.engineeringNormList),{userInfo:je}=yield I(ss=>ss.user);let rn=[],ui=[],Xi="";const Zi=pe.active[kr.k[1]];if(Zi){const ss=[pe.active[kr.k[0]],pe.active[kr.k[1]]];Ri.U.setItem(je==null?void 0:je.login,ss);const eo=yield C(Tr.eM,Zi);eo&&eo.graduation_requirements&&(Xi=eo.all_goal_value||"",rn=eo.graduation_requirements.map(si=>{var Ss=si,{subitems:Zo}=Ss,Hs=Lo(Ss,["subitems"]);return ui.push(Hs.id),Qs(Ks({},Hs),{children:Zo})}))}yield P({type:"save",payload:{tabListData:rn,all_goal_value:Xi,expandedRowKeys:ui}})},*exportGraduation({},{call:C,select:P}){const{headerData:I}=yield P(pe=>pe.engineeringNormList);I.active[kr.k[1]]&&(yield C(Tr.OE,I.active[kr.k[1]]))},*compute({payload:C},{call:P,put:I}){const pe=C,{all:je}=pe,rn=Lo(pe,["all"]),ui=yield P(je?Tr.Qx:Tr.Xl,rn);ui&&ui.status===0?(Rs.ZP.success("\u8BA1\u7B97\u5B8C\u6210"),yield I({type:"getGraduationResults"})):Rs.ZP.error(ui.message)},*getFormulas({callback:C},{call:P,select:I}){const{headerData:pe}=yield I(je=>je.engineeringNormList);if(pe.active[kr.k[1]]){const je=yield P(Tr.mK,pe.active[kr.k[1]]);C(je)}},*setFormulas({payload:C,callback:P},{call:I}){const pe=yield I(Tr.y9,C);P(pe)},*putGoalValue({payload:C},{call:P,put:I}){const pe=yield P(Tr.No,C);if(pe&&pe.status===0)Rs.ZP.success("\u4FDD\u5B58\u6210\u529F"),yield I({type:"save",payload:{actionTabs:{key:"",params:{}}}}),yield I({type:"getGraduationResults"});else{let je="\u4FDD\u5B58\u5931\u8D25";pe&&pe.message&&(je=pe.message),Rs.ZP.error(je)}}},reducers:{save(C,P){return Ks(Ks({},C),P.payload)},setMajorOrYearDataSource(C,{payload:P}){let I=C.headerData.active;return P.active&&(I=Qs(Ks({},I),{[P.key]:P.active})),Qs(Ks({},C),{headerData:Qs(Ks({},C.headerData),{dataSource:Qs(Ks({},C.headerData.dataSource),{[P.key]:Qs(Ks({},C.headerData.dataSource[P.key]),{dataList:P.value})}),active:I})})},setMajorOrYearActive(C,{payload:P}){return Qs(Ks({},C),{headerData:Qs(Ks({},C.headerData),{active:Qs(Ks({},C.headerData.active),{[P.key]:P.value})})})}},subscriptions:{setup({dispatch:C,history:P}){return P.listen(({pathname:I})=>{I==="/"&&C({type:"query"})})}}},Co=e(67508),Xo=Object.defineProperty,hi=Object.getOwnPropertySymbols,Gn=Object.prototype.hasOwnProperty,ga=Object.prototype.propertyIsEnumerable,os=(C,P,I)=>P in C?Xo(C,P,{enumerable:!0,configurable:!0,writable:!0,value:I}):C[P]=I,Ba=(C,P)=>{for(var I in P||(P={}))Gn.call(P,I)&&os(C,I,P[I]);if(hi)for(var I of hi(P))ga.call(P,I)&&os(C,I,P[I]);return C},Wo={namespace:"forumsDetail",state:{forumsDetailData:{}},effects:{*getForumsDetailData({payload:C},{call:P,put:I}){const pe=yield P(Co.Si,C);return yield I({type:"save",payload:{forumsDetailData:Ba({},pe)}}),pe},*setForumsDetailData({payload:C},{call:P,put:I}){yield I({type:"save",payload:{forumsDetailData:Ba({},C)}})}},reducers:{save(C,P){return Ba(Ba({},C),P.payload)}},subscriptions:{setup({dispatch:C,history:P}){return P.listen(({pathname:I})=>{I==="/"&&C({type:"query"})})}}},iu=Object.defineProperty,_s=Object.getOwnPropertySymbols,vu=Object.prototype.hasOwnProperty,$o=Object.prototype.propertyIsEnumerable,fu=(C,P,I)=>P in C?iu(C,P,{enumerable:!0,configurable:!0,writable:!0,value:I}):C[P]=I,gu=(C,P)=>{for(var I in P||(P={}))vu.call(P,I)&&fu(C,I,P[I]);if(_s)for(var I of _s(P))$o.call(P,I)&&fu(C,I,P[I]);return C},Mo={namespace:"forumsList",state:{forumsData:{},listParams:{page:1,order:"updated_at"}},effects:{*getForumsData({payload:C},{call:P,put:I}){const pe=yield P(C.memoType==="shixun_discuss"?Co.kd:Co.bc,C);return delete C.memoType,yield I({type:"save",payload:{listParams:C,forumsData:gu({},pe)}}),pe}},reducers:{save(C,P){return gu(gu({},C),P.payload)}},subscriptions:{setup({dispatch:C,history:P}){return P.listen(({pathname:I})=>{I==="/"&&C({type:"query"})})}}},Bs=e(30534),Ou=e(3294),Go=e(28209),bs=e.n(Go),bo=Object.defineProperty,yu=Object.getOwnPropertySymbols,Ao=Object.prototype.hasOwnProperty,jo=Object.prototype.propertyIsEnumerable,Vs=(C,P,I)=>P in C?bo(C,P,{enumerable:!0,configurable:!0,writable:!0,value:I}):C[P]=I,so=(C,P)=>{for(var I in P||(P={}))Ao.call(P,I)&&Vs(C,I,P[I]);if(yu)for(var I of yu(P))jo.call(P,I)&&Vs(C,I,P[I]);return C},Ns={namespace:"globalSetting",state:{name:"\u5168\u5C40\u914D\u7F6E",loading:!0,isIlearning:window.location.host.indexOf("learning.")>-1,showFooter:!0,showHeader:!0,showTip:!1,showHeaderFooter:!0,showHeaderFixed:!1,onlyShowBackTop:!0,onlyShowBackTopIcons:!0,operateModel:!1,operateModelPath:"",showQuestionBackTop:!1,theme:"defaults",shareData:{title:document.title,imgUrl:"https://ali-cdn.educoder.net/images/avatars/LaboratorySetting/1tab?t=1610677202",desc:""},globalLoading:{show:!1,text:""},updateData:{end_time:"",start_time:"",subject:"",system_score:"",system_update:!1},infoData:{name:"",phone:""},isSaiaDomain:window.location.host=="saia.educoder.net",actionTabs:{key:"",params:{}}},effects:{*query({payload:C},{call:P,put:I}){var pe,je;const rn=yield P(Bs.D2,C);Ou.Z.ONLYOFFICE=(pe=rn==null?void 0:rn.setting)==null?void 0:pe.office_server_url,qt(rn);try{const Zi="5183666c72eec9e4",ss="5183666c72eec9e4";var ui=bs().enc.Utf8.parse(Zi);let eo=bs().enc.Utf8.parse(ss);var Xi=bs().AES.decrypt(((je=rn==null?void 0:rn.setting)==null?void 0:je.user_default_password)||"",ui,{iv:eo,mode:bs().mode.CBC});rn.setting.user_default_password=Xi.toString(bs().enc.Utf8)}catch(Zi){}yield I({type:"save",payload:so({},rn)})},*getSystemUpdate({payload:C},{call:P,put:I}){const pe=yield P(Bs.n0,C);yield I({type:"save",payload:{updateData:so({},pe)}})},*setTheme({payload:C},{call:P,put:I}){const pe=yield P(Bs.n0,C);yield I({type:"save",payload:{theme:C||"default"}})},*setShareData({payload:C},{call:P,put:I}){yield I({type:"save",payload:{shareData:C}})},*setGlobalLoading({payload:C},{call:P,put:I}){yield I({type:"save",payload:{globalLoading:so({},C)}})},*delayTipToggle({payload:C},{call:P,put:I}){yield I({type:"save",payload:{showTip:C}})},*headerToggle({payload:C},{call:P,put:I}){yield I({type:"save",payload:{showHeader:C}})},*footerToggle({payload:C},{call:P,put:I}){yield I({type:"save",payload:{showFooter:C}})},*headerFooterToggle({payload:C},{call:P,put:I}){yield I({type:"save",payload:{showHeaderFooter:C}})},*delayTipToggle({payload:C},{call:P,put:I}){yield I({type:"save",payload:{showTip:C}})},*headerFixedToggle({payload:C},{call:P,put:I}){yield I({type:"save",payload:{showHeaderFixed:C}})},*onlyShowBackTopToggle({payload:C},{call:P,put:I}){yield I({type:"save",payload:{onlyShowBackTop:C}})},*onlyShowBackTopIconToggle({payload:C},{call:P,put:I}){yield I({type:"save",payload:{onlyShowBackTopIcons:C}})},*setOperateModel({payload:C},{call:P,put:I}){yield I({type:"save",payload:{operateModel:C}})},*setOperateModelPath({payload:C},{call:P,put:I}){yield I({type:"save",payload:{operateModelPath:C}})},*setShowQuestionBackTop({payload:C},{call:P,put:I}){yield I({type:"save",payload:{showQuestionBackTop:C}})},*setInfoData({payload:C},{call:P,put:I}){yield I({type:"save",payload:{infoData:so({},C)}})},*setActionTabs({payload:C},{call:P,put:I}){yield I({type:"save",payload:{actionTabs:so({},C)}})}},reducers:{save(C,P){return so(so({},C),P.payload)}},subscriptions:{setup({dispatch:C,history:P}){return P.listen(({pathname:I})=>{})}}};const qt=(C={})=>{var P,I,pe,je,rn;if(window.self!==window.top||!((P=C.setting)!=null&&P.tab_logo_url))return;const ui=document.createElement("link"),Xi=document.getElementById("dynamic-favicon");ui.id="dynamic-favicon",ui.rel="shortcut icon",ui.href=(I=C.setting)!=null&&I.tab_logo_url?`${Ou.Z.IMG_SERVER}/${(pe=C.setting)==null?void 0:pe.tab_logo_url}`:"",Xi&&document.head.removeChild(Xi),document.head.appendChild(ui);try{(je=C.setting)!=null&&je.main_site||(document.querySelector('meta[name="keywords"]').content=(rn=C.setting)==null?void 0:rn.name,document.querySelector('meta[name="description"]').remove())}catch(Zi){}};var ur=e(2742),ar=Object.defineProperty,mr=Object.getOwnPropertySymbols,pr=Object.prototype.hasOwnProperty,_n=Object.prototype.propertyIsEnumerable,xn=(C,P,I)=>P in C?ar(C,P,{enumerable:!0,configurable:!0,writable:!0,value:I}):C[P]=I,Nn=(C,P)=>{for(var I in P||(P={}))pr.call(P,I)&&xn(C,I,P[I]);if(mr)for(var I of mr(P))_n.call(P,I)&&xn(C,I,P[I]);return C},Jn={namespace:"graduations",state:{actionTabs:{key:"",params:{}},details:{},menus:[],forTask:[],ownedList:[],students:{},years:[],graduation:{teachers_count:0,students_count:0,graduation_tasks_count:0},teachers:{},graduation_stages:[],Notices:{total_count:0,no_deal_count:0},Tasks:{data:[],count:0},updateIndex:1},effects:{*getGraduationsStageDetails({payload:C},{call:P,put:I}){return yield P(ur.Xh,C)},*getGraduationsFinalScore({payload:C},{call:P,put:I}){return yield P(ur.H3,C)},*getDelGraduationsTasks({payload:C},{call:P,put:I}){return yield P(ur.km,C)},*getGraduationsTasks({payload:C},{call:P,put:I}){const pe=yield P(ur.Xw,C);yield I({type:"save",payload:{Tasks:pe}})},*getGraduationsTeachers({payload:C},{call:P,put:I}){var pe;const je=yield P(ur.AA,C);return(pe=je==null?void 0:je.data)==null||pe.map(rn=>(rn.key=rn.id,rn)),yield I({type:"save",payload:{teachers:je}}),je},*getGraduationsStudents({payload:C},{call:P,put:I}){var pe;const je=yield P(ur.eh,C);(pe=je==null?void 0:je.data)==null||pe.map(rn=>(rn.key=rn.id,rn)),yield I({type:"save",payload:{students:je}})},*getGraduationsNotices({payload:C},{call:P,put:I}){const pe=yield P(ur.Rk,C);yield I({type:"save",payload:{Notices:pe}})},*getGraduationsInfo({payload:C},{call:P,put:I}){const pe=yield P(ur.F7,C);yield I({type:"save",payload:{graduation:pe.graduation}})},*setActionTabs({payload:C},{call:P,put:I}){yield I({type:"save",payload:{actionTabs:Nn({},C)}})},*setUpdateIndex({payload:C},{call:P,put:I}){yield I({type:"save",payload:{updateIndex:Math.random()}})},*getGraduationsDetails({payload:C},{call:P,put:I}){const pe=yield P(ur.Ou,C);yield I({type:"save",payload:{details:(pe==null?void 0:pe.graduation)||{},menus:(pe==null?void 0:pe.data)||[],forTask:(pe==null?void 0:pe.for_task)||[]}})}},reducers:{save(C,P){return Nn(Nn({},C),P.payload)}}},sr=e(1),Nr=Object.defineProperty,xr=Object.defineProperties,mn=Object.getOwnPropertyDescriptors,zn=Object.getOwnPropertySymbols,ft=Object.prototype.hasOwnProperty,Rn=Object.prototype.propertyIsEnumerable,Kn=(C,P,I)=>P in C?Nr(C,P,{enumerable:!0,configurable:!0,writable:!0,value:I}):C[P]=I,li=(C,P)=>{for(var I in P||(P={}))ft.call(P,I)&&Kn(C,I,P[I]);if(zn)for(var I of zn(P))Rn.call(P,I)&&Kn(C,I,P[I]);return C},Bi=(C,P)=>xr(C,mn(P)),Qi={namespace:"homePage",state:{name:"\u9996\u9875",loading:!0},effects:{*home({payload:C},{call:P,put:I}){const pe=yield P(sr.Tt,{payload:C});yield I({type:"save",payload:Bi(li({},pe),{isloading:!0})})},*query({payload:C},{call:P,put:I}){yield I({type:"save",payload:{name:"linlu"}})},*getHomeNotice({payload:C,callback:P},{call:I,put:pe}){return yield I(sr.LA,C)},*UploadNotice({payload:C,callback:P},{call:I,put:pe}){return yield I(sr.S_,C)}},reducers:{save(C,P){return li(li({},C),P.payload)}},subscriptions:{setup({dispatch:C,history:P}){return P.listen(({pathname:I})=>{I==="/"&&C({type:"query"})})}}},ya=Object.defineProperty,Li=Object.defineProperties,Oa=Object.getOwnPropertyDescriptors,xs=Object.getOwnPropertySymbols,pi=Object.prototype.hasOwnProperty,hn=Object.prototype.propertyIsEnumerable,To=(C,P,I)=>P in C?ya(C,P,{enumerable:!0,configurable:!0,writable:!0,value:I}):C[P]=I,ms=(C,P)=>{for(var I in P||(P={}))pi.call(P,I)&&To(C,I,P[I]);if(xs)for(var I of xs(P))hn.call(P,I)&&To(C,I,P[I]);return C},ka=(C,P)=>Li(C,Oa(P)),qs={namespace:"innovation",state:{visibleModalName:"",hideRemindModal:!0,openForkModalPosition:"forkButton",simpleModalProps:{visible:!1}},reducers:{save(C,P){return ms(ms({},C),P.payload)},openModal(C,P){return ka(ms({},C),{visibleModalName:P.payload})},closeModal(C){return ka(ms({},C),{visibleModalName:""})},openSimpleModal(C,P){return ka(ms({},C),{simpleModalProps:ms({visible:!0},P.payload)})},closeSimpleModal(C){return ka(ms({},C),{simpleModalProps:{visible:!1}})}}},Cn=e(99064),us=Object.defineProperty,Ls=Object.getOwnPropertySymbols,Ve=Object.prototype.hasOwnProperty,qe=Object.prototype.propertyIsEnumerable,Mt=(C,P,I)=>P in C?us(C,P,{enumerable:!0,configurable:!0,writable:!0,value:I}):C[P]=I,Wt=(C,P)=>{for(var I in P||(P={}))Ve.call(P,I)&&Mt(C,I,P[I]);if(Ls)for(var I of Ls(P))qe.call(P,I)&&Mt(C,I,P[I]);return C},dr=(C,P,I)=>new Promise((pe,je)=>{var rn=Zi=>{try{Xi(I.next(Zi))}catch(ss){je(ss)}},ui=Zi=>{try{Xi(I.throw(Zi))}catch(ss){je(ss)}},Xi=Zi=>Zi.done?pe(Zi.value):Promise.resolve(Zi.value).then(rn,ui);Xi((I=I.apply(C,P)).next())});const Br=C=>dr(void 0,null,function*(){return(0,Cn.ZP)("/api/paid_subjects/banner.json",{method:"get",params:Wt({},C)})}),Hr=C=>dr(void 0,null,function*(){return(0,Cn.ZP)("/api/paid_subjects/top_category.json",{method:"get",params:Wt({},C)})}),pn=C=>dr(void 0,null,function*(){return(0,Cn.ZP)("/api/paid_subjects/hot_recommend_subjects.json",{method:"get",params:Wt({},C)})}),nn=C=>dr(void 0,null,function*(){return(0,Cn.ZP)("/api/paid_subjects/time_discount_subjects.json",{method:"get",params:Wt({},C)})}),vn=C=>dr(void 0,null,function*(){return(0,Cn.ZP)("/api/paid_subjects.json",{method:"post",body:Wt({},C)})}),Yn=C=>dr(void 0,null,function*(){return(0,Cn.ZP)("/api/paid_subjects/all_tags.json",{method:"get",params:Wt({},C)})}),ri=C=>dr(void 0,null,function*(){return(0,Cn.ZP)("/api/paid_subjects/user_comments.json",{method:"get",params:Wt({},C)})}),yi=C=>dr(void 0,null,function*(){return(0,Cn.ZP)("/api/paid_subjects/info_show.json",{method:"get",params:Wt({},C)})});var Si=Object.defineProperty,qi=Object.getOwnPropertySymbols,ji=Object.prototype.hasOwnProperty,Di=Object.prototype.propertyIsEnumerable,pa=(C,P,I)=>P in C?Si(C,P,{enumerable:!0,configurable:!0,writable:!0,value:I}):C[P]=I,Ci=(C,P)=>{for(var I in P||(P={}))ji.call(P,I)&&pa(C,I,P[I]);if(qi)for(var I of qi(P))Di.call(P,I)&&pa(C,I,P[I]);return C},sa={namespace:"intraincourse",state:{name:"\u7528\u6237\u767B\u5F55\u6A21\u5757",BannerList:[],Adv:{},TopCategoryList:[],HotList:[],DiscountList:[],SubjectList:{},Tags:[],UserComments:[],InfoShow:{}},effects:{*getBannerList({payload:C},{call:P,put:I}){const{data:{adv:pe,top_banner:je}}=yield P(Br,C);yield I({type:"save",payload:{BannerList:je,Adv:pe}})},*getTopCategoryList({payload:C},{call:P,put:I}){const{data:{top_category_list:pe}}=yield P(Hr,C);yield I({type:"save",payload:{TopCategoryList:[{id:-1,name:"\u5168\u90E8"},...pe]}})},*getHotList({payload:C},{call:P,put:I}){const{data:{hot_list:pe}}=yield P(pn,C);yield I({type:"save",payload:{HotList:pe}})},*getDiscountList({payload:C},{call:P,put:I}){const{data:{discount_list:pe}}=yield P(nn,C);yield I({type:"save",payload:{DiscountList:pe}})},*getPaidSubjects({payload:C},{call:P,put:I}){const{data:pe}=yield P(vn,C);yield I({type:"save",payload:{SubjectList:pe}})},*getTags({payload:C},{call:P,put:I}){const{data:{list:pe}}=yield P(Yn,C);yield I({type:"save",payload:{Tags:pe}})},*getUserComments({payload:C},{call:P,put:I}){const{data:{list:pe}}=yield P(ri,C);yield I({type:"save",payload:{UserComments:pe}})},*getInfoShow({payload:C},{call:P,put:I}){const{data:pe}=yield P(yi,C);yield I({type:"save",payload:{InfoShow:pe}})}},reducers:{save(C,P){return Ci(Ci({},C),P.payload)}}},Ps={namespace:"loadingss",state:{global:!1,effects:{},models:{}}},Na=e(10656),Wa=Object.defineProperty,Va=Object.getOwnPropertySymbols,Fi=Object.prototype.hasOwnProperty,va=Object.prototype.propertyIsEnumerable,Ya=(C,P,I)=>P in C?Wa(C,P,{enumerable:!0,configurable:!0,writable:!0,value:I}):C[P]=I,Xa=(C,P)=>{for(var I in P||(P={}))Fi.call(P,I)&&Ya(C,I,P[I]);if(Va)for(var I of Va(P))va.call(P,I)&&Ya(C,I,P[I]);return C},is={namespace:"messages",state:{tidingsList:[],privateMessage:[],unreadInfo:[],recentContacts:{},privateMessageDetails:{},userPrivateMessage:{},actionTabs:{key:"",params:{}}},effects:{*getPrivateMessageDetails({payload:C},{call:P,put:I}){const pe=yield P(Na.Ub,C);return yield I({type:"save",payload:{privateMessageDetails:pe||[]}}),pe},*getTidings({payload:C},{call:P,put:I}){const pe=yield P(Na.AD,C);yield I({type:"save",payload:{tidingsList:pe||[]}})},*getPrivateMessages({payload:C},{call:P,put:I}){const pe=yield P(Na.V8,C);return yield I({type:"save",payload:{privateMessage:pe||[]}}),pe},*getUsersForPrivateMessages({payload:C},{call:P,put:I}){const pe=yield P(Na.QJ,C);return yield I({type:"save",payload:{userPrivateMessage:pe||[]}}),pe},*unreadMessageInfo({payload:C},{call:P,put:I}){const pe=yield P(Na.Ig,C);yield I({type:"save",payload:{unreadInfo:pe||[]}})},*getRecentContacts({payload:C},{call:P,put:I}){const pe=yield P(Na.Ko,C);return yield I({type:"save",payload:{recentContacts:pe||[]}}),pe},*setActionTabs({payload:C},{call:P,put:I}){yield I({type:"save",payload:{actionTabs:Xa({},C)}})}},reducers:{save(C,P){return Xa(Xa({},C),P.payload)}},subscriptions:{setup({dispatch:C,history:P}){}}},xa=e(80401),Js=e(955),Yi=e(14165),ws=Object.defineProperty,ca=Object.defineProperties,Ja=Object.getOwnPropertyDescriptors,$s=Object.getOwnPropertySymbols,fa=Object.prototype.hasOwnProperty,ve=Object.prototype.propertyIsEnumerable,we=(C,P,I)=>P in C?ws(C,P,{enumerable:!0,configurable:!0,writable:!0,value:I}):C[P]=I,wr=(C,P)=>{for(var I in P||(P={}))fa.call(P,I)&&we(C,I,P[I]);if($s)for(var I of $s(P))ve.call(P,I)&&we(C,I,P[I]);return C},Jr=(C,P)=>ca(C,Ja(P));const vr=(C,P)=>{var I,pe,je,rn,ui,Xi,Zi,ss,eo;if(!C)return;const{exam:si,single_questions:Ss,multiple_questions:Zo,judgement_questions:Hs,program_questions:ho,completion_questions:$u,subjective_questions:Nl,practical_questions:$l,combination_questions:dc,bprogram_questions:Xu}=C||{},ju=[wr({type:"SINGLE",question_type:0,name:((I=P==null?void 0:P.find(a=>a.value==Yi.fw[0].nameType))==null?void 0:I.name)||Yi.fw[0].name},Ss),wr({type:"MULTIPLE",question_type:1,name:((pe=P==null?void 0:P.find(a=>a.value==Yi.fw[1].nameType))==null?void 0:pe.name)||Yi.fw[1].name},Zo),wr({type:"JUDGMENT",question_type:2,name:((je=P==null?void 0:P.find(a=>a.value==Yi.fw[2].nameType))==null?void 0:je.name)||Yi.fw[2].name},Hs),wr({type:"PROGRAM",question_type:6,name:((rn=P==null?void 0:P.find(a=>a.value==Yi.fw[6].nameType))==null?void 0:rn.name)||Yi.fw[6].name},ho),wr({type:"COMPLETION",question_type:3,name:((ui=P==null?void 0:P.find(a=>a.value==Yi.fw[3].nameType))==null?void 0:ui.name)||Yi.fw[3].name},$u),wr({type:"SUBJECTIVE",question_type:4,name:((Xi=P==null?void 0:P.find(a=>a.value==Yi.fw[4].nameType))==null?void 0:Xi.name)||Yi.fw[4].name},Nl),wr({type:"PRACTICAL",question_type:5,name:((Zi=P==null?void 0:P.find(a=>a.value==Yi.fw[5].nameType))==null?void 0:Zi.name)||Yi.fw[5].name},$l),wr({type:"COMBINATION",question_type:7,name:((ss=P==null?void 0:P.find(a=>a.value==Yi.fw[7].nameType))==null?void 0:ss.name)||Yi.fw[7].name},dc),wr({type:"BPROGRAM",question_type:8,name:((eo=P==null?void 0:P.find(a=>a.value==Yi.fw[8].nameType))==null?void 0:eo.name)||Yi.fw[8].name},Xu)],Du=[];if(C.sort_by_qustion_type)for(const a of C.qustion_type_order_name_en)Du.push(ju.find(_=>_.type===a));const r=(C.sort_by_qustion_type?Du:ju).filter(a=>(a==null?void 0:a.questions_count)>0).map((a,_)=>{var E;return wr(wr({},a),{number:(0,Js.EM)(_+1),questions:(E=a==null?void 0:a.questions)==null?void 0:E.map(D=>Jr(wr({},D),{shixun:D.examination_bank_shixun_challenges,question_type:a.question_type}))})});return{exam:si,questionList:r}};var Kt=e(26422),An=Object.defineProperty,Xn=Object.getOwnPropertySymbols,Ni=Object.prototype.hasOwnProperty,Tn=Object.prototype.propertyIsEnumerable,jn=(C,P,I)=>P in C?An(C,P,{enumerable:!0,configurable:!0,writable:!0,value:I}):C[P]=I,Pn=(C,P)=>{for(var I in P||(P={}))Ni.call(P,I)&&jn(C,I,P[I]);if(Xn)for(var I of Xn(P))Tn.call(P,I)&&jn(C,I,P[I]);return C},Ga={namespace:"paperlibrary",state:{paperData:void 0,disciplinesData:void 0,teachGroupData:void 0,courseOptions:[],actionTabs:{key:"",params:{}}},effects:{*postExistCourse({payload:C},{call:P,put:I}){return yield P(xa.a2,C)},*postCheckExaminationBanks({payload:C},{call:P,put:I}){return yield P(xa.q$,C)},*postPaperlibraryCopy({payload:C},{call:P,put:I}){return yield P(xa.ID,C)},*getDisciplines({payload:C},{call:P,put:I}){const pe=yield P(xa.d1,C);return yield I({type:"save",payload:{disciplinesData:Pn({},pe)}}),pe},*getCustomDisciplines({payload:C},{call:P,put:I}){const pe=yield P(xa.ar,C);return yield I({type:"save",payload:{disciplinesData:Pn({},pe)}}),pe},*getEditDisciplines({payload:C},{call:P,put:I}){const pe=yield P(xa.d1,C),je=pe==null?void 0:pe.disciplines,rn=(0,Kt.L)(je);return yield I({type:"save",payload:{courseOptions:rn,disciplinesData:Pn({},pe)}}),pe},*getTeachGroupData({payload:C},{call:P,put:I}){const pe=yield P(xa.Dm,C);return yield I({type:"save",payload:{teachGroupData:Pn({},pe)}}),pe},*getPaperData({payload:C},{call:P,put:I}){const pe=yield P(xa.iT,C),je=yield P(xa.cV,C),rn=vr(pe,je.data);return yield I({type:"save",payload:{paperData:rn}}),pe},*getPaperlibraryList({payload:C},{call:P,put:I}){return yield P(xa.Gd,C)},*setPublic({payload:C},{call:P,put:I}){return yield P(xa.DF,C)},*handleDelete({payload:C},{call:P,put:I}){return yield P(xa.fn,C)},*getCourseList({payload:C},{call:P,put:I}){return yield P(xa.tS,C)},*postBatchSendToCourse({payload:C},{call:P,put:I}){return yield P(xa.lc,C)},*sendToClass({payload:C},{call:P,put:I}){return yield P(xa.kp,C)},*adjustPosition({payload:C},{call:P,put:I}){return yield P(xa.qN,C)},*setScore({payload:C},{call:P,put:I}){return yield P(xa.ts,C)},*handleDeleteEditQuestion({payload:C},{call:P,put:I}){return yield P(xa.NC,C)},*batchSetScore({payload:C},{call:P,put:I}){return yield P(xa.YP,C)},*batchDelete({payload:C},{call:P,put:I}){return yield P(xa.Hm,C)},*updatePaper({payload:C},{call:P,put:I}){return yield P(xa.jK,C)},*setActionTabs({payload:C},{call:P,put:I}){yield I({type:"save",payload:{actionTabs:Pn({},C)}})}},reducers:{save(C,P){return Pn(Pn({},C),P.payload)}},subscriptions:{setup({dispatch:C,history:P}){return P.listen(({pathname:I})=>{I==="/"&&C({type:"query"})})}}},Po=Object.defineProperty,js=Object.getOwnPropertySymbols,Qo=Object.prototype.hasOwnProperty,zu=Object.prototype.propertyIsEnumerable,Io=(C,P,I)=>P in C?Po(C,P,{enumerable:!0,configurable:!0,writable:!0,value:I}):C[P]=I,qu=(C,P)=>{for(var I in P||(P={}))Qo.call(P,I)&&Io(C,I,P[I]);if(js)for(var I of js(P))zu.call(P,I)&&Io(C,I,P[I]);return C},Su={namespace:"newExercisePaper",state:{loading:!0,exerciseExportHeadData:{},tagDisciplineData:{},editData:{},actionTabs:{removeEventListenerExitScreen:!1}},effects:{*getExerciseExportHeadData({payload:C,callback:P},{call:I,put:pe}){const je=yield I(xa.Dq,C);return yield pe({type:"save",payload:{exerciseExportHeadData:qu({},je)}}),je},*editExercise({payload:C,callback:P},{call:I,put:pe}){const je=yield I(xa.Di,C);return yield pe({type:"save",payload:{editData:qu({},je)}}),je},*getTagDiscipline({payload:C,callback:P},{call:I,put:pe}){const je=yield I(Le.YY,C);return yield pe({type:"save",payload:{tagDisciplineData:qu({},je)}}),je},*editExerciseQuestion({payload:C,callback:P},{call:I,put:pe}){return yield I(xa.oF,C)},*addExerciseQuestion({payload:C,callback:P},{call:I,put:pe}){return yield I(xa.oF,C)},*setActionTabs({payload:C},{call:P,put:I}){yield I({type:"save",payload:{actionTabs:qu({},C)}})}},reducers:{save(C,P){return qu(qu({},C),P.payload)},modifyTitle(C,P){const I=(0,Re.cloneDeep)(C);return I.editData.exercise.exercise_name=P.payload,I}},subscriptions:{setup({dispatch:C,history:P}){}}},He=e(86248),z=Object.defineProperty,Y=Object.getOwnPropertySymbols,J=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,Ae=(C,P,I)=>P in C?z(C,P,{enumerable:!0,configurable:!0,writable:!0,value:I}):C[P]=I,We=(C,P)=>{for(var I in P||(P={}))J.call(P,I)&&Ae(C,I,P[I]);if(Y)for(var I of Y(P))de.call(P,I)&&Ae(C,I,P[I]);return C},$t={namespace:"pathsDetail",state:{detail:{},rightData:{},Courses:{},stageData:[],StageChildrenData:{},discusses:{},actionTabs:{key:"",params:{}},isShowSchedule:!1,keywords:"",stage_id:null,visibleType:"All",editKey:-1},effects:{*getDiscusses({payload:C},{call:P,put:I}){const pe=yield P(He.Ax,C);yield I({type:"save",payload:{discusses:We({},pe)}})},*getPathsDetail({payload:C},{call:P,put:I}){const pe=yield P(He.lk,C);return yield I({type:"save",payload:{detail:We({},pe)}}),pe},*getCourseDetail({payload:C},{call:P,put:I}){const pe=yield P(He.Sp,C);return yield I({type:"save",payload:{detail:We({},pe)}}),pe},*getRightData({payload:C},{call:P,put:I}){const pe=yield P(He.AQ,C);yield I({type:"save",payload:{rightData:We({},pe)}})},*getCoureses({payload:C},{call:P,put:I}){const pe=yield P(He.ue,C);yield I({type:"save",payload:{Courses:We({},pe)}})},*getStageChildrenData({payload:C},{call:P,put:I}){const pe=yield P(He.w4,C);return yield I({type:"save",payload:{StageChildrenData:pe}}),pe},*getStageData({payload:C},{call:P,put:I}){var pe,je;let rn=null;C!=null&&C.show_course_section?rn=yield P(He.yN,C):rn=yield P(He.p,C),yield I({type:"save",payload:{stageData:((pe=rn==null?void 0:rn.data)==null?void 0:pe.stages)||(rn==null?void 0:rn.stages)||[],isShowSchedule:((je=rn==null?void 0:rn.data)==null?void 0:je.is_show_schedule)||(rn==null?void 0:rn.is_show_schedule)||!1}})},*setActionTabs({payload:C},{call:P,put:I}){yield I({type:"save",payload:{actionTabs:We({},C)}})}},reducers:{save(C,P){return We(We({},C),P.payload)}}},rr=Object.defineProperty,Ar=Object.getOwnPropertySymbols,Gr=Object.prototype.hasOwnProperty,an=Object.prototype.propertyIsEnumerable,Sn=(C,P,I)=>P in C?rr(C,P,{enumerable:!0,configurable:!0,writable:!0,value:I}):C[P]=I,Fn=(C,P)=>{for(var I in P||(P={}))Gr.call(P,I)&&Sn(C,I,P[I]);if(Ar)for(var I of Ar(P))an.call(P,I)&&Sn(C,I,P[I]);return C},Ai={namespace:"pathsList",state:{name:"",loading:!0,actionTabs:{key:"",params:{}},listParams:{sort:"desc",order:"new",page:1,limit:16,keyword:""}},effects:{*getCourse({payload:C},{call:P,put:I}){const pe=C,je=yield P(He.tS,C);return yield I({type:"save",payload:Fn({listParams:pe},je)}),je},*getMenus({payload:C},{call:P,put:I}){const pe=yield P(He.fh,C);yield I({type:"save",payload:{menus:pe}})},*setActionTabs({payload:C},{call:P,put:I}){yield I({type:"save",payload:{actionTabs:Fn({},C)}})},*clearListParams({payload:C},{call:P,put:I}){yield I({type:"save",payload:{listParams:{sort:"desc",order:"new",page:1,limit:16,keyword:""}}})}},reducers:{save(C,P){return Fn(Fn({},C),P.payload)}},subscriptions:{setup({dispatch:C,history:P}){return P.listen(({pathname:I})=>{I==="/"&&C({type:"query"})})}}},da=Object.defineProperty,ea=Object.getOwnPropertySymbols,ta=Object.prototype.hasOwnProperty,as=Object.prototype.propertyIsEnumerable,fs=(C,P,I)=>P in C?da(C,P,{enumerable:!0,configurable:!0,writable:!0,value:I}):C[P]=I,gs=(C,P)=>{for(var I in P||(P={}))ta.call(P,I)&&fs(C,I,P[I]);if(ea)for(var I of ea(P))as.call(P,I)&&fs(C,I,P[I]);return C},Ca={namespace:"newCourse",state:{actionTabs:{key:"",params:{}}},effects:{*editCourse({payload:C},{call:P,put:I}){return yield P(He.tu,C)},*submitCourse({payload:C},{call:P,put:I}){return yield P(He.pU,C)},*getEditCourseData({payload:C},{call:P,put:I}){return yield P(He.mQ,C)},*getSchoolOption({payload:C},{call:P,put:I}){return yield P(He.GY,C)},*appplySchool({payload:C},{call:P,put:I}){return yield P(He.bz,C)},*setActionTabs({payload:C},{call:P,put:I}){yield I({type:"save",payload:{actionTabs:gs({},C)}})}},reducers:{save(C,P){return gs(gs({},C),P.payload)}},subscriptions:{setup({dispatch:C,history:P}){return P.listen(({pathname:I})=>{I==="/"&&C({type:"query"})})}}},Us=Object.defineProperty,zs=Object.defineProperties,Aa=Object.getOwnPropertyDescriptors,vo=Object.getOwnPropertySymbols,Fo=Object.prototype.hasOwnProperty,au=Object.prototype.propertyIsEnumerable,Zs=(C,P,I)=>P in C?Us(C,P,{enumerable:!0,configurable:!0,writable:!0,value:I}):C[P]=I,wo=(C,P)=>{for(var I in P||(P={}))Fo.call(P,I)&&Zs(C,I,P[I]);if(vo)for(var I of vo(P))au.call(P,I)&&Zs(C,I,P[I]);return C},oo=(C,P)=>zs(C,Aa(P)),Ju={namespace:"pathsOverview",state:{},effects:{*getSubjectUseInfos({payload:C},{call:P,put:I}){const pe=yield P(He.nq,C);yield I({type:"save",payload:{SubjectUseInfos:pe}})},*getRankList({payload:C},{call:P,put:I}){const pe=yield P(He.Fg,C);yield I({type:"save",payload:{RankList:oo(wo({},pe),{learn_list:[{rank:"\u6392\u540D",name:"\u5B9E\u8DF5\u8BFE\u7A0B\u540D\u79F0",data:"\u5B66\u4E60\u4EBA\u6570"},...(pe==null?void 0:pe.learn_list)||[]]})}})},*getStatisticsBody({payload:C},{call:P,put:I}){const pe=yield P(He.Gz,C);yield I({type:"save",payload:{SBody:pe}})},*getOnlineCount({payload:C},{call:P,put:I}){const pe=yield P(He.hS,C);yield I({type:"save",payload:{OnlineCount:pe==null?void 0:pe.data}})},*getStatisticsHeader({payload:C},{call:P,put:I}){const pe=yield P(He.Hl,C);yield I({type:"save",payload:{SHeader:pe}})}},reducers:{save(C,P){return wo(wo({},C),P.payload)}},subscriptions:{setup({dispatch:C,history:P}){return P.listen(({pathname:I})=>{I==="/"&&C({type:"query"})})}}},Ka=e(16149),Zu=Object.defineProperty,Ys=Object.getOwnPropertySymbols,Hu=Object.prototype.hasOwnProperty,Wu=Object.prototype.propertyIsEnumerable,uo=(C,P,I)=>P in C?Zu(C,P,{enumerable:!0,configurable:!0,writable:!0,value:I}):C[P]=I,Bo=(C,P)=>{for(var I in P||(P={}))Hu.call(P,I)&&uo(C,I,P[I]);if(Ys)for(var I of Ys(P))Wu.call(P,I)&&uo(C,I,P[I]);return C},hu={namespace:"problemset",state:{disciplinesData:void 0,courseOptions:[],basketData:void 0,editData:void 0,groupData:void 0,teachGroupData:void 0,actionTabs:{key:"",params:{}},itemBanks:{},groupfolderList:{}},effects:{*getGroup({payload:C},{call:P,put:I}){const pe=yield P(Ka.ex,C);return yield I({type:"save",payload:{groupfolderList:pe}}),pe},*getDisciplines({payload:C},{call:P,put:I}){const pe=yield P(Ka.d1,C);return yield I({type:"save",payload:{disciplinesData:Bo({},pe)}}),pe},*getEditDisciplines({payload:C},{call:P,put:I}){const pe=yield P(Ka.d1,C),je=pe==null?void 0:pe.disciplines,rn=(0,Kt.L)(je);return yield I({type:"save",payload:{courseOptions:rn,disciplinesData:Bo({},pe)}}),pe},*getBasketList({payload:C},{call:P,put:I}){const pe=yield P(Ka.Qj,C);return yield I({type:"save",payload:{basketData:Bo({},pe)}}),pe},*getTeachGroupData({payload:C},{call:P,put:I}){const pe=yield P(Ka.Dm,C);return yield I({type:"save",payload:{teachGroupData:Bo({},pe)}}),pe},*getEditData({payload:C},{call:P,put:I}){const pe=yield P(Ka.FG,C);return yield I({type:"save",payload:{editData:Bo({},pe)}}),pe},*getEditDataBprogram({payload:C},{call:P,put:I}){const pe=yield P(Ka.Bo,C);return yield I({type:"save",payload:{editData:Bo({},pe)}}),pe},*getGroupData({payload:C},{call:P,put:I}){const pe=yield P(Ka.hI,C);return yield I({type:"save",payload:{groupData:Bo({},pe)}}),pe},*getItemBanks({payload:C},{call:P,put:I}){const pe=yield P(Ka.Of,C);return yield I({type:"save",payload:{itemBanks:Bo({},pe)}}),pe},*setPrivate({payload:C},{call:P,put:I}){return yield P(Ka.Pl,C)},*revokePublish({payload:C},{call:P,put:I}){return yield P(Ka.IJ,C)},*setPublic({payload:C},{call:P,put:I}){return yield P(Ka.DF,C)},*handleDelete({payload:C},{call:P,put:I}){return yield P(Ka.fn,C)},*startExperience({payload:C},{call:P,put:I}){return yield P(Ka.Bd,C)},*cancel({payload:C},{call:P,put:I}){return yield P(Ka.al,C)},*select({payload:C},{call:P,put:I}){return yield P(Ka.Ys,C)},*examUnselectAll({payload:C},{call:P,put:I}){return yield P(Ka.rV,C)},*basketDelete({payload:C},{call:P,put:I}){return yield P(Ka.x5,C)},*unselectAll({payload:C},{call:P,put:I}){return yield P(Ka.HF,C)},*addKnowledge({payload:C},{call:P,put:I}){return yield P(Ka.U6,C)},*editProblemset({payload:C},{call:P,put:I}){return yield P(Ka.Wk,C)},*addProblemset({payload:C},{call:P,put:I}){return yield P(Ka.Mr,C)},*setActionTabs({payload:C},{call:P,put:I}){yield I({type:"save",payload:{actionTabs:Bo({},C)}})}},reducers:{save(C,P){return Bo(Bo({},C),P.payload)}},subscriptions:{setup({dispatch:C,history:P}){return P.listen(({pathname:I})=>{I==="/"&&C({type:"query"})})}}},ol=Object.defineProperty,ao=Object.getOwnPropertySymbols,qo=Object.prototype.hasOwnProperty,bu=Object.prototype.propertyIsEnumerable,Pl=(C,P,I)=>P in C?ol(C,P,{enumerable:!0,configurable:!0,writable:!0,value:I}):C[P]=I,Gu=(C,P)=>{for(var I in P||(P={}))qo.call(P,I)&&Pl(C,I,P[I]);if(ao)for(var I of ao(P))bu.call(P,I)&&Pl(C,I,P[I]);return C},ul={namespace:"problemsetPreview",state:{disciplinesData:void 0,courseOptions:[],paperData:void 0,actionTabs:{key:"",params:{}}},effects:{*getPaperData({payload:C},{call:P,put:I}){const pe=yield P(Ka.iT,C),je=(0,Kt.r)(pe);return yield I({type:"save",payload:{paperData:je}}),pe},*getEditDisciplines({payload:C},{call:P,put:I}){const pe=yield P(Ka.d1,C),je=pe==null?void 0:pe.disciplines,rn=(0,Kt.L)(je);return yield I({type:"save",payload:{courseOptions:rn,disciplinesData:Gu({},pe)}}),pe},*setScore({payload:C},{call:P,put:I}){return yield P(Ka.ts,C)},*handleDelete({payload:C},{call:P,put:I}){return yield P(Ka.Cn,C)},*batchSetScore({payload:C},{call:P,put:I}){return yield P(Ka.YP,C)},*batchDelete({payload:C},{call:P,put:I}){return yield P(Ka.Hm,C)},*adjustPosition({payload:C},{call:P,put:I}){return yield P(Ka.qN,C)},*newPreviewProblemset({payload:C},{call:P,put:I}){return yield P(Ka.et,C)},*setActionTabs({payload:C},{call:P,put:I}){yield I({type:"save",payload:{actionTabs:Gu({},C)}})}},reducers:{save(C,P){return Gu(Gu({},C),P.payload)}},subscriptions:{setup({dispatch:C,history:P}){return P.listen(({pathname:I})=>{I==="/"&&C({type:"query"})})}}},gl=e(52403),Zl=Object.defineProperty,lo=Object.getOwnPropertySymbols,Hl=Object.prototype.hasOwnProperty,su=Object.prototype.propertyIsEnumerable,Cu=(C,P,I)=>P in C?Zl(C,P,{enumerable:!0,configurable:!0,writable:!0,value:I}):C[P]=I,pu=(C,P)=>{for(var I in P||(P={}))Hl.call(P,I)&&Cu(C,I,P[I]);if(lo)for(var I of lo(P))su.call(P,I)&&Cu(C,I,P[I]);return C},mc={namespace:"restful",state:{restful:void 0,restfulDetail:{},actionTabs:{key:"",params:{}}},effects:{*getRestful({payload:C},{call:P,put:I}){const pe=yield P(gl.Go,C);return yield I({type:"save",payload:{restful:pu({},pe)}}),pe},*getRestfulDetail({payload:C},{call:P,put:I}){const pe=yield P(gl.H5,C);return yield I({type:"save",payload:{restfulDetail:pu({},(pe==null?void 0:pe.data)||{})}}),(pe==null?void 0:pe.data)||{}},*setActionTabs({payload:C},{call:P,put:I}){yield I({type:"save",payload:{actionTabs:pu({},C)}})}},reducers:{save(C,P){return pu(pu({},C),P.payload)}},subscriptions:{setup({dispatch:C,history:P}){return P.listen(({pathname:I})=>{I==="/"&&C({type:"query"})})}}},fi=e(49692);const tc=(C={})=>{var P,I,pe,je,rn,ui;return[{name:"\u5185\u5BB9\u5BA1\u6838\u60C5\u51B5",id:"Content",status:(P=C==null?void 0:C.content_info)==null?void 0:P.status,username:(I=C==null?void 0:C.content_info)==null?void 0:I.username,time:(pe=C==null?void 0:C.content_info)==null?void 0:pe.time},{name:"\u6027\u80FD\u5BA1\u6838\u60C5\u51B5",id:"Performance",status:(je=C==null?void 0:C.perference_info)==null?void 0:je.status,username:(rn=C==null?void 0:C.perference_info)==null?void 0:rn.username,time:(ui=C==null?void 0:C.perference_info)==null?void 0:ui.time}]};var rc=Object.defineProperty,Il=Object.defineProperties,Ku=Object.getOwnPropertyDescriptors,nc=Object.getOwnPropertySymbols,yl=Object.prototype.hasOwnProperty,ou=Object.prototype.propertyIsEnumerable,ll=(C,P,I)=>P in C?rc(C,P,{enumerable:!0,configurable:!0,writable:!0,value:I}):C[P]=I,Ra=(C,P)=>{for(var I in P||(P={}))yl.call(P,I)&&ll(C,I,P[I]);if(nc)for(var I of nc(P))ou.call(P,I)&&ll(C,I,P[I]);return C},Do=(C,P)=>Il(C,Ku(P)),Wl={namespace:"shixunsDetail",state:{detail:void 0,rightData:void 0,challenges:{is_jupyter:!0,is_jupyter_lab:!0},auditSituationData:void 0,setting:void 0,challengesNew:{},challengesEdit:{},editChallengesQuestion:{},fileContent:{},hasStartedEnv:!1,repository:{},mirrorApplies:{},infoWithJupyterLab:{},actionTabs:{key:"",params:{}}},effects:{*getShixunsDetail({payload:C},{call:P,put:I}){const pe=yield P(fi.Po,C);return yield I({type:"save",payload:{detail:Ra({},pe)}}),pe},*getMirrorApplies({payload:C},{call:P,put:I}){const pe=yield P(fi.tX,C);return yield I({type:"save",payload:{mirrorApplies:Ra({},(pe==null?void 0:pe.data)||{})}}),pe},*getRightData({payload:C},{call:P,put:I}){const pe=yield P(fi.AQ,C);yield I({type:"save",payload:{rightData:Ra({},pe)}})},*getChallengesData({payload:C},{call:P,put:I}){const pe=yield P(fi.n5,C);yield I({type:"save",payload:{challenges:Ra({},pe)}})},*saveCopyForExercise({payload:C},{call:P,put:I}){return yield P(fi.FB,C)},*execJupyter({payload:C},{call:P,put:I}){return yield P(fi.BK,C)},*execShixun({payload:C},{call:P,put:I}){const pe=yield P(fi.Ir,C);return(pe==null?void 0:pe.status)===-3&&(0,Js.eF)(),pe},*openChallenge({payload:C},{call:P,put:I}){return yield P(fi.dK,C)},*challengeMoveUp({payload:C},{call:P,put:I}){return yield P(fi.zD,C)},*challengeMoveDown({payload:C},{call:P,put:I}){return yield P(fi.hn,C)},*cancelCollect({payload:C},{call:P,put:I}){return yield P(fi.rs,C)},*collect({payload:C},{call:P,put:I}){return yield P(fi.KM,C)},*searchUserCourses({payload:C},{call:P,put:I}){return yield P(fi._7,C)},*sendToCourse({payload:C},{call:P,put:I}){return yield P(fi.Q,C)},*cancelRelease({payload:C},{call:P,put:I}){return yield P(fi.Ne,C)},*cancelPublic({payload:C},{call:P,put:I}){return yield P(fi.Er,C)},*applyPublic({payload:C},{call:P,put:I}){return yield P(fi.WO,C)},*release({payload:C},{call:P,put:I}){return yield P(fi.Ar,C)},*updateAuditSituation({payload:C},{call:P,put:I}){return yield P(fi.LP,C)},*getCollaboratorsData({payload:C},{call:P,put:I}){return yield P(fi.j8,C)},*addCollaborator({payload:C},{call:P,put:I}){return yield P(fi.OV,C)},*addTeachGroupMember({payload:C},{call:P,put:I}){return yield P(fi.l3,C)},*getChangeManager({payload:C},{call:P,put:I}){return yield P(fi.P2,C)},*changeManager({payload:C},{call:P,put:I}){return yield P(fi.X$,C)},*deleteCollaborators({payload:C},{call:P,put:I}){return yield P(fi.xk,C)},*getRankingList({payload:C},{call:P,put:I}){return yield P(fi.E4,C)},*getMirrorScript({payload:C},{call:P,put:I}){return yield P(fi.Z2,C)},*getScriptContent({payload:C},{call:P,put:I}){return yield P(fi.Bj,C)},*getCustomScript({payload:C},{call:P,put:I}){return yield P(fi.Wi,C)},*updateSettingBasicInfo({payload:C},{call:P,put:I}){return yield P(fi.ZO,C)},*getShixunQuote({payload:C},{call:P,put:I}){return yield P(fi.Gr,C)},*deleteShixun({payload:C},{call:P,put:I}){return yield P(fi.Ps,C)},*permanentClose({payload:C},{call:P,put:I}){return yield P(fi.U9,C)},*getDepartments({payload:C},{call:P,put:I}){return yield P(fi.Ql,C)},*updatePermissionSetting({payload:C},{call:P,put:I}){return yield P(fi.aH,C)},*updateLearnSetting({payload:C},{call:P,put:I}){return yield P(fi.yE,C)},*updateSetting({payload:C},{call:P,put:I}){return yield P(fi.m7,C)},*getSetData({payload:C},{call:P,put:I}){return yield P(fi.U0,C)},*deleteDataSet({payload:C},{call:P,put:I}){return yield P(fi.uo,C)},*deleteGitFile({payload:C},{call:P,put:I}){return yield P(fi.sr,C)},*deleteGitFiles({payload:C},{call:P,put:I}){return yield P(fi.p0,C)},*moveGitFile({payload:C},{call:P,put:I}){return yield P(fi.IT,C)},*moveGitFiles({payload:C},{call:P,put:I}){return yield P(fi.t2,C)},*getRepository({payload:C},{call:P,put:I}){const pe=yield P(fi.Ag,C);return yield I({type:"save",payload:{repository:Ra({},pe)}}),Ra({},pe)},*getRepositorys({payload:C},{call:P,put:I}){const pe=yield P(fi.Wl,C);return yield I({type:"save",payload:{repository:Ra({},pe)}}),Ra({},pe)},*getRepositorys({payload:C},{call:P,put:I}){const pe=yield P(fi.Wl,C);return yield I({type:"save",payload:{repository:Ra({},pe)}}),Ra({},pe)},*getSecretRepository({payload:C},{call:P,put:I}){const pe=yield P(fi.w,C);return yield I({type:"save",payload:{secretRepository:Ra({},pe)}}),pe},*addRepositoryFile({payload:C},{call:P,put:I}){return yield P(fi.v3,C)},*addRepositoryFiles({payload:C},{call:P,put:I}){return yield P(fi.fL,C)},*getRepositoryCommit({payload:C},{call:P,put:I}){return yield P(fi.Je,C)},*getFileContent({payload:C},{call:P,put:I}){const pe=yield P(fi.LK,C);return yield I({type:"save",payload:{fileContent:Do(Ra({},pe),{params:C})}}),pe},*getFileContents({payload:C},{call:P,put:I}){const pe=yield P(fi.nu,C);return yield I({type:"save",payload:{fileContent:Do(Ra({},pe),{params:C})}}),pe},*updateRepositoryFile({payload:C},{call:P,put:I}){return yield P(fi.kF,C)},*updateRepositoryFiles({payload:C},{call:P,put:I}){return yield P(fi.jq,C)},*uploadGitFolder({payload:C},{call:P,put:I}){return yield P(fi.Op,C)},*updateCollaboratorEditable({payload:C},{call:P,put:I}){return yield P(fi.Dz,C)},*getSettingsData({payload:C},{call:P,put:I}){const pe=yield P(fi.DC,C);yield I({type:"save",payload:{setting:Ra({},pe)}})},*getChallengesNew({payload:C},{call:P,put:I}){const pe=yield P(fi.km,C);yield I({type:"save",payload:{challengesNew:Ra({},pe)}})},*getChallengesEdit({payload:C},{call:P,put:I}){const pe=yield P(fi.q0,C);return yield I({type:"save",payload:{challengesEdit:Ra({},pe)}}),pe},*getAuditSituationData({payload:C},{call:P,put:I}){const pe=yield P(fi.GI,C),je=tc(pe);yield I({type:"save",payload:{auditSituationData:je}})},*getEditChallengesQuestion({payload:C},{call:P,put:I}){const pe=yield P(fi.UQ,C);return yield I({type:"save",payload:{editChallengesQuestion:pe}}),pe},*getInfoWithJupyterLab({payload:C},{call:P,put:I}){const pe=yield P(fi.mI,C);return yield I({type:"save",payload:{infoWithJupyterLab:pe}}),pe},*setActionTabs({payload:C},{call:P,put:I}){yield I({type:"save",payload:{actionTabs:Ra({},C)}})}},reducers:{save(C,P){return console.log("reducers:",C,P),Ra(Ra({},C),P.payload)}},subscriptions:{setup({dispatch:C,history:P}){return P.listen(({pathname:I})=>{I==="/"&&C({type:"query"})})}}},cl=Object.defineProperty,Jo=Object.getOwnPropertySymbols,Gl=Object.prototype.hasOwnProperty,vc=Object.prototype.propertyIsEnumerable,Au=(C,P,I)=>P in C?cl(C,P,{enumerable:!0,configurable:!0,writable:!0,value:I}):C[P]=I,Tu=(C,P)=>{for(var I in P||(P={}))Gl.call(P,I)&&Au(C,I,P[I]);if(Jo)for(var I of Jo(P))vc.call(P,I)&&Au(C,I,P[I]);return C},Kl={namespace:"shixunsList",state:{name:"",loading:!0,listParams:{sort:"desc",order_by:"new",page:1,limit:16,keyword:"",status:0,diff:0,hideme:!1}},effects:{*getShixuns({payload:C},{call:P,put:I}){const pe=yield P(fi.he,C),je=Tu({},C);return yield I({type:"save",payload:Tu({listParams:je},pe)}),pe},*getMenus({payload:C},{call:P,put:I}){var pe;const je=yield P(fi.I_,C);(pe=je==null?void 0:je.disciplines)==null||pe.map(rn=>(rn.sub_repertoires=rn.sub_disciplines,rn)),yield I({type:"save",payload:{menus:[...(je==null?void 0:je.disciplines)||[]]}})},*clearListParams({payload:C},{call:P,put:I}){yield I({type:"save",payload:{listParams:{sort:"desc",order_by:"new",page:1,limit:16,keyword:"",status:0,diff:0,hideme:!1}}})}},reducers:{save(C,P){return Tu(Tu({},C),P.payload)}},subscriptions:{setup({dispatch:C,history:P}){return P.listen(({pathname:I})=>{I==="/"&&C({type:"query"})})}}},bl=Object.defineProperty,La=Object.getOwnPropertySymbols,gc=Object.prototype.hasOwnProperty,yc=Object.prototype.propertyIsEnumerable,Vu=(C,P,I)=>P in C?bl(C,P,{enumerable:!0,configurable:!0,writable:!0,value:I}):C[P]=I,ku=(C,P)=>{for(var I in P||(P={}))gc.call(P,I)&&Vu(C,I,P[I]);if(La)for(var I of La(P))yc.call(P,I)&&Vu(C,I,P[I]);return C},ic={namespace:"newShixuns",state:{newData:{},actionTabs:{key:"",params:{}},environmentData:{}},effects:{*getNewShixunsData({payload:C},{call:P,put:I}){const pe=yield P(fi.b8,C);return yield I({type:"save",payload:{newData:ku({},pe)}}),pe},*deleteAttachment({payload:C},{call:P,put:I}){return yield P(fi.OW,C)},*applyShixunMirror({payload:C},{call:P,put:I}){return yield P(fi.EH,C)},*submitShixuns({payload:C},{call:P,put:I}){return yield P(fi.eX,C)},*getShixunsJupyterLab({payload:C},{call:P,put:I}){const pe=yield P(fi.Gu,C);return yield I({type:"save",payload:{newData:ku({},pe)}}),pe},*setActionTabs({payload:C},{call:P,put:I}){yield I({type:"save",payload:{actionTabs:ku({},C)}})},*getEnvironmentData({payload:C},{call:P,put:I}){const pe=yield P(fi.K,C);return console.log(pe,"response"),yield I({type:"save",payload:{environmentData:ku({},pe.data)}}),pe}},reducers:{save(C,P){return ku(ku({},C),P.payload)}},subscriptions:{setup({dispatch:C,history:P}){}}},Vo=Object.defineProperty,el=Object.getOwnPropertySymbols,eu=Object.prototype.hasOwnProperty,Eo=Object.prototype.propertyIsEnumerable,Dl=(C,P,I)=>P in C?Vo(C,P,{enumerable:!0,configurable:!0,writable:!0,value:I}):C[P]=I,Yu=(C,P)=>{for(var I in P||(P={}))eu.call(P,I)&&Dl(C,I,P[I]);if(el)for(var I of el(P))Eo.call(P,I)&&Dl(C,I,P[I]);return C},uu={namespace:"shixunsOverview",state:{},effects:{*getShixunUseInfos({payload:C},{call:P,put:I}){const pe=yield P(fi.e,C);yield I({type:"save",payload:{ShixunUseInfos:pe}})},*getRankList({payload:C},{call:P,put:I}){const pe=yield P(fi.Fg,C);yield I({type:"save",payload:{RankList:{user_list:[{rank:"\u6392\u540D",name:"\u59D3\u540D",role:"\u89D2\u8272",student_id:"\u5B66\u53F7/\u5DE5\u53F7",num:"\u901A\u8FC7\u5173\u5361\u6570"},...(pe==null?void 0:pe.user_list)||[]],learn_list:[{rank:"\u6392\u540D",name:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",num:"\u5B66\u4E60\u4EBA\u6570"},...(pe==null?void 0:pe.learn_list)||[]],clearance_list:[{rank:"\u6392\u540D",name:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",num:"\u901A\u5173\u6570"},...(pe==null?void 0:pe.clearance_list)||[]],quote_list:[{rank:"\u6392\u540D",name:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",num:"\u5F15\u7528\u6B21\u6570"},...(pe==null?void 0:pe.quote_list)||[]]}}})},*getStatisticsBody({payload:C},{call:P,put:I}){const pe=yield P(fi.Gz,C);yield I({type:"save",payload:{SBody:pe}})},*getOnlineCount({payload:C},{call:P,put:I}){const pe=yield P(fi.hS,C);yield I({type:"save",payload:{OnlineCount:pe==null?void 0:pe.data}})},*getStatisticsHeader({payload:C},{call:P,put:I}){const pe=yield P(fi.Hl,C);yield I({type:"save",payload:{SHeader:pe}})}},reducers:{save(C,P){return Yu(Yu({},C),P.payload)}},subscriptions:{setup({dispatch:C,history:P}){return P.listen(({pathname:I})=>{I==="/"&&C({type:"query"})})}}},Ol=(C,P,I)=>new Promise((pe,je)=>{var rn=Zi=>{try{Xi(I.next(Zi))}catch(ss){je(ss)}},ui=Zi=>{try{Xi(I.throw(Zi))}catch(ss){je(ss)}},Xi=Zi=>Zi.done?pe(Zi.value):Promise.resolve(Zi.value).then(rn,ui);Xi((I=I.apply(C,P)).next())});function xc(C){return Ol(this,null,function*(){return(0,Cn.ZP)("/api/shixuns/new.json",{method:"Get",params:C})})}function ac(C){return Ol(this,null,function*(){return(0,Cn.ZP)(`/api/shixuns/${C.id}/required_status.json`,{method:"Get",params:{}})})}var sc=Object.defineProperty,xl=Object.defineProperties,Pc=Object.getOwnPropertyDescriptors,oc=Object.getOwnPropertySymbols,wc=Object.prototype.hasOwnProperty,fl=Object.prototype.propertyIsEnumerable,Pu=(C,P,I)=>P in C?sc(C,P,{enumerable:!0,configurable:!0,writable:!0,value:I}):C[P]=I,Ms=(C,P)=>{for(var I in P||(P={}))wc.call(P,I)&&Pu(C,I,P[I]);if(oc)for(var I of oc(P))fl.call(P,I)&&Pu(C,I,P[I]);return C},Ec=(C,P)=>xl(C,Pc(P)),Eu={namespace:"practiceSetting",state:{data:{},is_published:!0,updateIndex:1,id:"",questionName:"",base_info_warning:!1,challenges_warning:!1,repository_warning:!1,mirror_warning:!1,service_warning:!1,selectQuestionParams:{},newQuestion:null,user_name:"",user_image_url:"",title:"",windows_vnc:!0,isExistComplete:!1,sideBar:{tabsActive:"",selectPath:"",confirmLeave:!1}},effects:{*setParams({payload:C},{call:P,put:I}){yield I({type:"save",payload:Ms({},C)})},*getTestData({payload:C},{call:P,put:I}){const pe=yield P(xc,C);yield I({type:"save",payload:{data:pe}})},*setUpdateIndex({payload:C},{call:P,put:I}){yield I({type:"save",payload:{updateIndex:Math.random()}})},*getCommonData({payload:C},{call:P,put:I}){const pe=yield P(ac,C);yield I({type:"save",payload:Ms({},pe.data)})},*setSideBarTabs({payload:C},{call:P,put:I}){yield I({type:"sideBar",payload:Ms({},C)})}},reducers:{save(C,P){return Ms(Ms({},C),P.payload)},sideBar(C,P){return Ec(Ms({},C),{sideBar:Ms(Ms({},C.sideBar),P.payload)})}},subscriptions:{setup({dispatch:C,history:P}){}}},co=e(24780),Vl=Object.defineProperty,Uo=Object.getOwnPropertySymbols,wl=Object.prototype.hasOwnProperty,Me=Object.prototype.propertyIsEnumerable,dl=(C,P,I)=>P in C?Vl(C,P,{enumerable:!0,configurable:!0,writable:!0,value:I}):C[P]=I,Oo=(C,P)=>{for(var I in P||(P={}))wl.call(P,I)&&dl(C,I,P[I]);if(Uo)for(var I of Uo(P))Me.call(P,I)&&dl(C,I,P[I]);return C},Yo={namespace:"userDetail",state:{systemUpdate:void 0,homepageInfo:void 0,homeworkBanksDetail:{},actionTabs:{key:"",params:{}}},effects:{*getHomeworkBanksDetail({payload:C},{call:P,put:I}){const pe=yield P(co.JJ,C);return yield I({type:"save",payload:{homeworkBanksDetail:Oo({},pe)}}),pe},*getSystemUpdate({payload:C},{call:P,put:I}){const pe=yield P(co.n0,C);return yield I({type:"save",payload:{systemUpdate:Oo({},pe)}}),pe},*getHomepageInfo({payload:C},{call:P,put:I}){const pe=yield P(co.DA,C);return yield I({type:"save",payload:{homepageInfo:Oo({},pe)}}),pe},*signed({payload:C},{call:P,put:I}){return yield P(co.qN,C)},*getCourses({payload:C},{call:P,put:I}){return yield P(co.Ho,C)},*getShixuns({payload:C},{call:P,put:I}){return yield P(co.rV,C)},*getPaths({payload:C},{call:P,put:I}){return yield P(co.w3,C)},*getProjects({payload:C},{call:P,put:I}){return yield P(co.mW,C)},*getVideos({payload:C},{call:P,put:I}){return yield P(co.WY,C)},*getReviewVideos({payload:C},{call:P,put:I}){return yield P(co.Qx,C)},*deleteVideo({payload:C},{call:P,put:I}){return yield P(co.FM,C)},*getQuestionBanks({payload:C},{call:P,put:I}){return yield P(co.ai,C)},*topicsSetPublic({payload:C},{call:P,put:I}){return yield P(co.Cx,C)},*topicsDelete({payload:C},{call:P,put:I}){return yield P(co.WS,C)},*topicGetCourseList({payload:C},{call:P,put:I}){return yield P(co.gI,C)},*topicSendToClass({payload:C},{call:P,put:I}){return C.object_type==="videos"?yield P(co.Fn,C):yield P(co.Ef,C)},*logWatchHistory({payload:C},{call:P,put:I}){const pe=yield P(co.lO,C);return pe==null?void 0:pe.log_id},*setActionTabs({payload:C},{call:P,put:I}){yield I({type:"save",payload:{actionTabs:Oo({},C)}})}},reducers:{save(C,P){return Oo(Oo({},C),P.payload)}},subscriptions:{setup({dispatch:C,history:P}){return P.listen(({pathname:I})=>{I==="/"&&C({type:"query"})})}}},Iu=Object.defineProperty,tl=Object.getOwnPropertySymbols,rl=Object.prototype.hasOwnProperty,Ru=Object.prototype.propertyIsEnumerable,Lu=(C,P,I)=>P in C?Iu(C,P,{enumerable:!0,configurable:!0,writable:!0,value:I}):C[P]=I,zo=(C,P)=>{for(var I in P||(P={}))rl.call(P,I)&&Lu(C,I,P[I]);if(tl)for(var I of tl(P))Ru.call(P,I)&&Lu(C,I,P[I]);return C},uc=(C,P)=>{var I={};for(var pe in C)rl.call(C,pe)&&P.indexOf(pe)<0&&(I[pe]=C[pe]);if(C!=null&&tl)for(var pe of tl(C))P.indexOf(pe)<0&&Ru.call(C,pe)&&(I[pe]=C[pe]);return I},Yl={namespace:"user",state:{name:"\u7528\u6237\u767B\u5F55\u6A21\u5757",showPopLogin:!1,showClosable:!1,bindAccountModalVisible:!1,userInfoForBindAccountModal:{},loginInfo:{login:"",password:""},userInfo:{},navigationInfo:{},loading:!0,actionTabs:{key:"",params:{},phone:""}},effects:{*login({payload:C},{call:P,put:I}){const pe=C,{to:je}=pe,rn=uc(pe,["to"]);if(!(yield P(co.Es,rn)).status)try{je?f.history.replace(je):location.reload()}catch(Xi){}},*showPopLogin({payload:C},{put:P}){yield P({type:"save",payload:{showPopLogin:C.showPopLogin,showClosable:C.showClosable}})},*setBindAccountModal({payload:C},{put:P}){yield P({type:"save",payload:{bindAccountModalVisible:C.bindAccountModalVisible,userInfoForBindAccountModal:C.userInfoForBindAccountModal,loginInfo:C.loginInfo}})},*getUserInfo({payload:C},{call:P,put:I}){const pe=yield P(co.bG,zo({},C));return localStorage.userInfo=JSON.stringify(pe),yield I({type:"save",payload:{userInfo:zo({},pe)}}),pe},*getNavigationInfo({payload:C},{call:P,put:I}){const pe=yield P(co.x4,zo({},C));yield I({type:"save",payload:{navigationInfo:zo({},pe)}})},*setActionTabs({payload:C},{call:P,put:I}){yield I({type:"save",payload:{actionTabs:zo({},C)}})}},reducers:{save(C,P){return zo(zo({},C),P.payload)}}},nl=e(34640),Mu=Object.defineProperty,Dc=Object.defineProperties,Sc=Object.getOwnPropertyDescriptors,il=Object.getOwnPropertySymbols,hl=Object.prototype.hasOwnProperty,Rl=Object.prototype.propertyIsEnumerable,El=(C,P,I)=>P in C?Mu(C,P,{enumerable:!0,configurable:!0,writable:!0,value:I}):C[P]=I,lu=(C,P)=>{for(var I in P||(P={}))hl.call(P,I)&&El(C,I,P[I]);if(il)for(var I of il(P))Rl.call(P,I)&&El(C,I,P[I]);return C},Ll=(C,P)=>Dc(C,Sc(P));const cc=()=>{var C,P,I,pe,je,rn,ui;let Xi=window.location.href.split("/");if(!Xi.includes("video"))return;let Zi=(C=Xi[Xi.length-1])==null?void 0:C.split("?")[0];Zi=Number(Zi);const ss=(I=(P=Xi[Xi.length-1])==null?void 0:P.split("?")[1])==null?void 0:I.split("=")[1];return((je=(pe=Xi[Xi.length-1])==null?void 0:pe.split("?")[1])==null?void 0:je.split("=")[0])==="subject_id"?{videoId:Zi,subject_id:ss}:((ui=(rn=Xi[Xi.length-1])==null?void 0:rn.split("?")[1])==null?void 0:ui.split("=")[0])==="new_video_id"?{videoId:Zi,new_video_id:ss}:{videoId:Zi,course_id:ss}};var Xl={namespace:"videoDetail",state:{detail:{},actionTabs:{key:"",params:{}},videoTabs:{key:"",params:{}},stages:[],cust_seq:0,queryParams:cc(),videoList:[],attachmentList:[],selectParams:{checkBoxValue:!1,radioValue:1},active:{}},effects:{*getVideoDetail({payload:C,callback:P},{call:I,put:pe}){const je=yield I(Mn.O2,C);return P?P(je):yield pe({type:"save",payload:{detail:lu({},je)}}),je},*setVideoValue({payload:C},{call:P,put:I}){yield I({type:"save",payload:{detail:lu({},C)}})},*setActionTabs({payload:C},{call:P,put:I}){yield I({type:"save",payload:{actionTabs:lu({},C)}})},*setVideoTabs({payload:C},{call:P,put:I}){yield I({type:"save",payload:{videoTabs:lu({},C)}})},*setSelectValue({payload:C},{call:P,put:I}){yield I({type:"save",payload:{selectParams:lu({},C)}})},*getStageData({payload:C},{call:P,put:I,select:pe}){const je=yield P(Mn.yN,C),rn=yield P(He.lk,{id:C.subject_id}),{queryParams:ui}=yield pe(Ss=>Ss.videoDetail),{stages:Xi=[]}=je,Zi=[];let ss=[],eo={};const si=Ss=>{Ss.forEach(Zo=>{String(Zo.id)===String(ui.videoId)&&(eo=Zo),Zo.item_type==="VideoItem"?Zi.push(Zo):Zo.item_type==="Attachment"&&ss.push(Zo),Zo.children&&Zo.children.length&&si(Zo.children)})};Xi==null||Xi.forEach(Ss=>{si(Ss.items)}),window.filterVideoSign=[...Zi],yield I({type:"save",payload:{stages:Xi,active:eo,cust_seq:rn.cust_seq,videoList:Zi,attachmentList:ss}})},*getVideoData({payload:C},{call:P,put:I,select:pe}){const je=yield P(Mn.fn,C),{categories:rn=[],coruse_videos:ui=[]}=je;yield I({type:"save",payload:{stages:(rn==null?void 0:rn.length)>0?rn:[{coruse_videos:ui,name:"\u672A\u5206\u914D\u76EE\u5F55"}]}})},*getCourseStageData({payload:C},{call:P,put:I,select:pe}){const je=yield P(nl.R7,C),{queryParams:rn}=yield pe(si=>si.videoDetail),{stages:ui}=je;let Xi=[],Zi=[],ss={};const eo=si=>{si.forEach(Ss=>{String(Ss.id)===String(rn.videoId)&&(ss=Ss),Ss.item_type==="VideoItem"?Xi.push(Ss):Ss.item_type==="Attachment"&&Zi.push(Ss),Ss.children&&Ss.children.length&&eo(Ss.children)})};ui==null||ui.forEach(si=>{eo(si.items)}),window.filterVideoSign=[...Xi],yield I({type:"save",payload:{active:ss,stages:ui,cust_seq:!0,videoList:Xi,attachmentList:Zi}})}},reducers:{save(C,P){return lu(lu({},C),P.payload)},handleListItemClick(C,P){const{videoList:I,attachmentList:pe}=C,je=P.payload.videoId||P.payload.attachmentId,rn=[...I,...pe].find(ui=>`${ui.id}`==`${je}`);return Ll(lu({},C),{active:rn,queryParams:lu(lu({},cc()),P.payload)})}},subscriptions:{setup({dispatch:C,history:P}){return P.listen(({pathname:I})=>{I==="/"&&C({type:"query"})})}}},tu=e(62406),pl=Object.defineProperty,Cc=Object.getOwnPropertySymbols,fc=Object.prototype.hasOwnProperty,Fu=Object.prototype.propertyIsEnumerable,Ml=(C,P,I)=>P in C?pl(C,P,{enumerable:!0,configurable:!0,writable:!0,value:I}):C[P]=I,al=(C,P)=>{for(var I in P||(P={}))fc.call(P,I)&&Ml(C,I,P[I]);if(Cc)for(var I of Cc(P))Fu.call(P,I)&&Ml(C,I,P[I]);return C},Ql={namespace:"virtualSpaces",state:{showMenu:!0,loading:!0,actionTabs:{key:"",params:{},module_id:""},virtualSpacesDetails:{},menus:[],LessonsList:{},LessonDetail:{},LessonResList:{},DiscussionList:{},DiscussionDetail:{},Workplace:{BaseData:{}}},effects:{*getBaseStatisticData({payload:C},{call:P,put:I}){const pe=yield P(tu.y2,C);return yield I({type:"save",payload:{Workplace:{BaseData:pe.data}}}),pe},*putEditDiscussion({payload:C},{call:P,put:I}){return yield P(tu.CH,C)},*getDiscussionDetail({payload:C},{call:P,put:I}){const pe=yield P(tu.XQ,C);return yield I({type:"save",payload:{DiscussionDetail:pe}}),pe},*postDiscussionList({payload:C},{call:P,put:I}){return yield P(tu.Ll,C)},*getDiscussionList({payload:C},{call:P,put:I}){const pe=yield P(tu.EA,C);return yield I({type:"save",payload:{DiscussionList:pe}}),pe},*postAddLessonRes({payload:C},{call:P,put:I}){return yield P(tu.cZ,C)},*getLessonResourcesList({payload:C},{call:P,put:I}){const pe=yield P(tu.b,C);return yield I({type:"save",payload:{LessonResList:pe}}),pe},*putGoodLessonsDetail({payload:C},{call:P,put:I}){return yield P(tu.To,C)},*getGoodLessonsDetail({payload:C},{call:P,put:I}){const pe=yield P(tu.FU,C);return yield I({type:"save",payload:{LessonDetail:pe}}),pe},*postGoodLessonsList({payload:C},{call:P,put:I}){return yield P(tu.Vf,C)},*getGoodLessonsList({payload:C},{call:P,put:I}){const pe=yield P(tu.G_,C);return yield I({type:"save",payload:{LessonsList:pe}}),pe},*setActionTabs({payload:C},{call:P,put:I}){yield I({type:"save",payload:{actionTabs:al({},C)}})},*setShowMenu({payload:C},{call:P,put:I}){yield I({type:"save",payload:{showMenu:C}})},*getVirtualSpacesDetails({payload:C},{call:P,put:I}){const pe=yield P(tu.sT,C);yield I({type:"save",payload:{virtualSpacesDetails:al({},pe)}})},*setVirtualSpacesLoading({payload:C},{call:P,put:I}){yield I({type:"save",payload:{loading:C}})},*getVirtualSpacesMenus({payload:C},{call:P,put:I}){const pe=yield P(tu.Sl,C);return yield I({type:"save",payload:{menus:pe}}),pe}},reducers:{save(C,P){return al(al({},C),P.payload)}},subscriptions:{setup({dispatch:C,history:P}){return P.listen(({pathname:I})=>{I==="/"&&C({type:"query"})})}}};const Fl={model_1:{namespace:"account.index",model:b},model_2:{namespace:"classrooms.announcement",model:H},model_3:{namespace:"classrooms.attachment",model:ae},model_4:{namespace:"classrooms.boards",model:Ce},model_5:{namespace:"classrooms.exercise",model:Qe},model_6:{namespace:"classrooms.graduation",model:Ee},model_7:{namespace:"classrooms.homeworks",model:Vt},model_8:{namespace:"classrooms.index",model:Te},model_9:{namespace:"classrooms.new",model:yt},model_10:{namespace:"classrooms.overview",model:jr},model_11:{namespace:"classrooms.polls",model:jt},model_12:{namespace:"classrooms.teacher",model:dn},model_13:{namespace:"classrooms.video",model:aa},model_14:{namespace:"competitions.index",model:xi},model_15:{namespace:"declaration.index",model:fr},model_16:{namespace:"engineering.evaluateDetail",model:Ir},model_17:{namespace:"engineering.evaluateList",model:kr.Z},model_18:{namespace:"engineering.index",model:On},model_19:{namespace:"engineering.navigation",model:$a},model_20:{namespace:"engineering.normDetail",model:yo},model_21:{namespace:"engineering.normList",model:Ho},model_22:{namespace:"forums.detail",model:Wo},model_23:{namespace:"forums.index",model:Mo},model_24:{namespace:"globalSetting",model:Ns},model_25:{namespace:"graduations.index",model:Jn},model_26:{namespace:"homePage",model:Qi},model_27:{namespace:"innovation.index",model:qs},model_28:{namespace:"intraincourse.index",model:sa},model_29:{namespace:"loading",model:Ps},model_30:{namespace:"messages.index",model:is},model_31:{namespace:"paperlibrary.index",model:Ga},model_32:{namespace:"paperlibrary.newPaper",model:Su},model_33:{namespace:"paths.detail",model:$t},model_34:{namespace:"paths.index",model:Ai},model_35:{namespace:"paths.new",model:Ca},model_36:{namespace:"paths.overview",model:Ju},model_37:{namespace:"problemset.index",model:hu},model_38:{namespace:"problemset.preview",model:ul},model_39:{namespace:"resetFul.index",model:mc},model_40:{namespace:"shixuns.detail",model:Wl},model_41:{namespace:"shixuns.index",model:Kl},model_42:{namespace:"shixuns.new",model:ic},model_43:{namespace:"shixuns.overview",model:uu},model_44:{namespace:"shixuns.practiceSetting",model:Eu},model_45:{namespace:"user.detail",model:Yo},model_46:{namespace:"user.index",model:Yl},model_47:{namespace:"video.detail",model:Xl},model_48:{namespace:"virtualSpaces.index",model:Ql}};var kc=Object.defineProperty,Bu=Object.getOwnPropertySymbols,_l=Object.prototype.hasOwnProperty,Bl=Object.prototype.propertyIsEnumerable,ua=(C,P,I)=>P in C?kc(C,P,{enumerable:!0,configurable:!0,writable:!0,value:I}):C[P]=I,fo=(C,P)=>{for(var I in P||(P={}))_l.call(P,I)&&ua(C,I,P[I]);if(Bu)for(var I of Bu(P))Bl.call(P,I)&&ua(C,I,P[I]);return C};let Xs;function ci(C){const{pluginManager:P}=(0,f.useAppData)(),I=(0,u.useRef)(),pe=P.applyPlugins({key:"dva",type:f.ApplyPluginsType.modify,initialValue:{}});if(!I.current){I.current=(0,t.Ue)(fo({history:f.history},pe.config||{}),{initialReducer:{},setupMiddlewares(je){return[...je]},setupApp(je){je._history=f.history}}),Xs=I.current,I.current.use(s()()),(pe.plugins||[]).forEach(je=>{I.current.use(je)});for(const je of Object.keys(Fl))I.current.model(fo({namespace:Fl[je].namespace},Fl[je].model));I.current.start()}return u.createElement(t.zt,{store:I.current._store},C.children)}function Nu(){return Xs}},57013:function(d,v,e){"use strict";e.d(v,{PZ:function(){return ti},eU:function(){return i},B:function(){return bi},Mg:function(){return _t},lw:function(){return mt},Kd:function(){return It},H8:function(){return xi}});var t=e(59301),n=e(94266),s=e.n(n);const u=s()||n;function f(Ue){return Ue.displayName||Ue.name||"Component"}const c=t.createContext(null),{Consumer:h,Provider:o}=c,i=o,y=null;function p(Ue,rt){const{intlPropName:ye="intl",forwardRef:Ye=!1,enforceContext:ir=!0}=rt||{},Rr=Or=>React.createElement(h,null,Sr=>(ir&&invariantIntlContext(Sr),React.createElement(Ue,Object.assign({},Or,{[ye]:Sr},{ref:Ye?Or.forwardedRef:null}))));return Rr.displayName=`injectIntl(${f(Ue)})`,Rr.WrappedComponent=Ue,u(Ye?React.forwardRef((Or,Sr)=>React.createElement(Rr,Object.assign({},Or,{forwardedRef:Sr}))):Rr,Ue)}var g;(function(Ue){Ue[Ue.literal=0]="literal",Ue[Ue.argument=1]="argument",Ue[Ue.number=2]="number",Ue[Ue.date=3]="date",Ue[Ue.time=4]="time",Ue[Ue.select=5]="select",Ue[Ue.plural=6]="plural",Ue[Ue.pound=7]="pound"})(g||(g={}));function l(Ue){return Ue.type===g.literal}function b(Ue){return Ue.type===g.argument}function x(Ue){return Ue.type===g.number}function O(Ue){return Ue.type===g.date}function k(Ue){return Ue.type===g.time}function A(Ue){return Ue.type===g.select}function T(Ue){return Ue.type===g.plural}function F(Ue){return Ue.type===g.pound}function $(Ue){return!!(Ue&&typeof Ue=="object"&&Ue.type===0)}function R(Ue){return!!(Ue&&typeof Ue=="object"&&Ue.type===1)}function H(Ue){return{type:g.literal,value:Ue}}function G(Ue,rt){return{type:g.number,value:Ue,style:rt}}var Z=function(){var Ue=function(rt,ye){return Ue=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Ye,ir){Ye.__proto__=ir}||function(Ye,ir){for(var Rr in ir)ir.hasOwnProperty(Rr)&&(Ye[Rr]=ir[Rr])},Ue(rt,ye)};return function(rt,ye){Ue(rt,ye);function Ye(){this.constructor=rt}rt.prototype=ye===null?Object.create(ye):(Ye.prototype=ye.prototype,new Ye)}}(),ie=function(){return ie=Object.assign||function(Ue){for(var rt,ye=1,Ye=arguments.length;ye0){for(tn=1,on=1;tnli&&(li=ft,Bi=[]),Bi.push(ve))}function us(ve,we){return new ne(ve,[],"",we)}function Ls(ve,we,wr){return new ne(ne.buildMessage(ve,we),ve,we,wr)}function Ve(){var ve;return ve=qe(),ve}function qe(){var ve,we;for(ve=[],we=Mt();we!==ye;)ve.push(we),we=Mt();return ve}function Mt(){var ve;return ve=dr(),ve===ye&&(ve=Hr(),ve===ye&&(ve=Ci(),ve===ye&&(ve=Ei(),ve===ye&&(ve=sa(),ve===ye&&(ve=Br()))))),ve}function Wt(){var ve,we,wr;if(ve=ft,we=[],wr=Xa(),wr===ye&&(wr=xo(),wr===ye&&(wr=is())),wr!==ye)for(;wr!==ye;)we.push(wr),wr=Xa(),wr===ye&&(wr=xo(),wr===ye&&(wr=is()));else we=ye;return we!==ye&&(Rn=ve,we=Rr(we)),ve=we,ve}function dr(){var ve,we;return ve=ft,we=Wt(),we!==ye&&(Rn=ve,we=Or(we)),ve=we,ve}function Br(){var ve,we;return ve=ft,Ue.charCodeAt(ft)===35?(we=Sr,ft++):(we=ye,Kr===0&&Cn(Ur)),we!==ye&&(Rn=ve,we=yn()),ve=we,ve}function Hr(){var ve,we,wr,Jr,vr,Kt;return Kr++,ve=ft,Ue.charCodeAt(ft)===123?(we=cn,ft++):(we=ye,Kr===0&&Cn(tn)),we!==ye?(wr=Fi(),wr!==ye?(Jr=Js(),Jr!==ye?(vr=Fi(),vr!==ye?(Ue.charCodeAt(ft)===125?(Kt=on,ft++):(Kt=ye,Kr===0&&Cn(bn)),Kt!==ye?(Rn=ve,we=ha(Jr),ve=we):(ft=ve,ve=ye)):(ft=ve,ve=ye)):(ft=ve,ve=ye)):(ft=ve,ve=ye)):(ft=ve,ve=ye),Kr--,ve===ye&&(we=ye,Kr===0&&Cn(Ir)),ve}function pn(){var ve,we,wr,Jr,vr;if(Kr++,ve=ft,we=[],wr=ft,Jr=ft,Kr++,vr=Wa(),vr===ye&&(wi.test(Ue.charAt(ft))?(vr=Ue.charAt(ft),ft++):(vr=ye,Kr===0&&Cn(On))),Kr--,vr===ye?Jr=void 0:(ft=Jr,Jr=ye),Jr!==ye?(Ue.length>ft?(vr=Ue.charAt(ft),ft++):(vr=ye,Kr===0&&Cn(Ri)),vr!==ye?(Jr=[Jr,vr],wr=Jr):(ft=wr,wr=ye)):(ft=wr,wr=ye),wr!==ye)for(;wr!==ye;)we.push(wr),wr=ft,Jr=ft,Kr++,vr=Wa(),vr===ye&&(wi.test(Ue.charAt(ft))?(vr=Ue.charAt(ft),ft++):(vr=ye,Kr===0&&Cn(On))),Kr--,vr===ye?Jr=void 0:(ft=Jr,Jr=ye),Jr!==ye?(Ue.length>ft?(vr=Ue.charAt(ft),ft++):(vr=ye,Kr===0&&Cn(Ri)),vr!==ye?(Jr=[Jr,vr],wr=Jr):(ft=wr,wr=ye)):(ft=wr,wr=ye);else we=ye;return we!==ye?ve=Ue.substring(ve,ft):ve=we,Kr--,ve===ye&&(we=ye,Kr===0&&Cn(gi)),ve}function nn(){var ve,we,wr;return Kr++,ve=ft,Ue.charCodeAt(ft)===47?(we=la,ft++):(we=ye,Kr===0&&Cn(Is)),we!==ye?(wr=pn(),wr!==ye?(Rn=ve,we=ba(wr),ve=we):(ft=ve,ve=ye)):(ft=ve,ve=ye),Kr--,ve===ye&&(we=ye,Kr===0&&Cn($i)),ve}function vn(){var ve,we,wr,Jr,vr;if(Kr++,ve=ft,we=Fi(),we!==ye)if(wr=pn(),wr!==ye){for(Jr=[],vr=nn();vr!==ye;)Jr.push(vr),vr=nn();Jr!==ye?(Rn=ve,we=Ds(wr,Jr),ve=we):(ft=ve,ve=ye)}else ft=ve,ve=ye;else ft=ve,ve=ye;return Kr--,ve===ye&&(we=ye,Kr===0&&Cn(As)),ve}function Yn(){var ve,we,wr;if(ve=ft,we=[],wr=vn(),wr!==ye)for(;wr!==ye;)we.push(wr),wr=vn();else we=ye;return we!==ye&&(Rn=ve,we=qa(we)),ve=we,ve}function ri(){var ve,we,wr;return ve=ft,Ue.substr(ft,2)===na?(we=na,ft+=2):(we=ye,Kr===0&&Cn(Ii)),we!==ye?(wr=Yn(),wr!==ye?(Rn=ve,we=Ts(wr),ve=we):(ft=ve,ve=ye)):(ft=ve,ve=ye),ve===ye&&(ve=ft,Rn=ft,we=$a(),we?we=void 0:we=ye,we!==ye?(wr=Wt(),wr!==ye?(Rn=ve,we=Os(wr),ve=we):(ft=ve,ve=ye)):(ft=ve,ve=ye)),ve}function yi(){var ve,we,wr,Jr,vr,Kt,An,Xn,Ni,Tn,jn,Pn,oa;return ve=ft,Ue.charCodeAt(ft)===123?(we=cn,ft++):(we=ye,Kr===0&&Cn(tn)),we!==ye?(wr=Fi(),wr!==ye?(Jr=Js(),Jr!==ye?(vr=Fi(),vr!==ye?(Ue.charCodeAt(ft)===44?(Kt=zi,ft++):(Kt=ye,Kr===0&&Cn(ks)),Kt!==ye?(An=Fi(),An!==ye?(Ue.substr(ft,6)===Ro?(Xn=Ro,ft+=6):(Xn=ye,Kr===0&&Cn(ja)),Xn!==ye?(Ni=Fi(),Ni!==ye?(Tn=ft,Ue.charCodeAt(ft)===44?(jn=zi,ft++):(jn=ye,Kr===0&&Cn(ks)),jn!==ye?(Pn=Fi(),Pn!==ye?(oa=ri(),oa!==ye?(jn=[jn,Pn,oa],Tn=jn):(ft=Tn,Tn=ye)):(ft=Tn,Tn=ye)):(ft=Tn,Tn=ye),Tn===ye&&(Tn=null),Tn!==ye?(jn=Fi(),jn!==ye?(Ue.charCodeAt(ft)===125?(Pn=on,ft++):(Pn=ye,Kr===0&&Cn(bn)),Pn!==ye?(Rn=ve,we=ys(Jr,Xn,Tn),ve=we):(ft=ve,ve=ye)):(ft=ve,ve=ye)):(ft=ve,ve=ye)):(ft=ve,ve=ye)):(ft=ve,ve=ye)):(ft=ve,ve=ye)):(ft=ve,ve=ye)):(ft=ve,ve=ye)):(ft=ve,ve=ye)):(ft=ve,ve=ye)):(ft=ve,ve=ye),ve}function Si(){var ve,we,wr,Jr;if(ve=ft,Ue.charCodeAt(ft)===39?(we=rs,ft++):(we=ye,Kr===0&&Cn(Ws)),we!==ye){if(wr=[],Jr=Xa(),Jr===ye&&(kn.test(Ue.charAt(ft))?(Jr=Ue.charAt(ft),ft++):(Jr=ye,Kr===0&&Cn(ns))),Jr!==ye)for(;Jr!==ye;)wr.push(Jr),Jr=Xa(),Jr===ye&&(kn.test(Ue.charAt(ft))?(Jr=Ue.charAt(ft),ft++):(Jr=ye,Kr===0&&Cn(ns)));else wr=ye;wr!==ye?(Ue.charCodeAt(ft)===39?(Jr=rs,ft++):(Jr=ye,Kr===0&&Cn(Ws)),Jr!==ye?(we=[we,wr,Jr],ve=we):(ft=ve,ve=ye)):(ft=ve,ve=ye)}else ft=ve,ve=ye;if(ve===ye)if(ve=[],we=Xa(),we===ye&&(yo.test(Ue.charAt(ft))?(we=Ue.charAt(ft),ft++):(we=ye,Kr===0&&Cn(Rs))),we!==ye)for(;we!==ye;)ve.push(we),we=Xa(),we===ye&&(yo.test(Ue.charAt(ft))?(we=Ue.charAt(ft),ft++):(we=ye,Kr===0&&Cn(Rs)));else ve=ye;return ve}function qi(){var ve,we;if(ve=[],Vi.test(Ue.charAt(ft))?(we=Ue.charAt(ft),ft++):(we=ye,Kr===0&&Cn(Ua)),we!==ye)for(;we!==ye;)ve.push(we),Vi.test(Ue.charAt(ft))?(we=Ue.charAt(ft),ft++):(we=ye,Kr===0&&Cn(Ua));else ve=ye;return ve}function ji(){var ve,we,wr,Jr;if(ve=ft,we=ft,wr=[],Jr=Si(),Jr===ye&&(Jr=qi()),Jr!==ye)for(;Jr!==ye;)wr.push(Jr),Jr=Si(),Jr===ye&&(Jr=qi());else wr=ye;return wr!==ye?we=Ue.substring(we,ft):we=wr,we!==ye&&(Rn=ve,we=Da(we)),ve=we,ve}function Di(){var ve,we,wr;return ve=ft,Ue.substr(ft,2)===na?(we=na,ft+=2):(we=ye,Kr===0&&Cn(Ii)),we!==ye?(wr=ji(),wr!==ye?(Rn=ve,we=Ts(wr),ve=we):(ft=ve,ve=ye)):(ft=ve,ve=ye),ve===ye&&(ve=ft,Rn=ft,we=vs(),we?we=void 0:we=ye,we!==ye?(wr=Wt(),wr!==ye?(Rn=ve,we=Os(wr),ve=we):(ft=ve,ve=ye)):(ft=ve,ve=ye)),ve}function pa(){var ve,we,wr,Jr,vr,Kt,An,Xn,Ni,Tn,jn,Pn,oa;return ve=ft,Ue.charCodeAt(ft)===123?(we=cn,ft++):(we=ye,Kr===0&&Cn(tn)),we!==ye?(wr=Fi(),wr!==ye?(Jr=Js(),Jr!==ye?(vr=Fi(),vr!==ye?(Ue.charCodeAt(ft)===44?(Kt=zi,ft++):(Kt=ye,Kr===0&&Cn(ks)),Kt!==ye?(An=Fi(),An!==ye?(Ue.substr(ft,4)===Gs?(Xn=Gs,ft+=4):(Xn=ye,Kr===0&&Cn(So)),Xn===ye&&(Ue.substr(ft,4)===_o?(Xn=_o,ft+=4):(Xn=ye,Kr===0&&Cn(Ks))),Xn!==ye?(Ni=Fi(),Ni!==ye?(Tn=ft,Ue.charCodeAt(ft)===44?(jn=zi,ft++):(jn=ye,Kr===0&&Cn(ks)),jn!==ye?(Pn=Fi(),Pn!==ye?(oa=Di(),oa!==ye?(jn=[jn,Pn,oa],Tn=jn):(ft=Tn,Tn=ye)):(ft=Tn,Tn=ye)):(ft=Tn,Tn=ye),Tn===ye&&(Tn=null),Tn!==ye?(jn=Fi(),jn!==ye?(Ue.charCodeAt(ft)===125?(Pn=on,ft++):(Pn=ye,Kr===0&&Cn(bn)),Pn!==ye?(Rn=ve,we=ys(Jr,Xn,Tn),ve=we):(ft=ve,ve=ye)):(ft=ve,ve=ye)):(ft=ve,ve=ye)):(ft=ve,ve=ye)):(ft=ve,ve=ye)):(ft=ve,ve=ye)):(ft=ve,ve=ye)):(ft=ve,ve=ye)):(ft=ve,ve=ye)):(ft=ve,ve=ye)):(ft=ve,ve=ye),ve}function Ci(){var ve;return ve=yi(),ve===ye&&(ve=pa()),ve}function Ei(){var ve,we,wr,Jr,vr,Kt,An,Xn,Ni,Tn,jn,Pn,oa,Ga,Po,js;if(ve=ft,Ue.charCodeAt(ft)===123?(we=cn,ft++):(we=ye,Kr===0&&Cn(tn)),we!==ye)if(wr=Fi(),wr!==ye)if(Jr=Js(),Jr!==ye)if(vr=Fi(),vr!==ye)if(Ue.charCodeAt(ft)===44?(Kt=zi,ft++):(Kt=ye,Kr===0&&Cn(ks)),Kt!==ye)if(An=Fi(),An!==ye)if(Ue.substr(ft,6)===Qs?(Xn=Qs,ft+=6):(Xn=ye,Kr===0&&Cn(Lo)),Xn===ye&&(Ue.substr(ft,13)===mo?(Xn=mo,ft+=13):(Xn=ye,Kr===0&&Cn(Ho))),Xn!==ye)if(Ni=Fi(),Ni!==ye)if(Ue.charCodeAt(ft)===44?(Tn=zi,ft++):(Tn=ye,Kr===0&&Cn(ks)),Tn!==ye)if(jn=Fi(),jn!==ye)if(Pn=ft,Ue.substr(ft,7)===Co?(oa=Co,ft+=7):(oa=ye,Kr===0&&Cn(Xo)),oa!==ye?(Ga=Fi(),Ga!==ye?(Po=va(),Po!==ye?(oa=[oa,Ga,Po],Pn=oa):(ft=Pn,Pn=ye)):(ft=Pn,Pn=ye)):(ft=Pn,Pn=ye),Pn===ye&&(Pn=null),Pn!==ye)if(oa=Fi(),oa!==ye){if(Ga=[],Po=Na(),Po!==ye)for(;Po!==ye;)Ga.push(Po),Po=Na();else Ga=ye;Ga!==ye?(Po=Fi(),Po!==ye?(Ue.charCodeAt(ft)===125?(js=on,ft++):(js=ye,Kr===0&&Cn(bn)),js!==ye?(Rn=ve,we=hi(Jr,Xn,Pn,Ga),ve=we):(ft=ve,ve=ye)):(ft=ve,ve=ye)):(ft=ve,ve=ye)}else ft=ve,ve=ye;else ft=ve,ve=ye;else ft=ve,ve=ye;else ft=ve,ve=ye;else ft=ve,ve=ye;else ft=ve,ve=ye;else ft=ve,ve=ye;else ft=ve,ve=ye;else ft=ve,ve=ye;else ft=ve,ve=ye;else ft=ve,ve=ye;else ft=ve,ve=ye;return ve}function sa(){var ve,we,wr,Jr,vr,Kt,An,Xn,Ni,Tn,jn,Pn,oa,Ga;if(ve=ft,Ue.charCodeAt(ft)===123?(we=cn,ft++):(we=ye,Kr===0&&Cn(tn)),we!==ye)if(wr=Fi(),wr!==ye)if(Jr=Js(),Jr!==ye)if(vr=Fi(),vr!==ye)if(Ue.charCodeAt(ft)===44?(Kt=zi,ft++):(Kt=ye,Kr===0&&Cn(ks)),Kt!==ye)if(An=Fi(),An!==ye)if(Ue.substr(ft,6)===Gn?(Xn=Gn,ft+=6):(Xn=ye,Kr===0&&Cn(ga)),Xn!==ye)if(Ni=Fi(),Ni!==ye)if(Ue.charCodeAt(ft)===44?(Tn=zi,ft++):(Tn=ye,Kr===0&&Cn(ks)),Tn!==ye)if(jn=Fi(),jn!==ye){if(Pn=[],oa=Ps(),oa!==ye)for(;oa!==ye;)Pn.push(oa),oa=Ps();else Pn=ye;Pn!==ye?(oa=Fi(),oa!==ye?(Ue.charCodeAt(ft)===125?(Ga=on,ft++):(Ga=ye,Kr===0&&Cn(bn)),Ga!==ye?(Rn=ve,we=os(Jr,Pn),ve=we):(ft=ve,ve=ye)):(ft=ve,ve=ye)):(ft=ve,ve=ye)}else ft=ve,ve=ye;else ft=ve,ve=ye;else ft=ve,ve=ye;else ft=ve,ve=ye;else ft=ve,ve=ye;else ft=ve,ve=ye;else ft=ve,ve=ye;else ft=ve,ve=ye;else ft=ve,ve=ye;else ft=ve,ve=ye;return ve}function io(){var ve,we,wr,Jr;return ve=ft,we=ft,Ue.charCodeAt(ft)===61?(wr=Ba,ft++):(wr=ye,Kr===0&&Cn(ro)),wr!==ye?(Jr=va(),Jr!==ye?(wr=[wr,Jr],we=wr):(ft=we,we=ye)):(ft=we,we=ye),we!==ye?ve=Ue.substring(ve,ft):ve=we,ve===ye&&(ve=ws()),ve}function Ps(){var ve,we,wr,Jr,vr,Kt,An,Xn;return ve=ft,we=Fi(),we!==ye?(wr=ws(),wr!==ye?(Jr=Fi(),Jr!==ye?(Ue.charCodeAt(ft)===123?(vr=cn,ft++):(vr=ye,Kr===0&&Cn(tn)),vr!==ye?(Rn=ft,Kt=Wo(wr),Kt?Kt=void 0:Kt=ye,Kt!==ye?(An=qe(),An!==ye?(Ue.charCodeAt(ft)===125?(Xn=on,ft++):(Xn=ye,Kr===0&&Cn(bn)),Xn!==ye?(Rn=ve,we=iu(wr,An),ve=we):(ft=ve,ve=ye)):(ft=ve,ve=ye)):(ft=ve,ve=ye)):(ft=ve,ve=ye)):(ft=ve,ve=ye)):(ft=ve,ve=ye)):(ft=ve,ve=ye),ve}function Na(){var ve,we,wr,Jr,vr,Kt,An,Xn;return ve=ft,we=Fi(),we!==ye?(wr=io(),wr!==ye?(Jr=Fi(),Jr!==ye?(Ue.charCodeAt(ft)===123?(vr=cn,ft++):(vr=ye,Kr===0&&Cn(tn)),vr!==ye?(Rn=ft,Kt=_s(wr),Kt?Kt=void 0:Kt=ye,Kt!==ye?(An=qe(),An!==ye?(Ue.charCodeAt(ft)===125?(Xn=on,ft++):(Xn=ye,Kr===0&&Cn(bn)),Xn!==ye?(Rn=ve,we=vu(wr,An),ve=we):(ft=ve,ve=ye)):(ft=ve,ve=ye)):(ft=ve,ve=ye)):(ft=ve,ve=ye)):(ft=ve,ve=ye)):(ft=ve,ve=ye)):(ft=ve,ve=ye),ve}function Wa(){var ve,we;return Kr++,fu.test(Ue.charAt(ft))?(ve=Ue.charAt(ft),ft++):(ve=ye,Kr===0&&Cn(gu)),Kr--,ve===ye&&(we=ye,Kr===0&&Cn($o)),ve}function Va(){var ve,we;return Kr++,Mo.test(Ue.charAt(ft))?(ve=Ue.charAt(ft),ft++):(ve=ye,Kr===0&&Cn(Bs)),Kr--,ve===ye&&(we=ye,Kr===0&&Cn(Qu)),ve}function Fi(){var ve,we,wr;for(Kr++,ve=ft,we=[],wr=Wa();wr!==ye;)we.push(wr),wr=Wa();return we!==ye?ve=Ue.substring(ve,ft):ve=we,Kr--,ve===ye&&(we=ye,Kr===0&&Cn(Ou)),ve}function va(){var ve,we,wr;return Kr++,ve=ft,Ue.charCodeAt(ft)===45?(we=bs,ft++):(we=ye,Kr===0&&Cn(bo)),we===ye&&(we=null),we!==ye?(wr=Yi(),wr!==ye?(Rn=ve,we=yu(we,wr),ve=we):(ft=ve,ve=ye)):(ft=ve,ve=ye),Kr--,ve===ye&&(we=ye,Kr===0&&Cn(Go)),ve}function Ya(){var ve,we;return Kr++,Ue.charCodeAt(ft)===39?(ve=rs,ft++):(ve=ye,Kr===0&&Cn(Ws)),Kr--,ve===ye&&(we=ye,Kr===0&&Cn(Ao)),ve}function Xa(){var ve,we;return Kr++,ve=ft,Ue.substr(ft,2)===Vs?(we=Vs,ft+=2):(we=ye,Kr===0&&Cn(so)),we!==ye&&(Rn=ve,we=sl()),ve=we,Kr--,ve===ye&&(we=ye,Kr===0&&Cn(jo)),ve}function xo(){var ve,we,wr,Jr,vr,Kt;if(ve=ft,Ue.charCodeAt(ft)===39?(we=rs,ft++):(we=ye,Kr===0&&Cn(Ws)),we!==ye)if(wr=xa(),wr!==ye){for(Jr=ft,vr=[],Ue.substr(ft,2)===Vs?(Kt=Vs,ft+=2):(Kt=ye,Kr===0&&Cn(so)),Kt===ye&&(kn.test(Ue.charAt(ft))?(Kt=Ue.charAt(ft),ft++):(Kt=ye,Kr===0&&Cn(ns)));Kt!==ye;)vr.push(Kt),Ue.substr(ft,2)===Vs?(Kt=Vs,ft+=2):(Kt=ye,Kr===0&&Cn(so)),Kt===ye&&(kn.test(Ue.charAt(ft))?(Kt=Ue.charAt(ft),ft++):(Kt=ye,Kr===0&&Cn(ns)));vr!==ye?Jr=Ue.substring(Jr,ft):Jr=vr,Jr!==ye?(Ue.charCodeAt(ft)===39?(vr=rs,ft++):(vr=ye,Kr===0&&Cn(Ws)),vr===ye&&(vr=null),vr!==ye?(Rn=ve,we=Ns(wr,Jr),ve=we):(ft=ve,ve=ye)):(ft=ve,ve=ye)}else ft=ve,ve=ye;else ft=ve,ve=ye;return ve}function is(){var ve,we,wr,Jr;return ve=ft,we=ft,Ue.length>ft?(wr=Ue.charAt(ft),ft++):(wr=ye,Kr===0&&Cn(Ri)),wr!==ye?(Rn=ft,Jr=qt(wr),Jr?Jr=void 0:Jr=ye,Jr!==ye?(wr=[wr,Jr],we=wr):(ft=we,we=ye)):(ft=we,we=ye),we===ye&&(Ue.charCodeAt(ft)===10?(we=ur,ft++):(we=ye,Kr===0&&Cn(ar))),we!==ye?ve=Ue.substring(ve,ft):ve=we,ve}function xa(){var ve,we,wr,Jr;return ve=ft,we=ft,Ue.length>ft?(wr=Ue.charAt(ft),ft++):(wr=ye,Kr===0&&Cn(Ri)),wr!==ye?(Rn=ft,Jr=mr(wr),Jr?Jr=void 0:Jr=ye,Jr!==ye?(wr=[wr,Jr],we=wr):(ft=we,we=ye)):(ft=we,we=ye),we!==ye?ve=Ue.substring(ve,ft):ve=we,ve}function Js(){var ve,we;return Kr++,ve=ft,we=Yi(),we===ye&&(we=ws()),we!==ye?ve=Ue.substring(ve,ft):ve=we,Kr--,ve===ye&&(we=ye,Kr===0&&Cn(pr)),ve}function Yi(){var ve,we,wr,Jr,vr;if(Kr++,ve=ft,Ue.charCodeAt(ft)===48?(we=xn,ft++):(we=ye,Kr===0&&Cn(Nn)),we!==ye&&(Rn=ve,we=$n()),ve=we,ve===ye){if(ve=ft,we=ft,Jn.test(Ue.charAt(ft))?(wr=Ue.charAt(ft),ft++):(wr=ye,Kr===0&&Cn(sr)),wr!==ye){for(Jr=[],Nr.test(Ue.charAt(ft))?(vr=Ue.charAt(ft),ft++):(vr=ye,Kr===0&&Cn(xr));vr!==ye;)Jr.push(vr),Nr.test(Ue.charAt(ft))?(vr=Ue.charAt(ft),ft++):(vr=ye,Kr===0&&Cn(xr));Jr!==ye?(wr=[wr,Jr],we=wr):(ft=we,we=ye)}else ft=we,we=ye;we!==ye&&(Rn=ve,we=mn(we)),ve=we}return Kr--,ve===ye&&(we=ye,Kr===0&&Cn(_n)),ve}function ws(){var ve,we,wr,Jr,vr;if(Kr++,ve=ft,we=[],wr=ft,Jr=ft,Kr++,vr=Wa(),vr===ye&&(vr=Va()),Kr--,vr===ye?Jr=void 0:(ft=Jr,Jr=ye),Jr!==ye?(Ue.length>ft?(vr=Ue.charAt(ft),ft++):(vr=ye,Kr===0&&Cn(Ri)),vr!==ye?(Jr=[Jr,vr],wr=Jr):(ft=wr,wr=ye)):(ft=wr,wr=ye),wr!==ye)for(;wr!==ye;)we.push(wr),wr=ft,Jr=ft,Kr++,vr=Wa(),vr===ye&&(vr=Va()),Kr--,vr===ye?Jr=void 0:(ft=Jr,Jr=ye),Jr!==ye?(Ue.length>ft?(vr=Ue.charAt(ft),ft++):(vr=ye,Kr===0&&Cn(Ri)),vr!==ye?(Jr=[Jr,vr],wr=Jr):(ft=wr,wr=ye)):(ft=wr,wr=ye);else we=ye;return we!==ye?ve=Ue.substring(ve,ft):ve=we,Kr--,ve===ye&&(we=ye,Kr===0&&Cn(zn)),ve}var ca=["root"];function Ja(){return ca.length>1}function $s(){return ca[ca.length-1]==="plural"}function fa(){return rt&&rt.captureLocation?{location:Li()}:{}}if(Qi=ir(),Qi!==ye&&ft===Ue.length)return Qi;throw Qi!==ye&&ft1)throw new RangeError("Fraction-precision stems only accept a single optional option");ir.stem.replace(Oe,function(Or,Sr,Ur){return Or==="."?rt.maximumFractionDigits=0:Ur==="+"?rt.minimumFractionDigits=Ur.length:Sr[0]==="#"?rt.maximumFractionDigits=Sr.length:(rt.minimumFractionDigits=Sr.length,rt.maximumFractionDigits=Sr.length+(typeof Ur=="string"?Ur.length:0)),""}),ir.options.length&&(rt=fe(fe({},rt),ht(ir.options[0])));continue}if(Ft.test(ir.stem)){rt=fe(fe({},rt),ht(ir.stem));continue}var Rr=At(ir.stem);Rr&&(rt=fe(fe({},rt),Rr))}return rt}var cr=function(){var Ue=function(rt,ye){return Ue=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Ye,ir){Ye.__proto__=ir}||function(Ye,ir){for(var Rr in ir)ir.hasOwnProperty(Rr)&&(Ye[Rr]=ir[Rr])},Ue(rt,ye)};return function(rt,ye){Ue(rt,ye);function Ye(){this.constructor=rt}rt.prototype=ye===null?Object.create(ye):(Ye.prototype=ye.prototype,new Ye)}}(),Qe=function(){for(var Ue=0,rt=0,ye=arguments.length;rt(.*?)<\/([0-9a-zA-Z-_]*?)>)|(<[0-9a-zA-Z-_]*?\/>)/,Ze=Date.now()+"@@",nt=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"];function ut(Ue,rt,ye){var Ye=Ue.tagName,ir=Ue.outerHTML,Rr=Ue.textContent,Or=Ue.childNodes;if(!Ye)return Re(Rr||"",rt);Ye=Ye.toLowerCase();var Sr=~nt.indexOf(Ye),Ur=ye[Ye];if(Ur&&Sr)throw new Pt(Ye+" is a self-closing tag and can not be used, please use another tag name.");if(!Or.length)return[ir];var yn=Array.prototype.slice.call(Or).reduce(function(Ir,cn){return Ir.concat(ut(cn,rt,ye))},[]);return Ur?typeof Ur=="function"?[Ur.apply(void 0,yn)]:[Ur]:Qe(["<"+Ye+">"],yn,[""])}function Gt(Ue,rt,ye,Ye,ir,Rr){var Or=it(Ue,rt,ye,Ye,ir,void 0,Rr),Sr={},Ur=Or.reduce(function(tn,on){if(on.type===0)return tn+=on.value;var bn=Ee();return Sr[bn]=on.value,tn+=""+et+bn+et},"");if(!$e.test(Ur))return Re(Ur,Sr);if(!ir)throw new Pt("Message has placeholders but no values was given");if(typeof DOMParser=="undefined")throw new Pt("Cannot format XML message without DOMParser");pt||(pt=new DOMParser);var yn=pt.parseFromString(''+Ur+"","text/html").getElementById(Ze);if(!yn)throw new Pt("Malformed HTML message "+Ur);var Ir=Object.keys(ir).filter(function(tn){return!!yn.getElementsByTagName(tn).length});if(!Ir.length)return Re(Ur,Sr);var cn=Ir.filter(function(tn){return tn!==tn.toLowerCase()});if(cn.length)throw new Pt("HTML tag must be lowercased but the following tags are not: "+cn.join(", "));return Array.prototype.slice.call(yn.childNodes).reduce(function(tn,on){return tn.concat(ut(on,Sr,ir))},[])}var Zt=function(){return Zt=Object.assign||function(Ue){for(var rt,ye=1,Ye=arguments.length;ye<"']/g;function ue(Ue){return(""+Ue).replace(ze,rt=>Yt[rt.charCodeAt(0)])}function le(Ue,rt,ye={}){return rt.reduce((Ye,ir)=>(ir in Ue?Ye[ir]=Ue[ir]:ir in ye&&(Ye[ir]=ye[ir]),Ye),{})}function Dt(Ue){Ct(Ue,"[React Intl] Could not find required `intl` object. needs to exist in the component ancestry.")}function Te(Ue,rt){const ye=rt?` ${rt.stack}`:"";return`[React Intl] ${Ue}${ye}`}function dt(Ue){}const Ht={formats:{},messages:{},timeZone:void 0,textComponent:t.Fragment,defaultLocale:"en",defaultFormats:{},onError:dt};function ct(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function Ie(Ue=ct()){const rt=Intl.RelativeTimeFormat,ye=Intl.ListFormat,Ye=Intl.DisplayNames;return{getDateTimeFormat:X(Intl.DateTimeFormat,Ue.dateTime),getNumberFormat:X(Intl.NumberFormat,Ue.number),getMessageFormat:X(Bt,Ue.message),getRelativeTimeFormat:X(rt,Ue.relativeTime),getPluralRules:X(Intl.PluralRules,Ue.pluralRules),getListFormat:X(ye,Ue.list),getDisplayNames:X(Ye,Ue.displayNames)}}function Et(Ue,rt,ye,Ye){const ir=Ue&&Ue[rt];let Rr;if(ir&&(Rr=ir[ye]),Rr)return Rr;Ye(Te(`No ${rt} format named: ${ye}`))}const ge=["localeMatcher","style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay"];function Ke({locale:Ue,formats:rt,onError:ye},Ye,ir={}){const{format:Rr}=ir,Or=Rr&&Et(rt,"number",Rr,ye)||{},Sr=le(ir,ge,Or);return Ye(Ue,Sr)}function yt(Ue,rt,ye,Ye={}){try{return Ke(Ue,rt,Ye).format(ye)}catch(ir){Ue.onError(Te("Error formatting number.",ir))}return String(ye)}function kt(Ue,rt,ye,Ye={}){try{return Ke(Ue,rt,Ye).formatToParts(ye)}catch(ir){Ue.onError(Te("Error formatting number.",ir))}return[]}const Fe=["numeric","style"];function Dr({locale:Ue,formats:rt,onError:ye},Ye,ir={}){const{format:Rr}=ir,Or=!!Rr&&Et(rt,"relative",Rr,ye)||{},Sr=le(ir,Fe,Or);return Ye(Ue,Sr)}function St(Ue,rt,ye,Ye,ir={}){Ye||(Ye="second"),Intl.RelativeTimeFormat||Ue.onError(Te(`Intl.RelativeTimeFormat is not available in this environment. Try polyfilling it using "@formatjs/intl-relativetimeformat" `));try{return Dr(Ue,rt,ir).format(ye,Ye)}catch(Or){Ue.onError(Te("Error formatting relative time.",Or))}return String(ye)}const Vr=["localeMatcher","formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName"];function qr({locale:Ue,formats:rt,onError:ye,timeZone:Ye},ir,Rr,Or={}){const{format:Sr}=Or,Ur=Object.assign(Object.assign({},Ye&&{timeZone:Ye}),Sr&&Et(rt,ir,Sr,ye));let yn=le(Or,Vr,Ur);return ir==="time"&&!yn.hour&&!yn.minute&&!yn.second&&(yn=Object.assign(Object.assign({},yn),{hour:"numeric",minute:"numeric"})),Rr(Ue,yn)}function Er(Ue,rt,ye,Ye={}){const ir=typeof ye=="string"?new Date(ye||0):ye;try{return qr(Ue,"date",rt,Ye).format(ir)}catch(Rr){Ue.onError(Te("Error formatting date.",Rr))}return String(ir)}function jr(Ue,rt,ye,Ye={}){const ir=typeof ye=="string"?new Date(ye||0):ye;try{return qr(Ue,"time",rt,Ye).format(ir)}catch(Rr){Ue.onError(Te("Error formatting time.",Rr))}return String(ir)}function hr(Ue,rt,ye,Ye={}){const ir=typeof ye=="string"?new Date(ye||0):ye;try{return qr(Ue,"date",rt,Ye).formatToParts(ir)}catch(Rr){Ue.onError(Te("Error formatting date.",Rr))}return[]}function Zr(Ue,rt,ye,Ye={}){const ir=typeof ye=="string"?new Date(ye||0):ye;try{return qr(Ue,"time",rt,Ye).formatToParts(ir)}catch(Rr){Ue.onError(Te("Error formatting time.",Rr))}return[]}const sn=["localeMatcher","type"];function ln({locale:Ue,onError:rt},ye,Ye,ir={}){Intl.PluralRules||rt(Te(`Intl.PluralRules is not available in this environment. Try polyfilling it using "@formatjs/intl-pluralrules" `));const Rr=le(ir,sn);try{return ye(Ue,Rr).select(Ye)}catch(Or){rt(Te("Error formatting plural.",Or))}return"other"}function or(Ue,rt){return Object.keys(Ue).reduce((ye,Ye)=>(ye[Ye]=Object.assign({timeZone:rt},Ue[Ye]),ye),{})}function Lt(Ue,rt){return Object.keys(Object.assign(Object.assign({},Ue),rt)).reduce((Ye,ir)=>(Ye[ir]=Object.assign(Object.assign({},Ue[ir]||{}),rt[ir]||{}),Ye),{})}function gt(Ue,rt){if(!rt)return Ue;const ye=Bt.formats;return Object.assign(Object.assign(Object.assign({},ye),Ue),{date:Lt(or(ye.date,rt),or(Ue.date||{},rt)),time:Lt(or(ye.time,rt),or(Ue.time||{},rt))})}const bt=Ue=>t.createElement(t.Fragment,null,...Ue);function jt({locale:Ue,formats:rt,messages:ye,defaultLocale:Ye,defaultFormats:ir,onError:Rr,timeZone:Or},Sr,Ur={id:""},yn={}){const{id:Ir,defaultMessage:cn}=Ur;Ct(!!Ir,"[React Intl] An `id` must be provided to format a message.");const tn=ye&&ye[String(Ir)];rt=gt(rt,Or),ir=gt(ir,Or);let on=[];if(tn)try{on=Sr.getMessageFormat(tn,Ue,rt,{formatters:Sr}).formatHTMLMessage(yn)}catch(bn){Rr(Te(`Error formatting message: "${Ir}" for locale: "${Ue}"`+(cn?", using default message as fallback.":""),bn))}else(!cn||Ue&&Ue.toLowerCase()!==Ye.toLowerCase())&&Rr(Te(`Missing message: "${Ir}" for locale: "${Ue}"`+(cn?", using default message as fallback.":"")));if(!on.length&&cn)try{on=Sr.getMessageFormat(cn,Ye,ir).formatHTMLMessage(yn)}catch(bn){Rr(Te(`Error formatting the default message for: "${Ir}"`,bn))}return on.length?on.length===1&&typeof on[0]=="string"?on[0]||cn||String(Ir):bt(on):(Rr(Te(`Cannot format message: "${Ir}", using message ${tn||cn?"source":"id"} as fallback.`)),typeof tn=="string"?tn||cn||String(Ir):cn||String(Ir))}function Cr(Ue,rt,ye={id:""},Ye={}){const ir=Object.keys(Ye).reduce((Rr,Or)=>{const Sr=Ye[Or];return Rr[Or]=typeof Sr=="string"?ue(Sr):Sr,Rr},{});return jt(Ue,rt,ye,ir)}var br=e(18947),at=e.n(br);const Fr=["localeMatcher","type","style"],gn=Date.now();function Wn(Ue){return`${gn}_${Ue}_${gn}`}function gr({locale:Ue,onError:rt},ye,Ye,ir={}){Intl.ListFormat||rt(Te(`Intl.ListFormat is not available in this environment. Try polyfilling it using "@formatjs/intl-listformat" `));const Or=le(ir,Fr);try{const Sr={},Ur=Ye.map((Ir,cn)=>{if(typeof Ir=="object"){const tn=Wn(cn);return Sr[tn]=Ir,tn}return String(Ir)});return Object.keys(Sr).length?ye(Ue,Or).formatToParts(Ur).reduce((Ir,cn)=>{const tn=cn.value;return Sr[tn]?Ir.push(Sr[tn]):typeof Ir[Ir.length-1]=="string"?Ir[Ir.length-1]+=tn:Ir.push(tn),Ir},[]):ye(Ue,Or).format(Ur)}catch(Sr){rt(Te("Error formatting list.",Sr))}return Ye}const Xr=["localeMatcher","style","type","fallback"];function dn({locale:Ue,onError:rt},ye,Ye,ir={}){Intl.DisplayNames||rt(Te(`Intl.DisplayNames is not available in this environment. Try polyfilling it using "@formatjs/intl-displaynames" `));const Or=le(ir,Xr);try{return ye(Ue,Or).of(Ye)}catch(Sr){rt(Te("Error formatting display name.",Sr))}}const Mn=at()||br;function ei(Ue){return{locale:Ue.locale,timeZone:Ue.timeZone,formats:Ue.formats,textComponent:Ue.textComponent,messages:Ue.messages,defaultLocale:Ue.defaultLocale,defaultFormats:Ue.defaultFormats,onError:Ue.onError}}function ni(Ue,rt){const ye=Ie(rt),Ye=Object.assign(Object.assign({},Ht),Ue),{locale:ir,defaultLocale:Rr,onError:Or}=Ye;return ir?!Intl.NumberFormat.supportedLocalesOf(ir).length&&Or?Or(Te(`Missing locale data for locale: "${ir}" in Intl.NumberFormat. Using default locale: "${Rr}" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/Getting-Started.md#runtime-requirements for more details`)):!Intl.DateTimeFormat.supportedLocalesOf(ir).length&&Or&&Or(Te(`Missing locale data for locale: "${ir}" in Intl.DateTimeFormat. Using default locale: "${Rr}" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/Getting-Started.md#runtime-requirements for more details`)):(Or&&Or(Te(`"locale" was not configured, using "${Rr}" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/API.md#intlshape for more details`)),Ye.locale=Ye.defaultLocale||"en"),Object.assign(Object.assign({},Ye),{formatters:ye,formatNumber:yt.bind(null,Ye,ye.getNumberFormat),formatNumberToParts:kt.bind(null,Ye,ye.getNumberFormat),formatRelativeTime:St.bind(null,Ye,ye.getRelativeTimeFormat),formatDate:Er.bind(null,Ye,ye.getDateTimeFormat),formatDateToParts:hr.bind(null,Ye,ye.getDateTimeFormat),formatTime:jr.bind(null,Ye,ye.getDateTimeFormat),formatTimeToParts:Zr.bind(null,Ye,ye.getDateTimeFormat),formatPlural:ln.bind(null,Ye,ye.getPluralRules),formatMessage:jt.bind(null,Ye,ye),formatHTMLMessage:Cr.bind(null,Ye,ye),formatList:gr.bind(null,Ye,ye.getListFormat),formatDisplayName:dn.bind(null,Ye,ye.getDisplayNames)})}class Gi extends t.PureComponent{constructor(){super(...arguments),this.cache=ct(),this.state={cache:this.cache,intl:ni(ei(this.props),this.cache),prevConfig:ei(this.props)}}static getDerivedStateFromProps(rt,{prevConfig:ye,cache:Ye}){const ir=ei(rt);return Mn(ye,ir)?null:{intl:ni(ir,Ye),prevConfig:ir}}render(){return Dt(this.state.intl),t.createElement(i,{value:this.state.intl},this.props.children)}}Gi.displayName="IntlProvider",Gi.defaultProps=Ht;var Mi=e(5085),Ti=e(3424),mi=e.n(Ti),vi=e(85239),aa=Object.getOwnPropertySymbols,ii=Object.prototype.hasOwnProperty,Wi=Object.prototype.propertyIsEnumerable,wt=(Ue,rt)=>{var ye={};for(var Ye in Ue)ii.call(Ue,Ye)&&rt.indexOf(Ye)<0&&(ye[Ye]=Ue[Ye]);if(Ue!=null&&aa)for(var Ye of aa(Ue))rt.indexOf(Ye)<0&&Wi.call(Ue,Ye)&&(ye[Ye]=Ue[Ye]);return ye};let st;const qn=!0,bi=new(mi()),ti=Symbol("LANG_CHANGE"),Ki=(Ue,rt="")=>Object.keys(Ue).reduce((ye,Ye)=>{const ir=Ue[Ye],Rr=rt?`${rt}.${Ye}`:Ye;return typeof ir=="string"?ye[Rr]=ir:Object.assign(ye,Ki(ir,Rr)),ye},{}),xi={},Pi=(Ue,rt,ye)=>{var Ye,ir,Rr,Or;if(!Ue)return;const Sr=(Ye=xi[Ue])!=null&&Ye.messages?Object.assign({},xi[Ue].messages,rt):rt,{momentLocale:Ur=(ir=xi[Ue])==null?void 0:ir.momentLocale,antd:yn=(Rr=xi[Ue])==null?void 0:Rr.antd}=ye||{},Ir=(Or=Ue.split("-"))==null?void 0:Or.join("-");xi[Ue]={messages:Sr,locale:Ir,momentLocale:Ur,antd:yn},Ir===It()&&bi.emit(ti,Ir)},ai=Ue=>(0,Mi.We)().applyPlugins({key:"locale",type:"modify",initialValue:Ue}),er=Ue=>{const ye=ai(xi[Ue]),{cache:Ye}=ye,ir=wt(ye,["cache"]);return ni(ir,Ye)},mt=(Ue,rt)=>st&&!rt&&!Ue?st:(Ue||(Ue=It()),Ue&&xi[Ue]?er(Ue):xi["zh-CN"]?er("zh-CN"):ni({locale:"zh-CN",messages:{}})),tt=Ue=>{st=mt(Ue,!0)},It=()=>{const Ue=ai({});return typeof(Ue==null?void 0:Ue.getLocale)=="function"?Ue.getLocale():(navigator.cookieEnabled&&typeof localStorage!="undefined"&&qn?window.localStorage.getItem("umi_locale"):"")||void 0||"zh-CN"},_t=()=>{const Ue=It();return["he","ar","fa","ku"].filter(Ye=>Ue.startsWith(Ye)).length?"rtl":"ltr"},lr=(Ue,rt=!0)=>{(()=>{if(It()!==Ue){if(navigator.cookieEnabled&&typeof window.localStorage!="undefined"&&qn&&window.localStorage.setItem("umi_locale",Ue||""),tt(Ue),rt)window.location.reload();else if(bi.emit(ti,Ue),window.dispatchEvent){const Ye=new Event("languagechange");window.dispatchEvent(Ye)}}})()};let fr=!0;const Tr=(Ue,rt)=>(fr&&(warning(!1,`Using this API will cause automatic refresh when switching languages, please use useIntl or injectIntl. \u4F7F\u7528\u6B64 api \u4F1A\u9020\u6210\u5207\u6362\u8BED\u8A00\u7684\u65F6\u5019\u65E0\u6CD5\u81EA\u52A8\u5237\u65B0\uFF0C\u8BF7\u4F7F\u7528 useIntl \u6216 injectIntl\u3002 http://j.mp/37Fkd5Q `),fr=!1),st||tt(It()),st.formatMessage(Ue,rt)),kr=()=>Object.keys(xi)},16209:function(d,v,e){"use strict";e.d(v,{y:function(){return c}});var t=e(43418),n=e(95237),s=e(43604),u=e(58539),f=e(59301);const c=h=>new Promise((o,i)=>{if(window.RTCPeerConnection=window.RTCPeerConnection||window.mozRTCPeerConnection||window.webkitRTCPeerConnection,typeof window.RTCPeerConnection=="undefined")return i("WebRTC not supported by browser");let y=new RTCPeerConnection,p=[];y.createDataChannel(""),y.createOffer().then(g=>y.setLocalDescription(g)).catch(g=>i(g)),y.onicecandidate=g=>{console.log("event:",g);const l=[];if(!g||!g.candidate){if(console.log("ips",p),p.length==0||!(0,u.t)(p[0])){const Z=t.default.info({title:f.createElement(n.Z,null,f.createElement(s.Z,{flex:"1"},"\u63D0\u793A"),f.createElement(s.Z,null,f.createElement("span",{className:"iconfont icon-yiguanbi1 current c-grey-c",onClick:()=>Z.destroy()}))),icon:null,width:500,className:"custom-modal-divider",content:f.createElement(n.Z,null,f.createElement(s.Z,null,"\u5F53\u524D\u8003\u8BD5\u5DF2\u542F\u7528\u9650\u5236\u8003\u8BD5\u8BBF\u95EEIP\uFF08\u9650\u5236\u516C\u5171IP+\u5185\u7F51IP\uFF09\u3002",(h.ip_limit==="inner"||h.ip_bind)&&f.createElement(f.Fragment,null,f.createElement("span",{className:"c-red"},"\uFF08\u53EA\u5141\u8BB8\u5728Chrome\u8C37\u6B4C\u6D4F\u89C8\u5668\u4F5C\u7B54\uFF0C\u5E76\u4E14\u9700\u8981\u5B89\u88C5WebRTC Leak Prevent\u63D2\u4EF6\uFF09"),f.createElement("br",null),f.createElement(Button,{onClick:showInstallWebRtcDoc,type:"link"},"\u5982\u4F55\u5B89\u88C5WebRTC Leak Prevent\u63D2\u4EF6?"))))});return i("WebRTC disabled or restricted by browser")}const G=p.filter(Z=>(0,u.t)(Z));return!G||!G.length?i("IP\u83B7\u53D6\u5931\u8D25"):o(G.join(""))}let b=g.candidate.candidate.split(" "),[x,O,k,A,T,F,,$,...R]=b,H=["rtp","rtpc"];if(console.log("event:",g),p.some(G=>G==T)||p.push(T),console.log(" candidate: "+x.split(":")[1]),console.log(" component: "+H[O-1]),console.log(" protocol: "+k),console.log(" priority: "+A),console.log(" ip: "+T),console.log(" port: "+F),console.log(" type: "+$),R.length){console.log("attributes: ");for(let G=0;G "+R[G]+": "+R[G+1])}}})},8797:function(d,v,e){"use strict";var t=e(59301),n=e(4977),s=e(3113),u=Object.defineProperty,f=Object.defineProperties,c=Object.getOwnPropertyDescriptors,h=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable,y=(b,x,O)=>x in b?u(b,x,{enumerable:!0,configurable:!0,writable:!0,value:O}):b[x]=O,p=(b,x)=>{for(var O in x||(x={}))o.call(x,O)&&y(b,O,x[O]);if(h)for(var O of h(x))i.call(x,O)&&y(b,O,x[O]);return b},g=(b,x)=>f(b,c(x));const l=({img:b,buttonProps:x={},styles:O={},customText:k,ButtonText:A,ButtonClick:T,Buttonclass:F,ButtonTwo:$,imgStyles:R,loading:H=!1})=>t.createElement("section",{className:"tc animated fadeIn",style:p(p({},{color:"#999",margin:"100px auto",visibility:H?"hidden":"visible"}),O)},t.createElement("img",{src:b||n,style:g(p({},R),{pointerEvents:"none",userSelect:"none"})}),t.createElement("p",{className:"mt20 font14"},k||"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"),A&&t.createElement(s.ZP,p({className:F,onClick:T},x),A),$&&$);v.Z=l},39298:function(d,v,e){"use strict";e.d(v,{Z:function(){return ie}});var t=e(59301),n={wrp:"wrp___dq7YK",bgBlack:"bgBlack___ARIUV",monaco:"monaco___VnZC3",darkBlue:"darkBlue___UprA9",close:"close___LKoWu",embed:"embed___hvpEJ"},s=e(3113),u=e(92413),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M862 465.3h-81c-4.6 0-9 2-12.1 5.5L550 723.1V160c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v563.1L255.1 470.8c-3-3.5-7.4-5.5-12.1-5.5h-81c-6.8 0-10.5 8.1-6 13.2L487.9 861a31.96 31.96 0 0048.3 0L868 478.5c4.5-5.2.8-13.2-6-13.2z"}}]},name:"arrow-down",theme:"outlined"},c=f,h=e(7657),o=function(se,Q){return t.createElement(h.Z,(0,u.Z)({},se,{ref:Q,icon:c}))},i=t.forwardRef(o),y=i,p=e(23954),g=e(6848),l=e(955),b=e(94941),x=e(8797),O=e(3294),k=e(19381),A=e(59301),T=Object.defineProperty,F=Object.getOwnPropertySymbols,$=Object.prototype.hasOwnProperty,R=Object.prototype.propertyIsEnumerable,H=(ne,se,Q)=>se in ne?T(ne,se,{enumerable:!0,configurable:!0,writable:!0,value:Q}):ne[se]=Q,G=(ne,se)=>{for(var Q in se||(se={}))$.call(se,Q)&&H(ne,Q,se[Q]);if(F)for(var Q of F(se))R.call(se,Q)&&H(ne,Q,se[Q]);return ne},Z=(ne,se,Q)=>new Promise((V,K)=>{var ae=te=>{try{q(Q.next(te))}catch(M){K(M)}},ee=te=>{try{q(Q.throw(te))}catch(M){K(M)}},q=te=>te.done?V(te.value):Promise.resolve(te.value).then(ae,ee);q((Q=Q.apply(ne,se)).next())}),ie=({editOffice:ne="view",data:se,theme:Q,type:V,filename:K,monacoEditor:ae,className:ee,style:q,close:te,onClose:M,hasMask:L,disabledDownload:X,onImgDimensions:fe,showNodata:xe,recordInfo:Ce})=>{const[Le,Oe]=(0,t.useState)("https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt"),[Ft,ht]=(0,t.useState)(""),[At,tr]=(0,t.useState)(),Jt=window.ENV==="build"?"/react/build":"",cr=location.host.startsWith("localhost")?O.Z.PROXY_SERVER:O.Z.API_SERVER,Pt=10*(1024*1024),zt=(0,t.useRef)();se!=null&&se.startsWith("/api")&&V!=="txt"&&(se=O.Z.API_SERVER+se);const it=Ne=>Ne.substring(Ne.lastIndexOf("/")+1).split(".").pop();K&&ae&&(ae.filename=K),(0,t.useEffect)(()=>{var Ne,me;const Ee=(me=(Ne=document.cookie)==null?void 0:Ne.replace(/\s/g,""))==null?void 0:me.split(";");Ee==null||Ee.map(Re=>{let $e=Re.split("=");$e[0]==="_educoder_session"&&ht($e[1])})},[]),(0,t.useEffect)(()=>{V==="office"&&(se.indexOf("bigfilescdn.")>-1||se.indexOf("bigfiles1")>-1?tr({url:se,fileType:it(se),model:se.indexOf("model=edit")?"edit":"view"}):Ot())},[V,se]);const Ot=()=>Z(void 0,null,function*(){console.log("data:",se);let Ne=se;se.startsWith("http")||(Ne=location.origin+Ne);let me=new URL(Ne).pathname.split("/").pop();const Ee=yield(0,b.gJ)({attachment_id:me});Ee.url=cr+Ee.url,tr(Ee)}),pt=()=>{if(se.startsWith("http")||se.startsWith("blob:")){et();return}(0,l.Nd)(K||"educoder",decodeURIComponent(se))},et=()=>{Ce&&(0,k.fc)({id:Ce==null?void 0:Ce.id,watch_type:1,course_id:Ce==null?void 0:Ce.course_id}),(0,l.Nd)(K||"educoder",decodeURIComponent(se))};return console.log(se,"data"),A.createElement("div",{style:G({},q||{}),className:`${L&&n.bgBlack} ${V?n.wrp:"hide"}`},te&&A.createElement("div",{className:n.close,ref:zt},!!fe&&A.createElement(g.Z,{title:"\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8",getPopupContainer:()=>zt.current},A.createElement("span",{onClick:()=>{M(),fe()}},A.createElement("i",{className:"icon-yulanpizhu"}))),!X&&A.createElement(g.Z,{title:"\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6",getPopupContainer:()=>zt.current},A.createElement("span",{onClick:et},A.createElement("i",{className:"icon-quxiaozhiding"}))),A.createElement(g.Z,{title:"\u5173\u95ED",getPopupContainer:()=>zt.current},A.createElement("span",{className:"",onClick:M},A.createElement("i",{className:"icon-guanbi1"})))),A.createElement("div",{className:`${n[ee]} ${ee} ${n.monaco} ${V==="txt"?"show":"hide"}`},V==="txt"&&A.createElement(A.Fragment,null,A.createElement(p.ZP,G({},ae)))),V==="audio"&&A.createElement("audio",{src:(se==null?void 0:se.indexOf("http"))>-1||se!=null&&se.startsWith("/api")?se:`data:image/png;base64,${se}`,autoPlay:!0}),V==="video"&&A.createElement(A.Fragment,null,(se==null?void 0:se.indexOf("http"))>-1||se!=null&&se.startsWith("/api")?A.createElement("video",{controls:!0,src:`${se}`,autoPlay:!0}):A.createElement("video",{controls:!0,src:`data:video/mp4;base64,${se}`,autoPlay:!0})),V==="office"&&At&&A.createElement("iframe",{src:`${Jt}/office.html?key=${At.key}&url=${btoa(At.url)}&callbackUrl=${cr+(At.callbackUrl||"")}&fileType=${At.fileType}&title=${At.title||""}&model=${ne}&officeServer=${O.Z.ONLYOFFICE}&disabledDownload=${!!X}`}),V==="html"&&A.createElement("iframe",{src:se+"&disposition=inline"}),V==="pdf"&&A.createElement("iframe",{src:`${Jt}/js/pdfview/index.html?filename=${K||"educoder.pdf"}&url=${encodeURIComponent(se)}&disabledDownload=${!!X}`}),V==="image"&&A.createElement("img",{src:(se==null?void 0:se.indexOf("http"))>-1||se!=null&&se.startsWith("/api")?se:`data:image/png;base64,${se}`}),(V==="other"||V==="download")&&A.createElement(A.Fragment,null,xe?A.createElement(x.Z,{customText:"\u5F53\u524D\u6587\u4EF6\u4E0D\u652F\u6301\u9884\u89C8\uFF0C\u53EF\u70B9\u51FB\u4E0B\u8F7D\u67E5\u770B",ButtonTwo:A.createElement(s.ZP,{icon:A.createElement("i",{className:"iconfont icon-xiazai4 font14"}),type:"primary",size:"middle",onClick:pt,disabled:X},"\u4E0B\u8F7D")}):A.createElement(s.ZP,{type:"primary",size:"middle",onClick:pt,disabled:X},A.createElement(y,null),"\u70B9\u51FB\u4E0B\u8F7D")))}},85149:function(d,v,e){"use strict";e.d(v,{z:function(){return G},Z:function(){return Z}});var t=e(59301),n=e(50304),s=e(24768),u=e(64018),f=e(40846),c=e(3294),h=e(955),o=e(15342),i=e(1012),y=e(39298),p=e(59301),l=({html:ie})=>{const ne=(0,t.useRef)(null),se=(0,t.useRef)(null),Q=`.markdown-body p { margin: 0 0 16px 0 !important; line-height: 28px; white-space: pre-wrap; } ol, ul, li { list-style-type: none } ol, ul, dl { margin-bottom: 0px; } .markdown-body { -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; color: #333; overflow: hidden; font-family: "Microsoft YaHei", Helvetica, "Meiryo UI", "Malgun Gothic", "Segoe UI", "Trebuchet MS", "Monaco", monospace, Tahoma, STXihei, "\u534E\u6587\u7EC6\u9ED1", STHeiti, "Helvetica Neue", "Droid Sans", "wenquanyi micro hei", FreeSans, Arimo, Arial, SimSun, "\u5B8B\u4F53", Heiti, "\u9ED1\u4F53", sans-serif; word-break: break-word; font-size: 16px; line-height: 1.6; white-space: normal; word-wrap: break-word; position: relative; } .markdown-body ul>li { list-style-type: disc; } .markdown-body ol>li { list-style-type: decimal; } .markdown-body a { background: transparent; } .markdown-body a:active, .markdown-body a:hover { outline: 0; } .markdown-body strong { font-weight: bold; } .markdown-body h1 { font-size: 2em; margin: 0.67em 0; } .markdown-body img { border: 0; } .markdown-body hr { -moz-box-sizing: content-box; box-sizing: content-box; height: 0; } .markdown-body pre { overflow: auto; } .markdown-body code, .markdown-body kbd, .markdown-body pre { font-family: "Meiryo UI", "YaHei Consolas Hybrid", Consolas, "Malgun Gothic", "Segoe UI", "Trebuchet MS", Helvetica, monospace, monospace; font-size: 1em; } .markdown-body input { color: inherit; font: inherit; margin: 0; } .markdown-body html input[disabled] { cursor: default; } .markdown-body input { line-height: normal; } .markdown-body input[type="checkbox"] { -moz-box-sizing: border-box; box-sizing: border-box; padding: 0; } .markdown-body table { border-collapse: collapse; border-spacing: 0; } .markdown-body td, .markdown-body th { padding: 0; } .markdown-body * { -moz-box-sizing: border-box; box-sizing: border-box; } .markdown-body input { font: 13px/1.4 Helvetica, arial, freesans, clean, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol"; } .markdown-body a { color: #4183c4; text-decoration: none; } .markdown-body a:hover, .markdown-body a:active { text-decoration: underline; } .markdown-body hr { height: 0; margin: 15px 0; overflow: hidden; background: transparent; border: 0; border-bottom: 1px solid #ddd; } .markdown-body hr:before { display: table; content: ""; } .markdown-body hr:after { display: table; clear: both; content: ""; } .markdown-body h1, .markdown-body h2, .markdown-body h3, .markdown-body h4, .markdown-body h5, .markdown-body h6 { margin-top: 15px; margin-bottom: 15px; line-height: 1.1; } .markdown-body h1 { font-size: 30px; } .markdown-body h2 { font-size: 21px; } .markdown-body h3 { font-size: 16px; } .markdown-body h4 { font-size: 14px; } .markdown-body h5 { font-size: 12px; } .markdown-body h6 { font-size: 11px; } .markdown-body blockquote { margin: 0; } .markdown-body ul, .markdown-body ol { padding: 0; margin-top: 0; margin-bottom: 0; } ul.linenums, ol.linenums { padding: 16px 0 0 36px !important; } .markdown-body ul, .markdown-body ol { padding-left: 2em; } .markdown-body ol ol, .markdown-body ul ol { list-style-type: lower-roman; } .markdown-body ul ul ol, .markdown-body ul ol ol, .markdown-body ol ul ol, .markdown-body ol ol ol { list-style-type: lower-alpha; } .markdown-body dd { margin-left: 0; } .markdown-body code { font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; font-size: 12px; } .markdown-body pre { margin-top: 0; margin-bottom: 0; font: 12px Consolas, "Liberation Mono", Menlo, Courier, monospace; } .markdown-body .octicon { font: normal normal 16px octicons-anchor; line-height: 1; display: inline-block; text-decoration: none; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } .markdown-body .octicon-link:before { content: '\f05c'; } .markdown-body>*:first-child { margin-top: 0 !important; } .markdown-body>*:last-child { margin-bottom: 0 !important; } .markdown-body .anchor { position: absolute; top: 0; left: 0; display: block; padding-right: 6px; padding-left: 30px; margin-left: -30px; } .markdown-body .anchor:focus { outline: none; } .markdown-body h1, .markdown-body h2, .markdown-body h3, .markdown-body h4, .markdown-body h5, .markdown-body h6 { position: relative; margin-top: 1em; margin-bottom: 16px; font-weight: bold; line-height: 1.4; } .markdown-body h1 .octicon-link, .markdown-body h2 .octicon-link, .markdown-body h3 .octicon-link, .markdown-body h4 .octicon-link, .markdown-body h5 .octicon-link, .markdown-body h6 .octicon-link { display: none; color: #000; vertical-align: middle; } .markdown-body h1:hover .anchor, .markdown-body h2:hover .anchor, .markdown-body h3:hover .anchor, .markdown-body h4:hover .anchor, .markdown-body h5:hover .anchor, .markdown-body h6:hover .anchor { padding-left: 8px; margin-left: -30px; text-decoration: none; } .markdown-body h1:hover .anchor .octicon-link, .markdown-body h2:hover .anchor .octicon-link, .markdown-body h3:hover .anchor .octicon-link, .markdown-body h4:hover .anchor .octicon-link, .markdown-body h5:hover .anchor .octicon-link, .markdown-body h6:hover .anchor .octicon-link { display: inline-block; } .markdown-body h1 { padding-bottom: 0.3em; font-size: 2.25em; line-height: 1.2; border-bottom: 1px solid #eee; } .markdown-body h1 .anchor { line-height: 1; } .markdown-body h2 { padding-bottom: 0.3em; font-size: 1.75em; line-height: 1.225; border-bottom: 1px solid #eee; } .markdown-body h2 .anchor { line-height: 1; } .markdown-body h3 { font-size: 1.5em; line-height: 1.43; } .markdown-body h3 .anchor { line-height: 1.2; } .markdown-body h4 { font-size: 1.25em; } .markdown-body h4 .anchor { line-height: 1.2; } .markdown-body h5 { font-size: 1em; } .markdown-body h5 .anchor { line-height: 1.1; } .markdown-body h6 { font-size: 1em; color: #777; } .markdown-body h6 .anchor { line-height: 1.1; } .markdown-body p, .markdown-body blockquote, .markdown-body ul, .markdown-body ol, .markdown-body dl, .markdown-body table, .markdown-body pre { margin-top: 0; margin-bottom: 16px; } .markdown-body ul ul, .markdown-body ul ol, .markdown-body ol ol, .markdown-body ol ul { margin-top: 0; margin-bottom: 0; } .markdown-body li>p { margin-top: 16px; } .markdown-body dl { padding: 0; } .markdown-body dl dt { padding: 0; margin-top: 16px; font-size: 1em; font-style: italic; font-weight: bold; } .markdown-body dl dd { padding: 0 16px; margin-bottom: 16px; } .markdown-body blockquote { padding: 0 15px; color: #777; border-left: 4px solid #ddd; } .markdown-body blockquote> :first-child { margin-top: 0; } .markdown-body blockquote> :last-child { margin-bottom: 0; } .markdown-body table { display: block; width: 100%; overflow: auto; word-break: normal; word-break: keep-all; } .markdown-body table th { font-weight: bold; text-align: revert; } .markdown-body table th, .markdown-body table td { padding: 6px 13px; border: 1px solid #ddd; } .markdown-body table tr { background-color: #fff; border-top: 1px solid #ccc; } .markdown-body table tr:nth-child(2n) { background-color: #f8f8f8; } .markdown-body img { max-width: 100%; -moz-box-sizing: border-box; box-sizing: border-box; } .markdown-body code { padding: 0; padding-top: 0.2em; padding-bottom: 0.2em; margin: 0; font-size: 85%; background-color: rgba(0, 0, 0, 0.04); border-radius: 3px; } .markdown-body code:has(.katex) { background-color: transparent; } .markdown-body code:before, .markdown-body code:after { letter-spacing: -0.2em; content: "\\00a0"; } .markdown-body pre>code { padding: 0; margin: 0; font-size: 100%; word-break: normal; white-space: pre; background: transparent; border: 0; } .markdown-body .highlight { margin-bottom: 16px; } .markdown-body .highlight pre, .markdown-body pre { padding: 16px; overflow: auto; font-size: 85%; line-height: 1.45; background-color: #f7f7f7; border-radius: 3px; } .markdown-body .highlight pre { margin-bottom: 0; word-break: normal; } .markdown-body pre { word-wrap: normal; } .markdown-body pre code { display: inline; max-width: initial; padding: 0; margin: 0; overflow: initial; line-height: inherit; word-wrap: normal; background-color: transparent; border: 0; } .markdown-body pre code:before, .markdown-body pre code:after { content: normal; } .markdown-body kbd { display: inline-block; padding: 3px 5px; font-size: 11px; line-height: 10px; color: #555; vertical-align: middle; background-color: #fcfcfc; border: solid 1px #ccc; border-bottom-color: #bbb; border-radius: 3px; box-shadow: inset 0 -1px 0 #bbb; } .markdown-body .pl-c { color: #969896; } .markdown-body .pl-c1, .markdown-body .pl-mdh, .markdown-body .pl-mm, .markdown-body .pl-mp, .markdown-body .pl-mr, .markdown-body .pl-s1 .pl-v, .markdown-body .pl-s3, .markdown-body .pl-sc, .markdown-body .pl-sv { color: #0086b3; } .markdown-body .pl-e, .markdown-body .pl-en { color: #795da3; } .markdown-body .pl-s1 .pl-s2, .markdown-body .pl-smi, .markdown-body .pl-smp, .markdown-body .pl-stj, .markdown-body .pl-vo, .markdown-body .pl-vpf { color: #333; } .markdown-body .pl-ent { color: #63a35c; } .markdown-body .pl-k, .markdown-body .pl-s, .markdown-body .pl-st { color: #a71d5d; } .markdown-body .pl-pds, .markdown-body .pl-s1, .markdown-body .pl-s1 .pl-pse .pl-s2, .markdown-body .pl-sr, .markdown-body .pl-sr .pl-cce, .markdown-body .pl-sr .pl-sra, .markdown-body .pl-sr .pl-sre, .markdown-body .pl-src { color: #df5000; } .markdown-body .pl-mo, .markdown-body .pl-v { color: #1d3e81; } .markdown-body .pl-id { color: #b52a1d; } .markdown-body .pl-ii { background-color: #b52a1d; color: #f8f8f8; } .markdown-body .pl-sr .pl-cce { color: #63a35c; font-weight: bold; } .markdown-body .pl-ml { color: #693a17; } .markdown-body .pl-mh, .markdown-body .pl-mh .pl-en, .markdown-body .pl-ms { color: #1d3e81; font-weight: bold; } .markdown-body .pl-mq { color: #008080; } .markdown-body .pl-mi { color: #333; font-style: italic; } .markdown-body .pl-mb { color: #333; font-weight: bold; } .markdown-body .pl-md, .markdown-body .pl-mdhf { background-color: #ffecec; color: #bd2c00; } .markdown-body .pl-mdht, .markdown-body .pl-mi1 { background-color: #eaffea; color: #55a532; } .markdown-body .pl-mdr { color: #795da3; font-weight: bold; } .markdown-body kbd { display: inline-block; padding: 3px 5px; font: 11px Consolas, "Liberation Mono", Menlo, Courier, monospace; line-height: 10px; color: #555; vertical-align: middle; background-color: #fcfcfc; border: solid 1px #ccc; border-bottom-color: #bbb; border-radius: 3px; box-shadow: inset 0 -1px 0 #bbb; } .markdown-body .task-list-item { list-style-type: none; } .markdown-body .task-list-item+.task-list-item { margin-top: 3px; } .markdown-body .task-list-item input { float: left; margin: 0.3em 0 0.25em -1.6em; vertical-align: middle; } .markdown-body :checked+.radio-label { z-index: 1; position: relative; border-color: #4183c4; } /*! Pretty printing styles. Used with prettify.js. */ /* SPAN elements with the classes below are added by prettyprint. */ .pln { color: #000 } /* plain text */ @media screen { .str { color: #080 } /* string content */ .kwd { color: #008 } /* a keyword */ .com { color: #800 } /* a comment */ .typ { color: #606 } /* a type name */ .lit { color: #066 } /* a literal value */ /* punctuation, lisp open bracket, lisp close bracket */ .pun, .opn, .clo { color: #660 } .tag { color: #008 } /* a markup tag name */ .atn { color: #606 } /* a markup attribute name */ .atv { color: #080 } /* a markup attribute value */ .dec, .var { color: #606 } /* a declaration; a variable name */ .fun { color: red } /* a function name */ } /* Use higher contrast and text-weight for printable form. */ @media print, projection { .str { color: #060 } .kwd { color: #006; font-weight: bold } .com { color: #600; font-style: italic } .typ { color: #404; font-weight: bold } .lit { color: #044 } .pun, .opn, .clo { color: #440 } .tag { color: #006; font-weight: bold } .atn { color: #404 } .atv { color: #060 } } /* Put a border around prettyprinted code snippets. */ pre.prettyprint { padding: 2px; /* border: 1px solid #888 */ } /* Specify class=linenums on a pre to get line numbering */ ol.linenums { margin-top: 0; margin-bottom: 0 } /* IE indents via margin-left */ li.L0, li.L1, li.L2, li.L3, li.L5, li.L6, li.L7, li.L8 { list-style-type: none } /* Alternate shading for lines */ li.L1, li.L3, li.L5, li.L7, li.L9 { background: #eee } .markdown-body p, .markdown-body blockquote, .markdown-body ul, .markdown-body ol, .markdown-body dl, .markdown-body table, .markdown-body pre { margin-top: 0; margin-bottom: 16px; }`;return(0,t.useEffect)(()=>{const V=ne.current.attachShadow({mode:"open"});se.current=document.createElement("div"),se.current.className="markdown-body",se.current.innerHTML=ie,V.appendChild(se.current);const K=document.createElement("style");return K.textContent=Q,V.appendChild(K),()=>{V.innerHTML=""}},[]),(0,t.useEffect)(()=>{se.current&&(se.current.innerHTML=ie)},[ie]),p.createElement("div",{ref:ne})},b=Object.defineProperty,x=Object.getOwnPropertySymbols,O=Object.prototype.hasOwnProperty,k=Object.prototype.propertyIsEnumerable,A=(ie,ne,se)=>ne in ie?b(ie,ne,{enumerable:!0,configurable:!0,writable:!0,value:se}):ie[ne]=se,T=(ie,ne)=>{for(var se in ne||(ne={}))O.call(ne,se)&&A(ie,se,ne[se]);if(x)for(var se of x(ne))k.call(ne,se)&&A(ie,se,ne[se]);return ie};const F="@\u2581\u2581@",$="@\u2581@",R=/]*>/g;function H(ie){let ne=document.createElement("div");return ne.innerHTML=ie,ne.childNodes.length===0?"":ne.childNodes[0].nodeValue}const G=(ie,ne)=>{ie=ie||"";const se=/(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?\)|(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,Q=/\"(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,V=/\(\s+(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,K=/(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g;return ne?ie.replaceAll("https://www.educoder.net","").replaceAll("https://www-cdn.educoder.net","").replaceAll("//api/attachments","/api/attachments").replace(se,(ae,ee,q,te,M,L,X)=>{const fe=ee||te||L,xe=q||M||X||"?";return c.Z.API_SERVER+"/api/attachments/"+fe+xe+"&t="+(0,h.Jn)(fe,Date.now())+(ae.indexOf(")")>-1?")":"&")}).replaceAll('src="(','src="').replaceAll("src='(",'src="'):(ie=ie.replace(K,(ae,ee,q,te,M,L,X)=>{const fe=ee||te||L,xe=q||M||X||"?";return c.Z.API_SERVER+"/attachments/download/"+fe+xe+"&t="+(0,h.Jn)(fe,Date.now())+(ae.indexOf(")")>-1?")":"&")}).replace(se,(ae,ee,q,te,M,L,X)=>{const fe=ee||te||L,xe=q||M||X||"?";return c.Z.API_SERVER+"/api/attachments/"+fe+xe+"&t="+(0,h.Jn)(fe,Date.now())+(ae.indexOf(")")>-1?")":"&")}).replace(Q,(ae,ee,q,te,M)=>{const L=ee||te,X=q||M||"";return'"'+c.Z.API_SERVER+"/api/attachments/"+L+X+L+X+"&t="+(0,h.Jn)(L,Date.now())}).replace(V,(ae,ee,q,te,M)=>{const L=ee||te,X=q||M||"";return"("+c.Z.API_SERVER+"/files/uploads/"+L+X+L+X+"&t="+(0,h.Jn)(L,Date.now())}).replaceAll('src="(','src="').replaceAll("src='(",'src="').replaceAll("http://video.educoder","https://video.educoder").replaceAll("http://www.educoder.net/api","https://data.educoder.net/api").replaceAll("https://www.educoder.net/api","https://data.educoder.net/api").replace(/\r\n/g,` `),ie)};var Z=({value:ie="",className:ne,showTextOnly:se,showLines:Q,style:V={},stylesPrev:K={},highlightKeywords:ae,showProgramFill:ee,isProgramFill:q,disabledFill:te=!1,programFillValue:M,onFillChange:L=xe=>{},onFillBlur:X=()=>{},onFillFocus:fe=()=>{}})=>{let xe=String(ie);const[Ce,Le]=(0,t.useState)(""),[Oe,Ft]=(0,t.useState)("office"),[ht,At]=(0,t.useState)([]),tr=(0,t.useRef)("a"+(0,i.Z)()),Jt={},cr=($e,Ze,nt)=>{const ut=document.createElement($e===$?"input":"textarea");ut.style.width="100%",ut.style.height=$e===$?"40px":"151px",ut.rows=5,ut.spellcheck=!1,ut.name="edu-program-fill",ut.placeholder="\u8BF7\u8F93\u5165",ut.dataset.id=Ze;const Gt=Object.keys(Jt).length;return Jt[Gt]=ut,`${ut.outerHTML}`};function Qe($e){return $e=$e.replace(/!\[.*?\]\(.*?\)/g,""),$e=$e.replace(/\[.*?\]\(.*?\)/g,""),$e=$e.replace(new RegExp("","gs"),""),$e=$e.replace(//g,""),$e=$e.replace(//g,""),$e=$e.replace(new RegExp(".*?<\\/video>","gs"),""),$e=$e.replace(new RegExp(".*?<\\/audio>","gs"),""),$e=$e.replace(new RegExp(".*?<\\/style>","gs"),""),$e=$e.replace(new RegExp(".*?<\\/script>","gs"),""),$e}const Pt=$e=>$e.replace(/([\s\S]+?)<\/style>/gim,function(Ze,nt){let ut=nt.replace(/(\n|\r)/g,"").split("}"),Gt=[];return ut.map(Zt=>{Zt!=""&&Gt.push(`.${tr.current} ${Zt}`)}),``}),zt=(0,t.useMemo)(()=>{try{const ut=/\(\s+\/api\/attachments\/|\(\/api\/attachments\//g,Gt=/\"\/api\/attachments\/|\"\/attachments\/download\//g,Zt=/\(\s+\/files\/uploads\/|\"\/files\/uploads\//g,Pe=/\(\/attachments\/download\//g;xe=xe.replace(Pe,"("+c.Z.API_SERVER+"/attachments/download/").replace(ut,"("+c.Z.API_SERVER+"/api/attachments/").replace(Gt,'"'+c.Z.API_SERVER+"/api/attachments/").replace(Zt,'"'+c.Z.API_SERVER+"/files/uploads/").replaceAll("http://video.educoder","https://video.educoder").replaceAll("http://www.educoder.net/api","https://data.educoder.net/api").replaceAll("https://www.educoder.net/api","https://data.educoder.net/api").replace(/\r\n/g,` `)}catch(ut){}if(ee){let ut=-1;return xe=xe.replaceAll("<","<").replaceAll(">",">").replace(/(@▁▁@|@▁@)/g,function(Gt,Zt,Pe){var Je;return++ut,cr(Gt,ut,(Je=M==null?void 0:M[ut])==null?void 0:Je.value.replaceAll("<","<").replaceAll(">",">"))}),`
${Pt(xe||"")}
`}let $e=Pt(xe);$e=(0,s.ZP)($e);const Ze=(0,s.ez)();xe.match(/\[TOC\]/)&&($e=$e.replace("

[TOC]

",(0,s.Qv)()),(0,s.Iy)()),$e=$e.replace(/(__special_katext_id_\d+__)/g,(ut,Gt)=>{const{type:Zt,expression:Pe}=Ze[Gt];return(0,o.renderToString)(H(Pe)||"",{displayMode:Zt==="block",throwOnError:!1,output:"html"})}),$e=$e.replace(/▁/g,"\u2581\u2581\u2581\u2581\u2581"),(0,s.AL)();const nt=document.createElement("div");if(nt.innerHTML=$e,se)return nt.innerText;if(ae){const ut=ae.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return et(nt,ut),nt.innerHTML}return setTimeout(()=>Ee(),500),nt.innerHTML},[xe,ae]);(0,t.useEffect)(()=>{Ne.current&&Ne.current.querySelectorAll(["input","textarea"]).forEach(Ze=>{Ze.oninput=it,Ze.onblur=Ot,Ze.onfocus=pt})},[ht]),(0,t.useEffect)(()=>{var $e,Ze,nt,ut,Gt;if(M!=null&&M.length)try{const Zt=Ne.current.querySelectorAll(".edu-program-fill-score"),Pe=Ne.current.querySelectorAll('[name="edu-program-fill"]');for(const[Je,Vt]of Pe.entries())Vt.value=(($e=M==null?void 0:M[Je])==null?void 0:$e.value)||"",((Ze=M==null?void 0:M[Je])==null?void 0:Ze.type)==="warning"?Vt.className="program-fill-warning":((nt=M==null?void 0:M[Je])==null?void 0:nt.type)==="success"?Vt.className="program-fill-success":Vt.className="";for(const[Je,Vt]of Zt.entries())Vt.innerHTML=(ut=M==null?void 0:M[Je])!=null&&ut.score?`${(Gt=M==null?void 0:M[Je])==null?void 0:Gt.score}\u5206`:"";At(M)}catch(Zt){console.log(Zt,"error")}},[M]);const it=$e=>{ht[$e.target.dataset.id]=ht[$e.target.dataset.id]||{},ht[$e.target.dataset.id].value=$e.target.value,At([...ht]),L(ht,$e.target.dataset.id)},Ot=$e=>{ht[$e.target.dataset.id]=ht[$e.target.dataset.id]||{},ht[$e.target.dataset.id].value=$e.target.value,At([...ht]),X(ht,$e.target.dataset.id)},pt=$e=>{ht[$e.target.dataset.id]=ht[$e.target.dataset.id]||{},ht[$e.target.dataset.id].value=$e.target.value,At([...ht]),fe(ht,$e.target.dataset.id)};function et($e,Ze){return $e.childNodes.forEach(nt=>{var ut;if(nt.childNodes.length>0)et(nt,Ze);else if(nt.nodeName!=="IMG")if(nt.innerHTML)nt.innerHTML=(ut=nt.innerHTML)==null?void 0:ut.replace(new RegExp(Ze,"gi"),'$&');else{const Gt=document.createElement("span");Gt.innerHTML=nt.textContent.replace(new RegExp(Ze,"gi"),'$&'),nt.replaceWith(Gt)}})}const Ne=(0,t.useRef)();s.jb.WebkitLineClamp=Q,Q&&(V=T(T({},V),s.jb));function me($e){let Ze=$e.target;if(Ze.tagName.toUpperCase()==="A"){let nt=Ze.getAttribute("href");if(nt.indexOf("office")>-1)$e.preventDefault(),Le(nt),Ft("office");else if(nt.indexOf("application/pdf")>-1)$e.preventDefault(),Le(nt),Ft("pdf");else if(nt.indexOf("text/html")>-1)$e.preventDefault(),Le(nt),Ft("html");else if(nt.startsWith("#")){$e.preventDefault();let ut=document.getElementById(nt.replace("#",""));ut&&ut.scrollIntoView(!0)}}}const Ee=()=>{var $e;const Ze=($e=Ne.current)==null?void 0:$e.querySelectorAll("video");Ze==null||Ze.forEach(nt=>{if(nt.oncontextmenu=()=>!1,nt.src.indexOf(".m3u8")>-1&&!nt.canPlayType("application/vnd.apple.mpegurl")){if(f.ZP.isSupported()){var ut=new f.ZP;ut.loadSource(nt.src),ut.attachMedia(nt)}}})};(0,t.useEffect)(()=>{if(Ne.current&&zt&&zt.match(R)&&window.PR.prettyPrint(),Ne.current)return Ne.current.addEventListener("click",me),()=>{var $e;($e=Ne.current)==null||$e.removeEventListener("click",me),(0,s.AL)(),(0,s.Iy)()}},[zt,Ne.current,me]),(0,t.useEffect)(()=>{var $e;const Ze=nt=>{nt.preventDefault(),nt.clipboardData.setData("text",window.getSelection().toString())};return($e=Ne.current)==null||$e.addEventListener("copy",Ze),()=>{var nt;(nt=Ne.current)==null||nt.removeEventListener("copy",Ze)}},[Ne.current]);const Re=$e=>//i.test($e||"");return t.createElement(t.Fragment,null,se&&t.createElement("div",{ref:Ne},zt),!se&&!Re(zt)&&t.createElement("div",{ref:Ne,style:T({},V),className:`${ne||""} ${te?"disabled-fill":""} markdown-body ${tr.current}`,dangerouslySetInnerHTML:{__html:zt}}),!se&&Re(zt)&&t.createElement(l,{html:zt}),t.createElement(y.Z,{close:!0,data:Ce,type:Ce!=null&&Ce.length?Oe:"",style:T({},K),onClose:()=>Le("")}))}},23954:function(d,v,e){"use strict";e.d(v,{SV:function(){return Ne},ZP:function(){return et}});var t=e(59301),n=e(76374);const s={keywords:["print","auto","break","case","char","const","continue","default","do","double","else","enum","extern","float","for","goto","if","int","long","register","return","short","signed","sizeof","static","struct","switch","typedef","union","unsigned","void","volatile","while"]},u={quickKey:[{label:"main",content:["public static void main(String[] args) {"," $0","}"].join(` `)},{label:"System.out.println",content:["System.out.println($0)"].join(` `)},{label:"System.out.print",content:["System.out.print($0)"].join(` `)}],keywords:["abstract","continue","for","new","switch","assert","default","goto","package","synchronized","boolean","do","if","private","this","break","double","implements","protected","throw","byte","else","import","public","throws","case","enum","instanceof","return","transient","catch","extends","int","short","try","char","final","interface","static","void","class","finally","long","strictfp","volatile","const","float","native","super","while","true","false"]},f={keywords:["abstract","amp","array","auto","bool","break","case","catch","char","class","const","constexpr","const_cast","continue","cpu","decltype","default","delegate","delete","do","double","dynamic_cast","each","else","enum","event","explicit","export","extern","false","final","finally","float","friend","gcnew","generic","goto","in","initonly","inline","int","interface","interior_ptr","internal","literal","long","mutable","namespace","new","noexcept","nullptr","__nullptr","operator","override","partial","pascal","pin_ptr","private","property","protected","public","ref","register","reinterpret_cast","restrict","return","safe_cast","sealed","short","signed","sizeof","static","static_assert","static_cast","struct","switch","template","this","thread_local","throw","tile_static","true","try","typedef","typeid","typename","union","unsigned","using","virtual","void","volatile","wchar_t","where","while","_asm","_based","_cdecl","_declspec","_fastcall","_if_exists","_if_not_exists","_inline","_multiple_inheritance","_pascal","_single_inheritance","_stdcall","_virtual_inheritance","_w64","__abstract","__alignof","__asm","__assume","__based","__box","__builtin_alignof","__cdecl","__clrcall","__declspec","__delegate","__event","__except","__fastcall","__finally","__forceinline","__gc","__hook","__identifier","__if_exists","__if_not_exists","__inline","__int128","__int16","__int32","__int64","__int8","__interface","__leave","__m128","__m128d","__m128i","__m256","__m256d","__m256i","__m64","__multiple_inheritance","__newslot","__nogc","__noop","__nounwind","__novtordisp","__pascal","__pin","__pragma","__property","__ptr32","__ptr64","__raise","__restrict","__resume","__sealed","__single_inheritance","__stdcall","__super","__thiscall","__try","__try_cast","__typeof","__unaligned","__unhook","__uuidof","__value","__virtual_inheritance","__w64","__wchar_t"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],quickKey:[{label:"ifelse",content:["if (${1:condition}) {"," $0","} else {"," ","}"].join(` `)},{label:"include",content:"include<$0>"},{label:"printf",content:"printf($0)"},{label:"system",content:'system("$0")'},{label:"main",content:["int main () {"," $0","}"].join(` `)},{label:"if",content:["if () {"," $0","}"].join(` `)},{label:"for",content:["for(int j=0 ; j<10; j++){"," $0","}"].join(` `)},{label:"trycatch",content:["try{"," $0","}catch(ExceptionName e){","}"].join(` `)},{label:"using namespace std;",content:["using namespace std;"].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)}]},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(53184),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,Re)=>Ee in me?y(me,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Re}):me[Ee]=Re,k=(me,Ee)=>{for(var Re in Ee||(Ee={}))b.call(Ee,Re)&&O(me,Re,Ee[Re]);if(l)for(var Re of l(Ee))x.call(Ee,Re)&&O(me,Re,Ee[Re]);return me},A=(me,Ee)=>p(me,g(Ee)),T=(me,Ee,Re)=>new Promise(($e,Ze)=>{var nt=Zt=>{try{Gt(Re.next(Zt))}catch(Pe){Ze(Pe)}},ut=Zt=>{try{Gt(Re.throw(Zt))}catch(Pe){Ze(Pe)}},Gt=Zt=>Zt.done?$e(Zt.value):Promise.resolve(Zt.value).then(nt,ut);Gt((Re=Re.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(Re=>({label:Re,kind:me.languages.CompletionItemKind.Keyword,insertText:Re})),R=me=>Object.keys(F.tables).map(Ee=>({label:Ee,kind:me.languages.CompletionItemKind.Variable,insertText:Ee})),H=(me,Ee)=>{const Re=F.tables[me];return Re?Re.map($e=>({label:$e,kind:Ee.languages.CompletionItemKind.Field,insertText:$e})):[]};function G(me,Ee,Re,$e,Ze){let nt=Ee.getWordUntilPosition(Re),ut={startLineNumber:Re.lineNumber,endLineNumber:Re.lineNumber,startColumn:nt.startColumn,endColumn:nt.endColumn},Gt=$e.map(Zt=>({label:Zt,kind:me.languages.CompletionItemKind.Keyword,insertText:Zt,insertTextRules:me.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ut}));return Ze.map(Zt=>{Gt.push(A(k({},Zt),{range:ut}))}),Gt}var Z=me=>{F.languages.map(Ze=>(me.languages.registerDocumentFormattingEditProvider(Ze,{provideDocumentFormattingEdits(nt,ut,Gt){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})),Re=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),Gt={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:Gt})),...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:Gt}))]}}}),me.languages.registerCompletionItemProvider("c",{provideCompletionItems:function(Ze,nt){var ut=Ze.getWordUntilPosition(nt),Gt={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:Gt}))]}}}),me.languages.registerCompletionItemProvider("java",{provideCompletionItems:function(Ze,nt){var ut=Ze.getWordUntilPosition(nt),Gt={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:Gt})),...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:Gt}))]}}}),me.languages.registerCompletionItemProvider("scala",{provideCompletionItems:function(Ze,nt){var ut=Ze.getWordUntilPosition(nt),Gt={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:Gt})),...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:Gt}))]}}}),me.languages.registerCompletionItemProvider("python",{provideCompletionItems:function(Ze,nt){var ut=Ze.getWordUntilPosition(nt),Gt={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:Gt})),...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:Gt}))]}}})};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,Re)=>Ee in me?ne(me,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Re}):me[Ee]=Re,Q=(me,Ee,Re)=>se(me,typeof Ee!="symbol"?Ee+"":Ee,Re);const V=class ed{constructor(Ee,Re,$e){this.placeholder=Ee,this.editor=Re,this.monaco=$e,Re.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(V,"ID","editor.widget.placeholderHint");var ae=V,ee=e(96236),q=e(8591),te=e(6848),M=e(89392),L=e(34604),X=e(56102),fe=Object.defineProperty,xe=Object.defineProperties,Ce=Object.getOwnPropertyDescriptors,Le=Object.getOwnPropertySymbols,Oe=Object.prototype.hasOwnProperty,Ft=Object.prototype.propertyIsEnumerable,ht=(me,Ee,Re)=>Ee in me?fe(me,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Re}):me[Ee]=Re,At=(me,Ee)=>{for(var Re in Ee||(Ee={}))Oe.call(Ee,Re)&&ht(me,Re,Ee[Re]);if(Le)for(var Re of Le(Ee))Ft.call(Ee,Re)&&ht(me,Re,Ee[Re]);return me},tr=(me,Ee)=>xe(me,Ce(Ee)),Jt=(me,Ee)=>{var Re={};for(var $e in me)Oe.call(me,$e)&&Ee.indexOf($e)<0&&(Re[$e]=me[$e]);if(me!=null&&Le)for(var $e of Le(me))Ee.indexOf($e)<0&&Ft.call(me,$e)&&(Re[$e]=me[$e]);return Re},cr=(me,Ee,Re)=>new Promise(($e,Ze)=>{var nt=Zt=>{try{Gt(Re.next(Zt))}catch(Pe){Ze(Pe)}},ut=Zt=>{try{Gt(Re.throw(Zt))}catch(Pe){Ze(Pe)}},Gt=Zt=>Zt.done?$e(Zt.value):Promise.resolve(Zt.value).then(nt,ut);Gt((Re=Re.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 Re=0;Re{var Ee=me,{width:Re="100%",height:$e="100%",value:Ze,language:nt="javascript",style:ut={},options:Gt={},overrideServices:Zt={},theme:Pe="vs-dark",onEditBlur:Je,isCopy:Vt=!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=Jt(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)(),qr=(0,t.useRef)(!1),[Er,jr]=(0,t.useState)(!1);function hr(){let gr;return ge.current&&(gr=new n.Z(Xr=>{for(let dn of Xr)(dn.target.offsetHeight>0||dn.target.offsetWidth>0)&&Ke.current.instance.layout()}),gr.observe(ge.current)),gr}function Zr(){q.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 dn;let Mn=Ke.current.instance;(dn=Mn==null?void 0:Mn.getAction)==null||dn.call(Mn,"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(dn){var Mn=document.createElement("div");Mn.style.padding="10px 20px",Mn.style.width="calc(100% - 20px)",Mn.className="my-error-line-wrp",Mn.innerHTML=dt,dn.addZone({afterLineNumber:Te||11,heightInLines:3,domNode:Mn})});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 Mn=Ke.current.instance.getModel().getLineTokens(Xr);let ei=!1;for(let ni=0;ni<2;ni++)Mn.getStandardTokenType(ni)===1&&(ei=!0);return ei};(0,t.useEffect)(()=>{var gr;const Xr=(gr=Ke.current)==null?void 0:gr.instance;if(Xr&&Er&&Bt){const dn=Xr.onDidBlurEditorWidget(()=>{qr.current=!1}),Mn=Xr.onDidFocusEditorText(()=>{qr.current=!0});return()=>{dn.dispose(),Mn.dispose()}}},[Ke.current,Er,Bt]),(0,t.useEffect)(()=>{var gr;if((gr=Ke.current)!=null&&gr.instance&&Er&&ct){let Xr=Ke.current.instance,dn=Xr.getModel();if(!dn)return;(()=>{var wt;let st=[],qn=[];const bi=dn.getAllDecorations();for(let Ki of bi)Ki.options.className==="highlighted-line"&&(st.push((wt=Ki==null?void 0:Ki.range)==null?void 0:wt.startLineNumber),qn.push(Ki==null?void 0:Ki.id));if(Ht===st[0])return;dn.deltaDecorations(qn,[]);const ti=dn.getLineCount();Ht&&Ht<=ti&&(Xr.deltaDecorations([],[{range:new pt.Range(Ht,1,Ht,dn.getLineMaxColumn(Ht)),options:{isWholeLine:!0,className:"highlighted-line"}}]),Xr.revealLineInCenter(Ht))})();const ei=(wt=!1)=>{var st;let qn=[],bi=[];const ti=dn.getAllDecorations();for(let Ki of ti)Ki.options.linesDecorationsClassName==="breakpoints-select"&&(qn.push((st=Ki==null?void 0:Ki.range)==null?void 0:st.startLineNumber),bi.push(Ki==null?void 0:Ki.id));if(wt)return{lines:qn,ids:bi};ue(qn)},ni=wt=>cr(void 0,null,function*(){let st={range:new pt.Range(wt,1,wt,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield dn.deltaDecorations([],[st]),ei()}),Gi=wt=>cr(void 0,null,function*(){let st=[];const qn=Xr.getLineDecorations(wt);for(let bi of qn)bi.options.linesDecorationsClassName==="breakpoints-select"&&st.push(bi.id);yield dn.deltaDecorations(st,[]),ei()}),Mi=wt=>{let st=Xr.getLineDecorations(wt);for(let qn of st)if(qn.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,M.isEqual)(le,ei(!0).lines)){dn.deltaDecorations(ei(!0).ids,[]);const wt=le.map(st=>({range:new pt.Range(st,1,st,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));dn.deltaDecorations([],wt)}const Ti=Xr.onDidChangeModelContent(wt=>{let st=Xr.getPosition();if(st){let qn=st.lineNumber;clearTimeout(Vr.current),Vr.current=setTimeout(()=>{ln(dn.getLineContent(qn),qn)?Gi(qn):Mi(qn)?(Gi(qn),ni(qn)):ei()},100)}}),mi=Xr.onMouseDown(wt=>{var st,qn,bi;if(wt.target.detail&&((bi=(qn=(st=wt.target)==null?void 0:st.element)==null?void 0:qn.className)!=null&&bi.includes("line-numbers"))){let ti=wt.target.position.lineNumber;if(ln(dn.getLineContent(ti),ti))return;Mi(ti)?Gi(ti):ni(ti)}}),vi=wt=>{let st={range:new pt.Range(wt,1,wt,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};Fe.current=Xr.deltaDecorations(Fe.current,[st])},aa=()=>{Fe.current=Xr.deltaDecorations(Fe.current,[])},ii=Xr.onMouseMove(wt=>{var st,qn,bi;if(aa(),wt.target.detail&&((bi=(qn=(st=wt.target)==null?void 0:st.element)==null?void 0:qn.className)!=null&&bi.includes("line-numbers"))){let ti=wt.target.position.lineNumber;if(ln(dn.getLineContent(ti),ti))return;vi(ti)}}),Wi=Xr.onMouseLeave(()=>{aa()});return()=>{Ti.dispose(),mi.dispose(),ii.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 or(){let gr=Ke.current.instance;if(gr){const Xr=gr.getSelection(),dn=Ke.current.pastePos||{},Mn=new pt.Range(dn.startLineNumber||Xr.endLineNumber,dn.startColumn||Xr.endColumn,dn.endLineNumber||Xr.endLineNumber,dn.endColumn||Xr.endColumn);setTimeout(()=>{gr.executeEdits("",[{range:Mn,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();gn(gr<$e?$e:gr)}else gn($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(!qr.current)return;const{keyCode:Xr,ctrlKey:dn,metaKey:Mn,target:ei,type:ni}=gr;return(ni==="paste"||(Xr===67||Xr===86)&&(Mn||dn))&&ei.nodeName==="TEXTAREA"&&(Zr(),gr.preventDefault()),!1};function Cr(gr,Xr){var dn=window.URL||window.webkitURL||window,Mn=new Blob([Xr]),ei=document.createElementNS("http://www.w3.org/1999/xhtml","a");ei.href=dn.createObjectURL(Mn),ei.download=gr,bt(ei)}(0,t.useEffect)(()=>{gt()},[gt]),(0,t.useEffect)(()=>{ge.current&&!Er&&Promise.all([e.e(8909),e.e(3267)]).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 ei=[...ee.BH._menuItems].find(Ti=>Ti[0]._debugName=="EditorContext")[1],ni=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],Gi=(Ti,mi)=>{var vi,aa;let ii=Ti._first;do mi.includes((aa=(vi=ii.element)==null?void 0:vi.command)==null?void 0:aa.id)&&Ti._remove(ii);while(ii=ii.next)};if(Yt(Xr,pt),setTimeout(()=>{gt(),Ke.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{Cr(Dt||"educoder.txt",Xr.getValue())}})},500),Ke.current.subscription=Xr.onDidChangeModelContent(Ti=>{Dr.current?clearTimeout(St.current):(gt(),Ct(Xr.getValue(),Ti)),St.current=setTimeout(()=>{Dr.current=!1},500)}),window.Monaco||Z(pt,Ot(nt)),Bt&&(Gi(ei,ni),ge.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",jt),window.removeEventListener("paste",jt),window.addEventListener("keydown",jt),window.addEventListener("paste",jt)),window.Monaco=pt,Je&&Xr.onDidBlurEditorWidget(()=>{Je(Xr.getValue())}),ze&&Xr.onDidFocusEditorText(()=>{ze(Xr.getValue())}),Bt)try{Xr.onDidPaste(Ti=>{const mi=Xr.getSelection(),vi=Ke.current.pastePos||{},aa=new pt.Range(vi.startLineNumber||mi.endLineNumber,vi.startColumn||mi.endColumn,vi.endLineNumber||mi.endLineNumber,vi.endColumn||mi.endColumn);Xr.executeEdits("",[{range:Ti.range,text:""}])})}catch(Ti){}let Mi=hr();return Ie&&typeof Ie=="string"&&new ae(Ie,Xr,pt),jr(!0),()=>{const Ti=Ke.current.instance;Ti.dispose();const mi=Ti.getModel();mi&&mi.dispose(),Ke.current.subscription&&Ke.current.subscription.dispose(),Mi.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=Gt,gr&&Er&&(gr.updateOptions(At({},Gt)),setTimeout(()=>{gr.getModel().updateOptions(At({},Gt))},200))},[JSON.stringify(Gt),Er]),(0,t.useEffect)(()=>{let gr=Ke.current.instance;gr&&Er&&gr.layout()},[Re,$e,Er]);const[br,at]=(0,t.useState)(Qe(Re)),[Fr,gn]=(0,t.useState)(Qe($e)),Wn=tr(At({},ut),{width:br,height:Fr,position:"relative"});return t.createElement("div",{className:"my-monaco-editor",ref:ge,style:Wn},Vt&&t.createElement(X.CopyToClipboard,{text:Ze,onCopy:()=>q.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:Re,modified:$e,language:Ze,options:nt={}}){const ut=(0,t.useRef)(),[Gt,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)(()=>{Gt&&Gt.setModel({original:pt.editor.createModel(Re,Ze),modified:pt.editor.createModel($e,Ze)})},[Re,$e,Ze,Gt]);const Je=Qe(me),Vt=Qe(Ee),Rt={width:Je,height:Vt};return t.createElement("div",{className:"my-diff-editor",ref:ut,style:Rt})}},52743:function(d,v,e){"use strict";e.d(v,{k:function(){return b}});var t=e(38650),n=e(8591),s=e(99309),u=Object.defineProperty,f=Object.defineProperties,c=Object.getOwnPropertyDescriptors,h=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable,y=(O,k,A)=>k in O?u(O,k,{enumerable:!0,configurable:!0,writable:!0,value:A}):O[k]=A,p=(O,k)=>{for(var A in k||(k={}))o.call(k,A)&&y(O,A,k[A]);if(h)for(var A of h(k))i.call(k,A)&&y(O,A,k[A]);return O},g=(O,k)=>f(O,c(k)),l=(O,k)=>{var A={};for(var T in O)o.call(O,T)&&k.indexOf(T)<0&&(A[T]=O[T]);if(O!=null&&h)for(var T of h(O))k.indexOf(T)<0&&i.call(O,T)&&(A[T]=O[T]);return A};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:A}){yield A({type:"save",payload:{actionTabs:p({},O)}})},*getMajorList({payload:O},{call:k,put:A,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 A({type:"setMajorOrYearDataSource",payload:{key:b[0],value:$.data.map(H=>({label:H.name,value:H.ec_major_school_id})),active:$.data.length>0?R[0]||$.data[0].ec_major_school_id:void 0}})}}},*getYearList({payload:O},{call:k,put:A,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 A({type:"setMajorOrYearDataSource",payload:{key:b[1],value:F.data.map(H=>({label:H.year,value:H.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:A,select:T}){const{calc:F,page:$,per_page:R}=O,{headerData:H,tabListData:G}=yield T(ne=>ne.engineeringEvaluteList),{userInfo:Z}=yield T(ne=>ne.user);let ie=H.active[b[1]];if(ie){let ne={id:ie,page:$||1,per_page:R||G.pageSize};F&&(ne=g(p({},ne),{page:G.pageNo}));const se=yield k(t._y,ne),Q=[H.active[b[0]],H.active[b[1]]];s.U.setItem(Z==null?void 0:Z.login,Q),se&&se.ec_courses&&(yield A({type:"setCourseResults",payload:g(p({},G),{pageNo:ne.page,total:se.count,pageSize:ne.per_page||G.pageSize,dataSource:se.ec_courses.map((V,K)=>g(p({},V),{key:ne.page>1?(ne.page-1)*ne.per_page+K+1:K+1}))})}))}else yield A({type:"setCourseResults",payload:g(p({},G),{pageNo:1,total:0,dataSource:[]})})},*exportCourse({payload:O},{call:k,select:A}){const{headerData:T}=yield A(F=>F.engineeringEvaluteList);T.active[b[1]]&&(yield k(t.F,T.active[b[1]]))},*compute({payload:O},{call:k,put:A}){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 A({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 A=O.headerData.active;return k.active&&(A=g(p({},A),{[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:A})})},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:A})=>{A==="/"&&O({type:"query"})})}}};v.Z=x},26422: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:A,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"},A),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(H=>H.questions_count>0).map((H,G)=>c(c({},H),{number:o[G+1]}));return{all_questions_count:p,all_score:g,questionList:R}}},99309:function(d,v,e){"use strict";e.d(v,{U:function(){return u},t:function(){return s}});var t=e(43418),n=e(24065);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)}}},35390: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 A}});var t=e(99064),n=(R,H,G)=>new Promise((Z,ie)=>{var ne=V=>{try{Q(G.next(V))}catch(K){ie(K)}},se=V=>{try{Q(G.throw(V))}catch(K){ie(K)}},Q=V=>V.done?Z(V.value):Promise.resolve(V.value).then(ne,se);Q((G=G.apply(R,H)).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 A(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,H){return n(this,null,function*(){return(0,t.ZP)(`/api/users/${R.login}/videos/${R.id}/create_subject_video.json`,{method:"post",body:H})})}},13112: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(99064),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 A=$=>{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(A,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)})})}},19381: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(99064),n=Object.defineProperty,s=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,c=(A,T,F)=>T in A?n(A,T,{enumerable:!0,configurable:!0,writable:!0,value:F}):A[T]=F,h=(A,T)=>{for(var F in T||(T={}))u.call(T,F)&&c(A,F,T[F]);if(s)for(var F of s(T))f.call(T,F)&&c(A,F,T[F]);return A},o=(A,T,F)=>new Promise(($,R)=>{var H=ie=>{try{Z(F.next(ie))}catch(ne){R(ne)}},G=ie=>{try{Z(F.throw(ie))}catch(ne){R(ne)}},Z=ie=>ie.done?$(ie.value):Promise.resolve(ie.value).then(H,G);Z((F=F.apply(A,T)).next())});function i(A){return o(this,null,function*(){return(0,t.ZP)("/api/files/public_with_course_and_project",{method:"get",params:h({},A)})})}function y(A){return o(this,null,function*(){return(0,t.ZP)("/api/files/mine_with_course_and_project.json",{method:"get",params:h({},A)})})}function p(A){return o(this,null,function*(){return(0,t.ZP)("/api/files/import.json",{method:"post",body:h({},A)})})}function g(A){return o(this,null,function*(){return(0,t.ZP)(`/api/files/${A.id}.json`,{method:"get",params:h({},A)})})}function l(A){return o(this,null,function*(){const{id:T}=A;return delete A.id,(0,t.ZP)(`/api/files/${T}.json`,{method:"put",body:h({},A)})})}function b(A){return o(this,null,function*(){return(0,t.ZP)(`/api/files/${A.id}/update_visits.json`,{method:"post"})})}function x(A){return o(this,null,function*(){return(0,t.ZP)(`/api/files/${A==null?void 0:A.id}/watch_list.json`,{method:"get",params:h({},A)})})}function O(A){return o(this,null,function*(){return(0,t.ZP)("/api/files/get_batches_publish_info.json",{method:"get",params:h({},A)})})}function k(A){return o(this,null,function*(){return(0,t.ZP)(`/api/files/${A==null?void 0:A.id}/add_file_quantity.json`,{method:"post",body:h({},A)})})}},10813: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(99064),n=Object.defineProperty,s=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,c=(A,T,F)=>T in A?n(A,T,{enumerable:!0,configurable:!0,writable:!0,value:F}):A[T]=F,h=(A,T)=>{for(var F in T||(T={}))u.call(T,F)&&c(A,F,T[F]);if(s)for(var F of s(T))f.call(T,F)&&c(A,F,T[F]);return A},o=(A,T,F)=>new Promise(($,R)=>{var H=ie=>{try{Z(F.next(ie))}catch(ne){R(ne)}},G=ie=>{try{Z(F.throw(ie))}catch(ne){R(ne)}},Z=ie=>ie.done?$(ie.value):Promise.resolve(ie.value).then(H,G);Z((F=F.apply(A,T)).next())});function i(A){return o(this,null,function*(){return(0,t.ZP)("/api/courses/board_list.json",{method:"get",params:h({},A)})})}function y(A){return o(this,null,function*(){return(0,t.ZP)(`/api/messages/${A.boardId}.json`,{method:"get",params:h({},A)})})}function p(A){return o(this,null,function*(){return(0,t.ZP)(`/api/messages/${A.id}/sticky_top.json`,{method:"put",body:{course_id:A.coursesId}})})}function g(A){return o(this,null,function*(){return(0,t.ZP)(`/api/messages/${A.id}/sticky_top.json`,{method:"put",body:{course_id:A.coursesId}})})}function l(A){return o(this,null,function*(){return(0,t.ZP)(`/api/messages/${A.boardId}/reply_list.json`,{method:"get",params:h({},A)})})}function b(A){return o(this,null,function*(){return(0,t.ZP)(`/api/messages/${A.boardId}/reply.json`,{method:"post",body:h({},A)})})}function x(A){return o(this,null,function*(){return(0,t.ZP)("/api/praise_tread/like.json",{method:"post",body:h({},A)})})}function O(A){return o(this,null,function*(){return(0,t.ZP)("/api/praise_tread/unlike.json",{method:"delete",body:h({},A)})})}function k(A){return o(this,null,function*(){return(0,t.ZP)("/api/commons/delete.json",{method:"delete",body:h({},A)})})}},92365:function(d,v,e){"use strict";e.d(v,{$T:function(){return br},A:function(){return Bt},Ab:function(){return Mi},Al:function(){return q},BQ:function(){return pt},BR:function(){return ee},Bn:function(){return Re},Cq:function(){return jt},DJ:function(){return Oe},Dd:function(){return l},Ds:function(){return Ne},EO:function(){return Ct},Ed:function(){return Ft},F9:function(){return nt},FU:function(){return Gt},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 G},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 Vt},LH:function(){return T},Lk:function(){return Wi},Ls:function(){return X},MA:function(){return Wn},Mc:function(){return ii},N7:function(){return ae},Nd:function(){return se},Nl:function(){return Dt},Ns:function(){return ln},O3:function(){return Le},Pj:function(){return Pt},QX:function(){return le},QZ:function(){return xe},R2:function(){return K},Rk:function(){return Cr},S9:function(){return Rt},U8:function(){return Lt},UD:function(){return Er},U_:function(){return ie},Uy:function(){return hr},V8:function(){return H},Vw:function(){return L},W0:function(){return Ht},W7:function(){return et},WK:function(){return gr},Wr:function(){return Gi},YR:function(){return ze},Z0:function(){return yt},ZL:function(){return Et},ZT:function(){return Ti},ZX:function(){return dn},Z_:function(){return F},_0:function(){return $},_9:function(){return it},_B:function(){return vi},aP:function(){return ct},aQ:function(){return Ot},aZ:function(){return Pe},al:function(){return Nt},bm:function(){return qr},bz:function(){return $e},c_:function(){return bt},ds:function(){return Vr},fN:function(){return Xr},fr:function(){return Yt},g4:function(){return Jt},gq:function(){return k},hf:function(){return M},i:function(){return kt},i6:function(){return Fr},i7:function(){return Zr},iE:function(){return i},ih:function(){return Mn},kW:function(){return At},km:function(){return or},nP:function(){return p},nQ:function(){return Ze},nX:function(){return Dr},oM:function(){return Ee},oR:function(){return aa},o_:function(){return Ie},pf:function(){return St},pr:function(){return mi},pv:function(){return at},qB:function(){return te},r2:function(){return R},rS:function(){return A},s:function(){return ei},sb:function(){return Je},sm:function(){return g},t1:function(){return Qe},tB:function(){return ni},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 gn},yS:function(){return ue},yV:function(){return V},yd:function(){return Fe},zg:function(){return fe}});var t=e(99064),n=Object.defineProperty,s=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,c=(wt,st,qn)=>st in wt?n(wt,st,{enumerable:!0,configurable:!0,writable:!0,value:qn}):wt[st]=qn,h=(wt,st)=>{for(var qn in st||(st={}))u.call(st,qn)&&c(wt,qn,st[qn]);if(s)for(var qn of s(st))f.call(st,qn)&&c(wt,qn,st[qn]);return wt},o=(wt,st,qn)=>new Promise((bi,ti)=>{var Ki=ai=>{try{Pi(qn.next(ai))}catch(er){ti(er)}},xi=ai=>{try{Pi(qn.throw(ai))}catch(er){ti(er)}},Pi=ai=>ai.done?bi(ai.value):Promise.resolve(ai.value).then(Ki,xi);Pi((qn=qn.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 A(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 H(wt){return o(this,null,function*(){return(0,t.ZP)("/api/courses.json",{method:"Get",params:h({},wt)})})}function G(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 V(wt){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${wt.id}/graduation_topics.json`,{method:"get",params:h({},wt)})})}function K(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 q(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 Le(wt){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${wt.id}/course_videos.json`,{method:"get",params:h({},wt)})})}function Oe(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 Jt(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 Re(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 Gt(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 Je(wt){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${wt.coursesId}/set_public_or_private.json`,{method:"post",body:wt})})}function Vt(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 qr(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 jr(wt){return o(this,null,function*(){return Fetch(`/api/polls/${wt.categoryId}/commit_result.xlsx`,{method:"get",params:h({export:!0},wt)})})}function hr(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 or(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 Cr(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 Fr(wt){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${wt.coursesId}/join_course_group.json`,{method:"POST",body:wt})})}function gn(wt){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${wt.coursesId}/transfer_to_course_group.json`,{method:"post",body:wt})})}function Wn(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 dn(wt){return o(this,null,function*(){return(0,t.ZP)("/api/weapps/course_member_attendances.json",{method:"post",body:h({},wt)})})}function Mn(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 ei(wt){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${wt.coursesId}/mooc_users.json`,{method:"post",body:wt})})}function ni(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 Gi(wt){return o(this,null,function*(){return(0,t.ZP)(`/api/course_second_categories/${wt.id}/move_category.json`,{method:"post",body:wt})})}function Mi(wt){return o(this,null,function*(){return(0,t.ZP)(`/api/boards/${wt.id}/move_category.json`,{method:"post",body:wt})})}function Ti(wt){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${wt.id}/courseware.json`,{method:"get",params:wt})})}function mi(wt,st){return o(this,null,function*(){return(0,t.ZP)(`/api/exercises/${wt}/mark_wrong_topic.json`,{method:"get",params:st})})}function vi(wt,st){return o(this,null,function*(){return(0,t.ZP)(`/api/exercises/${wt}/cancel_wrong_topic.json`,{method:"get",params:st})})}function aa(wt,st){return o(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${wt}/allow_end_group.json`,{method:"get",params:st})})}function ii(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})})}},52721:function(d,v,e){"use strict";e.d(v,{$M:function(){return Jt},$P:function(){return Gt},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 K},R9:function(){return ie},Ux:function(){return ae},Vy:function(){return Le},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 Re},pU:function(){return M},ps:function(){return G},q0:function(){return Ot},qN:function(){return pt},qS:function(){return b},qj:function(){return Ft},qt:function(){return nt},rV:function(){return A},rZ:function(){return Ze},rk:function(){return xe},rm:function(){return V},sK:function(){return Q},sL:function(){return it},su:function(){return Ee},tC:function(){return Ce},tO:function(){return Oe},u9:function(){return q},uZ:function(){return fe},vV:function(){return H},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(99064),n=Object.defineProperty,s=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,c=(Pe,Je,Vt)=>Je in Pe?n(Pe,Je,{enumerable:!0,configurable:!0,writable:!0,value:Vt}):Pe[Je]=Vt,h=(Pe,Je)=>{for(var Vt in Je||(Je={}))u.call(Je,Vt)&&c(Pe,Vt,Je[Vt]);if(s)for(var Vt of s(Je))f.call(Je,Vt)&&c(Pe,Vt,Je[Vt]);return Pe},o=(Pe,Je,Vt)=>new Promise((Rt,Nt)=>{var Bt=ze=>{try{Yt(Vt.next(ze))}catch(ue){Nt(ue)}},Ct=ze=>{try{Yt(Vt.throw(ze))}catch(ue){Nt(ue)}},Yt=ze=>ze.done?Rt(ze.value):Promise.resolve(ze.value).then(Bt,Ct);Yt((Vt=Vt.apply(Pe,Je)).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 A(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 H(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 G(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 V(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 K(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 q(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 Le(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${Pe.userid}/authentication_apply.json`,{method:"delete"})})}function Oe(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 Jt(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 Re(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 Gt(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})})}},70849:function(d,v,e){"use strict";e.d(v,{$7:function(){return g},Bb:function(){return O},Dn:function(){return l},Hs:function(){return b},It:function(){return h},JD:function(){return s},LX:function(){return y},SW:function(){return k},Td:function(){return f},UX:function(){return F},Uk:function(){return T},W9:function(){return c},Xi:function(){return o},Zm:function(){return u},eu:function(){return x},kF:function(){return i},lG:function(){return $},o5:function(){return p},t2:function(){return R},xx:function(){return A}});var t=e(99064),n=(H,G,Z)=>new Promise((ie,ne)=>{var se=K=>{try{V(Z.next(K))}catch(ae){ne(ae)}},Q=K=>{try{V(Z.throw(K))}catch(ae){ne(ae)}},V=K=>K.done?ie(K.value):Promise.resolve(K.value).then(se,Q);V((Z=Z.apply(H,G)).next())});function s(H){return n(this,null,function*(){return(0,t.ZP)("/api/declarations/declaration_selects.json",{method:"get",params:H})})}function u(H){return n(this,null,function*(){return(0,t.ZP)("/api/declarations/add_declaration_selects.json",{method:"post",body:H})})}function f(H){return n(this,null,function*(){return(0,t.ZP)("/api/declarations/type_selects.json",{method:"get"})})}function c(H){return n(this,null,function*(){return(0,t.ZP)("/api/declarations/delete_declaration_selects.json",{method:"delete",body:H})})}function h(H){return n(this,null,function*(){return(0,t.ZP)("/api/declarations/edit_declaration_selects.json",{method:"post",body:H})})}function o(H){return n(this,null,function*(){return(0,t.ZP)("/api/declarations/declaration_profile.json",{method:"get",params:H})})}function i(H){return n(this,null,function*(){return(0,t.ZP)("/api/declarations/edit_declaration_profile.json",{method:"put",body:H})})}function y(H){return n(this,null,function*(){return(0,t.ZP)("/api/declarations/get_all_type.json",{method:"get",params:H})})}function p(H){return n(this,null,function*(){return(0,t.ZP)("/api/declarations/declaration_descriptions.json",{method:"get",params:H})})}function g(H){return n(this,null,function*(){return(0,t.ZP)("/api/declarations/edit_declaration_descriptions.json",{method:"put",body:H})})}function l(H){return n(this,null,function*(){return(0,t.ZP)("/api/declarations.json",{method:"get",params:H})})}function b(H){return n(this,null,function*(){return(0,t.ZP)(`/api/declarations/${H==null?void 0:H.id}.json`,{method:"get",params:H})})}function x(H){return n(this,null,function*(){return(0,t.ZP)("/api/declarations.json",{method:"post",body:H})})}function O(H){return n(this,null,function*(){return(0,t.ZP)(`/api/declarations/${H==null?void 0:H.id}.json`,{method:"put",body:H})})}function k(H){return n(this,null,function*(){return(0,t.ZP)("/api/declarations/verify_list.json",{method:"get",params:H})})}function A(H){return n(this,null,function*(){return(0,t.ZP)("/api/declarations/commit_verify.json",{method:"post",body:H})})}function T(H){return n(this,null,function*(){return(0,t.ZP)("/api/declarations/verify.json",{method:"post",body:H})})}function F(H){return n(this,null,function*(){return(0,t.ZP)(`/api/declarations/${H.id}.json`,{method:"delete"})})}function $(H){return n(this,null,function*(){return(0,t.ZP)("/api/declarations/get_declare_type.json",{method:"get",params:H})})}function R(H){return n(this,null,function*(){return(0,t.ZP)("/api/declarations/import.json",{method:"post",body:H},!0,!0)})}},38650: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 H},gq:function(){return Z},eM:function(){return R},BA:function(){return se},bA:function(){return V},Nx:function(){return Q},Qx:function(){return F},At:function(){return k},PX:function(){return A},Xl:function(){return $},y9:function(){return G},No:function(){return ie},ay:function(){return K}});var t=e(99064),n=Object.defineProperty,s=Object.defineProperties,u=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,o=(ae,ee,q)=>ee in ae?n(ae,ee,{enumerable:!0,configurable:!0,writable:!0,value:q}):ae[ee]=q,i=(ae,ee)=>{for(var q in ee||(ee={}))c.call(ee,q)&&o(ae,q,ee[q]);if(f)for(var q of f(ee))h.call(ee,q)&&o(ae,q,ee[q]);return ae},y=(ae,ee)=>s(ae,u(ee)),p=(ae,ee)=>{var q={};for(var te in ae)c.call(ae,te)&&ee.indexOf(te)<0&&(q[te]=ae[te]);if(ae!=null&&f)for(var te of f(ae))ee.indexOf(te)<0&&h.call(ae,te)&&(q[te]=ae[te]);return q},g=(ae,ee,q)=>new Promise((te,M)=>{var L=xe=>{try{fe(q.next(xe))}catch(Ce){M(Ce)}},X=xe=>{try{fe(q.throw(xe))}catch(Ce){M(Ce)}},fe=xe=>xe.done?te(xe.value):Promise.resolve(xe.value).then(L,X);fe((q=q.apply(ae,ee)).next())});const l=ae=>g(void 0,null,function*(){var ee=ae,{id:q}=ee,te=p(ee,["id"]);return(0,t.ZP)(`/api/ec_years/${q}/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:q=null})=>(0,t.ZP)(`/api/ec_years/${ae}/course_results/${ee}.json`,{method:"get",params:{class_name:q}}),k=({ec_year_id:ae})=>(0,t.ZP)("/api/ec_courses/1/evaluations/compute_all_courses_data",{method:"post",body:{ec_year_id:ae}}),A=({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"}),H=ae=>(0,t.ZP)(`/api/ec_years/${ae}/ec_graduation_results/get_formulas.json`,{method:"get"}),G=({ec_year_id:ae,formula_one:ee,formula_two:q,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:q,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:q,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/${q}/ec_graduation_results/set_goal_value${X}`,fe)};var ne=(ae,ee,q)=>new Promise((te,M)=>{var L=xe=>{try{fe(q.next(xe))}catch(Ce){M(Ce)}},X=xe=>{try{fe(q.throw(xe))}catch(Ce){M(Ce)}},fe=xe=>xe.done?te(xe.value):Promise.resolve(xe.value).then(L,X);fe((q=q.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"})}),V=({ec_year_id:ae,school_id:ee})=>(0,t.ZP)(`/api/ec_years/${ae}/top_pages.json`,{method:"get",params:{school_id:ee}}),K=({id:ae,name:ee})=>(0,t.ZP)(`/api/ec_years/1/top_pages/${ae}?name=${ee}`,{method:"PUT"})},94941:function(d,v,e){"use strict";e.d(v,{$Q:function(){return T},$l:function(){return br},BJ:function(){return pt},CD:function(){return Je},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 G},N3:function(){return Oe},OO:function(){return k},P8:function(){return ln},PJ:function(){return X},PT:function(){return hr},Qc:function(){return ie},RK:function(){return q},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 Gt},WL:function(){return le},Wj:function(){return ee},X4:function(){return Ne},Xn:function(){return Vr},Xo:function(){return se},YY:function(){return Jt},Ym:function(){return R},Yu:function(){return or},ZD:function(){return sn},Zg:function(){return Dr},_B:function(){return Pe},_F:function(){return jr},_U:function(){return V},_u:function(){return fe},aU:function(){return H},ab:function(){return kt},cC:function(){return ge},cV:function(){return K},ck:function(){return Zr},dp:function(){return Z},eA:function(){return jt},fG:function(){return x},gA:function(){return ae},gG:function(){return qr},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 A},lf:function(){return Le},n$:function(){return Ce},n7:function(){return Q},nF:function(){return ze},o3:function(){return gt},oS:function(){return Re},oX:function(){return Rt},oy:function(){return yt},p7:function(){return $},pL:function(){return Vt},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 Cr}});var t=e(99064),n=Object.defineProperty,s=Object.defineProperties,u=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,o=(at,Fr,gn)=>Fr in at?n(at,Fr,{enumerable:!0,configurable:!0,writable:!0,value:gn}):at[Fr]=gn,i=(at,Fr)=>{for(var gn in Fr||(Fr={}))c.call(Fr,gn)&&o(at,gn,Fr[gn]);if(f)for(var gn of f(Fr))h.call(Fr,gn)&&o(at,gn,Fr[gn]);return at},y=(at,Fr)=>s(at,u(Fr)),p=(at,Fr,gn)=>new Promise((Wn,gr)=>{var Xr=ei=>{try{Mn(gn.next(ei))}catch(ni){gr(ni)}},dn=ei=>{try{Mn(gn.throw(ei))}catch(ni){gr(ni)}},Mn=ei=>ei.done?Wn(ei.value):Promise.resolve(ei.value).then(Xr,dn);Mn((gn=gn.apply(at,Fr)).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}),A=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}),H=at=>(0,t.ZP)(`/api/exercises/${at.id}/exam_summary_settings.json`,{method:"post",body:at}),G=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})}),V=at=>(0,t.ZP)(`/api/exercises/${at==null?void 0:at.id}/exercise_question_result.json`,{method:"get",params:at}),K=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 q(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 Le(at){return p(this,null,function*(){return(0,t.ZP)("/api/question_banks/save_banks.json",{method:"POST",body:i({},at)})})}function Oe(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 Jt(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:Fr}=at;return delete at.id,(0,t.ZP)(`/api/exercise_questions/${Fr}.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 Re(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 Gt(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 Je(at){return(0,t.ZP)(`/api/exercises/${at.categoryId}/start.json`,{method:"get",params:i({},at)})}function Vt(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 qr(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 jr(at){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${at.categoryId}/simulate_start_answer.json`,{method:"get",params:i({},at)})})}function hr(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,Fr){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${at}/unlock_user`,{method:"post",body:Fr})})}function ln(at,Fr){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${at}/save_screen_record.json`,{method:"post",body:Fr})})}function or(at,Fr){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${at}/screen_record_list.json`,{method:"get",params:Fr})})}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,Fr){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${at}/mark.json`,{method:"post",body:Fr})})}function jt(at){return p(this,null,function*(){return(0,t.ZP)(`/api/myshixuns/${at}/exit_delete_pod.json`,{method:"post",body:at})})}function Cr(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)})})}},67508:function(d,v,e){"use strict";e.d(v,{B0:function(){return p},Si:function(){return k},Sr:function(){return T},YP:function(){return A},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 H}});var t=e(99064),n=Object.defineProperty,s=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,c=(G,Z,ie)=>Z in G?n(G,Z,{enumerable:!0,configurable:!0,writable:!0,value:ie}):G[Z]=ie,h=(G,Z)=>{for(var ie in Z||(Z={}))u.call(Z,ie)&&c(G,ie,Z[ie]);if(s)for(var ie of s(Z))f.call(Z,ie)&&c(G,ie,Z[ie]);return G},o=(G,Z,ie)=>new Promise((ne,se)=>{var Q=ae=>{try{K(ie.next(ae))}catch(ee){se(ee)}},V=ae=>{try{K(ie.throw(ae))}catch(ee){se(ee)}},K=ae=>ae.done?ne(ae.value):Promise.resolve(ae.value).then(Q,V);K((ie=ie.apply(G,Z)).next())});function i(G){return o(this,null,function*(){return(0,t.ZP)("/api/memos.json",{method:"get",params:G})})}function y(G){return o(this,null,function*(){return(0,t.ZP)("/api/discusses/forum_discusses.json",{method:"get",params:G})})}function p(G){return o(this,null,function*(){return(0,t.ZP)(`/api/memos/${G.id}/sticky_or_cancel.json`,{method:"post",body:G})})}function g(G){return o(this,null,function*(){return(0,t.ZP)(`/api/memos/${G.id}.json`,{method:"delete",body:G})})}function l(G){return o(this,null,function*(){return(0,t.ZP)("/api/memos/new.json",{method:"get",params:G})})}function b(G){return o(this,null,function*(){return(0,t.ZP)(`/api/memos/${G.id}/edit.json`,{method:"get",params:G})})}function x(G){return o(this,null,function*(){return(0,t.ZP)("/api/memos.json",{method:"post",body:h({},G)})})}function O(G){return o(this,null,function*(){return(0,t.ZP)(`/api/memos/${G.id}.json`,{method:"put",body:h({},G)})})}function k(G){return o(this,null,function*(){return(0,t.ZP)(`/api/memos/${G.id}.json`,{method:"get",params:G})})}function A(G){return o(this,null,function*(){return(0,t.ZP)(`/api/users/${G.user_id}/watch.json`,{method:"post",body:G})})}function T(G){return o(this,null,function*(){return(0,t.ZP)(`/api/users/${G.user_id}/watch.json`,{method:"delete",body:h({},G)})})}function F(G){return o(this,null,function*(){return(0,t.ZP)(`/api/discusses/${G.id}/reward_code.json`,{method:"post",body:G})})}function $(G){return o(this,null,function*(){return(0,t.ZP)(`/api/discusses/${G.id}/plus.json`,{method:"post",body:G})})}function R(G){return o(this,null,function*(){return(0,t.ZP)("/api/memos/reply.json",{method:"post",body:G})})}function H(G){return o(this,null,function*(){return(0,t.ZP)(`/api/memos/${G.id}/more_reply.json`,{method:"get",params:G})})}},30534:function(d,v,e){"use strict";e.d(v,{D2:function(){return i},n0:function(){return y},tk:function(){return p}});var t=e(99064),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($)}},A=F=>{try{T(b.throw(F))}catch($){O($)}},T=F=>F.done?x(F.value):Promise.resolve(F.value).then(k,A);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})})}},89887: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 G},YQ:function(){return A},_n:function(){return ie},hL:function(){return $},je:function(){return b},mM:function(){return l},wA:function(){return H},x_:function(){return g},y0:function(){return F},y3:function(){return i}});var t=e(99064),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((V,K)=>{var ae=te=>{try{q(Q.next(te))}catch(M){K(M)}},ee=te=>{try{q(Q.throw(te))}catch(M){K(M)}},q=te=>te.done?V(te.value):Promise.resolve(te.value).then(ae,ee);q((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 A(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 H(ne){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${ne.coursesId}/graduation_topics/${ne.categoryId}`,{method:"put",body:h({},ne)})})}function G(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)})})}},2742:function(d,v,e){"use strict";e.d(v,{AA:function(){return H},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 A},Ot:function(){return k},Ou:function(){return V},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 q},bS:function(){return T},ck:function(){return x},eh:function(){return R},il:function(){return h},j7:function(){return o},jW:function(){return G},km:function(){return ie},l5:function(){return $},rU:function(){return M},xF:function(){return F},zC:function(){return K},zT:function(){return L}});var t=e(99064),n=(X,fe,xe)=>new Promise((Ce,Le)=>{var Oe=At=>{try{ht(xe.next(At))}catch(tr){Le(tr)}},Ft=At=>{try{ht(xe.throw(At))}catch(tr){Le(tr)}},ht=At=>At.done?Ce(At.value):Promise.resolve(At.value).then(Oe,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 A(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 H(X){return n(this,null,function*(){return(0,t.ZP)(`/api/graduations/${X.id}/graduation_teachers.json`,{method:"get",params:X})})}function G(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 V(X){return n(this,null,function*(){return(0,t.ZP)(`/api/graduations/${X==null?void 0:X.id}/common_header.json`,{method:"get"})})}function K(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 q(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})})}},1: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(99064),n=(p,g,l)=>new Promise((b,x)=>{var O=T=>{try{A(l.next(T))}catch(F){x(F)}},k=T=>{try{A(l.throw(T))}catch(F){x(F)}},A=T=>T.done?b(T.value):Promise.resolve(T.value).then(O,k);A((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})})}},10656: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(99064),n=Object.defineProperty,s=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,c=(k,A,T)=>A in k?n(k,A,{enumerable:!0,configurable:!0,writable:!0,value:T}):k[A]=T,h=(k,A)=>{for(var T in A||(A={}))u.call(A,T)&&c(k,T,A[T]);if(s)for(var T of s(A))f.call(A,T)&&c(k,T,A[T]);return k},o=(k,A,T)=>new Promise((F,$)=>{var R=Z=>{try{G(T.next(Z))}catch(ie){$(ie)}},H=Z=>{try{G(T.throw(Z))}catch(ie){$(ie)}},G=Z=>Z.done?F(Z.value):Promise.resolve(Z.value).then(R,H);G((T=T.apply(k,A)).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"})})}},34640: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 A}});var t=e(99064),n=Object.defineProperty,s=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,c=(R,H,G)=>H in R?n(R,H,{enumerable:!0,configurable:!0,writable:!0,value:G}):R[H]=G,h=(R,H)=>{for(var G in H||(H={}))u.call(H,G)&&c(R,G,H[G]);if(s)for(var G of s(H))f.call(H,G)&&c(R,G,H[G]);return R},o=(R,H,G)=>new Promise((Z,ie)=>{var ne=V=>{try{Q(G.next(V))}catch(K){ie(K)}},se=V=>{try{Q(G.throw(V))}catch(K){ie(K)}},Q=V=>V.done?Z(V.value):Promise.resolve(V.value).then(ne,se);Q((G=G.apply(R,H)).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 A(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"})})}},80401: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 H},Pl:function(){return x},Qc:function(){return u},Qp:function(){return Q},RK:function(){return y},YP:function(){return G},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 Le},kp:function(){return T},lc:function(){return A},oF:function(){return te},q$:function(){return h},qN:function(){return ie},tS:function(){return k},ts:function(){return $},un:function(){return K},w0:function(){return ae},wX:function(){return V},yE:function(){return f}});var t=e(99064),n=(Oe,Ft,ht)=>new Promise((At,tr)=>{var Jt=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(Jt,cr);Qe((ht=ht.apply(Oe,Ft)).next())});const s=Oe=>(0,t.ZP)(`/api/examination_banks/${Oe==null?void 0:Oe.id}/code_check.json`,{method:"get",params:Oe}),u=Oe=>(0,t.ZP)(`/api/examination_banks/${Oe.id}/reset_pwd.json`,{method:"post",body:Oe}),f=Oe=>(0,t.ZP)(`/api/examination_banks/${Oe.id}/encrypt_or_decrypt.json`,{method:"post",body:Oe}),c=Oe=>(0,t.ZP)("/api/examination_banks/exist_course.json",{method:"post",body:Oe}),h=Oe=>(0,t.ZP)("/api/examination_banks/check_examination_banks.json",{method:"post",body:Oe}),o=Oe=>(0,t.ZP)(`/api/examination_banks/${Oe.id}/copy.json`,{method:"post",body:Oe}),i=Oe=>(0,t.ZP)(`/api/examination_banks/${Oe.id}/get_question_type_alias.json`,{method:"get",params:Oe});function y(Oe){return n(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${Oe.id}/edit_question_type_alias.json`,{method:"POST",body:Oe})})}function p(Oe){return n(this,null,function*(){return(0,t.ZP)("/api/disciplines.json",{method:"get",params:Oe})})}function g(Oe){return n(this,null,function*(){return(0,t.ZP)("/api/disciplines/by_examination_banks.json",{method:"get",params:Oe})})}function l(Oe){return n(this,null,function*(){return(0,t.ZP)("/api/examination_banks.json",{method:"get",params:Oe})})}function b(Oe){return n(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${Oe.id}/set_public.json`,{method:"post"})})}function x(Oe){return n(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${Oe.id}/set_private.json`,{method:"post"})})}function O(Oe){return n(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${Oe.id}.json`,{method:"delete"})})}function k(Oe){return n(this,null,function*(){return(0,t.ZP)("/api/question_banks/my_courses.json",{method:"get",params:Oe})})}const A=Oe=>(0,t.ZP)("/api/examination_banks/batch_send_to_course.json",{method:"post",body:Oe});function T(Oe){return n(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${Oe.id}/send_to_course.json`,{method:"post",body:Oe})})}function F(Oe){return n(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${Oe.id}.json`,{method:"get",params:Oe})})}function $(Oe){return n(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${Oe.id}/examination_banks_item_banks/${Oe.itemId}/set_score`,{method:"post",body:Oe})})}function R(Oe){return n(this,null,function*(){return Fetch(`/api/examination_banks/${Oe.id}/examination_banks_item_banks/${Oe.itemId}/set_shixun_score.json`,{method:"post",body:Oe})})}function H(Oe){return n(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${Oe.id}/examination_banks_item_banks/${Oe.itemId}.json`,{method:"delete"})})}function G(Oe){return n(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${Oe.id}/examination_banks_item_banks/batch_set_score.json`,{method:"post",body:Oe})})}function Z(Oe){return n(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${Oe.id}/examination_banks_item_banks/destroy_by_item_type.json`,{method:"delete",body:Oe})})}function ie(Oe){return n(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${Oe.id}/examination_banks_item_banks/${Oe.itemId}/adjust_position.json`,{method:"post",body:Oe})})}function ne(Oe){return n(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${Oe.id}.json`,{method:"put",body:Oe})})}function se(Oe){return n(this,null,function*(){return(0,t.ZP)("/api/teach_group_shares.json",{method:"get",params:Oe})})}function Q(Oe){return n(this,null,function*(){return(0,t.ZP)("/api/examination_banks/set_batch_public.json",{method:"post",body:Oe})})}function V(Oe){return n(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${Oe==null?void 0:Oe.id}/set_public.json`,{method:"post",body:Oe})})}function K(Oe){return n(this,null,function*(){return(0,t.ZP)("/api/examination_banks/create_exam.json",{method:"post",body:Oe})})}function ae(Oe){return n(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${Oe.id}/update_exam.json`,{method:"put",body:Oe})})}function ee(Oe){return n(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${Oe.id}/edit_exam.json`,{method:"get"})})}function q(Oe,Ft){return n(this,null,function*(){return Fetch(`/api/examination_banks/${Oe}/examination_banks_item_banks.json`,{method:"post",body:Ft})})}function te(Oe){return n(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${Oe.id}/examination_banks_item_banks/create_item_bank.json`,{method:"post",body:Oe})})}function M(Oe,Ft){return n(this,null,function*(){return Fetch(`/api/examination_banks/${Oe}/sort_question_type.json`,{method:"post",body:Ft})})}function L(Oe){return n(this,null,function*(){return Fetch(`/api/examination_banks/${Oe.exam_id}/examination_banks_item_banks/${Oe.question_id}.json`,{method:"delete"})})}function X(Oe,Ft){return n(this,null,function*(){return Fetch(`/api/examination_banks/${Oe}/batch_set_score.json`,{method:"post",body:Ft})})}function fe(Oe){return n(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${Oe}/simulate_exercise.json`,{method:"post"})})}function xe(Oe){return n(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${Oe}/exercise_header.json`,{method:"get"})})}function Ce(Oe,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/${Oe}/import_item_banks.json`,{method:"post",body:At},!0)})}function Le(Oe){return n(this,null,function*(){return(0,t.ZP)("/api/users/change_exam_score.json",{method:"put",body:Oe})})}},86248: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 Re},MO:function(){return fe},Mt:function(){return $e},Mu:function(){return Je},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 q},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 Le},nq:function(){return i},ol:function(){return ze},p:function(){return G},p4:function(){return Ce},pU:function(){return A},rS:function(){return At},rs:function(){return ee},s0:function(){return Ee},sm:function(){return Oe},tS:function(){return b},tu:function(){return k},ue:function(){return H},vf:function(){return pt},w4:function(){return Z},xG:function(){return et},xn:function(){return Ot},yN:function(){return ie},yy:function(){return Gt}});var t=e(99064),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=qr=>{try{Vr(yt.next(qr))}catch(Er){Fe(Er)}},St=qr=>{try{Vr(yt.throw(qr))}catch(Er){Fe(Er)}},Vr=qr=>qr.done?kt(qr.value):Promise.resolve(qr.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 A(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 H(ge){return o(this,null,function*(){return(0,t.ZP)(`/api/paths/${ge.id}/spoc_courses.json`,{method:"get",params:ge})})}const G=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 V(ge){return o(this,null,function*(){return Fetch(`/api/paths/${ge.id}/up_member_position.json`,{method:"post",body:ge})})}function K(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 q(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 Le(ge){return o(this,null,function*(){return(0,t.ZP)(`/api/paths/${ge.id}/add_subject_members.json`,{method:"post",body:ge})})}function Oe(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 Jt(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 Re(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 Gt(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 Je(ge){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${ge.coursesId}/excellent_discusses.json`,{method:"get",params:h({},ge)})})}function Vt(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})})}},31417:function(d,v,e){"use strict";e.d(v,{Fd:function(){return ae},Hi:function(){return g},IU:function(){return H},KE:function(){return b},Kc:function(){return q},MK:function(){return G},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 A},m7:function(){return l},n$:function(){return k},rJ:function(){return F},s3:function(){return y},ux:function(){return x},vf:function(){return K},wh:function(){return ie},wo:function(){return ee},x$:function(){return V}});var t=e(99064),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 Le=ht=>{try{Ft(fe.next(ht))}catch(At){Ce(At)}},Oe=ht=>{try{Ft(fe.throw(ht))}catch(At){Ce(At)}},Ft=ht=>ht.done?xe(ht.value):Promise.resolve(ht.value).then(Le,Oe);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 A(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 H(L){return o(this,null,function*(){return(0,t.ZP)(`/api/poll_questions/${L.pollsId}.json`,{method:"put",body:h({},L)})})}function G(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 V(L){return o(this,null,function*(){return(0,t.ZP)(`/api/exercise_bank_questions/${L.pollsId}.json`,{method:"delete",body:h({},L)})})}function K(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 q(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)})})}},16149: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 G},Hm:function(){return L},IJ:function(){return Re},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 Gt},et:function(){return fe},ex:function(){return b},fY:function(){return xe},fn:function(){return A},hI:function(){return ht},hg:function(){return Ne},iT:function(){return V},lS:function(){return Oe},nD:function(){return zt},qN:function(){return X},rV:function(){return R},s:function(){return Le},sD:function(){return Ee},sS:function(){return Jt},ts:function(){return K},vi:function(){return Ze},wX:function(){return et},x5:function(){return H},zh:function(){return Ce}});var t=e(99064),n=Object.defineProperty,s=Object.defineProperties,u=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,o=(Je,Vt,Rt)=>Vt in Je?n(Je,Vt,{enumerable:!0,configurable:!0,writable:!0,value:Rt}):Je[Vt]=Rt,i=(Je,Vt)=>{for(var Rt in Vt||(Vt={}))c.call(Vt,Rt)&&o(Je,Rt,Vt[Rt]);if(f)for(var Rt of f(Vt))h.call(Vt,Rt)&&o(Je,Rt,Vt[Rt]);return Je},y=(Je,Vt)=>s(Je,u(Vt)),p=(Je,Vt,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(Je,Vt)).next())});function g(Je){return p(this,null,function*(){return(0,t.ZP)("/api/disciplines.json",{method:"get",params:y(i({},Je),{clazz:"ItemBanksGroup"})})})}function l(Je){return p(this,null,function*(){return(0,t.ZP)("/api/item_baskets/basket_list.json",{method:"get",params:Je})})}function b(Je){return p(this,null,function*(){return(0,t.ZP)("/api/item_banks_groups/for_problemset.json",{method:"post",body:Je})})}function x(Je){return p(this,null,function*(){return(0,t.ZP)("/api/item_banks/list.json",{method:"post",body:Je})})}function O(Je){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks/${Je.id}/set_private.json`,{method:"post"})})}function k(Je){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks/${Je.id}/set_public.json`,{method:"post"})})}function A(Je){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks/${Je.id}.json`,{method:"delete"})})}function T(Je){return p(this,null,function*(){return(0,t.ZP)(`/api/problems/${Je.id}/start.json`,{method:"get"})})}function F(Je){return p(this,null,function*(){return(0,t.ZP)(`/api/item_baskets/${Je.id}.json`,{method:"delete",body:i({},Je)})})}function $(Je){return p(this,null,function*(){return(0,t.ZP)("/api/item_baskets.json",{method:"post",body:Je})})}function R(Je){return p(this,null,function*(){return(0,t.ZP)("/api/examination_banks/cancel_items.json",{method:"post",body:Je})})}function H(Je){return p(this,null,function*(){return(0,t.ZP)("/api/item_baskets/delete_item_type.json",{method:"delete",body:{item_type:Je.type}})})}function G(Je){return p(this,null,function*(){return(0,t.ZP)("/api/examination_banks/cancel_items.json",{method:"post",body:Je})})}function Z(Je){return p(this,null,function*(){return(0,t.ZP)("/api/tag_disciplines.json",{method:"post",body:Je})})}function ie(Je){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks/${Je.id}.json`,{method:"put",body:Je})})}function ne(Je){return p(this,null,function*(){return(0,t.ZP)("/api/item_banks.json",{method:"post",body:Je})})}function se(Je){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks/${Je.id}/edit.json`,{method:"get"})})}function Q(Je){return p(this,null,function*(){return(0,t.ZP)(`/api/problems/${Je.id}/edit.json`,{method:"get"})})}function V(Je){return p(this,null,function*(){return(0,t.ZP)("/api/item_baskets.json",{method:"get",params:Je})})}function K(Je){return p(this,null,function*(){return(0,t.ZP)(`/api/item_baskets/${Je.id}/set_score.json`,{method:"post",body:Je})})}function ae(Je){return p(this,null,function*(){return(0,t.ZP)(`/api/item_baskets/${Je.id}/set_challenge_score.json`,{method:"post",body:Je})})}function ee(Je){return p(this,null,function*(){return(0,t.ZP)(`/api/item_baskets/${Je.id}/combination_set_score.json`,{method:"post",body:Je})})}function q(Je){return p(this,null,function*(){return Fetch(`/api/examination_banks//${Je.exerid}/examination_banks_item_banks/${Je.id}/combination_set_score.json`,{method:"post",body:Je})})}function te(Je){return p(this,null,function*(){return(0,t.ZP)(`/api/item_baskets/${Je.id}.json`,{method:"delete"})})}function M(Je){return p(this,null,function*(){return(0,t.ZP)("/api/item_baskets/batch_set_score.json",{method:"post",body:Je})})}function L(Je){return p(this,null,function*(){return(0,t.ZP)("/api/item_baskets/delete_item_type.json",{method:"delete",body:Je})})}function X(Je){return p(this,null,function*(){return(0,t.ZP)(`/api/item_baskets/${Je.id}/adjust_position.json`,{method:"post",body:Je})})}function fe(Je){return p(this,null,function*(){return(0,t.ZP)("/api/examination_banks.json",{method:"post",body:Je})})}function xe(Je){return p(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${Je.id}/revoke_item.json`,{method:"delete",body:Je})})}function Ce(Je){return p(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${Je.exam_id}/examination_banks_item_banks.json`,{method:"post",body:Je})})}function Le(Je){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks/${Je.id}/join_to_collection.json`,{method:"post",params:Je})})}function Oe(Je){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks/${Je.id}/cancel_collection.json`,{method:"post",params:Je})})}function Ft(Je){return p(this,null,function*(){return(0,t.ZP)("/api/item_banks_groups.json",{method:"get",params:Je})})}function ht(Je){return p(this,null,function*(){return(0,t.ZP)("/api/item_banks_groups/mine.json",{method:"get",params:Je})})}function At(Je){return p(this,null,function*(){return Fetch(`/api/item_banks/${Je.id}/join_to_group.json`,{method:"post",body:Je})})}function tr(Je){return p(this,null,function*(){return Fetch(`/api/item_banks_groups/${Je.id}.json`,{method:"put",body:Je})})}function Jt(Je){return p(this,null,function*(){return(0,t.ZP)("/api/item_banks_groups.json",{method:"post",body:Je})})}function cr(Je){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks/${Je.id}/feedback.json`,{method:"post",body:Je})})}function Qe(Je){return p(this,null,function*(){return(0,t.ZP)("/api/teach_group_shares.json",{method:"get",params:Je})})}function Pt(Je){return p(this,null,function*(){return(0,t.ZP)("/api/teach_group_shares.json",{method:"post",body:Je})})}function zt(Je){return p(this,null,function*(){return(0,t.ZP)("/api/item_banks/batch_delete.json",{method:"post",body:Je})})}function it(Je){return p(this,null,function*(){return(0,t.ZP)("/api/item_banks/batch_to_group.json",{method:"post",body:Je})})}function Ot(Je){return p(this,null,function*(){return(0,t.ZP)("/api/item_banks/add_to_mine.json",{method:"post",body:Je})})}function pt(Je){return p(this,null,function*(){return(0,t.ZP)("/api/item_banks/set_batch_public.json",{method:"post",body:Je})})}function et(Je){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks/${Je==null?void 0:Je.id}/set_public.json`,{method:"post",body:Je})})}function Ne(Je){return p(this,null,function*(){return(0,t.ZP)("/api/teach_group_shares/show_groups.json",{method:"get",params:Je})})}function me(Je){return(0,t.ZP)(`/api/problems/${Je.identifier}/publish.json`,{method:"post",body:Je})}function Ee(Je){return(0,t.ZP)(`/api/problems/${Je.identifier}/cancel_publish.json`,{method:"post",body:Je})}function Re(Je){return(0,t.ZP)("/api/item_banks/cancel_public.json",{method:"post",body:{ids:[...Je.id]}})}function $e(Je){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks_groups/${Je.id}/up_position.json`,{method:"get",params:Je})})}function Ze(Je){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks_groups/${Je.id}/down_position.json`,{method:"get",params:Je})})}function nt(Je){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Je.id}/edit_hack.json`,{method:"get",params:Je})})}function ut(Je){return p(this,null,function*(){return(0,t.ZP)("/api/problems/batch_publish_condition.json",{method:"post",body:Je})})}function Gt(Je){return p(this,null,function*(){return(0,t.ZP)("/api/problems/batch_publish.json",{method:"post",body:Je})})}function Zt(Je){return p(this,null,function*(){return Fetch("/api/item_banks/get_groups.json",{method:"get",params:Je})})}function Pe(){return p(this,null,function*(){return(0,t.ZP)("/api/item_baskets/delete_all_items.json",{method:"delete"})})}},52403:function(d,v,e){"use strict";e.d(v,{E1:function(){return f},Go:function(){return s},H5:function(){return u}});var t=e(99064),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})})}},36708: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 Jt},H1:function(){return cr},Hj:function(){return ut},JA:function(){return Zt},JG:function(){return ae},KE:function(){return M},Lz:function(){return Re},Mf:function(){return tr},NA:function(){return ht},PC:function(){return Oe},PP:function(){return Ft},PW:function(){return it},Q3:function(){return q},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 V},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 H},ak:function(){return zt},cN:function(){return $},co:function(){return Ne},cz:function(){return Ce},fK:function(){return G},gG:function(){return Le},gZ:function(){return Rt},h$:function(){return R},ku:function(){return Ee},lf:function(){return X},m7:function(){return K},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 Je},ql:function(){return Vt},rN:function(){return me},sw:function(){return fe},t1:function(){return xe},to:function(){return ne},ub:function(){return Gt},ux:function(){return te},wS:function(){return Dt},wT:function(){return A},yT:function(){return Pt},yy:function(){return Ct},z2:function(){return Ot}});var t=e(99064),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})}),A=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 H(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/shixun_homeworks/${Ie.categoryId}/student_works.json`,{method:"get",params:i({},Ie)})})}function G(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 V(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ie.categoryId}/settings.json`,{method:"get",params:i({},Ie)})})}function K(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 q(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 Le(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 Oe(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 Jt(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 Re(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 Gt(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 Je(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 Vt(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)})})}},49692:function(d,v,e){"use strict";e.d(v,{$Q:function(){return jr},AE:function(){return Bt},AQ:function(){return F},Ag:function(){return Et},Ar:function(){return te},At:function(){return Lt},BK:function(){return H},Bj:function(){return zt},DC:function(){return Qe},Dz:function(){return gt},E4:function(){return cr},EH:function(){return X},Ee:function(){return gn},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 A},Ir:function(){return G},Je:function(){return Fe},K:function(){return jt},K0:function(){return Fr},KM:function(){return Q},K_:function(){return Zr},LK:function(){return Dr},LP:function(){return Le},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 K},Q1:function(){return Cr},QA:function(){return mi},Ql:function(){return me},Rs:function(){return Pe},SG:function(){return Wi},Tn:function(){return Yt},Tr:function(){return vi},U0:function(){return Ze},U9:function(){return Ne},UQ:function(){return Te},Ui:function(){return hr},Vx:function(){return at},WO:function(){return q},WT:function(){return aa},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 V},_9:function(){return le},aH:function(){return Ee},al:function(){return Gt},b8:function(){return M},bq:function(){return ze},dK:function(){return Z},e:function(){return O},eX:function(){return fe},eb:function(){return Je},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 Oe},jq:function(){return qr},kF:function(){return Vr},km:function(){return ut},l3:function(){return ht},m7:function(){return $e},mI:function(){return Ti},n5:function(){return $},nu:function(){return St},p0:function(){return Ht},q0:function(){return Nt},q9:function(){return or},qA:function(){return ln},rO:function(){return Rt},rs:function(){return se},sr:function(){return dt},t2:function(){return Ie},tX:function(){return Wn},uo:function(){return nt},v3:function(){return yt},w:function(){return Ke},xK:function(){return Ct},xg:function(){return Vt},xk:function(){return Jt},yE:function(){return Re},yx:function(){return Mi},zD:function(){return ie},zH:function(){return sn}});var t=e(99064),n=Object.defineProperty,s=Object.defineProperties,u=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,o=(st,qn,bi)=>qn in st?n(st,qn,{enumerable:!0,configurable:!0,writable:!0,value:bi}):st[qn]=bi,i=(st,qn)=>{for(var bi in qn||(qn={}))c.call(qn,bi)&&o(st,bi,qn[bi]);if(f)for(var bi of f(qn))h.call(qn,bi)&&o(st,bi,qn[bi]);return st},y=(st,qn)=>s(st,u(qn)),p=(st,qn,bi)=>new Promise((ti,Ki)=>{var xi=er=>{try{ai(bi.next(er))}catch(mt){Ki(mt)}},Pi=er=>{try{ai(bi.throw(er))}catch(mt){Ki(mt)}},ai=er=>er.done?ti(er.value):Promise.resolve(er.value).then(xi,Pi);ai((bi=bi.apply(st,qn)).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 A(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 H(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 G(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 V(st){return p(this,null,function*(){const{id:qn}=st||{};return(0,t.ZP)(`/api/shixuns/${qn}/search_user_courses.json`,{method:"Get",params:st})})}function K(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 q(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 Le(st){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${st.id}/review_shixun.json`,{method:"post",body:st})})}function Oe(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 Jt(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 Re(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 Gt(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 Je(st){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${st.id}/challenges/${st.challengesId}/choose_questions.json`,{method:"get"})})}function Vt(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 qr(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 jr(st){return p(this,null,function*(){return(0,t.ZP)(`/api/${st.url}`,{method:"Get"})})}function hr(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 or(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 Cr(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 Fr(st){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${st.id}/update_secret_repository.json`,{method:"post",body:i({},st)})})}function gn(st){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${st.id}/exist_exercise.json`,{method:"get",params:i({},st)})})}function Wn(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 dn(st){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${st.id}/open_webssh.json`,{method:"post",params:i({},st)})})}function Mn(st){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${st.id}/save_image.json`,{method:"post",body:i({},st)})})}function ei(st){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${st.id}/delete_image.json`,{method:"post",body:i({},st)})})}function ni(st){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${st.id}/extend_vnc.json`,{method:"post",body:i({},st)})})}function Gi(st){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${st.id}/reset_vnc_link.json`,{method:"post",body:i({},st)})})}function Mi(st){return p(this,null,function*(){return(0,t.ZP)("/api/paths/get_task_pass.json",{method:"get",params:i({},st)})})}function Ti(st){return p(this,null,function*(){return(0,t.ZP)("/api/jupyters/get_info_with_jupyter_lab.json",{method:"get",params:i({},st)})})}function mi(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 vi(st){return p(this,null,function*(){return(0,t.ZP)("/api/shixuns/check_shixun_copy.json",{method:"post",body:st})})}function aa(st){return p(this,null,function*(){return(0,t.ZP)(`/api/progress_homeworks/${st}`,{method:"get",params:{is_initiative_study:1}})})}function ii(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"})})}},43859: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 G},gp:function(){return i},iU:function(){return R},l3:function(){return k},mw:function(){return A},oZ:function(){return l},rM:function(){return T},r_:function(){return H},s:function(){return y},ur:function(){return $},xV:function(){return g},yb:function(){return O}});var t=e(99064),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 V=ee=>{try{ae(ne.next(ee))}catch(q){Q(q)}},K=ee=>{try{ae(ne.throw(ee))}catch(q){Q(q)}},ae=ee=>ee.done?se(ee.value):Promise.resolve(ee.value).then(V,K);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 A(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 H(Z,ie){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Z}/join_student_checkout.json`,{method:"get",params:ie})})}function G(Z,ie){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Z}/student_application_review.json`,{method:"post",body:ie})})}},24780:function(d,v,e){"use strict";e.d(v,{B$:function(){return g},Cx:function(){return V},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 q},Gq:function(){return cr},Ho:function(){return $},IU:function(){return fe},JJ:function(){return te},Ol:function(){return Oe},Qx:function(){return ie},Tv:function(){return M},V8:function(){return y},WS:function(){return K},WY:function(){return Z},ai:function(){return Q},bG:function(){return O},bJ:function(){return i},c0:function(){return Jt},dE:function(){return X},dt:function(){return L},gI:function(){return ae},lO:function(){return se},mW:function(){return G},n0:function(){return A},nV:function(){return Le},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 H},x4:function(){return k},z2:function(){return ht}});var t=e(99064),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 A(){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 H(Qe){return o(this,null,function*(){return(0,t.ZP)(`/api/users/${Qe.username}/subjects.json`,{method:"get",params:Qe})})}function G(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 V(Qe){return o(this,null,function*(){return(0,t.ZP)("/api/question_banks/multi_public.json",{method:"post",body:Qe})})}function K(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 q(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 Le(){return o(this,null,function*(){return(0,t.ZP)("/api/intelligent_recommendations/user_learn_path.json",{method:"get"})})}function Oe(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 Jt(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)})}},75730: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 G},O2:function(){return l},TJ:function(){return O},Vg:function(){return g},ZY:function(){return y},Zx:function(){return H},cU:function(){return p},fn:function(){return ie},jK:function(){return k},yN:function(){return Z}});var t=e(99064),n=Object.defineProperty,s=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,c=(Q,V,K)=>V in Q?n(Q,V,{enumerable:!0,configurable:!0,writable:!0,value:K}):Q[V]=K,h=(Q,V)=>{for(var K in V||(V={}))u.call(V,K)&&c(Q,K,V[K]);if(s)for(var K of s(V))f.call(V,K)&&c(Q,K,V[K]);return Q},o=(Q,V,K)=>new Promise((ae,ee)=>{var q=L=>{try{M(K.next(L))}catch(X){ee(X)}},te=L=>{try{M(K.throw(L))}catch(X){ee(X)}},M=L=>L.done?ae(L.value):Promise.resolve(L.value).then(q,te);M((K=K.apply(Q,V)).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 A(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 H(Q){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Q.course_id}/video_people_statics.json`,{method:"get",params:Q})})}function G(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})})}},62406:function(d,v,e){"use strict";e.d(v,{A:function(){return G},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 H},cZ:function(){return o},rV:function(){return T},sT:function(){return b},tS:function(){return R},xt:function(){return A},y2:function(){return s}});var t=e(99064),n=(Z,ie,ne)=>new Promise((se,Q)=>{var V=ee=>{try{ae(ne.next(ee))}catch(q){Q(q)}},K=ee=>{try{ae(ne.throw(ee))}catch(q){Q(q)}},ae=ee=>ee.done?se(ee.value):Promise.resolve(ee.value).then(V,K);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 A(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 H(Z,ie){return n(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${Z}/subjects.json`,{method:"post",body:ie})})}function G(Z){return n(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${Z.virtual_classroom_id}/subjects/${Z.subject_id}.json`,{method:"delete"})})}},24065:function(d,v,e){"use strict";e.d(v,{$O:function(){return V},EO:function(){return nt},G5:function(){return H},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 A},Jd:function(){return Q},Ny:function(){return O},RV:function(){return ne},Rb:function(){return R},Rm:function(){return G},V9:function(){return L},Yh:function(){return q},aN:function(){return b},aQ:function(){return o},ag:function(){return $e},bg:function(){return Gt},d8:function(){return $},dE:function(){return ie},eB:function(){return se},eY:function(){return Zt},fn:function(){return Re},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 Vt},y8:function(){return ut}});var t=e(89070),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]),A=()=>f([1,2,5]),T=()=>c([1,5]),F=()=>c([5,8]),$=()=>c([5]),R=()=>c([1,5,2]),H=()=>c([1,2,5,8]),G=()=>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},V=()=>{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)},K=(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]),q=()=>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]),Le=(Ct=!0,Yt=!1)=>Ct?f([1,2,5]):Yt||!Yt&&f([1,2]),Oe=(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]),Jt=(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]),Re=()=>f([1]),$e=()=>f([1,2]),Ze=()=>f([15]),nt=()=>f([1,2,5]),ut=()=>f([1,2,5,12]),Gt=()=>{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)},Je=Ct=>{const{graduations:Yt}=(0,t.getDvaApp)()._store.getState(),{details:ze}=Yt;return Ct.some(ue=>ue===(ze==null?void 0:ze.user_identity))},Vt=()=>Je([0,1]),Rt=()=>Je([0]),Nt=()=>Je([1]),Bt=()=>Je([2])},14165: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||{})},33466: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"}},3294:function(d,v,e){"use strict";e.d(v,{Z:function(){return u}});const t={PROXY_SERVER:"http://172.16.100.14",API_SERVER:"",REPORT_SERVER:"http://192.168.1.57:3001",IMG_SERVER:"http://172.16.100.111",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"]},99064: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 q}});var t=e(3294),n=e(28909),s=e(43418),u=e(8591),f=e(85582),c=e.n(f),h=e(59301),o=e(89070),i=e(955),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,A=(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)&&A(L,fe,X[fe]);if(x)for(var fe of x(X))k.call(X,fe)&&A(L,fe,X[fe]);return L},F=(L,X)=>l(L,b(X)),$=(L,X,fe)=>new Promise((xe,Ce)=>{var Le=ht=>{try{Ft(fe.next(ht))}catch(At){Ce(At)}},Oe=ht=>{try{Ft(fe.throw(ht))}catch(At){Ce(At)}},Ft=ht=>ht.done?xe(ht.value):Promise.resolve(ht.value).then(Le,Oe);Ft((fe=fe.apply(L,X)).next())});let R;const H={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"},G=(L,X)=>$(void 0,null,function*(){if(L.status>=200&&L.status<300)return L;const fe=H[L.status]||L.statusText;let xe;var Ce=L.json();yield Ce.then((Oe,Ft)=>{setTimeout(()=>{let ht=(0,o.getDvaApp)()},400),xe=Oe.message,window.showNetworkErrorTip(Oe.message||`\u8BF7\u6C42\u9519\u8BEF ${L.status}: ${L.message}`),n.Z.error({style:{wordBreak:"break-all"},message:Oe.message||`\u8BF7\u6C42\u9519\u8BEF ${L.status}: ${L.message}`,description:Oe.message?"":fe})});const Le=new Error(fe);throw Le.name=L.status,Le.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:Le}=(0,o.getDvaApp)()._store.getState(),{userInfo:Oe}=Le,Ft=L+(Ce.body?JSON.stringify(Ce.body):""),ht=c().sha256().update(Ft).digest("hex"),At={credentials:"include",withCredentials:!0},tr={};Oe!=null&&Oe.login&&(tr.zzud=Oe==null?void 0:Oe.login,Oe!=null&&Oe.school_id&&(tr.zzsud=Oe==null?void 0:Oe.school_id),Ce.params=T(T({},Ce.params||{}),tr));let Jt=T(T({},At),(0,y.cloneDeep)(Ce));(Jt.method==="POST"||Jt.method==="PUT"||Jt.method==="PATCH"||Jt.method==="DELETE")&&(fe?(Jt.headers=F(T({_method:X.method.toUpperCase()},Jt.headers),{"Pc-Authorization":(0,i.ej)("_educoder_session")}),Jt.body=Ce.body):(Jt.headers=T({Accept:"application/json",_method:X.method.toUpperCase(),"Content-Type":"application/json; charset=utf-8","Pc-Authorization":(0,i.ej)("_educoder_session")},Jt.headers),Jt.body=JSON.stringify(Ce.body))),Jt.method=="GET"?(Jt.headers=F(T({Accept:"application/json","Content-Type":"application/json; charset=utf-8",_method:X.method.toUpperCase()},Jt.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),Re=et;return me.href=Ee,me.download=Re,me.click(),window.URL.revokeObjectURL(Ee),pt});let it=t.Z.API_SERVER;return(window.ENV==="dev"||L.startsWith("http"))&&(it=""),Jt.method=="GET"&&Jt.params&&Object.keys(Jt.params).map(Ot=>{if(Jt.params[Ot]&&!Array.isArray(Jt.params[Ot]))try{Jt.params[Ot]=encodeURIComponent(decodeURIComponent(Jt.params[Ot]))}catch(pt){Jt.params[Ot]=encodeURIComponent(Jt.params[Ot])}}),(0,i.Ec)(Jt,L),xe&&(it=""),Jt.headers._method=Jt.method,Jt.headers["X-HTTP-Method-Override"]=Jt.method,Jt.method!=="GET"&&(Jt.method="POST"),fetch(it+L,Jt).then(Ot=>G(Ot,T({url:t.Z.API_SERVER+L},Jt))).then(Ot=>Z(Ot,ht)).then(Ot=>$(this,null,function*(){var pt,et,Ne,me;try{const Re=Ot.headers.get("cs");Re&&(0,i.d8)("_educoder_session",Re,1)}catch(Re){}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 Re=/\(\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 Gt=JSON.stringify(Ee).replace(nt,(Zt,Pe,Je,Vt)=>{const Rt=Pe||Je||Vt;return"/api/attachments/"+(0,i.Jn)(Rt)}).replace(ut,(Zt,Pe,Je)=>{const Vt=Pe||Je;return"/attachments/download/"+(0,i.Jn)(Vt)}).replace(Re,(Zt,Pe,Je,Vt)=>{const Rt=Pe||Je||Vt;return"(/api/attachments/"+(0,i.Jn)(Rt)}).replace($e,(Zt,Pe,Je)=>{const Vt=Pe||Je;return'"/api/attachments/'+(0,i.Jn)(Vt)}).replace(Ze,(Zt,Pe,Je)=>{const Vt=Pe||Je;return"(/files/uploads/"+(0,i.Jn)(Vt)}).replace(/\r\n/g,` `);Ee=JSON.parse(Gt)}catch(Re){}}else Jt.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=Jt.params)!=null&&Ne.hidePopLogin)||!((me=Jt.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(Re){console.log("fetcherr",Re)}return K(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}K(Ot,L)}else L.includes("/file/filePatchMerge")?(0,o.getDvaApp)()._store.dispatch({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5206\u7247\u4E13\u7528504",params:Jt.body}}):Ot.message!=="403"&&window.showNetworkErrorTip(`${L}${Ot.message}`);return Ot}catch(pt){}})}let Q=!1,V=!1;const K=(L,X)=>{var fe,xe,Ce;if(L.status==-6&&!V){V=!0,(0,i.d8)("_educoder_session","logout",1),(0,i.m5)(),setTimeout(()=>V=!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){V=!0,setTimeout(()=>V=!1,500);let Oe="";(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=>{Oe+=`\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 ${Oe} \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&&!V){V=!0,setTimeout(()=>V=!1,500),u.ZP.warning({content:L.message,key:"message-key"});return}const Le={403:"/403",404:"/404",500:"/500"};if(Le[L.status]&&!Q){const{user:Oe}=(0,o.getDvaApp)()._store.getState(),{userInfo:Ft}=Oe;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(Le).includes(window.location.pathname)?console.log("\u5F53\u524D\u8DEF\u5F84\u5B58\u5728\u4E8E mapping \u4E2D, \u4E0D\u518D\u6267\u884C\u8DF3\u8F6C"):location.replace(Le[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 q(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||{})})}},64892: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="T1RkaE1XWTRaalJoTUdaaE9HUmxaR016T0RGa05XTTNPRFkwTkdJeVpUQT0="},24768: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(V=>{const K=V.match(/^\s+/);if(K===null)return V;const[ae]=K;return ae.length>=Q.length?V.slice(Q.length):V}).join(` `)}let h=[],o=["