(self.webpackChunk=self.webpackChunk||[]).push([[2884,6270],{27812:function(en,zt,be){"use strict";be.d(zt,{Z:function(){return ie}});var ye=be(92413),Je=be(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"},ge=E,Ae=be(7657),ue=function(ae,oe){return Je.createElement(Ae.Z,(0,ye.Z)({},ae,{ref:oe,icon:ge}))},le=Je.forwardRef(ue),ie=le},67921:function(en,zt,be){"use strict";be.d(zt,{Z:function(){return ie}});var ye=be(92413),Je=be(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M632 698.3l141.9-112a8 8 0 000-12.6L632 461.7c-5.3-4.2-13-.4-13 6.3v76H295c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h324v76c0 6.7 7.8 10.4 13 6.3zm261.3-405L730.7 130.7c-7.5-7.5-16.7-13-26.7-16V112H144c-17.7 0-32 14.3-32 32v278c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V184h136v136c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V205.8l136 136V422c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-83.5c0-17-6.7-33.2-18.7-45.2zM640 288H384V184h256v104zm264 436h-56c-4.4 0-8 3.6-8 8v108H184V732c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v148c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V732c0-4.4-3.6-8-8-8z"}}]},name:"delivered-procedure",theme:"outlined"},ge=E,Ae=be(7657),ue=function(ae,oe){return Je.createElement(Ae.Z,(0,ye.Z)({},ae,{ref:oe,icon:ge}))},le=Je.forwardRef(ue),ie=le},87169:function(en,zt,be){"use strict";be.d(zt,{Z:function(){return ie}});var ye=be(92413),Je=be(59301),E={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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},ge=E,Ae=be(7657),ue=function(ae,oe){return Je.createElement(Ae.Z,(0,ye.Z)({},ae,{ref:oe,icon:ge}))},le=Je.forwardRef(ue),ie=le},95869:function(en,zt,be){"use strict";be.d(zt,{Z:function(){return ie}});var ye=be(92413),Je=be(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M688 264c0-4.4-3.6-8-8-8H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48zm-8 136H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM480 544H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm-48 308H208V148h560v344c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h264c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm356.8-74.4c29-26.3 47.2-64.3 47.2-106.6 0-79.5-64.5-144-144-144s-144 64.5-144 144c0 42.3 18.2 80.3 47.2 106.6-57 32.5-96.2 92.7-99.2 162.1-.2 4.5 3.5 8.3 8 8.3h48.1c4.2 0 7.7-3.3 8-7.6C564 871.2 621.7 816 692 816s128 55.2 131.9 124.4c.2 4.2 3.7 7.6 8 7.6H880c4.6 0 8.2-3.8 8-8.3-2.9-69.5-42.2-129.6-99.2-162.1zM692 591c44.2 0 80 35.8 80 80s-35.8 80-80 80-80-35.8-80-80 35.8-80 80-80z"}}]},name:"solution",theme:"outlined"},ge=E,Ae=be(7657),ue=function(ae,oe){return Je.createElement(Ae.Z,(0,ye.Z)({},ae,{ref:oe,icon:ge}))},le=Je.forwardRef(ue),ie=le},88010:function(en,zt){"use strict";zt.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},61293:function(en,zt){"use strict";zt.Z={footer:"footer___bruwa",whiteFooter:"whiteFooter___mR7kn",error:"error___KO0Jg",case:"case___L0pNc","resize-y-bar":"resize-y-bar___NK0gI",unfoldBtn:"unfoldBtn___aMmZw",caseHead:"caseHead___EuMPr",dot:"dot___Iky9k",text:"text___lMSx6",pass:"pass___XjijC",noPass:"noPass___JxpWk",btns:"btns___FPIaK",result:"result___oRj1h",title:"title___IhMSa",left:"left___XlC98",leftNode:"leftNode___NGHgx",right:"right____fIu_",node:"node___MwdH7",elseNode:"elseNode___WjFIg",nameWrap:"nameWrap___bEdbD",scroll:"scroll___ylWYt",scrollBox:"scrollBox___hWkc9",action:"action___xBwDi",whiteCase:"whiteCase___AZiDR",disabled:"disabled___lWQU2",codeHead:"codeHead___l8q5R",navWrap:"navWrap___xdWQe",nav:"nav___JKPVX",active:"active___DTAtT",whiteCodeHead:"whiteCodeHead___wDOny",header:"header___VjNh9",timepiece:"timepiece___yuqJC",btn_edit:"btn_edit___ozzux",whiteHeader:"whiteHeader___REV3m",djs:"djs___v0Ru7",myProblems:"myProblems___DKSbs",whiteMyProblems:"whiteMyProblems___k0QS3",fullMask:"fullMask___QZH1M"}},38476:function(){"use strict"},39775:function(en,zt,be){"use strict";var ye=be(59301),Je=Object.defineProperty,E=Object.getOwnPropertySymbols,ge=Object.prototype.hasOwnProperty,Ae=Object.prototype.propertyIsEnumerable,ue=(se,ae,oe)=>ae in se?Je(se,ae,{enumerable:!0,configurable:!0,writable:!0,value:oe}):se[ae]=oe,le=(se,ae)=>{for(var oe in ae||(ae={}))ge.call(ae,oe)&&ue(se,oe,ae[oe]);if(E)for(var oe of E(ae))Ae.call(ae,oe)&&ue(se,oe,ae[oe]);return se};const ie=se=>React.createElement("svg",le({width:30,height:30,xmlns:"http://www.w3.org/2000/svg"},se),React.createElement("title",null,"\u5360\u7528\u5185\u5B58"),React.createElement("g",{fillRule:"nonzero",fill:"none"},React.createElement("path",{fillOpacity:.01,fill:"#FFF",d:"M0 0h30v30H0z"}),React.createElement("path",{d:"M6.866 26.928h-1.28a2.561 2.561 0 0 1-2.562-2.561V5.585a2.561 2.561 0 0 1 2.561-2.56h1.28v4.268a2.561 2.561 0 0 0 2.562 2.56h3.842a2.561 2.561 0 0 0 2.56-2.56V3.024h2.915l8.184 8.184v13.159a2.561 2.561 0 0 1-2.561 2.561h-1.28v-5.976c0-.943-.765-1.707-1.708-1.707H8.573c-.943 0-1.707.764-1.707 1.707v5.976Z",fill:"#B6D0FC"}),React.createElement("path",{d:"M8.573 3.024h5.55v4.269a.854.854 0 0 1-.854.853H9.427a.854.854 0 0 1-.854-.853V3.024ZM8.573 26.928v-5.976H21.38v5.976z",fill:"#1890FF"})));zt.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzAiIGhlaWdodD0iMzAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBmaWxsLW9wYWNpdHk9Ii4wMSIgZmlsbD0iI0ZGRiIgZD0iTTAgMGgzMHYzMEgweiIvPjxwYXRoIGQ9Ik02Ljg2NiAyNi45MjhoLTEuMjhhMi41NjEgMi41NjEgMCAwIDEtMi41NjItMi41NjFWNS41ODVhMi41NjEgMi41NjEgMCAwIDEgMi41NjEtMi41NmgxLjI4djQuMjY4YTIuNTYxIDIuNTYxIDAgMCAwIDIuNTYyIDIuNTZoMy44NDJhMi41NjEgMi41NjEgMCAwIDAgMi41Ni0yLjU2VjMuMDI0aDIuOTE1bDguMTg0IDguMTg0djEzLjE1OWEyLjU2MSAyLjU2MSAwIDAgMS0yLjU2MSAyLjU2MWgtMS4yOHYtNS45NzZjMC0uOTQzLS43NjUtMS43MDctMS43MDgtMS43MDdIOC41NzNjLS45NDMgMC0xLjcwNy43NjQtMS43MDcgMS43MDd2NS45NzZaIiBmaWxsPSIjQjZEMEZDIi8+PHBhdGggZD0iTTguNTczIDMuMDI0aDUuNTV2NC4yNjlhLjg1NC44NTQgMCAwIDEtLjg1NC44NTNIOS40MjdhLjg1NC44NTQgMCAwIDEtLjg1NC0uODUzVjMuMDI0Wk04LjU3MyAyNi45Mjh2LTUuOTc2SDIxLjM4djUuOTc2eiIgZmlsbD0iIzE4OTBGRiIvPjwvZz48L3N2Zz4="},93450:function(en,zt,be){"use strict";var ye=be(59301),Je=Object.defineProperty,E=Object.getOwnPropertySymbols,ge=Object.prototype.hasOwnProperty,Ae=Object.prototype.propertyIsEnumerable,ue=(se,ae,oe)=>ae in se?Je(se,ae,{enumerable:!0,configurable:!0,writable:!0,value:oe}):se[ae]=oe,le=(se,ae)=>{for(var oe in ae||(ae={}))ge.call(ae,oe)&&ue(se,oe,ae[oe]);if(E)for(var oe of E(ae))Ae.call(ae,oe)&&ue(se,oe,ae[oe]);return se};const ie=se=>React.createElement("svg",le({width:30,height:30,xmlns:"http://www.w3.org/2000/svg"},se),React.createElement("title",null,"\u8FD0\u884C\u65F6\u95F4"),React.createElement("g",{fillRule:"nonzero",fill:"none"},React.createElement("path",{d:"M30 15c0 8.284-6.716 15-15 15-8.284 0-15-6.716-15-15C0 6.716 6.716 0 15 0c8.284 0 15 6.716 15 15Z",fill:"#BAFFF0"}),React.createElement("path",{d:"M25.5 15c0 5.8-4.7 10.5-10.5 10.5S4.5 20.8 4.5 15 9.2 4.5 15 4.5 25.5 9.2 25.5 15Z",fill:"#44D7B6"}),React.createElement("path",{d:"M13.5 9a1.5 1.5 0 0 1 1.5 1.5v4.379l3.56 3.56a1.5 1.5 0 0 1-2.12 2.122l-4-4A1.5 1.5 0 0 1 12 15.5v-5A1.5 1.5 0 0 1 13.5 9Z",fill:"#FFF"})));zt.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzAiIGhlaWdodD0iMzAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBkPSJNMzAgMTVjMCA4LjI4NC02LjcxNiAxNS0xNSAxNS04LjI4NCAwLTE1LTYuNzE2LTE1LTE1QzAgNi43MTYgNi43MTYgMCAxNSAwYzguMjg0IDAgMTUgNi43MTYgMTUgMTVaIiBmaWxsPSIjQkFGRkYwIi8+PHBhdGggZD0iTTI1LjUgMTVjMCA1LjgtNC43IDEwLjUtMTAuNSAxMC41UzQuNSAyMC44IDQuNSAxNSA5LjIgNC41IDE1IDQuNSAyNS41IDkuMiAyNS41IDE1WiIgZmlsbD0iIzQ0RDdCNiIvPjxwYXRoIGQ9Ik0xMy41IDlhMS41IDEuNSAwIDAgMSAxLjUgMS41djQuMzc5bDMuNTYgMy41NmExLjUgMS41IDAgMCAxLTIuMTIgMi4xMjJsLTQtNEExLjUgMS41IDAgMCAxIDEyIDE1LjV2LTVBMS41IDEuNSAwIDAgMSAxMy41IDlaIiBmaWxsPSIjRkZGIi8+PC9nPjwvc3ZnPg=="},74413:function(){"use strict";function en(z,a,y,x){y===void 0&&(y=0),x===void 0&&(x=1/0),this._name=z,this._defaultValue=a,this._minimum=y,this._maximum=x}Object.defineProperty(en.prototype,"name",{get:function(){return this._name},set:function(z){if(typeof z!="string"||z==="")throw new Error("Shape name must be a valid string.");this._name=z}}),Object.defineProperty(en.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(z){if(typeof z!="number"||isNaN(z))throw new Error("The default value must be a real number, not: "+z);this._defaultValue=z}}),Object.defineProperty(en.prototype,"minimum",{get:function(){return this._minimum},set:function(z){if(typeof z!="number"||isNaN(z))throw new Error("Minimum must be a real number, not: "+z);this._minimum=z}}),Object.defineProperty(en.prototype,"maximum",{get:function(){return this._maximum},set:function(z){if(typeof z!="number"||isNaN(z))throw new Error("Maximum must be a real number, not: "+z);this._maximum=z}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(z,a){var y=go.Shape._FigureParameters[z];return y?y[a]:null},go.Shape.setFigureParameter=function(z,a,y){if(!(y instanceof en))throw new Error("Third argument to Shape.setFigureParameter is not FigureParameter: "+y);if(y.defaultValuey.maximum)throw new Error("defaultValue must be between minimum and maximum, not: "+y.defaultValue);var x=go.Shape._FigureParameters[z];x||(x=[],go.Shape._FigureParameters[z]=x),x[a]=y};var zt=[];function be(z,a){var y=zt.pop();return y===void 0?new go.Point(z,a):(y.x=z,y.y=a,y)}function ye(){var z=zt.pop();return z===void 0?new go.Point:z}function Je(z){zt.push(z)}function E(z,a,y,x,b,te,ee,ce,fe){fe||(fe=new go.Point);var he=z-y,de=b-ee,pe=NaN,ve=NaN;if(he===0)if(de===0)z===y&&(pe=z,ve=a);else{var me=(te-ce)/de,Ee=te-me*b;pe=z,ve=me*pe+Ee}else if(de===0){var Se=(a-x)/he,Te=a-Se*z;pe=b,ve=Se*pe+Te}else{var Se=(a-x)/he,me=(te-ce)/de,Te=a-Se*z,Ee=te-me*b;pe=(Ee-Te)/(Se-me),ve=Se*pe+Te}return fe.x=pe,fe.y=ve,fe}function ge(z,a,y,x,b,te,ee,ce,fe,he,de,pe,ve,me){var Ee=1-fe,Se=fe,Te=z*Ee+y*Se,we=a*Ee+x*Se,je=y*Ee+b*Se,xe=x*Ee+te*Se,Oe=b*Ee+ee*Se,ze=te*Ee+ce*Se,Ze=Te*Ee+je*Se,Me=we*Ee+xe*Se,tt=je*Ee+Oe*Se,qe=xe*Ee+ze*Se,st=Ze*Ee+tt*Se,At=Me*Ee+qe*Se;he.x=Te,he.y=we,de.x=Ze,de.y=Me,pe.x=st,pe.y=At,ve.x=tt,ve.y=qe,me.x=Oe,me.y=ze}var Ae=new go.Spot(.156,.156),ue=new go.Spot(.844,.844),le=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new en("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(z,a,y){var x=z?z.parameter1:NaN;(isNaN(x)||x<0)&&(x=5),x=Math.min(x,a/3),x=Math.min(x,y/3);var b=x*le,te=new go.Geometry().add(new go.PathFigure(x,0,!0).add(new go.PathSegment(go.PathSegment.Line,a-x,0)).add(new go.PathSegment(go.PathSegment.Bezier,a,x,a-b,0,a,b)).add(new go.PathSegment(go.PathSegment.Line,a,y-x)).add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,y-b,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,x,y)).add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,b,y,0,y-b)).add(new go.PathSegment(go.PathSegment.Line,0,x)).add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,b,b,0).close()));return b>1&&(te.spot1=new go.Spot(0,0,b,b),te.spot2=new go.Spot(1,1,-b,-b)),te}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(0,.25,.5,.75)}),go.Shape.defineFigureGenerator("TriangleDown",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close())).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("TriangleLeft",function(z,a,y){return new go.Geometry().add(new go.PathFigure(a,y).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,0).close())).setSpots(.5,.25,1,.75)}),go.Shape.defineFigureGenerator("TriangleUp",function(z,a,y){return new go.Geometry().add(new go.PathFigure(a,y).add(new go.PathSegment(go.PathSegment.Line,0,y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,0).close())).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("Triangle","TriangleUp"),go.Shape.defineFigureGenerator("Diamond",function(z,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,0).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y).close())).setSpots(.25,.25,.75,.75)}),go.Shape.defineFigureGenerator("LineH",function(z,a,y){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=y/2,x.endX=a,x.endY=y/2,x}),go.Shape.defineFigureGenerator("LineV",function(z,a,y){var x=new go.Geometry(go.Geometry.Line);return x.startX=a/2,x.startY=0,x.endX=a/2,x.endY=y,x}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,y/2,!1).add(new go.PathSegment(go.PathSegment.Line,a,y/2)).add(new go.PathSegment(go.PathSegment.Move,a/2,0)).add(new go.PathSegment(go.PathSegment.Line,a/2,y)))}),go.Shape.defineFigureGenerator("XLine",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,0,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)))}),go.Shape.defineFigureGenerator("LineRight",function(z,a,y){return new go.Geometry().add(new go.PathFigure(.25*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.25*a,y)))}),go.Shape.defineFigureGenerator("LineDown",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,.25*y,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,.75*y)).add(new go.PathSegment(go.PathSegment.Line,a,.25*y)))}),go.Shape.defineFigureGenerator("LineLeft",function(z,a,y){return new go.Geometry().add(new go.PathFigure(.75*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.75*a,y)))}),go.Shape.defineFigureGenerator("LineUp",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,.75*y,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,.25*y)).add(new go.PathSegment(go.PathSegment.Line,a,.75*y)))}),go.Shape.defineFigureGenerator("AsteriskLine",function(z,a,y){var x=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(x*a,(1-x)*y,!1).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,x*y)).add(new go.PathSegment(go.PathSegment.Move,x*a,x*y)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,(1-x)*y)).add(new go.PathSegment(go.PathSegment.Move,0,y/2)).add(new go.PathSegment(go.PathSegment.Line,a,y/2)).add(new go.PathSegment(go.PathSegment.Move,a/2,0)).add(new go.PathSegment(go.PathSegment.Line,a/2,y)))}),go.Shape.defineFigureGenerator("CircleLine",function(z,a,y){var x=a/2,b=new go.Geometry().add(new go.PathFigure(a,a/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,x,x,x,x).close()));return b.spot1=Ae,b.spot2=ue,b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Line1",function(z,a,y){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=0,x.endX=a,x.endY=y,x}),go.Shape.defineFigureGenerator("Line2",function(z,a,y){var x=new go.Geometry(go.Geometry.Line);return x.startX=a,x.startY=0,x.endX=0,x.endY=y,x}),go.Shape.defineFigureGenerator("Curve1",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,y,le*a,0,a,(1-le)*y)))}),go.Shape.defineFigureGenerator("Curve2",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,y,0,le*y,(1-le)*a,y)))}),go.Shape.defineFigureGenerator("Curve3",function(z,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,le*y,le*a,y)))}),go.Shape.defineFigureGenerator("Curve4",function(z,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,y,(1-le)*a,0,0,(1-le)*y)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(0,.5,.5,1)}),go.Shape.defineFigureGenerator("TriangleDownRight",function(z,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(.5,.5,1,1)}),go.Shape.defineFigureGenerator("TriangleUpLeft",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(0,0,.5,.5)}),go.Shape.defineFigureGenerator("TriangleUpRight",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y).close())).setSpots(.5,0,1,.5)}),go.Shape.defineFigureGenerator("RightTriangle","TriangleDownLeft"),go.Shape.setFigureParameter("Parallelogram1",0,new en("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)?x=.1:x<-1?x=-1:x>1&&(x=1);var b=Math.abs(x)*a;if(x===0){var te=new go.Geometry(go.Geometry.Rectangle);return te.startX=0,te.startY=0,te.endX=a,te.endY=y,te}else{var te=new go.Geometry;return x>0?te.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):te.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())),ba&&(x=a);var b=Math.abs(x);if(x===0){var te=new go.Geometry(go.Geometry.Rectangle);return te.startX=0,te.startY=0,te.endX=a,te.endY=y,te}else{var te=new go.Geometry;return x>0?te.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):te.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())),b.5&&(x=.5);var b=Math.abs(x)*a;if(x===0){var te=new go.Geometry(go.Geometry.Rectangle);return te.startX=0,te.startY=0,te.endX=a,te.endY=y,te}else{var te=new go.Geometry;return x>0?te.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):te.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())),ba&&(x=a/2);var b=Math.abs(x);if(x===0){var te=new go.Geometry(go.Geometry.Rectangle);return te.startX=0,te.startY=0,te.endX=a,te.endY=y,te}else{var te=new go.Geometry;return x>0?te.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):te.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())),ba&&(x=a/2);var b=Math.abs(x);if(x===0){var te=new go.Geometry(go.Geometry.Rectangle);return te.startX=0,te.startY=0,te.endX=a,te.endY=y,te}else{var te=new go.Geometry;return x>0?te.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())):te.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())),b0&&(ee.add(new go.PathSegment(go.PathSegment.Move,a/2+ce,a/2)),ee.add(new go.PathSegment(go.PathSegment.Arc,0,-360,b,b,ce,ce).close())),te.spot1=Ae,te.spot2=ue,te.defaultStretch=go.GraphObject.Uniform,te}),go.Shape.defineFigureGenerator("Cloud",function(z,a,y){return new go.Geometry().add(new go.PathFigure(.08034461*a,.1944299*y,!0).add(new go.PathSegment(go.PathSegment.Bezier,.2008615*a,.05349299*y,-.09239631*a,.07836421*y,.1406031*a,-.0542823*y)).add(new go.PathSegment(go.PathSegment.Bezier,.4338609*a,.074219*y,.2450511*a,-.00697547*y,.3776197*a,-.01112067*y)).add(new go.PathSegment(go.PathSegment.Bezier,.6558228*a,.07004196*y,.4539471*a,0,.6066018*a,-.02526587*y)).add(new go.PathSegment(go.PathSegment.Bezier,.8921095*a,.08370865*y,.6914277*a,-.01904177*y,.8921095*a,-.01220843*y)).add(new go.PathSegment(go.PathSegment.Bezier,.9147671*a,.3194596*y,1.036446*a,.04105738*y,1.020377*a,.3022052*y)).add(new go.PathSegment(go.PathSegment.Bezier,.9082935*a,.562044*y,1.04448*a,.360238*y,.992256*a,.5219009*y)).add(new go.PathSegment(go.PathSegment.Bezier,.9212406*a,.8217117*y,1.032337*a,.5771781*y,1.018411*a,.8120651*y)).add(new go.PathSegment(go.PathSegment.Bezier,.7592566*a,.9156953*y,1.028411*a,.9571472*y,.8556702*a,1.052487*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5101666*a,.9310455*y,.7431877*a,1.009325*y,.5624123*a,1.021761*y)).add(new go.PathSegment(go.PathSegment.Bezier,.2609328*a,.9344623*y,.4820677*a,1.031761*y,.3030112*a,1.002796*y)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*a,.870098*y,.2329994*a,1.01518*y,.03213784*a,1.01518*y)).add(new go.PathSegment(go.PathSegment.Bezier,.06829292*a,.6545475*y,-.02812061*a,.9032597*y,-.01205169*a,.6835638*y)).add(new go.PathSegment(go.PathSegment.Bezier,.06427569*a,.4265613*y,-.01812061*a,.6089503*y,-.00606892*a,.4555777*y)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*a,.1944299*y,-.01606892*a,.3892545*y,-.01205169*a,.1944299*y))).setSpots(.1,.1,.9,.9)}),go.Shape.defineFigureGenerator("StopSign",function(z,a,y){var x=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(x*a,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,x*y)).add(new go.PathSegment(go.PathSegment.Line,a,(1-x)*y)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,y)).add(new go.PathSegment(go.PathSegment.Line,x*a,y)).add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*y)).add(new go.PathSegment(go.PathSegment.Line,0,x*y).close())).setSpots(x/2,x/2,1-x/2,1-x/2)}),go.Shape.setFigureParameter("Pie",0,new en("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new en("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(z,a,y){var x=z?z.parameter1:NaN,b=z?z.parameter2:NaN;isNaN(x)&&(x=0),isNaN(b)&&(b=315);var te=x%360;te<0&&(te+=360);var ee=b%360,ce=Math.min(a,y)/2;return new go.Geometry().add(new go.PathFigure(ce,ce).add(new go.PathSegment(go.PathSegment.Arc,te,ee,ce,ce,ce,ce).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(z,a,y){var x=le/Math.SQRT2*.5,b=Math.SQRT2/2,te=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(a,y,!0).add(new go.PathSegment(go.PathSegment.Bezier,b*a,te*y,a,(1-x)*y,(b+x)*a,(te+x)*y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close()))}),go.Shape.setFigureParameter("ThickCross",0,new en("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(z,a,y){var x=z?z.parameter1:NaN;(isNaN(x)||x<0)&&(x=30);var b=Math.min(x,a)/2,te=a/2,ee=y/2;return new go.Geometry().add(new go.PathFigure(te-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,te+b,0)).add(new go.PathSegment(go.PathSegment.Line,te+b,ee-b)).add(new go.PathSegment(go.PathSegment.Line,a,ee-b)).add(new go.PathSegment(go.PathSegment.Line,a,ee+b)).add(new go.PathSegment(go.PathSegment.Line,te+b,ee+b)).add(new go.PathSegment(go.PathSegment.Line,te+b,y)).add(new go.PathSegment(go.PathSegment.Line,te-b,y)).add(new go.PathSegment(go.PathSegment.Line,te-b,ee+b)).add(new go.PathSegment(go.PathSegment.Line,0,ee+b)).add(new go.PathSegment(go.PathSegment.Line,0,ee-b)).add(new go.PathSegment(go.PathSegment.Line,te-b,ee-b).close()))}),go.Shape.setFigureParameter("ThinCross",0,new en("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(z,a,y){var x=z?z.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var b=Math.min(x,a)/2,te=a/2,ee=y/2;return new go.Geometry().add(new go.PathFigure(te-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,te+b,0)).add(new go.PathSegment(go.PathSegment.Line,te+b,ee-b)).add(new go.PathSegment(go.PathSegment.Line,a,ee-b)).add(new go.PathSegment(go.PathSegment.Line,a,ee+b)).add(new go.PathSegment(go.PathSegment.Line,te+b,ee+b)).add(new go.PathSegment(go.PathSegment.Line,te+b,y)).add(new go.PathSegment(go.PathSegment.Line,te-b,y)).add(new go.PathSegment(go.PathSegment.Line,te-b,ee+b)).add(new go.PathSegment(go.PathSegment.Line,0,ee+b)).add(new go.PathSegment(go.PathSegment.Line,0,ee-b)).add(new go.PathSegment(go.PathSegment.Line,te-b,ee-b).close()))}),go.Shape.setFigureParameter("ThickX",0,new en("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(z,a,y){var x=z?z.parameter1:NaN;if((isNaN(x)||x<0)&&(x=30),a===0||y===0){var b=new go.Geometry(go.Geometry.Rectangle);return b.startX=0,b.startY=0,b.endX=a,b.endY=y,b}else{var te=a/2,ee=y/2,ce=Math.atan2(y,a),fe=x-Math.min(Math.cos(ce)*x/2,te),he=x-Math.min(Math.sin(ce)*x/2,ee),b=new go.Geometry,de=new go.PathFigure(fe,0,!0);return b.add(de),de.add(new go.PathSegment(go.PathSegment.Line,te,.2*y)),de.add(new go.PathSegment(go.PathSegment.Line,a-fe,0)),de.add(new go.PathSegment(go.PathSegment.Line,a,he)),de.add(new go.PathSegment(go.PathSegment.Line,.8*a,ee)),de.add(new go.PathSegment(go.PathSegment.Line,a,y-he)),de.add(new go.PathSegment(go.PathSegment.Line,a-fe,y)),de.add(new go.PathSegment(go.PathSegment.Line,te,.8*y)),de.add(new go.PathSegment(go.PathSegment.Line,fe,y)),de.add(new go.PathSegment(go.PathSegment.Line,0,y-he)),de.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),de.add(new go.PathSegment(go.PathSegment.Line,0,he).close()),b}}),go.Shape.setFigureParameter("ThinX",0,new en("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(z,a,y){var x=z?z.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var b=new go.Geometry,te=new go.PathFigure(.1*a,0,!0);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,.1*y)),te.add(new go.PathSegment(go.PathSegment.Line,.6*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Line,.1*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.9*y)),te.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.1*y).close()),b}),go.Shape.setFigureParameter("SquareIBeam",0,new en("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.2);var b=new go.Geometry,te=new go.PathFigure(0,0,!0);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,x*y)),te.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*a,x*y)),te.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*a,(1-x)*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,(1-x)*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*a,(1-x)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*a,x*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,x*y).close()),b}),go.Shape.setFigureParameter("RoundedIBeam",0,new en("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.5);var b=new go.Geometry,te=new go.PathFigure(0,0,!0);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,y,Math.abs(1-x)*a,.25*y,Math.abs(1-x)*a,.75*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*a,.75*y,x*a,.25*y).close()),b}),go.Shape.defineFigureGenerator("HalfEllipse",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,le*a,0,a,(.5-le/2)*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,(.5+le/2)*y,le*a,y).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,0,a,y)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.5*a,.75*y,.5*a,.25*y).close())).setSpots(.311,.266,.744,.744)}),go.Shape.defineFigureGenerator("Heart",function(z,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,y,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,.3*y,.1*a,.8*y,0,.5*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,0,0,.45*a,0)).add(new go.PathSegment(go.PathSegment.Bezier,a,.3*y,.55*a,0,a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,.5*y,.9*a,.8*y).close())).setSpots(.14,.29,.86,.78)}),go.Shape.defineFigureGenerator("Spade",function(z,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,0,!0).add(new go.PathSegment(go.PathSegment.Line,.51*a,.01*y)).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.6*a,.2*y,a,.25*y)).add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.7*y,a,.8*y,.6*a,.8*y)).add(new go.PathSegment(go.PathSegment.Bezier,.75*a,y,.5*a,.75*y,.55*a,.95*y)).add(new go.PathSegment(go.PathSegment.Line,.25*a,y)).add(new go.PathSegment(go.PathSegment.Bezier,.45*a,.7*y,.45*a,.95*y,.5*a,.75*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,.4*a,.8*y,0,.8*y)).add(new go.PathSegment(go.PathSegment.Bezier,.49*a,.01*y,0,.25*y,.4*a,.2*y).close())).setSpots(.14,.26,.86,.78)}),go.Shape.defineFigureGenerator("Club",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.4*a,.6*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.15*a,y,.5*a,.75*y,.45*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.6*a,.6*y,.55*a,.95*y,.5*a,.75*y));var te=.2,ee=.3,ce=0,fe=te*le;return b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5+te+ce)*y,(.5-te+ee)*a,(.5+fe+ce)*y,(.5-fe+ee)*a,(.5+te+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+te+ee)*a,(.5+ce)*y,(.5+fe+ee)*a,(.5+te+ce)*y,(.5+te+ee)*a,(.5+fe+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-te+ce)*y,(1-.5+te+ee)*a,(.5-fe+ce)*y,(.5+fe+ee)*a,(.5-te+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.65*a,.36771243*y,(.5-fe+ee)*a,(.5-te+ce)*y,(.5-te+ee+.05)*a,(.5-fe+ce-.02)*y)),te=.2,ee=0,ce=-.3,fe=te*le,b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+te+ee)*a,(.5+ce)*y,(.5+fe+ee)*a,(.5+te+ce)*y,(.5+te+ee)*a,(.5+fe+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-te+ce)*y,(1-.5+te+ee)*a,(.5-fe+ce)*y,(.5+fe+ee)*a,(.5-te+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-te+ee)*a,(.5+ce)*y,(.5-fe+ee)*a,(.5-te+ce)*y,(.5-te+ee)*a,(.5-fe+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-fe+ee)*a,(.5+te+ce)*y,(.5-te+ee)*a,(.5+fe+ce)*y,(.5-fe+ee)*a,(.5+te+ce)*y)),te=.2,ee=-.3,ce=0,fe=te*le,b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-te+ce)*y,(1-.5+te+ee-.05)*a,(.5-fe+ce-.02)*y,(.5+fe+ee)*a,(.5-te+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-te+ee)*a,(.5+ce)*y,(.5-fe+ee)*a,(.5-te+ce)*y,(.5-te+ee)*a,(.5-fe+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5+te+ce)*y,(.5-te+ee)*a,(.5+fe+ce)*y,(.5-fe+ee)*a,(.5+te+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.6*y,(.5+fe+ee)*a,(.5+te+ce)*y,(.5+te+ee)*a,(.5+fe+ce)*y).close()),x.setSpots(.06,.33,.93,.68),x}),go.Shape.defineFigureGenerator("YinYang",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a*.5,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*.5,a*.5,a*.5,a*.5)),b.add(new go.PathSegment(go.PathSegment.Arc,90,-180,a*.5,a*.75,a*.25,a*.25)),b.add(new go.PathSegment(go.PathSegment.Arc,90,180,a*.5,a*.25,a*.25,a*.25));var te=.1,ee=.5,ce=.25;return b.add(new go.PathSegment(go.PathSegment.Move,(ee+te)*a,ce*y)),b.add(new go.PathSegment(go.PathSegment.Arc,0,-360,a*ee,y*ce,te*a,te*a).close()),b=new go.PathFigure(a*.5,0,!1),x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*.5,a*.5,a*.5,a*.5)),ce=.75,b=new go.PathFigure((ee+te)*a,ce*y,!0),x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,0,360,a*ee,y*ce,te*a,te*a).close()),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Peace",function(z,a,y){var x=.8535533905932737,b=.5*a,te=.5*y;return new go.Geometry().add(new go.PathFigure(b,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,b,te,b,te)).add(new go.PathSegment(go.PathSegment.Line,b,y)).add(new go.PathSegment(go.PathSegment.Move,b,te)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,x*y)).add(new go.PathSegment(go.PathSegment.Move,b,te)).add(new go.PathSegment(go.PathSegment.Line,x*a,x*y)))}),go.Shape.defineFigureGenerator("NotAllowed",function(z,a,y){var x=new go.Geometry,b=le*.5,te=.5,ee=.5,ce=.5,fe=new go.PathFigure(ee*a,(ce-te)*y);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-te)*a,ce*y,(ee-b)*a,(ce-te)*y,(ee-te)*a,(ce-b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce+te)*y,(ee-te)*a,(ce+b)*y,(ee-b)*a,(ce+te)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+te)*a,ce*y,(ee+b)*a,(ce+te)*y,(ee+te)*a,(ce+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce-te)*y,(ee+te)*a,(ce-b)*y,(ee+b)*a,(ce-te)*y)),te=.4,b=le*.4;var he=ye(),de=ye(),pe=ye(),ve=ye();ge(ee,ce-te,ee+b,ce-te,ee+te,ce-b,ee+te,ce,.42,he,de,pe,ve,ve);var me=ye(),Ee=ye(),Se=ye();ge(ee,ce-te,ee+b,ce-te,ee+te,ce-b,ee+te,ce,.58,ve,ve,Se,me,Ee);var Te=ye(),we=ye(),je=ye();ge(ee,ce+te,ee-b,ce+te,ee-te,ce+b,ee-te,ce,.42,Te,we,je,ve,ve);var xe=ye(),Oe=ye(),ze=ye();return ge(ee,ce+te,ee-b,ce+te,ee-te,ce+b,ee-te,ce,.58,ve,ve,ze,xe,Oe),fe.add(new go.PathSegment(go.PathSegment.Move,ze.x*a,ze.y*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-te)*a,ce*y,xe.x*a,xe.y*y,Oe.x*a,Oe.y*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce-te)*y,(ee-te)*a,(ce-b)*y,(ee-b)*a,(ce-te)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,pe.x*a,pe.y*y,he.x*a,he.y*y,de.x*a,de.y*y)),fe.add(new go.PathSegment(go.PathSegment.Line,ze.x*a,ze.y*y).close()),fe.add(new go.PathSegment(go.PathSegment.Move,je.x*a,je.y*y)),fe.add(new go.PathSegment(go.PathSegment.Line,Se.x*a,Se.y*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+te)*a,ce*y,me.x*a,me.y*y,Ee.x*a,Ee.y*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce+te)*y,(ee+te)*a,(ce+b)*y,(ee+b)*a,(ce+te)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,je.x*a,je.y*y,Te.x*a,Te.y*y,we.x*a,we.y*y).close()),Je(he),Je(de),Je(pe),Je(ve),Je(me),Je(Ee),Je(Se),Je(Te),Je(we),Je(je),Je(xe),Je(Oe),Je(ze),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Fragile",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.25*a,0)).add(new go.PathSegment(go.PathSegment.Line,.2*a,.15*y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.25*y)).add(new go.PathSegment(go.PathSegment.Line,.29*a,.33*y)).add(new go.PathSegment(go.PathSegment.Line,.35*a,.25*y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.15*y)).add(new go.PathSegment(go.PathSegment.Line,.4*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.5*y,a,.25*y,.75*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.45*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.5*y,0,.25*y).close()))}),go.Shape.setFigureParameter("HourGlass",0,new en("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(z,a,y){var x=z?z.parameter1:NaN;(isNaN(x)||x<0)&&(x=30),x>a&&(x=a);var b=(a-x)/2,te=b+x;return new go.Geometry().add(new go.PathFigure(te,.5*y).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y)).add(new go.PathSegment(go.PathSegment.Line,b,.5*y)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,a,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,.55*y).add(new go.PathSegment(go.PathSegment.Line,.6*a,0)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.45*y)).add(new go.PathSegment(go.PathSegment.Line,a,.45*y)).add(new go.PathSegment(go.PathSegment.Line,.4*a,y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.55*y).close()))}),go.Shape.defineFigureGenerator("GenderMale",function(z,a,y){var x=new go.Geometry,b=le*.4,te=.4,ee=.5,ce=.5,fe=ye(),he=ye(),de=ye(),pe=ye(),ve=new go.PathFigure((ee-te)*a,ce*y,!1);x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce-te)*y,(ee-te)*a,(ce-b)*y,(ee-b)*a,(ce-te)*y)),ge(ee,ce-te,ee+b,ce-te,ee+te,ce-b,ee+te,ce,.44,de,pe,he,fe,fe),ve.add(new go.PathSegment(go.PathSegment.Bezier,he.x*a,he.y*y,de.x*a,de.y*y,pe.x*a,pe.y*y));var me=be(he.x,he.y);ge(ee,ce-te,ee+b,ce-te,ee+te,ce-b,ee+te,ce,.56,fe,fe,he,de,pe);var Ee=be(he.x,he.y);ve.add(new go.PathSegment(go.PathSegment.Line,(me.x*.1+.95*.9)*a,me.y*.1*y)),ve.add(new go.PathSegment(go.PathSegment.Line,.85*a,me.y*.1*y)),ve.add(new go.PathSegment(go.PathSegment.Line,.85*a,0)),ve.add(new go.PathSegment(go.PathSegment.Line,a,0)),ve.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),ve.add(new go.PathSegment(go.PathSegment.Line,(Ee.x*.1+.9)*a,.15*y)),ve.add(new go.PathSegment(go.PathSegment.Line,(Ee.x*.1+.9)*a,(Ee.y*.1+.05*.9)*y)),ve.add(new go.PathSegment(go.PathSegment.Line,Ee.x*a,Ee.y*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ee+te)*a,ce*y,de.x*a,de.y*y,pe.x*a,pe.y*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce+te)*y,(ee+te)*a,(ce+b)*y,(ee+b)*a,(ce+te)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ee-te)*a,ce*y,(ee-b)*a,(ce+te)*y,(ee-te)*a,(ce+b)*y)),te=.35,b=le*.35;var Se=new go.PathFigure(ee*a,(ce-te)*y,!1);x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,(ee-te)*a,ce*y,(ee-b)*a,(ce-te)*y,(ee-te)*a,(ce-b)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce+te)*y,(ee-te)*a,(ce+b)*y,(ee-b)*a,(ce+te)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(ee+te)*a,ce*y,(ee+b)*a,(ce+te)*y,(ee+te)*a,(ce+b)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce-te)*y,(ee+te)*a,(ce-b)*y,(ee+b)*a,(ce-te)*y));var Te=new go.PathFigure((ee-te)*a,ce*y,!1);return x.add(Te),Je(fe),Je(he),Je(de),Je(pe),Je(me),Je(Ee),x.spot1=new go.Spot(.202,.257),x.spot2=new go.Spot(.792,.739),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("GenderFemale",function(z,a,y){var x=new go.Geometry,b=.375,te=0,ee=-.125,ce=b*le,fe=new go.PathFigure((.525+te)*a,(.5+b+ee)*y,!1);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+te)*a,(.5+ee)*y,(.5+ce+te)*a,(.5+b+ee)*y,(.5+b+te)*a,(.5+ce+ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5-b+ee)*y,(1-.5+b+te)*a,(.5-ce+ee)*y,(.5+ce+te)*a,(.5-b+ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+te)*a,(.5+ee)*y,(.5-ce+te)*a,(.5-b+ee)*y,(.5-b+te)*a,(.5-ce+ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(.475+te)*a,(.5+b+ee)*y,(.5-b+te)*a,(.5+ce+ee)*y,(.5-ce+te)*a,(.5+b+ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.475*a,.85*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.425*a,.85*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.425*a,.9*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.475*a,.9*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.475*a,y)),fe.add(new go.PathSegment(go.PathSegment.Line,.525*a,y)),fe.add(new go.PathSegment(go.PathSegment.Line,.525*a,.9*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.575*a,.9*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.575*a,.85*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*y).close()),b=.325,te=0,ee=-.125,ce=b*le;var fe=new go.PathFigure((1-.5+b+te)*a,(.5+ee)*y,!1);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5+b+ee)*y,(.5+b+te)*a,(.5+ce+ee)*y,(.5+ce+te)*a,(.5+b+ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+te)*a,(.5+ee)*y,(.5-ce+te)*a,(.5+b+ee)*y,(.5-b+te)*a,(.5+ce+ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5-b+ee)*y,(.5-b+te)*a,(.5-ce+ee)*y,(.5-ce+te)*a,(.5-b+ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+te)*a,(.5+ee)*y,(.5+ce+te)*a,(.5-b+ee)*y,(1-.5+b+te)*a,(.5-ce+ee)*y));var fe=new go.PathFigure((.525+te)*a,(.5+b+ee)*y,!1);return x.add(fe),x.spot1=new go.Spot(.232,.136),x.spot2=new go.Spot(.682,.611),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicImplies",function(z,a,y){var x=z?z.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,y)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y))).setSpots(0,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicIff",function(z,a,y){var x=z?z.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,y)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Move,x*a,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,x*a,y))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)))}),go.Shape.defineFigureGenerator("LogicAnd",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y))).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("LogicOr",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,a,0))).setSpots(.219,0,.78,.409)}),go.Shape.defineFigureGenerator("LogicXor",function(z,a,y){var x=new go.Geometry().add(new go.PathFigure(.5*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Arc,0,360,.5*a,.5*y,.5*a,.5*y)));return x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicTruth",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,.5*a,0)).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)))}),go.Shape.defineFigureGenerator("LogicFalsity",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Move,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,0)))}),go.Shape.defineFigureGenerator("LogicThereExists",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Move,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y)))}),go.Shape.defineFigureGenerator("LogicForAll",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*y))).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("LogicIsDefinedAs",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Move,0,y)).add(new go.PathSegment(go.PathSegment.Line,a,y))).setSpots(.01,.01,.99,.49)}),go.Shape.defineFigureGenerator("LogicIntersect",function(z,a,y){var x=.5;return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,0,x*y)).add(new go.PathSegment(go.PathSegment.Arc,180,180,x*a,x*y,x*a,x*y)).add(new go.PathSegment(go.PathSegment.Line,a,y))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(z,a,y){var x=.5;return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,x*y)).add(new go.PathSegment(go.PathSegment.Arc,0,180,x*a,x*y,x*a,x*y)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new en("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new en("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.3);var b=z?z.parameter2:NaN;isNaN(b)&&(b=.3);var te=(1-x)*a,ee=(.5-b/2)*y,ce=(.5+b/2)*y,fe=new go.Geometry,he=new go.PathFigure(0,ee,!0);fe.add(he),he.add(new go.PathSegment(go.PathSegment.Line,te,ee)),he.add(new go.PathSegment(go.PathSegment.Line,te,0)),he.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),he.add(new go.PathSegment(go.PathSegment.Line,te,y)),he.add(new go.PathSegment(go.PathSegment.Line,te,ce)),he.add(new go.PathSegment(go.PathSegment.Line,0,ce).close()),fe.spot1=new go.Spot(0,ee/y);var de=E(0,ce/y,1,ce/y,te/a,1,1,.5,ye());return fe.spot2=new go.Spot(de.x,de.y),Je(de),fe}),go.Shape.setFigureParameter("Arrow2",0,new en("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new en("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=30),x>a&&(x=a);var b=z?z.parameter2:NaN;isNaN(b)&&(b=30),b=Math.min(b,y/2);var te=a-x,ee=(y-b)/2,ce=ee+b,fe=new go.Geometry,he=new go.PathFigure(0,ee,!0);fe.add(he),he.add(new go.PathSegment(go.PathSegment.Line,te,ee)),he.add(new go.PathSegment(go.PathSegment.Line,te,0)),he.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),he.add(new go.PathSegment(go.PathSegment.Line,te,y)),he.add(new go.PathSegment(go.PathSegment.Line,te,ce)),he.add(new go.PathSegment(go.PathSegment.Line,0,ce).close()),fe.spot1=new go.Spot(0,ee/y);var de=E(0,ce/y,1,ce/y,te/a,1,1,.5,ye());return fe.spot2=new go.Spot(de.x,de.y),Je(de),fe}),go.Shape.defineFigureGenerator("Chevron",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y).close()),x}),go.Shape.defineFigureGenerator("DoubleArrow",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,.214*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,1*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,.786*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,1*y).close()),x}),go.Shape.setFigureParameter("DoubleEndArrow",0,new en("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.3);var b=(.5-x/2)*y,te=(.5+x/2)*y,ee=new go.Geometry,ce=new go.PathFigure(a,.5*y,!0);ee.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,te)),ce.add(new go.PathSegment(go.PathSegment.Line,.3*a,te)),ce.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),ce.add(new go.PathSegment(go.PathSegment.Line,.3*a,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close());var fe=E(0,.5,.3,0,0,b/y,.1,b/y,ye());return ee.spot1=new go.Spot(fe.x,fe.y),fe=E(.7,1,1,.5,0,te/y,1,te/y,fe),ee.spot2=new go.Spot(fe.x,fe.y),Je(fe),ee}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new en("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new en("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=40);var b=z?z.parameter2:NaN;isNaN(b)&&(b=100);var te=(y-x)/2,ee=te+x,ce=(y-b)/2,fe=ce+b;(x>y||b>y)&&(b>x?(x=x*y/b,te=(y-x)/2,ee=te+x,ce=0,fe=y):(te=0,ee=y,ce=0,fe=y));var he=new go.Geometry,de=new go.PathFigure(a,.5*y,!0);he.add(de),de.add(new go.PathSegment(go.PathSegment.Line,.7*a,fe)),de.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),de.add(new go.PathSegment(go.PathSegment.Line,.3*a,ee)),de.add(new go.PathSegment(go.PathSegment.Line,.3*a,fe)),de.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),de.add(new go.PathSegment(go.PathSegment.Line,.3*a,ce)),de.add(new go.PathSegment(go.PathSegment.Line,.3*a,te)),de.add(new go.PathSegment(go.PathSegment.Line,.7*a,te)),de.add(new go.PathSegment(go.PathSegment.Line,.7*a,ce).close());var pe=E(0,.5,.3,ce/y,0,te/y,1,te/y,ye());return he.spot1=new go.Spot(pe.x,pe.y),pe=E(.7,fe/y,1,.5,0,ee/y,1,ee/y,pe),he.spot2=new go.Spot(pe.x,pe.y),Je(pe),he}),go.Shape.setFigureParameter("IBeamArrow",0,new en("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.3);var b=(.5-x/2)*y,te=(.5+x/2)*y,ee=new go.Geometry,ce=new go.PathFigure(a,.5*y,!0);ee.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,te)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,te)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,0,y)),ce.add(new go.PathSegment(go.PathSegment.Line,0,0)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),ee.spot1=new go.Spot(0,b/y);var fe=E(.7,1,1,.5,0,te/y,1,te/y,ye());return ee.spot2=new go.Spot(fe.x,fe.y),Je(fe),ee}),go.Shape.setFigureParameter("IBeamArrow2",0,new en("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new en("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=40);var b=z?z.parameter2:NaN;isNaN(b)&&(b=100);var te=(y-x)/2,ee=te+x,ce=(y-b)/2,fe=ce+b;(x>y||b>y)&&(b>x?(x=x*y/b,te=(y-x)/2,ee=te+x,ce=0,fe=y):(te=0,ee=y,ce=0,fe=y));var he=new go.Geometry,de=new go.PathFigure(a,.5*y,!0);he.add(de),de.add(new go.PathSegment(go.PathSegment.Line,.7*a,fe)),de.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),de.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),de.add(new go.PathSegment(go.PathSegment.Line,.2*a,fe)),de.add(new go.PathSegment(go.PathSegment.Line,0,fe)),de.add(new go.PathSegment(go.PathSegment.Line,0,ce)),de.add(new go.PathSegment(go.PathSegment.Line,.2*a,ce)),de.add(new go.PathSegment(go.PathSegment.Line,.2*a,te)),de.add(new go.PathSegment(go.PathSegment.Line,.7*a,te)),de.add(new go.PathSegment(go.PathSegment.Line,.7*a,ce).close()),he.spot1=new go.Spot(0,te/y);var pe=E(.7,fe/y,1,.5,0,ee/y,1,ee/y,ye());return he.spot2=new go.Spot(pe.x,pe.y),Je(pe),he}),go.Shape.setFigureParameter("Pointer",0,new en("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.1);var b=new go.Geometry,te=new go.PathFigure(a,.5*y,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,y)),te.add(new go.PathSegment(go.PathSegment.Line,x*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),b.spot1=new go.Spot(x,.35);var ee=E(.2,.65,1,.65,0,1,1,.5,ye());return b.spot2=new go.Spot(ee.x,ee.y),Je(ee),b}),go.Shape.setFigureParameter("RoundedPointer",0,new en("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.3);var b=new go.Geometry,te=new go.PathFigure(a,.5*y,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*a,.75*y,x*a,.25*y).close()),b.spot1=new go.Spot(x,.35);var ee=E(0,.65,1,.65,0,1,1,.5,ye());return b.spot2=new go.Spot(ee.x,ee.y),Je(ee),b}),go.Shape.setFigureParameter("SplitEndArrow",0,new en("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.4);var b=(.5-x/2)*y,te=(.5+x/2)*y,ee=new go.Geometry,ce=new go.PathFigure(a,.5*y,!0);ee.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,te)),ce.add(new go.PathSegment(go.PathSegment.Line,0,te)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),ce.add(new go.PathSegment(go.PathSegment.Line,0,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),ee.spot1=new go.Spot(.2,.3);var fe=E(.7,1,1,.5,0,te/y,1,te/y,ye());return ee.spot2=new go.Spot(fe.x,fe.y),Je(fe),ee}),go.Shape.setFigureParameter("SplitEndArrow2",0,new en("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=50);var b=(y-x)/2,te=b+x;x>y&&(b=0,te=y);var ee=new go.Geometry,ce=new go.PathFigure(a,.5*y,!0);ee.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,te)),ce.add(new go.PathSegment(go.PathSegment.Line,0,te)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),ce.add(new go.PathSegment(go.PathSegment.Line,0,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),ee.spot1=new go.Spot(.2,b/y);var fe=E(.7,1,1,.5,0,te/y,1,te/y,ye());return ee.spot2=new go.Spot(fe.x,fe.y),Je(fe),ee}),go.Shape.setFigureParameter("SquareArrow",0,new en("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.7);var b=new go.Geometry,te=new go.PathFigure(a,.5*y,!0);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,x*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,0)),te.add(new go.PathSegment(go.PathSegment.Line,x*a,0).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(x,1),b}),go.Shape.defineFigureGenerator("Cone1",function(z,a,y){var x=new go.Geometry,b=le*.5,te=le*.1,ee=new go.PathFigure(0,.9*y,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+te)*y,(.5+b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+te)*y).close()),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.97),x}),go.Shape.defineFigureGenerator("Cone2",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.9*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*y,(1-.85/.9)*a,y,.85/.9*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.9*y).close());var te=new go.PathFigure(0,.9*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*y,(1-.85/.9)*a,.8*y,.85/.9*a,.8*y)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.82),x}),go.Shape.defineFigureGenerator("Cube1",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.15*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.85*y).close());var te=new go.PathFigure(.5*a,y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.15*y)),te.add(new go.PathSegment(go.PathSegment.Move,.5*a,.3*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.5,.85),x}),go.Shape.defineFigureGenerator("Cube2",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.3*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,0).close());var te=new go.PathFigure(0,.3*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,.3*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Move,.7*a,.3*y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.7,1),x}),go.Shape.defineFigureGenerator("Cylinder1",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,y/3);var b=new go.Geometry,te=le*.5,ee=new go.PathFigure(0,x,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,le*x,(.5-te)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,1*a,x,(.5+te)*a,0,1*a,le*x)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y-x)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,1*y,1*a,y-le*x,(.5+te)*a,1*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,(.5-te)*a,1*y,0,y-le*x)),ee.add(new go.PathSegment(go.PathSegment.Line,0,x));var ce=new go.PathFigure(a,x,!1);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,2*x,1*a,2*x-le*x,(.5+te)*a,2*x)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,x,(.5-te)*a,2*x,0,2*x-le*x)),b.spot1=new go.Spot(0,0,0,2*x),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Cylinder2",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,y/3);var b=new go.Geometry,te=le*.5,ee=new go.PathFigure(0,y-x,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,x)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,le*x,(.5-te)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,x,(.5+te)*a,0,a,le*x)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y-x)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,y-le*x,(.5+te)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,(.5-te)*a,y,0,y-le*x));var ce=new go.PathFigure(0,y-x,!1);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y-2*x,0,y-x-le*x,(.5-te)*a,y-2*x)),ce.add(new go.PathSegment(go.PathSegment.Bezier,a,y-x,(.5+te)*a,y-2*x,a,y-x-le*x)),b.spot1=new go.Spot(0,0),b.spot2=new go.Spot(1,1,0,-2*x),b}),go.Shape.defineFigureGenerator("Cylinder3",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var b=new go.Geometry,te=le*.5,ee=new go.PathFigure(x,0,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-le*x,0,a,(.5-te)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,(.5+te)*y,a-le*x,y)),ee.add(new go.PathSegment(go.PathSegment.Line,x,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,le*x,y,0,(.5+te)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-te)*y,le*x,0));var ce=new go.PathFigure(x,0,!1);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,2*x,.5*y,x+le*x,0,2*x,(.5-te)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,x,y,2*x,(.5+te)*y,x+le*x,y)),b.spot1=new go.Spot(0,0,2*x,0),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Cylinder4",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var b=new go.Geometry,te=le*.5,ee=new go.PathFigure(a-x,0,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-le*x,0,a,(.5-te)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,(.5+te)*y,a-le*x,y)),ee.add(new go.PathSegment(go.PathSegment.Line,x,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,le*x,y,0,(.5+te)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-te)*y,le*x,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a-x,0));var ce=new go.PathFigure(a-x,0,!1);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,a-2*x,.5*y,a-x-le*x,0,a-2*x,(.5-te)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a-2*x,(.5+te)*y,a-x-le*x,y)),b.spot1=new go.Spot(0,0),b.spot2=new go.Spot(1,1,-2*x,0),b}),go.Shape.defineFigureGenerator("Prism1",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.25*a,.25*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var te=new go.PathFigure(.25*a,.25*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),x.spot1=new go.Spot(.408,.172),x.spot2=new go.Spot(.833,.662),x}),go.Shape.defineFigureGenerator("Prism2",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.25*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var te=new go.PathFigure(0,y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),te.add(new go.PathSegment(go.PathSegment.Move,0,.25*y)),te.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("Pyramid1",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*y).close());var te=new go.PathFigure(.5*a,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Pyramid2",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.85*y).close());var te=new go.PathFigure(.5*a,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.85*y)),te.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Actor",function(z,a,y){var x=new go.Geometry,b=.2,te=.1,ee=le*b,ce=le*te,fe=.5,he=.1,de=new go.PathFigure(fe*a,(he+te)*y,!0);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,(fe-b)*a,he*y,(fe-ee)*a,(he+te)*y,(fe-b)*a,(he+ce)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(he-te)*y,(fe-b)*a,(he-ce)*y,(fe-ee)*a,(he-te)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(fe+b)*a,he*y,(fe+ee)*a,(he-te)*y,(fe+b)*a,(he-ce)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(he+te)*y,(fe+b)*a,(he+ce)*y,(fe+ee)*a,(he+te)*y));var pe=.05,ve=le*pe;fe=.05,he=.25;var me=new go.PathFigure(.5*a,.2*y,!0);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Line,.95*a,.2*y)),fe=.95,he=.25,me.add(new go.PathSegment(go.PathSegment.Bezier,(fe+pe)*a,he*y,(fe+ve)*a,(he-pe)*y,(fe+pe)*a,(he-ve)*y)),me.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),me.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),me.add(new go.PathSegment(go.PathSegment.Line,.85*a,.35*y)),pe=.025,ve=le*pe,fe=.825,he=.35,me.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(he-pe)*y,(fe+pe)*a,(he-ve)*y,(fe+ve)*a,(he-pe)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(fe-pe)*a,he*y,(fe-ve)*a,(he-pe)*y,(fe-pe)*a,(he-ve)*y)),me.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),me.add(new go.PathSegment(go.PathSegment.Line,.55*a,y)),me.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y)),pe=.05,ve=le*pe,fe=.5,he=.7,me.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(he-pe)*y,(fe+pe)*a,(he-ve)*y,(fe+ve)*a,(he-pe)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(fe-pe)*a,he*y,(fe-ve)*a,(he-pe)*y,(fe-pe)*a,(he-ve)*y)),me.add(new go.PathSegment(go.PathSegment.Line,.45*a,y)),me.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),me.add(new go.PathSegment(go.PathSegment.Line,.2*a,.35*y)),pe=.025,ve=le*pe,fe=.175,he=.35,me.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(he-pe)*y,(fe+pe)*a,(he-ve)*y,(fe+ve)*a,(he-pe)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(fe-pe)*a,he*y,(fe-ve)*a,(he-pe)*y,(fe-pe)*a,(he-ve)*y)),me.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y)),me.add(new go.PathSegment(go.PathSegment.Line,0,.6*y)),me.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),pe=.05,ve=le*pe,fe=.05,he=.25,me.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(he-pe)*y,(fe-pe)*a,(he-ve)*y,(fe-ve)*a,(he-pe)*y)),me.add(new go.PathSegment(go.PathSegment.Line,.5*a,.2*y)),x.spot1=new go.Spot(.2,.2),x.spot2=new go.Spot(.8,.65),x}),go.Shape.setFigureParameter("Card",0,new en("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.2);var b=new go.Geometry,te=new go.PathFigure(a,0,!0);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,x*y)),te.add(new go.PathSegment(go.PathSegment.Line,x*a,0).close()),b.spot1=new go.Spot(0,x),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Collate",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,.5*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y));var te=new go.PathFigure(.5*a,.5*y,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y)),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,.25),x}),go.Shape.defineFigureGenerator("CreateRequest",function(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN;isNaN(b)&&(b=.1);var te=new go.PathFigure(0,0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure(0,b*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),ee.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*y)),x}),go.Shape.defineFigureGenerator("Database",function(z,a,y){var x=new go.Geometry,b=le*.5,te=le*.1,ee=new go.PathFigure(a,.1*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+te)*y,(.5+b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+te)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-te)*y,(.5-b)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+b)*a,0,a,(.1-te)*y));var ce=new go.PathFigure(a,.1*y,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+te)*y,(.5+b)*a,.2*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-b)*a,.2*y,0,(.1+te)*y)),ce.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+te)*y,(.5+b)*a,.3*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-b)*a,.3*y,0,(.2+te)*y)),ce.add(new go.PathSegment(go.PathSegment.Move,a,.3*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.4*y,a,(.3+te)*y,(.5+b)*a,.4*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*y,(.5-b)*a,.4*y,0,(.3+te)*y)),x.spot1=new go.Spot(0,.4),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("DataStorage",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,y,a,0,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.9*y,.25*a,.1*y).close()),x.spot1=new go.Spot(.226,0),x.spot2=new go.Spot(.81,1),x}),go.Shape.defineFigureGenerator("DiskStorage",function(z,a,y){var x=new go.Geometry,b=le*.5,te=le*.1,ee=new go.PathFigure(a,.1*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+te)*y,(.5+b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+te)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-te)*y,(.5-b)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+b)*a,0,a,(.1-te)*y));var ce=new go.PathFigure(a,.1*y,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+te)*y,(.5+b)*a,.2*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-b)*a,.2*y,0,(.1+te)*y)),ce.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+te)*y,(.5+b)*a,.3*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-b)*a,.3*y,0,(.2+te)*y)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("Display",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.25*a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,y,a,0,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close()),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("DividedEvent",function(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN;isNaN(b)?b=.2:b<.15&&(b=.15);var te=le*.2,ee=new go.PathFigure(0,.2*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,0,(.2-te)*y,(.2-te)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.2*y,(.8+te)*a,0,a,(.2-te)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,y,a,(.8+te)*y,(.8+te)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*y,(.2-te)*a,y,0,(.8+te)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.2*y));var ce=new go.PathFigure(0,b*y,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),x}),go.Shape.defineFigureGenerator("DividedProcess",function(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN;(isNaN(b)||b<.1)&&(b=.1);var te=new go.PathFigure(0,0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure(0,b*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),x}),go.Shape.defineFigureGenerator("Document",function(z,a,y){var x=new go.Geometry;y=y/.8;var b=new go.PathFigure(0,.7*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.5*a,.4*y,.5*a,y).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("ExternalOrganization",function(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN;(isNaN(b)||b<.2)&&(b=.2);var te=new go.PathFigure(0,0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure(b*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,b*y)),ee.add(new go.PathSegment(go.PathSegment.Move,a,b*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),ee.add(new go.PathSegment(go.PathSegment.Move,(1-b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*y)),x}),go.Shape.defineFigureGenerator("ExternalProcess",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close());var te=new go.PathFigure(.1*a,.4*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Move,.9*a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),te.add(new go.PathSegment(go.PathSegment.Move,.6*a,.1*y)),te.add(new go.PathSegment(go.PathSegment.Line,.4*a,.1*y)),te.add(new go.PathSegment(go.PathSegment.Move,.4*a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Line,.6*a,.9*y)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("File",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var te=new go.PathFigure(.75*a,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Interrupt",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a,.5*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y));var te=new go.PathFigure(a,.5*y,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,y));var ee=new go.PathFigure(a,.5*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("InternalStorage",function(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN,te=z?z.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(te)&&(te=.1);var ee=new go.PathFigure(0,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ce=new go.PathFigure(b*a,0,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),ce.add(new go.PathSegment(go.PathSegment.Move,0,te*y)),ce.add(new go.PathSegment(go.PathSegment.Line,a,te*y)),x}),go.Shape.defineFigureGenerator("Junction",function(z,a,y){var x=new go.Geometry,b=1/Math.SQRT2,te=(1-1/Math.SQRT2)/2,ee=le*.5,ce=.5,fe=new go.PathFigure(a,ce*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,y,a,(ce+ee)*y,(ce+ee)*a,y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,0,ce*y,(ce-ee)*a,y,0,(ce+ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,0,0,(ce-ee)*y,(ce-ee)*a,0)),fe.add(new go.PathSegment(go.PathSegment.Bezier,a,ce*y,(ce+ee)*a,0,a,(ce-ee)*y));var he=new go.PathFigure((te+b)*a,(te+b)*y,!1);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Line,te*a,te*y)),he.add(new go.PathSegment(go.PathSegment.Move,te*a,(te+b)*y)),he.add(new go.PathSegment(go.PathSegment.Line,(te+b)*a,te*y)),x}),go.Shape.defineFigureGenerator("LinedDocument",function(z,a,y){var x=new go.Geometry;y=y/.8;var b=new go.PathFigure(0,.7*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.5*a,.4*y,.5*a,y).close());var te=new go.PathFigure(.1*a,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.1*a,.75*y)),x.spot1=new go.Spot(.1,0),x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("LoopLimit",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MagneticTape",function(z,a,y){var x=new go.Geometry,b=le*.5,te=.5,ee=new go.PathFigure(.5*a,y,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,te*y,(te-b)*a,y,0,(te+b)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,te*a,0,0,(te-b)*y,(te-b)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,te*y,(te+b)*a,0,a,(te-b)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(te+.1)*a,.9*y,a,(te+b)*y,(te+b)*a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),x.spot1=new go.Spot(.15,.15),x.spot2=new go.Spot(.85,.8),x}),go.Shape.defineFigureGenerator("ManualInput",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*y).close()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MessageFromUser",function(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN;isNaN(b)&&(b=.7);var te=new go.PathFigure(0,0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Line,b*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("MicroformProcessing",function(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN;isNaN(b)&&(b=.25);var te=new go.PathFigure(0,0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,b*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,(1-b)*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("MicroformRecording",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("MultiDocument",function(z,a,y){var x=new go.Geometry;y=y/.8;var b=new go.PathFigure(a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.44*y,.96*a,.47*y,.93*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.54*y,.86*a,.57*y,.83*a,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.4*a,.4*y,.4*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,0).close());var te=new go.PathFigure(.1*a,.2*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,.54*y)),te.add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*y)),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,.44*y)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.8,.77),x}),go.Shape.defineFigureGenerator("MultiProcess",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.1*a,.1*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y).close());var te=new go.PathFigure(.2*a,.1*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),te.add(new go.PathSegment(go.PathSegment.Move,.1*a,.2*y)),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*y)),x.spot1=new go.Spot(0,.2),x.spot2=new go.Spot(.8,1),x}),go.Shape.defineFigureGenerator("OfflineStorage",function(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN;isNaN(b)&&(b=.1);var te=1-b,ee=new go.PathFigure(0,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close());var ce=new go.PathFigure(.5*b*a,b*y,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,(1-.5*b)*a,b*y)),x}),go.Shape.defineFigureGenerator("OffPageConnector",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("Or",function(z,a,y){var x=new go.Geometry,b=le*.5,te=.5,ee=new go.PathFigure(a,te*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,te*a,y,a,(te+b)*y,(te+b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,te*y,(te-b)*a,y,0,(te+b)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,te*a,0,0,(te-b)*y,(te-b)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,te*y,(te+b)*a,0,a,(te-b)*y));var ce=new go.PathFigure(a,.5*y,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),ce.add(new go.PathSegment(go.PathSegment.Move,.5*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),x}),go.Shape.defineFigureGenerator("PaperTape",function(z,a,y){var x=new go.Geometry;y=y/.8;var b=new go.PathFigure(0,.7*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.3*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.3*y,.5*a,.6*y,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.5*a,.4*y,.5*a,y).close()),x.spot1=new go.Spot(0,.49),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN,te=z?z.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(te)&&(te=.3);var ee=new go.PathFigure(0,0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-te)*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN,te=z?z.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(te)&&(te=.3);var ee=new go.PathFigure(0,0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,(1-te)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-te)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("Procedure",function(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN;isNaN(b)&&(b=.1);var te=new go.PathFigure(0,0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure((1-b)*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Move,b*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),x}),go.Shape.defineFigureGenerator("Process",function(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN;isNaN(b)&&(b=.1);var te=new go.PathFigure(0,0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure(b*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Sort",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close());var te=new go.PathFigure(0,.5*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.5),x}),go.Shape.defineFigureGenerator("Start",function(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN;isNaN(b)&&(b=.25);var te=new go.PathFigure(b*a,0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*y,.25*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*y,.25*a,.5*y));var ee=new go.PathFigure(b*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),ee.add(new go.PathSegment(go.PathSegment.Move,(1-b)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,y)),x.spot1=new go.Spot(b,0),x.spot2=new go.Spot(1-b,1),x}),go.Shape.defineFigureGenerator("Terminator",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.25*a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*y,.25*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*y,.25*a,.5*y)),x.spot1=new go.Spot(.23,0),x.spot2=new go.Spot(.77,1),x}),go.Shape.defineFigureGenerator("TransmittalTape",function(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN;isNaN(b)&&(b=.1);var te=new go.PathFigure(0,0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.75*a,(1-b)*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,(1-b)*y).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("AndGate",function(z,a,y){var x=new go.Geometry,b=le*.5,te=new go.PathFigure(0,0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(.5+b)*a,0,a,(.5-b)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.5+b)*y,(.5+b)*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.55,1),x}),go.Shape.defineFigureGenerator("Buffer",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Clock",function(z,a,y){var x=new go.Geometry,b=le*.5,te=.5,ee=new go.PathFigure(a,te*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,te*a,y,a,(te+b)*y,(te+b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,te*y,(te-b)*a,y,0,(te+b)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,te*a,0,0,(te-b)*y,(te-b)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,te*y,(te+b)*a,0,a,(te-b)*y));var ce=new go.PathFigure(a,te*y,!1);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a,te*y));var fe=new go.PathFigure(.8*a,.75*y,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,.8*a,.25*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.6*a,.25*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.6*a,.75*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.4*a,.75*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.4*a,.25*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*a,.25*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*a,.75*y)),x}),go.Shape.defineFigureGenerator("Ground",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Move,.3*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Move,.4*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,y)),x}),go.Shape.defineFigureGenerator("Inverter",function(z,a,y){var x=new go.Geometry,b=le*.1,te=.1,ee=.9,ce=.5,fe=new go.PathFigure(.8*a,.5*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,0,y)),fe.add(new go.PathSegment(go.PathSegment.Line,0,0)),fe.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y));var he=new go.PathFigure((ee+te)*a,ce*y,!0);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce+te)*y,(ee+te)*a,(ce+b)*y,(ee+b)*a,(ce+te)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ee-te)*a,ce*y,(ee-b)*a,(ce+te)*y,(ee-te)*a,(ce+b)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce-te)*y,(ee-te)*a,(ce-b)*y,(ee-b)*a,(ce-te)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ee+te)*a,ce*y,(ee+b)*a,(ce-te)*y,(ee+te)*a,(ce-b)*y)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.4,.75),x}),go.Shape.defineFigureGenerator("NandGate",function(z,a,y){var x=new go.Geometry,b=le*.5,te=le*.4,ee=le*.1,ce=.1,fe=.9,he=.5,de=new go.PathFigure(.8*a,.5*y,!0);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,y,.8*a,(.5+te)*y,(.4+b)*a,y)),de.add(new go.PathSegment(go.PathSegment.Line,0,y)),de.add(new go.PathSegment(go.PathSegment.Line,0,0)),de.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),de.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(.4+b)*a,0,.8*a,(.5-te)*y));var pe=new go.PathFigure((fe+ce)*a,he*y,!0);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(he+ce)*y,(fe+ce)*a,(he+ee)*y,(fe+ee)*a,(he+ce)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ce)*a,he*y,(fe-ee)*a,(he+ce)*y,(fe-ce)*a,(he+ee)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(he-ce)*y,(fe-ce)*a,(he-ee)*y,(fe-ee)*a,(he-ce)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ce)*a,he*y,(fe+ee)*a,(he-ce)*y,(fe+ce)*a,(he-ee)*y)),x.spot1=new go.Spot(0,.05),x.spot2=new go.Spot(.55,.95),x}),go.Shape.defineFigureGenerator("NorGate",function(z,a,y){var x=new go.Geometry,b=.5,te=le*b,ee=0,ce=.5,fe=new go.PathFigure(.8*a,.5*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.7*a,(ce+te)*y,(ee+te)*a,(ce+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*y,.25*a,.25*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(ee+te)*a,(ce-b)*y,.7*a,(ce-te)*y)),b=.1,te=le*.1,ee=.9,ce=.5;var he=new go.PathFigure((ee-b)*a,ce*y,!0);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce-b)*y,(ee-b)*a,(ce-te)*y,(ee-te)*a,(ce-b)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,ce*y,(ee+te)*a,(ce-b)*y,(ee+b)*a,(ce-te)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce+b)*y,(ee+b)*a,(ce+te)*y,(ee+te)*a,(ce+b)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*a,ce*y,(ee-te)*a,(ce+b)*y,(ee-b)*a,(ce+te)*y)),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.6,.75),x}),go.Shape.defineFigureGenerator("OrGate",function(z,a,y){var x=new go.Geometry,b=.5,te=le*b,ee=0,ce=.5,fe=new go.PathFigure(0,0,!0);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(ee+te+te)*a,(ce-b)*y,.8*a,(ce-te)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.8*a,(ce+te)*y,(ee+te+te)*a,(ce+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*y,.25*a,.25*y).close()),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("XnorGate",function(z,a,y){var x=new go.Geometry,b=.5,te=le*b,ee=.2,ce=.5,fe=new go.PathFigure(.1*a,0,!1);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var he=new go.PathFigure(.8*a,.5*y,!0);x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.7*a,(ce+te)*y,(ee+te)*a,(ce+b)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*y,.45*a,.25*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(ee+te)*a,(ce-b)*y,.7*a,(ce-te)*y)),b=.1,te=le*.1,ee=.9,ce=.5;var de=new go.PathFigure((ee-b)*a,ce*y,!0);return x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce-b)*y,(ee-b)*a,(ce-te)*y,(ee-te)*a,(ce-b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,ce*y,(ee+te)*a,(ce-b)*y,(ee+b)*a,(ce-te)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce+b)*y,(ee+b)*a,(ce+te)*y,(ee+te)*a,(ce+b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*a,ce*y,(ee-te)*a,(ce+b)*y,(ee-b)*a,(ce+te)*y)),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.65,.75),x}),go.Shape.defineFigureGenerator("XorGate",function(z,a,y){var x=new go.Geometry,b=.5,te=le*b,ee=.2,ce=.5,fe=new go.PathFigure(.1*a,0,!1);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var he=new go.PathFigure(.2*a,0,!0);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(ee+te)*a,(ce-b)*y,.9*a,(ce-te)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.9*a,(ce+te)*y,(ee+te)*a,(ce+b)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*y,.45*a,.25*y).close()),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.8,.75),x}),go.Shape.defineFigureGenerator("Capacitor",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),x}),go.Shape.defineFigureGenerator("Resistor",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,.5*y)),x}),go.Shape.defineFigureGenerator("Inductor",function(z,a,y){var x=new go.Geometry,b=le*.1,te=.1,ee=.1,ce=.5,fe=new go.PathFigure((ee-b*.5)*a,y,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+te)*a,0,(ee-b)*a,y,(ee-te)*a,0)),ee=.3,fe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,y,(ee+te)*a,0,(ee+b)*a,y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+te)*a,0,(ee-b)*a,y,(ee-te)*a,0)),ee=.5,fe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,y,(ee+te)*a,0,(ee+b)*a,y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+te)*a,0,(ee-b)*a,y,(ee-te)*a,0)),ee=.7,fe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,y,(ee+te)*a,0,(ee+b)*a,y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+te)*a,0,(ee-b)*a,y,(ee-te)*a,0)),ee=.9,fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b*.5)*a,y,(ee+te)*a,0,(ee+b)*a,y)),x}),go.Shape.defineFigureGenerator("ACvoltageSource",function(z,a,y){var x=new go.Geometry,b=le*.5,te=.5,ee=.5,ce=.5,fe=new go.PathFigure((ee-te)*a,ce*y,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce-te)*y,(ee-te)*a,(ce-b)*y,(ee-b)*a,(ce-te)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+te)*a,ce*y,(ee+b)*a,(ce-te)*y,(ee+te)*a,(ce-b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce+te)*y,(ee+te)*a,(ce+b)*y,(ee+b)*a,(ce+te)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-te)*a,ce*y,(ee-b)*a,(ce+te)*y,(ee-te)*a,(ce+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Move,(ee-te+.1)*a,ce*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+te-.1)*a,ce*y,ee*a,(ce-te)*y,ee*a,(ce+te)*y)),x}),go.Shape.defineFigureGenerator("DCvoltageSource",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.75*y,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),b.add(new go.PathSegment(go.PathSegment.Move,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),x}),go.Shape.defineFigureGenerator("Diode",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Wifi",function(z,a,y){var x=new go.Geometry,b=a,te=y;a=a*.38,y=y*.6;var ee=le*.8,ce=.8,fe=0,he=.5,de=(b-a)/2,pe=(te-y)/2,ve=new go.PathFigure(fe*a+de,(he+ce)*y+pe,!0);x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ce)*a+de,he*y+pe,(fe-ee)*a+de,(he+ce)*y+pe,(fe-ce)*a+de,(he+ee)*y+pe)),ve.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+de,(he-ce)*y+pe,(fe-ce)*a+de,(he-ee)*y+pe,(fe-ee)*a+de,(he-ce)*y+pe)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ce+ee*.5)*a+de,he*y+pe,fe*a+de,(he-ce)*y+pe,(fe-ce+ee*.5)*a+de,(he-ee)*y+pe)),ve.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+de,(he+ce)*y+pe,(fe-ce+ee*.5)*a+de,(he+ee)*y+pe,fe*a+de,(he+ce)*y+pe).close()),ee=le*.4,ce=.4,fe=.2,he=.5;var me=new go.PathFigure(fe*a+de,(he+ce)*y+pe,!0);x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ce)*a+de,he*y+pe,(fe-ee)*a+de,(he+ce)*y+pe,(fe-ce)*a+de,(he+ee)*y+pe)),me.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+de,(he-ce)*y+pe,(fe-ce)*a+de,(he-ee)*y+pe,(fe-ee)*a+de,(he-ce)*y+pe)),me.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ce+ee*.5)*a+de,he*y+pe,fe*a+de,(he-ce)*y+pe,(fe-ce+ee*.5)*a+de,(he-ee)*y+pe)),me.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+de,(he+ce)*y+pe,(fe-ce+ee*.5)*a+de,(he+ee)*y+pe,fe*a+de,(he+ce)*y+pe).close()),ee=le*.2,ce=.2,fe=.5,he=.5;var Ee=new go.PathFigure((fe-ce)*a+de,he*y+pe,!0);x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+de,(he-ce)*y+pe,(fe-ce)*a+de,(he-ee)*y+pe,(fe-ee)*a+de,(he-ce)*y+pe)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ce)*a+de,he*y+pe,(fe+ee)*a+de,(he-ce)*y+pe,(fe+ce)*a+de,(he-ee)*y+pe)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+de,(he+ce)*y+pe,(fe+ce)*a+de,(he+ee)*y+pe,(fe+ee)*a+de,(he+ce)*y+pe)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ce)*a+de,he*y+pe,(fe-ee)*a+de,(he+ce)*y+pe,(fe-ce)*a+de,(he+ee)*y+pe)),ee=le*.4,ce=.4,fe=.8,he=.5;var Se=new go.PathFigure(fe*a+de,(he-ce)*y+pe,!0);x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ce)*a+de,he*y+pe,(fe+ee)*a+de,(he-ce)*y+pe,(fe+ce)*a+de,(he-ee)*y+pe)),Se.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+de,(he+ce)*y+pe,(fe+ce)*a+de,(he+ee)*y+pe,(fe+ee)*a+de,(he+ce)*y+pe)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ce-ee*.5)*a+de,he*y+pe,fe*a+de,(he+ce)*y+pe,(fe+ce-ee*.5)*a+de,(he+ee)*y+pe)),Se.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+de,(he-ce)*y+pe,(fe+ce-ee*.5)*a+de,(he-ee)*y+pe,fe*a+de,(he-ce)*y+pe).close()),ee=le*.8,ce=.8,fe=1,he=.5;var Te=new go.PathFigure(fe*a+de,(he-ce)*y+pe,!0);return x.add(Te),Te.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ce)*a+de,he*y+pe,(fe+ee)*a+de,(he-ce)*y+pe,(fe+ce)*a+de,(he-ee)*y+pe)),Te.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+de,(he+ce)*y+pe,(fe+ce)*a+de,(he+ee)*y+pe,(fe+ee)*a+de,(he+ce)*y+pe)),Te.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ce-ee*.5)*a+de,he*y+pe,fe*a+de,(he+ce)*y+pe,(fe+ce-ee*.5)*a+de,(he+ee)*y+pe)),Te.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+de,(he-ce)*y+pe,(fe+ce-ee*.5)*a+de,(he-ee)*y+pe,fe*a+de,(he-ce)*y+pe).close()),x}),go.Shape.defineFigureGenerator("Email",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var te=new go.PathFigure(0,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Move,0,y)),te.add(new go.PathSegment(go.PathSegment.Line,.45*a,.54*y)),te.add(new go.PathSegment(go.PathSegment.Move,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.55*a,.54*y)),x}),go.Shape.defineFigureGenerator("Ethernet",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.35*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,0).close());var te=new go.PathFigure(.1*a,y,!0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.4*a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Line,.1*a,y).close());var ee=new go.PathFigure(.6*a,y,!0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,y).close());var ce=new go.PathFigure(0,.5*y,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ce.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),ce.add(new go.PathSegment(go.PathSegment.Move,.75*a,.5*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.75*a,.6*y)),ce.add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.25*a,.6*y)),x}),go.Shape.defineFigureGenerator("Power",function(z,a,y){var x=new go.Geometry,b=le*.4,te=.4,ee=.5,ce=.5,fe=ye(),he=ye(),de=ye(),pe=ye();ge(ee,ce-te,ee+b,ce-te,ee+te,ce-b,ee+te,ce,.5,fe,fe,he,de,pe);var ve=be(he.x,he.y),me=new go.PathFigure(he.x*a,he.y*y,!0);x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,(ee+te)*a,ce*y,de.x*a,de.y*y,pe.x*a,pe.y*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce+te)*y,(ee+te)*a,(ce+b)*y,(ee+b)*a,(ce+te)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ee-te)*a,ce*y,(ee-b)*a,(ce+te)*y,(ee-te)*a,(ce+b)*y)),ge(ee-te,ce,ee-te,ce-b,ee-b,ce-te,ee,ce-te,.5,de,pe,he,fe,fe),me.add(new go.PathSegment(go.PathSegment.Bezier,he.x*a,he.y*y,de.x*a,de.y*y,pe.x*a,pe.y*y)),b=le*.3,te=.3,ge(ee-te,ce,ee-te,ce-b,ee-b,ce-te,ee,ce-te,.5,de,pe,he,fe,fe),me.add(new go.PathSegment(go.PathSegment.Line,he.x*a,he.y*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ee-te)*a,ce*y,pe.x*a,pe.y*y,de.x*a,de.y*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce+te)*y,(ee-te)*a,(ce+b)*y,(ee-b)*a,(ce+te)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ee+te)*a,ce*y,(ee+b)*a,(ce+te)*y,(ee+te)*a,(ce+b)*y)),ge(ee,ce-te,ee+b,ce-te,ee+te,ce-b,ee+te,ce,.5,fe,fe,he,de,pe),me.add(new go.PathSegment(go.PathSegment.Bezier,he.x*a,he.y*y,pe.x*a,pe.y*y,de.x*a,de.y*y).close());var me=new go.PathFigure(.45*a,0,!0);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*y)),me.add(new go.PathSegment(go.PathSegment.Line,.55*a,.5*y)),me.add(new go.PathSegment(go.PathSegment.Line,.55*a,0).close()),Je(fe),Je(he),Je(de),Je(pe),Je(ve),x.spot1=new go.Spot(.25,.45),x.spot2=new go.Spot(.75,.8),x}),go.Shape.defineFigureGenerator("Fallout",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y/2,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,180,360,a/2,y/2,a/2,y/2));function te(ee,ce,fe){ee.add(new go.PathSegment(go.PathSegment.Move,(.3+ce)*a,(.8+fe)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5+ce)*a,(.5+fe)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.1+ce)*a,(.5+fe)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.3+ce)*a,(.8+fe)*y).close())}return te(b,0,0),te(b,.4,0),te(b,.2,-.3),x}),go.Shape.defineFigureGenerator("IrritationHazard",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.2*a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*y).close()),x.spot1=new go.Spot(.3,.3),x.spot2=new go.Spot(.7,.7),x}),go.Shape.defineFigureGenerator("ElectricalHazard",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.37*a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.11*y)),b.add(new go.PathSegment(go.PathSegment.Line,.77*a,.04*y)),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,.49*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.37*y)),b.add(new go.PathSegment(go.PathSegment.Line,.63*a,.86*y)),b.add(new go.PathSegment(go.PathSegment.Line,.77*a,.91*y)),b.add(new go.PathSegment(go.PathSegment.Line,.34*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.34*a,.78*y)),b.add(new go.PathSegment(go.PathSegment.Line,.44*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,.56*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.68*y).close()),x}),go.Shape.defineFigureGenerator("FireHazard",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.1*a,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.29*a,0,-.25*a,.63*y,.45*a,.44*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.51*a,.42*y,.48*a,.17*y,.54*a,.35*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.59*a,.18*y,.59*a,.29*y,.58*a,.28*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,.6*y,.8*a,.34*y,.88*a,.43*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.88*a,.31*y,.87*a,.48*y,.88*a,.43*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,y,1.17*a,.76*y,.82*a,.8*y).close()),x.spot1=new go.Spot(.07,.445),x.spot2=new go.Spot(.884,.958),x}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(z,a,y){var x=new go.Geometry,b=.5,te=0,ee=0,ce=b*le,fe=.4*Math.SQRT2/2+.5,he=.5-.5*Math.SQRT2/2,de=1,pe=.5,ve=.5,me=0,Ee=new go.PathFigure(fe*a,(1-he)*y,!1);return x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,de*a,pe*y,de*a,.7*y,de*a,pe*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ve+te)*a,(me+te)*y,(.5+b+te)*a,(.5-ce+te)*y,(.5+ce+te)*a,(.5-b+te)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+te)*a,(.5+ee)*y,(.5-ce+te)*a,(.5-b+ee)*y,(.5-b+te)*a,(.5-ce+ee)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(.35+te)*a,.9*y,(.5-b+te)*a,(.5+ce+ee)*y,(.5-ce+te)*a,.9*y)),Ee.add(new go.PathSegment(go.PathSegment.Move,(.25+te)*a,.8*y)),Ee.add(new go.PathSegment(go.PathSegment.Line,(.35+te)*a,.9*y)),Ee.add(new go.PathSegment(go.PathSegment.Line,(.2+te)*a,.95*y)),x}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Move,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),x}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Move,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Move,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),x}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var te=new go.PathFigure(a,y,!1);x.add(te);var ee=new go.PathFigure(0,.5*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*y,.2*a,.35*y,.3*a,.35*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.7*a,.65*y,.8*a,.65*y)),x}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close()),x}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.2*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y).close());var b=new go.PathFigure(0,.2*y,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),x}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.7*a,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,0,.6*a,.5*y,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,y,.4*a,.5*y,a,.5*y).close());var te=new go.PathFigure(.45*a,.73*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,.73*y)),te.add(new go.PathSegment(go.PathSegment.Move,.38*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,.63*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Move,.31*a,.27*y)),te.add(new go.PathSegment(go.PathSegment.Line,.56*a,.27*y)),x}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var te=new go.PathFigure(.335*a,(1-.555)*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.68*y,(1-.12)*a,.46*y,(1-.02)*a,.54*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.68*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.335*a,(1-.555)*y,.02*a,.54*y,.12*a,.46*y)),te.add(new go.PathSegment(go.PathSegment.Line,.365*a,(1-.595)*y));var ee=.5-.285,ce=.5,fe=ee,he=Math.PI/4,de=4*(1-Math.cos(he))/(3*Math.sin(he)),pe=de*.5,ve=ee,me=ee,Ee=de*ve,Se=de*me;te.add(new go.PathSegment(go.PathSegment.Bezier,(ce-ve)*a,fe*y,(ce-(Ee+ve)/2)*a,(fe+(me+Se)/2)*y,(ce-ve)*a,(fe+Se)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(fe-me)*y,(ce-ve)*a,(fe-Se)*y,(ce-Ee)*a,(fe-me)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(ce+ve)*a,fe*y,(ce+Ee)*a,(fe-me)*y,(ce+ve)*a,(fe-Se)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*a,(1-.595)*y,(ce+ve)*a,(fe+Se)*y,(ce+(Ee+ve)/2)*a,(fe+(me+Se)/2)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*a,(1-.595)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),te.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y));var Te=new go.PathFigure(.2*a,y,!1);x.add(Te),Te.add(new go.PathSegment(go.PathSegment.Line,.2*a,.8*y));var we=new go.PathFigure(.8*a,y,!1);return x.add(we),we.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*y)),x}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.1*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,y).close());var te=new go.PathFigure(.2*a,.2*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),te.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),te.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Move,.2*a,.8*y)),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*y)),x}),go.Shape.defineFigureGenerator("BpmnEventError",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,.5*y).close()),x}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var te=new go.PathFigure(a,y,!1);x.add(te);var ee=new go.PathFigure(.1*a,y,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y).close()),x}),go.Shape.defineFigureGenerator("Caution",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.05*a,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,.8*y,0,y,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.1*y,.5*a,0,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.95*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,y,a,y,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.05*a,y));var te=.05;return b.add(new go.PathSegment(go.PathSegment.Move,(.5-te)*a,.875*y)),b.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*a,.875*y,te*a,te*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.325*y,.575*a,.725*y,.625*a,.375*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.75*y,.375*a,.375*y,.425*a,.725*y)),x}),go.Shape.defineFigureGenerator("Recycle",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.45*a,.95*y,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.185*a,.85*y,.17*a,.95*y,.15*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.235*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,.625*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,.65*y)),b.add(new go.PathSegment(go.PathSegment.Line,.275*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.05*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.05*a,.575*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.1875*a,.95*y,0,.675*y,0,.7*y)),b.add(new go.PathSegment(go.PathSegment.Move,.45*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.775*y)),b.add(new go.PathSegment(go.PathSegment.Line,.22*a,.775*y));var te=new go.PathFigure(.475*a,.2*y,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.4*a,.4*y)),te.add(new go.PathSegment(go.PathSegment.Line,.225*a,.3*y)),te.add(new go.PathSegment(go.PathSegment.Line,.275*a,.175*y)),te.add(new go.PathSegment(go.PathSegment.Line,.325*a,.05*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.05*y,.35*a,0,.375*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,.575*a,.375*y)),te.add(new go.PathSegment(go.PathSegment.Line,.525*a,.4*y)),te.add(new go.PathSegment(go.PathSegment.Line,.75*a,.475*y)),te.add(new go.PathSegment(go.PathSegment.Line,.85*a,.315*y)),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,.32*y)),te.add(new go.PathSegment(go.PathSegment.Line,.65*a,.05*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,0,.65*a,.05*y,.625*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,.38*a,.0105*y));var ee=new go.PathFigure(.675*a,.575*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.875*a,.525*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.775*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.85*a,.95*y,a,.8*y,a,.85*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,.95*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.85*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,.725*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,.775*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,.775*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.775*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.675*a,.575*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.775*a,.775*y)),x}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(z,a,y){var x=new go.Geometry,b=.5,te=le*.5,ee=new go.PathFigure(a,b*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,b*a,y,a,(b+te)*y,(b+te)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,b*y,(b-te)*a,y,0,(b+te)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,b*a,0,0,(b-te)*y,(b-te)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,b*y,(b+te)*a,0,a,(b-te)*y));var ce=new go.PathFigure(b*a,0,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,b*a,.15*y)),ce.add(new go.PathSegment(go.PathSegment.Move,b*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,b*a,.85*y)),ce.add(new go.PathSegment(go.PathSegment.Move,0,b*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.15*a,b*y)),ce.add(new go.PathSegment(go.PathSegment.Move,a,b*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.85*a,b*y)),ce.add(new go.PathSegment(go.PathSegment.Move,b*a,b*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.58*a,.1*y)),ce.add(new go.PathSegment(go.PathSegment.Move,b*a,b*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.78*a,.54*y)),x}),go.Shape.defineFigureGenerator("Package",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.15*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var te=new go.PathFigure(0,.15*y,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,0)),te.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,.65*a,.15*y).close()),x.spot1=new go.Spot(0,.1),x.spot2=new go.Spot(1,1),x}),go.Shape.defineFigureGenerator("Class",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var te=new go.PathFigure(0,.2*y,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var ee=new go.PathFigure(0,.5*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.5*y).close()),x}),go.Shape.defineFigureGenerator("Component",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y).close());var te=new go.PathFigure(0,.2*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.45*a,.2*y)),te.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.4*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.2*y).close());var ee=new go.PathFigure(0,.6*y,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.45*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.45*a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.6*y).close()),x}),go.Shape.defineFigureGenerator("Boat Shipment",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.15*a,.6*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y));var te=new go.PathFigure(.15*a,.6*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),x}),go.Shape.defineFigureGenerator("Customer/Supplier",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*a,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,.66*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),x}),go.Shape.defineFigureGenerator("Workcell",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("Supermarket",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.33*y)),b.add(new go.PathSegment(go.PathSegment.Move,a,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.66*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.66*y)),b.add(new go.PathSegment(go.PathSegment.Move,a,.66*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),x}),go.Shape.defineFigureGenerator("TruckShipment",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var te=new go.PathFigure(a,.8*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),te.add(new go.PathSegment(go.PathSegment.Line,.6*a,.4*y)),te.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,.8*y).close());var ee=.1,ce=le*.1,fe=.2,he=.9,de=new go.PathFigure((fe-ee)*a,he*y,!0);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(he-ee)*y,(fe-ee)*a,(he-ce)*y,(fe-ce)*a,(he-ee)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ee)*a,he*y,(fe+ce)*a,(he-ee)*y,(fe+ee)*a,(he-ce)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(he+ee)*y,(fe+ee)*a,(he+ce)*y,(fe+ce)*a,(he+ee)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ee)*a,he*y,(fe-ce)*a,(he+ee)*y,(fe-ee)*a,(he+ce)*y).close()),ee=.1,ce=le*.1,fe=.8,he=.9;var pe=new go.PathFigure((fe-ee)*a,he*y,!0);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(he-ee)*y,(fe-ee)*a,(he-ce)*y,(fe-ce)*a,(he-ee)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ee)*a,he*y,(fe+ce)*a,(he-ee)*y,(fe+ee)*a,(he-ce)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(he+ee)*y,(fe+ee)*a,(he+ce)*y,(fe+ce)*a,(he+ee)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ee)*a,he*y,(fe-ce)*a,(he+ee)*y,(fe-ee)*a,(he+ce)*y).close()),x}),go.Shape.defineFigureGenerator("KanbanPost",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.2*a,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),x}),go.Shape.defineFigureGenerator("Forklift",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0));var te=new go.PathFigure(0,.5*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*y)),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var ee=new go.PathFigure(.5*a,.8*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*y));var ce=new go.PathFigure(.5*a,.7*y,!1);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a,.7*y));var fe=.1,he=le*.1,de=.1,pe=.9,ve=new go.PathFigure((de-fe)*a,pe*y,!0);x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(pe-fe)*y,(de-fe)*a,(pe-he)*y,(de-he)*a,(pe-fe)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(de+fe)*a,pe*y,(de+he)*a,(pe-fe)*y,(de+fe)*a,(pe-he)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(pe+fe)*y,(de+fe)*a,(pe+he)*y,(de+he)*a,(pe+fe)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(de-fe)*a,pe*y,(de-he)*a,(pe+fe)*y,(de-fe)*a,(pe+he)*y)),fe=.1,he=le*.1,de=.4,pe=.9;var me=new go.PathFigure((de-fe)*a,pe*y,!0);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(pe-fe)*y,(de-fe)*a,(pe-he)*y,(de-he)*a,(pe-fe)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(de+fe)*a,pe*y,(de+he)*a,(pe-fe)*y,(de+fe)*a,(pe-he)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(pe+fe)*y,(de+fe)*a,(pe+he)*y,(de+he)*a,(pe+fe)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(de-fe)*a,pe*y,(de-he)*a,(pe+fe)*y,(de-fe)*a,(pe+he)*y)),x}),go.Shape.defineFigureGenerator("RailShipment",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.1*a,.4*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.4*y).close());var te=new go.PathFigure(.45*a,.7*y,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y));var ee=new go.PathFigure(.55*a,.4*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.4*y).close());var de=.05,pe=le*.05,ve=.175,me=.95,ce=new go.PathFigure((ve-de)*a,me*y,!0);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(me-de)*y,(ve-de)*a,(me-pe)*y,(ve-pe)*a,(me-de)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ve+de)*a,me*y,(ve+pe)*a,(me-de)*y,(ve+de)*a,(me-pe)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(me+de)*y,(ve+de)*a,(me+pe)*y,(ve+pe)*a,(me+de)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ve-de)*a,me*y,(ve-pe)*a,(me+de)*y,(ve-de)*a,(me+pe)*y));var de=.05,pe=le*.05,ve=.375,me=.95,fe=new go.PathFigure((ve-de)*a,me*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(me-de)*y,(ve-de)*a,(me-pe)*y,(ve-pe)*a,(me-de)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ve+de)*a,me*y,(ve+pe)*a,(me-de)*y,(ve+de)*a,(me-pe)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(me+de)*y,(ve+de)*a,(me+pe)*y,(ve+pe)*a,(me+de)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ve-de)*a,me*y,(ve-pe)*a,(me+de)*y,(ve-de)*a,(me+pe)*y));var de=.05,pe=le*.05,ve=.625,me=.95,he=new go.PathFigure((ve-de)*a,me*y,!0);x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(me-de)*y,(ve-de)*a,(me-pe)*y,(ve-pe)*a,(me-de)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ve+de)*a,me*y,(ve+pe)*a,(me-de)*y,(ve+de)*a,(me-pe)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(me+de)*y,(ve+de)*a,(me+pe)*y,(ve+pe)*a,(me+de)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ve-de)*a,me*y,(ve-pe)*a,(me+de)*y,(ve-de)*a,(me+pe)*y));var de=.05,pe=le*.05,ve=.825,me=.95,Ee=new go.PathFigure((ve-de)*a,me*y,!0);x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(me-de)*y,(ve-de)*a,(me-pe)*y,(ve-pe)*a,(me-de)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ve+de)*a,me*y,(ve+pe)*a,(me-de)*y,(ve+de)*a,(me-pe)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(me+de)*y,(ve+de)*a,(me+pe)*y,(ve+pe)*a,(me+de)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ve-de)*a,me*y,(ve-pe)*a,(me+de)*y,(ve-de)*a,(me+pe)*y).close());var Se=new go.PathFigure(0,y,!1);return x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),x}),go.Shape.defineFigureGenerator("Warehouse",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var te=new go.PathFigure(0,.2*y,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var ee=new go.PathFigure(.15*a,y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.15*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.15*a,y).close());var ce=.05,fe=le*.05,he=.35,de=.775,pe=new go.PathFigure((he-ce)*a,de*y,!0);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,he*a,(de-ce)*y,(he-ce)*a,(de-fe)*y,(he-fe)*a,(de-ce)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(he+ce)*a,de*y,(he+fe)*a,(de-ce)*y,(he+ce)*a,(de-fe)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,he*a,(de+ce)*y,(he+ce)*a,(de+fe)*y,(he+fe)*a,(de+ce)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(he-ce)*a,de*y,(he-fe)*a,(de+ce)*y,(he-ce)*a,(de+fe)*y).close()),x}),go.Shape.defineFigureGenerator("ControlCenter",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,.1*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y).close()),x}),go.Shape.defineFigureGenerator("Bluetooth",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.75*y,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),x}),go.Shape.defineFigureGenerator("Bookmark",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),x}),go.Shape.defineFigureGenerator("Bookmark",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),x}),go.Shape.defineFigureGenerator("Globe",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Move,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.75*a,0,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,.75*y,.75*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,.25*a,y,0,.75*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,.25*y,.25*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,.15*a,.25*y,.15*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.85*a,.75*y,.85*a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Move,.1675*a,.15*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8325*a,.15*y,.35*a,.3*y,.65*a,.3*y)),b.add(new go.PathSegment(go.PathSegment.Move,.1675*a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8325*a,.85*y,.35*a,.7*y,.65*a,.7*y)),x}),go.Shape.defineFigureGenerator("Wave",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.25*y,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.25*y,.1*a,0,.2*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,.25*y,.425*a,.5*y,.575*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.25*y,.8*a,0,.9*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Move,0,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.75*y,.1*a,.5*y,.2*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,.75*y,.425*a,y,.575*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.75*y,.8*a,.5*y,.9*a,.5*y)),x}),go.Shape.defineFigureGenerator("Operator",function(z,a,y){var x=new go.Geometry,b=.3,te=le*.3,ee=.5,ce=.7,fe=new go.PathFigure((ee-b)*a,ce*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce-b)*y,(ee-b)*a,(ce-te)*y,(ee-te)*a,(ce-b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,ce*y,(ee+te)*a,(ce-b)*y,(ee+b)*a,(ce-te)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce+b)*y,(ee+b)*a,(ce+te)*y,(ee+te)*a,(ce+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*a,ce*y,(ee-te)*a,(ce+b)*y,(ee-b)*a,(ce+te)*y));var he=new go.PathFigure(0,.7*y,!1);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,a,.7*y,0,0,a,0)),x}),go.Shape.defineFigureGenerator("TripleFanBlades",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*y,.65*a,.3*y,.65*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.35*a,.5*y,.35*a,.3*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.65*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.3*a,.6*y,.1*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*y,.2*a,y,.35*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.65*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,y,.7*a,.6*y,.9*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*y,.8*a,y,.65*a,.95*y)),x}),go.Shape.defineFigureGenerator("CentrifugalPump",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,0,.075*y,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,y,0,y,.4*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.4*y,.8*a,y,.85*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),x}),go.Shape.defineFigureGenerator("Battery",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,.4*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.1*y));var te=new go.PathFigure(0,.6*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Move,0,.4*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),x}),go.Shape.defineFigureGenerator("Delete",function(z,a,y){var x=new go.Geometry,b=.5,te=le*.5,ee=.5,ce=.5,fe=new go.PathFigure((ee-b)*a,ce*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce-b)*y,(ee-b)*a,(ce-te)*y,(ee-te)*a,(ce-b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,ce*y,(ee+te)*a,(ce-b)*y,(ee+b)*a,(ce-te)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce+b)*y,(ee+b)*a,(ce+te)*y,(ee+te)*a,(ce+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*a,ce*y,(ee-te)*a,(ce+b)*y,(ee-b)*a,(ce+te)*y));var he=new go.PathFigure(.15*a,.5*y,!1);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Line,.85*a,.5*y)),x}),go.Shape.defineFigureGenerator("Flag",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.1*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,0,.1*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.1*y,.15*a,0,.35*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,.65*a,.2*y,.85*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*y,.85*a,.6*y,.65*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,.35*a,.4*y,.15*a,.4*y).close()),x}),go.Shape.defineFigureGenerator("Help",function(z,a,y){var x=new go.Geometry,b=.5,te=le*.5,ee=.5,ce=.5,fe=new go.PathFigure((ee-b)*a,ce*y,!1);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce-b)*y,(ee-b)*a,(ce-te)*y,(ee-te)*a,(ce-b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,ce*y,(ee+te)*a,(ce-b)*y,(ee+b)*a,(ce-te)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce+b)*y,(ee+b)*a,(ce+te)*y,(ee+te)*a,(ce+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*a,ce*y,(ee-te)*a,(ce+b)*y,(ee-b)*a,(ce+te)*y).close()),b=.05,te=le*.05,ee=.5,ce=.8;var he=new go.PathFigure((ee-b)*a,ce*y,!1);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce-b)*y,(ee-b)*a,(ce-te)*y,(ee-te)*a,(ce-b)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,ce*y,(ee+te)*a,(ce-b)*y,(ee+b)*a,(ce-te)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce+b)*y,(ee+b)*a,(ce+te)*y,(ee+te)*a,(ce+b)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*a,ce*y,(ee-te)*a,(ce+b)*y,(ee-b)*a,(ce+te)*y).close()),he.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),he.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,.75*a,.475*y,.75*a,.225*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.35*y,.4*a,.2*y,.3*a,.25*y)),x}),go.Shape.defineFigureGenerator("Location",function(z,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,y,!0).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.975*a,.025*y,.5*a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.25*a,.5*y,.5*a,0,.025*a,.025*y).close()).add(new go.PathSegment(go.PathSegment.Move,.5*a,.2*y)).add(new go.PathSegment(go.PathSegment.Arc,270,360,.5*a,.3*y,.1*a,.1*y).close()))}),go.Shape.defineFigureGenerator("Lock",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var te=new go.PathFigure(.2*a,.5*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,.3*y)),x}),go.Shape.defineFigureGenerator("Unlocked",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var te=new go.PathFigure(.2*a,.5*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,.35*y)),x}),go.Shape.defineFigureGenerator("Gear",function(z,a,y){return new go.Geometry().add(new go.PathFigure(.9375*a,.56246875*y,!0).add(new go.PathSegment(go.PathSegment.Line,.9375*a,.4375*y)).add(new go.PathSegment(go.PathSegment.Line,.80621875*a,.4375*y)).add(new go.PathSegment(go.PathSegment.Bezier,.763*a,.3316875*y,.79840625*a,.39915625*y,.7834375*a,.3635*y)).add(new go.PathSegment(go.PathSegment.Line,.8566875*a,.23796875*y)).add(new go.PathSegment(go.PathSegment.Line,.76825*a,.14959375*y)).add(new go.PathSegment(go.PathSegment.Line,.67596875*a,.24184375*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5625*a,.19378125*y,.64228125*a,.2188125*y,.603875*a,.2021875*y)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.0625*y)).add(new go.PathSegment(go.PathSegment.Line,.4375*a,.0625*y)).add(new go.PathSegment(go.PathSegment.Line,.4375*a,.19378125*y)).add(new go.PathSegment(go.PathSegment.Bezier,.32775*a,.239375*y,.39759375*a,.20190625*y,.36053125*a,.2176875*y)).add(new go.PathSegment(go.PathSegment.Line,.2379375*a,.14959375*y)).add(new go.PathSegment(go.PathSegment.Line,.14953125*a,.2379375*y)).add(new go.PathSegment(go.PathSegment.Line,.23934375*a,.3278125*y)).add(new go.PathSegment(go.PathSegment.Bezier,.19378125*a,.4375*y,.21765625*a,.36059375*y,.201875*a,.397625*y)).add(new go.PathSegment(go.PathSegment.Line,.0625*a,.4375*y)).add(new go.PathSegment(go.PathSegment.Line,.0625*a,.5625*y)).add(new go.PathSegment(go.PathSegment.Line,.1938125*a,.5625*y)).add(new go.PathSegment(go.PathSegment.Bezier,.241875*a,.67596875*y,.20221875*a,.603875*y,.21884375*a,.64228125*y)).add(new go.PathSegment(go.PathSegment.Line,.1495625*a,.76825*y)).add(new go.PathSegment(go.PathSegment.Line,.238*a,.8566875*y)).add(new go.PathSegment(go.PathSegment.Line,.3316875*a,.76296875*y)).add(new go.PathSegment(go.PathSegment.Bezier,.43753125*a,.80621875*y,.36353125*a,.78340625*y,.3991875*a,.79840625*y)).add(new go.PathSegment(go.PathSegment.Line,.43753125*a,.9375*y)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.9375*y)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.80621875*y)).add(new go.PathSegment(go.PathSegment.Bezier,.67225*a,.760625*y,.602375*a,.79809375*y,.63946875*a,.78234375*y)).add(new go.PathSegment(go.PathSegment.Line,.76828125*a,.8566875*y)).add(new go.PathSegment(go.PathSegment.Line,.85671875*a,.76825*y)).add(new go.PathSegment(go.PathSegment.Line,.76065625*a,.67221875*y)).add(new go.PathSegment(go.PathSegment.Bezier,.80621875*a,.56246875*y,.78234375*a,.63940625*y,.798125*a,.602375*y)).add(new go.PathSegment(go.PathSegment.Line,.9375*a,.56246875*y).close()).add(new go.PathSegment(go.PathSegment.Move,.5*a,.6*y)).add(new go.PathSegment(go.PathSegment.Arc,90,360,.5*a,.5*y,.1*a,.1*y).close()))}),go.Shape.defineFigureGenerator("Hand",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,.3*y,0,.375*y,.05*a,.325*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.45*a,.075*y,.3*a,.225*y,.4*a,.175*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.525*a,.075*y,.46*a,.05*y,.525*a,.05*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.4*y,.525*a,.275*y,.475*a,.325*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.55*y,a,.4*y,a,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,.425*a,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.55*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.6*a,.7*y,.675*a,.55*y,.675*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,.575*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,.85*y,.65*a,.7*y,.65*a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.535*a,y,.61*a,.85*y,.61*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,.435*a,y,0,y).close()),x}),go.Shape.defineFigureGenerator("Map",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.2*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),b.add(new go.PathSegment(go.PathSegment.Move,.25*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Move,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.8*y)),x}),go.Shape.defineFigureGenerator("Eject",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y*.7)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.7).close());var te=new go.PathFigure(0,y*.6,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,0).close()),x}),go.Shape.defineFigureGenerator("Pencil",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)).add(new go.PathSegment(go.PathSegment.Line,a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.9*a,y)).add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y).close()))}),go.Shape.defineFigureGenerator("Building",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a*1,y*1,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.85)),b.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.85)),b.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.3)),b.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.3)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.3)),b.add(new go.PathSegment(go.PathSegment.Line,a,y*.3)),b.add(new go.PathSegment(go.PathSegment.Line,a,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.85)),b.add(new go.PathSegment(go.PathSegment.Line,a,y*.85).close());var te=new go.PathFigure(.126*a,.85*y,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.126*a,.45*y)),te.add(new go.PathSegment(go.PathSegment.Line,.322*a,.45*y)),te.add(new go.PathSegment(go.PathSegment.Line,.322*a,.85*y).close());var ee=new go.PathFigure(.402*a,.85*y,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.402*a,.45*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.598*a,.45*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.598*a,.85*y).close());var ce=new go.PathFigure(.678*a,.85*y,!1);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,.678*a,.45*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.874*a,.45*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.874*a,.85*y).close());var fe=new go.PathFigure(.5*a,.1*y,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*a,.3*y)),fe.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*a,.3*y).close()),x}),go.Shape.defineFigureGenerator("Staircase",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y*1,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*.8)),b.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.8)),b.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.6)),b.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.6)),b.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.4)),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.4)),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.2)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.2)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.15)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.15)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.35)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.35)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.15,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.15,y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.95).close()),x}),go.Shape.defineFigureGenerator("5Bars",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y*1,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.184,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.184,y*(1-.184)).close());var te=new go.PathFigure(a*.204,y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.204,y*(1-.184))),te.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*(1-.184*2))),te.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*1).close());var ee=new go.PathFigure(a*.408,y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.408,y*(1-.184*2))),ee.add(new go.PathSegment(go.PathSegment.Line,a*.592,y*(1-.184*3))),ee.add(new go.PathSegment(go.PathSegment.Line,a*.592,y*1).close());var ce=new go.PathFigure(a*.612,y,!0);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a*.612,y*(1-.184*3))),ce.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*(1-.184*4))),ce.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*1).close());var fe=new go.PathFigure(a*.816,y,!0);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,a*.816,y*(1-.184*4))),fe.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-.184*5))),fe.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1).close()),x}),go.Shape.defineFigureGenerator("PC",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,0).close());var te=new go.PathFigure(a*.055,.07*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.07)),te.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.1)),te.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.1).close());var ee=new go.PathFigure(a*.055,.13*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.13)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.16)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.16).close());var ce=new go.PathFigure(a*.055,.18*y,!0);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.18)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.21)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.21).close());var fe=new go.PathFigure(a*1,0,!0);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,a*.4,0)),fe.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.65)),fe.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.65).close()),x}),go.Shape.defineFigureGenerator("Plane",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.55*a,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.475*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.35*a,.525*y,0,.4*y,.225*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.475*y)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,.35*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.325*y)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.325*y)),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.2*y,.975*a,0,a,.08*y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Line,.55*a,y).close()),x}),go.Shape.defineFigureGenerator("Key",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a*1,y*.5,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.9,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,.35*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,.35*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.15,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.35*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.65*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.15,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,.65*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,.65*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.6,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.65,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.7,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.85,.575*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.9,.6*y).close()),b.add(new go.PathSegment(go.PathSegment.Move,.17*a,.425*y)),b.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*a,.5*y,.075*a,.075*y).close()),x}),go.Shape.defineFigureGenerator("FilmTape",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*0,a*.3,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.08,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.08,y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1));var te=new go.PathFigure(0,0,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*1,y*0)),te.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*1,a*.3,a*.055)),te.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1));var ee=new go.PathFigure(a*.11,y*.1,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),y*.1)),ee.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),y*.8)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.11,y*.8).close());var ce=new go.PathFigure(a*(.11+.24133333*1+.028*1),y*.1,!1);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.1)),ce.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.8)),ce.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*1),y*.8).close());var fe=new go.PathFigure(a*(.11+.24133333*2+.028*2),y*.1,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.1)),fe.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.8)),fe.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*2),y*.8).close()),x}),go.Shape.defineFigureGenerator("FloppyDisk",function(z,a,y){var x=new go.Geometry,b=8,te=b*le,ee=new go.PathFigure(b,0,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.86,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.14)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y-b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,y-te,a-te,y)),ee.add(new go.PathSegment(go.PathSegment.Line,b,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,te,y,0,y-te)),ee.add(new go.PathSegment(go.PathSegment.Line,0,b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,te,te,0).close());var ce=new go.PathFigure(a*.83,0,!1);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.3)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.3)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*0).close());var fe=new go.PathFigure(a*.83,y*1,!1);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.5)),fe.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.5)),fe.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*1).close());var he=new go.PathFigure(a*.78,y*.05,!1);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.05)),he.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.25)),he.add(new go.PathSegment(go.PathSegment.Line,a*.78,y*.25).close()),x}),go.Shape.defineFigureGenerator("SpeechBubble",function(z,a,y){var x=z?z.parameter1:NaN;(isNaN(x)||x<0)&&(x=15),x=Math.min(x,a/3),x=Math.min(x,y/3);var b=x*le,te=y*.8,ee=new go.Geometry,ce=new go.PathFigure(x,0,!0);return ee.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),ce.add(new go.PathSegment(go.PathSegment.Bezier,a,x,a-b,0,a,b)),ce.add(new go.PathSegment(go.PathSegment.Line,a,te-x)),ce.add(new go.PathSegment(go.PathSegment.Bezier,a-x,te,a,te-b,a-b,te)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.7,te)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.7,y)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.55,te)),ce.add(new go.PathSegment(go.PathSegment.Line,x,te)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,te-x,b,te,0,te-b)),ce.add(new go.PathSegment(go.PathSegment.Line,0,x)),ce.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,b,b,0).close()),b>1?(ee.spot1=new go.Spot(0,0,b,b),ee.spot2=new go.Spot(1,.8,-b,-b)):(ee.spot1=go.Spot.TopLeft,ee.spot2=new go.Spot(1,.8)),ee}),go.Shape.defineFigureGenerator("Repeat",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*.45,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*.9)),b.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.9)),b.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*.45).close());var te=new go.PathFigure(a*1,y*.55,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*1)),te.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.55)),te.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.55)),te.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.1)),te.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.1)),te.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*0)),te.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),te.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.55).close()),x}),go.Shape.defineFigureGenerator("Windows",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close()).add(new go.PathSegment(go.PathSegment.Move,.4*a,.4*y)).add(new go.PathSegment(go.PathSegment.Line,.4*a,.8*y)).add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)).add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y).close()).add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*y)).add(new go.PathSegment(go.PathSegment.Line,.2*a,.6*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.6*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.1*y).close()).add(new go.PathSegment(go.PathSegment.Move,.1*a,.6*y)).add(new go.PathSegment(go.PathSegment.Line,.1*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y).close()))}),go.Shape.defineFigureGenerator("Terminal",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*.1,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.9)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*.9).close());var te=new go.PathFigure(a*.1,y*.2,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.25)),te.add(new go.PathSegment(go.PathSegment.Line,a*.22,y*.285)),te.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.32)),te.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.37)),te.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.32)),te.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.25).close());var ee=new go.PathFigure(a*.28,y*.37,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.37)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.41)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.28,y*.41).close()),x}),go.Shape.defineFigureGenerator("Beaker",function(z,a,y){var x=new go.Geometry,b=15,te=b*le,ee=new go.PathFigure(a*.62,y*.475,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,y-b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,y-te,a-te,y)),ee.add(new go.PathSegment(go.PathSegment.Line,b,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,te,y,0,y-te)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.38,y*.475)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.38,y*.03)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*0)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*0)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.62,y*.03).close()),te>1?(x.spot1=new go.Spot(0,0,te,te),x.spot2=new go.Spot(1,1,-te,-te)):(x.spot1=go.Spot.TopLeft,x.spot2=go.Spot.BottomRight),x}),go.Shape.defineFigureGenerator("Download",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);x.add(b);var te=.1/.3;b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-te))),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-te))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-te))),b.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-te))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-te))),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-te)).close());var ee=new go.PathFigure(a*.4,y*0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.26,y*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.66)),ee.add(new go.PathSegment(go.PathSegment.Line,a*(1-.26),y*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*0).close()),x}),go.Shape.defineFigureGenerator("Bin",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);x.add(b);var te=.1/.3;return b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-te))),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-te))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-te))),b.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-te))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-te))),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-te)).close()),x}),go.Shape.defineFigureGenerator("Upload",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);x.add(b);var te=.1/.3;b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-te))),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-te))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-te))),b.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-te))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-te))),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-te)).close());var ee=new go.PathFigure(a*.5,y*0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.26,y*.25)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.25)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.63)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.63)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.25)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.74,y*.25).close()),x}),go.Shape.defineFigureGenerator("EmptyDrink",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a*.15,y*0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.85,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1).close()),x}),go.Shape.defineFigureGenerator("Drink",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a*.15,y*0,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.85,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1).close());var te=new go.PathFigure(a*.235,y*.28,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.765,y*.28)),te.add(new go.PathSegment(go.PathSegment.Line,a*.655,y*.97)),te.add(new go.PathSegment(go.PathSegment.Line,a*.345,y*.97).close()),x}),go.Shape.defineFigureGenerator("4Arrows",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a*.5,y*0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*.25)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.25)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.35)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.5)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.65)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.65)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*.5)),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.35)),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.25)),b.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.25).close()),x}),go.Shape.defineFigureGenerator("Connector","Ellipse"),go.Shape.defineFigureGenerator("Alternative","TriangleUp"),go.Shape.defineFigureGenerator("Merge","TriangleUp"),go.Shape.defineFigureGenerator("Decision","Diamond"),go.Shape.defineFigureGenerator("DataTransmissions","Hexagon"),go.Shape.defineFigureGenerator("Gate","Crescent"),go.Shape.defineFigureGenerator("Delay","HalfEllipse"),go.Shape.defineFigureGenerator("Input","Parallelogram1"),go.Shape.defineFigureGenerator("ManualLoop","ManualOperation"),go.Shape.defineFigureGenerator("ISOProcess","Chevron"),go.Shape.defineFigureGenerator("MessageToUser","SquareArrow"),go.Shape.defineFigureGenerator("MagneticData","Cylinder1"),go.Shape.defineFigureGenerator("DirectData","Cylinder4"),go.Shape.defineFigureGenerator("StoredData","DataStorage"),go.Shape.defineFigureGenerator("SequentialData","MagneticTape"),go.Shape.defineFigureGenerator("Subroutine","Procedure")},80727:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var en={},zt="5.0",be={},ye=null,Je=!1,E=!1,ge=null,Ae=!1,ue=null,le=null,ie=0;ie4?parseFloat(lt):5};en.setHTML5Codebase=function(lt,at){le=lt,qe(lt,at)},en.setJavaCodebase=en.setJavaCodebaseVersion=en.isCompiledInstalled=en.setPreCompiledScriptPath=en.setPreCompiledResourcePath=function(){},en.setHTML5CodebaseVersion=function(lt,at){var ut=parseFloat(lt);if(ut!==NaN&&ut<5){console.log("The GeoGebra HTML5 codebase version "+ut+" is deprecated. Using version latest instead.");return}ue=lt,tt(lt,at)},en.getHTML5CodebaseVersion=function(){return z},en.getParameters=function(){return be},en.setFontsCSSURL=function(lt){ee=lt},en.setGiacJSURL=function(lt){},en.setJNLPFile=function(lt){ae=lt},en.setJNLPBaseDir=function(lt){},en.inject=function(){function lt(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var at="auto",ut=be.id,ft,bt=!1,Lt=0;Lt=5)return!0;var lt=en.getAppletObject();return lt&&typeof lt.recalculateEnvironments=="function"?(lt.recalculateEnvironments(),!0):!1},en.startAnimation=function(){var lt=en.getAppletObject();return lt&&typeof lt.startAnimation=="function"?(lt.startAnimation(),!0):!1},en.stopAnimation=function(){var lt=en.getAppletObject();return lt&&typeof lt.stopAnimation=="function"?(lt.stopAnimation(),!0):!1},en.getAppletObject=function(){var lt=be.id!==void 0?be.id:"ggbApplet";return window[lt]},en.resize=function(){};var Ee=function(lt,at,ut){var ft=document.createElement("param");ft.setAttribute("name",at),ft.setAttribute("value",ut),lt.appendChild(ft)},Se=function(lt){return lt&<!=="false"},Te=function(lt,at,ut){fe(z)<=4.2&&(ut=!0);var ft=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==z||ggbHTML5LoadedCodebaseIsWebSimple&&!y)&&(ft=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var bt=document.createElement("div");bt.classList.add("appletParameters","notranslate");var Lt=at.width,gt=at.height;if(at.disableAutoScale=at.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():at.disableAutoScale,at.width!==void 0)if(fe(z)<=4.4)Se(at.showToolBar)&&(at.height-=7),Se(at.showAlgebraInput)&&(at.height-=37),at.width<605&&Se(at.showToolBar)&&(at.width=605,Lt=605);else{var ht=100;(Se(at.showToolBar)||Se(at.showMenuBar))&&(at.hasOwnProperty("customToolBar")&&(at.customToolbar=at.customToolBar),ht=Se(at.showMenuBar)?245:155),Lt=5?(at.appletOnLoad=function(wt){var Bt=lt.querySelector(".ggb_preview");Bt&&Bt.parentNode.removeChild(Bt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(ke),window.GGBT_wsf_view&&$(window).trigger("resize"),Pe(wt)},Ve||ke.appendChild(Qe)):bt.appendChild(Qe),ke.appendChild(bt),Ve||lt.appendChild(ke),setTimeout(function(){en.resize()},1)}else{var De=document.createElement("div");De.className="applet_scaler",De.style.position="relative",De.style.display="block",De.appendChild(bt),lt.appendChild(De),at.appletOnLoad=function(wt){en.resize(),Pe(wt)}}function Ye(wt,Bt){Bt&&typeof Bt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(wt,Bt.appletOnLoad):renderGGBElement(wt),st("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",Bt)}function Ue(wt,Bt){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:wt,params:Bt}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(kt){Ye(kt.article,kt.params)}),html5AppletsToProcess=null)},fe(z)<5&&(wt.className+=" geogebraweb")):Ye(wt,Bt)}if(ft){scriptLoadStarted=!0;for(var Le=0;Le0?($e.remove(),ke.attr("id","fullscreencontent").show(),jQuery(Pe).append(ke),window.dispatchEvent(new Event("resize"))):Te($e,at,!1),window.GGBT_wsf_view.launchFullScreen(Pe)}else ne=ft,Te(lt,at,!1);if(!window.GGBT_wsf_view)for(gt=0;gtlt/4*3&&($e=lt/4*3),Pe=$e/5.8,ht.setAttribute("src",b),ht.setAttribute("width",$e),ht.setAttribute("height",Pe);var ke=(lt-$e)/2,Ve=(at-Pe)/2;ht.style.left=ke+"px",ht.style.top=Ve+"px",bt.appendChild(ht)}}return bt.appendChild(gt),bt},Ze=function(lt){return lt=lt.toLowerCase(),lt==="html5"||lt==="screenshot"?lt:"html5"},Me=["web","webSimple","web3d","tablet","tablet3d","phone"],tt=function(lt,at){if(z=lt,at){qe(z,!0);return}var ut=!Je;if(ut){var ft=fe(z);!isNaN(ft)&&ft<4.4&&(ut=!1)}var bt,Lt;window.location.protocol.substr(0,4)==="http"?bt=window.location.protocol:bt="http:";var gt=z.indexOf("//");gt>0?Lt=z:gt===0?Lt=bt+z:Lt="https://www.geogebra.org/apps/5.2.814.0/";for(var ht in Me)if(z.slice(Me[ht].length*-1)===Me[ht]||z.slice((Me[ht].length+1)*-1)===Me[ht]+"/"){qe(Lt,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&ut&&!ye.is3D&&!ye.AV&&!ye.SV&&!ye.CV&&!ye.EV2&&!ye.CP&&!ye.PC&&!ye.DA&&!ye.FI&&!ye.PV&&!Se(be.showToolBar)&&!Se(be.showMenuBar)&&!Se(be.showAlgebraInput)&&!Se(be.enableRightClick)&&(!be.appName||be.appName=="classic")?Lt+="webSimple/":Lt+="web3d/",qe(Lt,!1)},qe=function(lt,at){if(lt.requirejs){oe=lt;return}lt.slice(-1)!=="/"&&(lt+="/"),oe=lt,at===null&&(at=lt.indexOf("http")===-1),re=at,a="web.nocache.js",y=!1;var ut=oe.split("/");ut.length>1&&(!at&&ut[ut.length-2]==="webSimple"?(a="webSimple.nocache.js",y=!0):Me.indexOf(ut[ut.length-2])>=0&&(a=ut[ut.length-2]+".nocache.js")),ut=lt.split("/"),z=ut[ut.length-3],z.substr(0,4)==="test"?z=z.substr(4,1)+"."+z.substr(5,1):(z.substr(0,3)==="war"||z.substr(0,4)==="beta")&&(z="5.0");var ft=parseFloat(z);ft!==NaN&&ft<5&<.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+ft+" is deprecated. Using version latest instead."),tt("5.0",at))},st=function(lt,at){window.console&&window.console.log&&(!at||typeof at.showLogging=="undefined"||at.showLogging&&at.showLogging!=="false")&&console.log(lt)};be.material_id!==void 0?pe(At):At();function At(){var lt=zt;ue!==null?lt=ue:parseFloat(lt)<5&&(lt="5.0"),tt(lt,!1),le!==null&&qe(le,re),Ae=!0}return en},GGBAppletUtils=function(){"use strict";function en(){return window.GGBT_wsf_edit!==void 0}function zt(Ae,ue){ue!=1?(Ae.style.transformOrigin="0% 0% 0px",Ae.style.webkitTransformOrigin="0% 0% 0px",Ae.style.transform="scale("+ue+","+ue+")",Ae.style.webkitTransform="scale("+ue+","+ue+")",Ae.style.maxWidth="initial",Ae.querySelector(".ggb_preview")!==null&&(Ae.querySelector(".ggb_preview").style.maxWidth="initial"),Ae.querySelectorAll(".ggb_preview img")[0]!==void 0&&(Ae.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),Ae.querySelectorAll(".ggb_preview img")[1]!==void 0&&(Ae.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(Ae.style.transform="none",Ae.style.webkitTransform="none")}function be(Ae,ue,le,ie,se,ae){var oe=null;if(ae!=null&&ae!="")for(var re=Ae.parentNode;re!=null;)if((" "+re.className+" ").indexOf(" "+ae+" ")>-1){oe=re;break}else re=re.parentNode;var ne=0,z=0,a=0,y=0,x=0,b=0,te=0;if(oe)ne=oe.offsetWidth,z=Math.max(ie?oe.offsetWidth:0,oe.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(ne=Math.min(window.innerWidth,document.documentElement.clientWidth),z=Math.min(window.innerHeight,document.documentElement.clientHeight),a=ne):(ne=window.innerWidth,z=window.innerHeight,a=window.innerWidth),Ae){var ee=Ae.getBoundingClientRect();ee.left>0&&ee.left<=ne&&(se===void 0||!se)&&(document.dir==="rtl"?(x=ne-ee.width-ee.left,b=a<=480?10:30):(b=ee.left,x=a<=480?10:30),y=b+x)}if(Ae&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var ce=Ae.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(y=40,te=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(y=0,te=40)}}return Ae&&((le===void 0||!le)&&ue>0&&ue+y1&&(ae=!0)),ue&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(ae=!0),!(Ae.hasOwnProperty("disableAutoScale")&&Ae.disableAutoScale))se=ye(Ae,ue,ae,le,Ae.scaleContainerClass);else return ie;return ae&&(!Ae.hasOwnProperty("scale")||ie===1)?se:Math.min(ie,se)}function E(Ae){var ue=Math.min(window.innerWidth,document.documentElement.clientWidth),le=Math.min(window.innerHeight,document.documentElement.clientHeight),ie=Ae.getBoundingClientRect(),se=(ue-ie.width)/2,ae=(le-ie.height)/2;ae<0&&(ae=0),Ae.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(se<40?Ae.style.left="40px":Ae.style.left=se+"px",Ae.style.top=ae+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(ae<40?Ae.style.top="40px":Ae.style.top=ae+"px",Ae.style.left=se+"px")}function ge(Ae,ue){var le=Ae.querySelector(".appletParameters");if(le){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(ue.id!==le.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(Ae)}if(le.parentElement&&/fullscreen/.test(le.parentElement.className))return;var ie=Je(ue,Ae);en()&&le.setAttribute("data-param-scale",ie);for(var se=null,ae=0;ae=O)continue;if(j==jb){if(k=i.getAttribute(kb),k){var l,m=k.indexOf(lb);m>=O?(j=k.substring(O,m),l=k.substring(m+P)):(j=k,l=W),c[j]=l}}else if(j==mb){if(k=i.getAttribute(kb),k)try{d=eval(k)}catch(en){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(en){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(en){var zt=c[en];return zt==null?null:zt},r=d,webModule.__errFn=e}function B(){function en(Ae){var ue=Ae.lastIndexOf(rb);ue==-1&&(ue=Ae.length);var le=Ae.indexOf(sb);le==-1&&(le=Ae.length);var ie=Ae.lastIndexOf(tb,Math.min(le,ue));return ie>=O?Ae.substring(O,ie+P):W}function zt(Ae){if(!Ae.match(/^\w+:\/\//)){var ue=o.createElement(ub);ue.src=Ae+vb,Ae=en(ue.src)}return Ae}function be(){var Ae=__gwt_getMetaProperty(wb);return Ae!=null?Ae:W}function ye(){for(var Ae=o.getElementsByTagName(_),ue=O;ueO?Ae[Ae.length-P].href:W}function E(){var Ae=o.location;return Ae.href==Ae.protocol+zb+Ae.host+Ae.pathname+Ae.search+Ae.hash}var ge=be();return ge==W&&(ge=ye()),ge==W&&(ge=Je()),ge==W&&E()&&(ge=en(o.location.href)),ge=zt(ge),ge}function C(en){return en.match(/^\//)||en.match(/^[a-zA-Z]+:\/\//)?en:webModule.__moduleBase+en}function D(){var en=[],zt=O,be=[],ye=[];function Je(Ae){var ue=ye[Ae](),le=be[Ae];if(ue in le)return ue;var ie=[];for(var se in le)ie[le[se]]=se;throw r&&r(Ae,ie,ue),null}if(__gwt_isKnownPropertyValue=function(Ae,ue){return ue in be[Ae]},webModule.__getPropMap=function(){var Ae={};for(var ue in be)be.hasOwnProperty(ue)&&(Ae[ue]=Je(ue));return Ae},webModule.__computePropValue=Je,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var E;try{E=Cb;var ge=E.indexOf(Db);ge!=-1&&(zt=parseInt(E.substring(ge+P),$),E=E.substring(O,ge))}catch(Ae){}return webModule.__softPermutationId=zt,C(E+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase="/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},77903:function(en,zt,be){"use strict";be.d(zt,{Ax:function(){return ge},Ds:function(){return Ae},KI:function(){return le},SI:function(){return E},f1:function(){return Je}});var ye=be(3294);function Je(ie){let se=!0;if(ie.length>0){for(let ae=0;aete in b?ue(b,te,{enumerable:!0,configurable:!0,writable:!0,value:ee}):b[te]=ee,ne=(b,te)=>{for(var ee in te||(te={}))ae.call(te,ee)&&re(b,ee,te[ee]);if(se)for(var ee of se(te))oe.call(te,ee)&&re(b,ee,te[ee]);return b},z=(b,te)=>le(b,ie(te)),a=(b,te,ee)=>new Promise((ce,fe)=>{var he=ve=>{try{pe(ee.next(ve))}catch(me){fe(me)}},de=ve=>{try{pe(ee.throw(ve))}catch(me){fe(me)}},pe=ve=>ve.done?ce(ve.value):Promise.resolve(ve.value).then(he,de);pe((ee=ee.apply(b,te)).next())}),x=({description:b,code:te,showData:ee={},sendParams:ce={},allShow:fe=!1})=>{const he=[{img:be(58427),name:"\u667A\u80FD\u5BA1\u9898",des:"\u5FEB\u901F\u667A\u80FD\u62C6\u89E3\u4EFB\u52A1\uFF0C\u63D0\u4F9B\u89E3\u9898\u601D\u8DEF",description:"",query:b,show:ee==null?void 0:ee.ai_exam_question,type:1},{img:be(68427),name:"\u8BED\u6CD5\u68C0\u67E5",des:"\u68C0\u6D4B\u4EE3\u7801\u4E2D\u7684\u8BED\u6CD5\u9519\u8BEF\uFF0C\u63D0\u4F9B\u4FEE\u590D\u5EFA\u8BAE",description:"",query:te,show:ee==null?void 0:ee.ai_syntax_check,type:5},{img:be(2195),name:"\u4EE3\u7801\u8BCA\u65AD",des:"\u7CFB\u7EDF\u667A\u80FD\u4EE3\u7801\u5206\u6790\uFF0C\u63D0\u4F9B\u4FEE\u6B63\u5EFA\u8BAE",description:b,query:te,show:ee==null?void 0:ee.ai_code_diagnosis,type:2},{img:be(62849),name:"AI\u8F85\u5BFC",des:"\u4E3A\u5B66\u751F\u63D0\u4F9B\u4E2A\u6027\u5316\u667A\u80FD\u5B66\u4E60\u8F85\u5BFC",description:b,query:te,show:ee==null?void 0:ee.ai_guidance,type:3}],de=pe=>{const{setChatData:ve,setLoading:me,getData:Ee,clearStatus:Se,typing:Te,setImageGenerator:we,renderChatItems:je,setSceneAwareness:xe}=pe;let Oe=he;return fe||(Oe=he.filter(ze=>ze.show)),ye.createElement("div",{className:`${E.bigTips} mt10`},Oe.map((ze,Ze)=>ye.createElement("div",{onClick:()=>a(void 0,null,function*(){if(Te){ge.ZP.warning("\u8BF7\u7B49\u5F85\u4EFB\u52A1\u5B8C\u6210");return}xe(!1),we(!1),me(!0),Se();const Me=je(ze.query);Me[0].show=!1,Me[1].imageGenerator=!1,ve(Me),Ee("",ne({type:ze.type,description:ze.description,query:ze.query,file_ids:[],history:[],is_chat:!1,image_generator:!1,scene_awareness:!1},ce))}),key:Ze,className:E.item},ye.createElement(Ae.Z,{align:"middle"},ye.createElement("img",{className:"mr10",src:ze.img}),ye.createElement("span",{style:{color:"#232B40",fontSize:16,fontWeight:600}},ze.name)),ye.createElement("div",{className:"mt10",style:{color:"#434D6C"}},ze.des))))};return ye.createElement(Je.Z,{title:"\u667A\u80FD\u52A9\u6559",hideInputBox:fe?!1:!(ee!=null&&ee.ai_q_and_a),headFunctionNode:de,showSwitchingModel:!0,showImageGenerator:!0,showSceneAwareness:!0,fetchData:z(ne({},ce),{is_chat:!0}),topPercentage:(ce==null?void 0:ce.source)==="hack"?.52:void 0,headNode:ye.createElement(ye.Fragment,null,ye.createElement("div",{className:"c-grey-333 font22"},ye.createElement("span",{className:"mr5"},"\u{1F44B}"),"\u55E8\uFF0C\u6211\u662F\u5934\u6B4C\u667A\u80FD\u52A9\u6559\uFF0C\u60A8\u7684\u6559\u5B66\u597D\u5E2E\u624B\u3002"),ye.createElement("div",{className:"font16 mt20",style:{color:"#434D6C"}},"\u6211\u53EF\u4EE5\u8FD0\u7528\u667A\u80FD\u5BA1\u9898\u7684\u529F\u80FD\uFF0C\u5E2E\u52A9\u60A8\u8F7B\u677E\u7406\u89E3\u5E76\u62C6\u89E3\u5B9E\u8DF5\u4EFB\u52A1\uFF0C\u63D0\u4F9B\u6E05\u6670\u660E\u4E86\u7684\u89E3\u9898\u601D\u8DEF\u3002\u5F53\u60A8\u5728\u7F16\u5199\u4EE3\u7801\u8FC7\u7A0B\u4E2D\u9047\u5230\u95EE\u9898\u65F6\uFF0C\u6211\u53EF\u4EE5\u63D0\u4F9B\u4EE3\u7801\u8BCA\u65AD\u670D\u52A1\uFF0C\u5206\u6790\u60A8\u7684\u4EE3\u7801\u5E76\u7ED9\u51FA\u5177\u4F53\u7684\u4FEE\u6B63\u5EFA\u8BAE\u3002\u5982\u679C\u60A8\u9700\u8981\u8FDB\u4E00\u6B65\u7684\u5E2E\u52A9\uFF0C\u6211\u8FD8\u53EF\u4EE5\u63D0\u4F9B\u8BE6\u7EC6\u7684AI\u6307\u5BFC\uFF0C\u4E3A\u60A8\u91CF\u8EAB\u5B9A\u5236\u53C2\u8003\u7684\u89E3\u51B3\u65B9\u6848\u3002\u671F\u5F85\u4E0E\u60A8\u643A\u624B\u5171\u8FDB\uFF0C\u9AD8\u6548\u3001\u4F18\u8D28\u5730\u5B8C\u6210\u6BCF\u4E00\u9879\u5B9E\u8DF5\u4EFB\u52A1\uFF01"),ye.createElement("div",{className:"font16 mt20",style:{color:"#434d6c"}},"\u5FEB\u6765\u8BD5\u4E00\u4E0B\u5427\uFF5E")),fetchUrl:"/api/stream/intelligent_imports/chat_messages.json"})}},44068:function(en,zt,be){"use strict";be.d(zt,{Z:function(){return rr}});var ye=be(59301),Je=be(8591),E=be(54580),ge=be(43418),Ae=be(6848),ue=be(92832),le=be(3113),ie=be(71418),se=be(64165),ae=be(14478),oe=be(43428),re=be(38854),ne=be(92310),z=be.n(ne),a=be(46739),y=be(77596),x=be(93772),b=be(14179),te=be(56102),ee={answer:"answer___UngkO",imgWrap:"imgWrap___ORTRf",codeCopy:"codeCopy___re8vm"},ce=be(11611),fe=be(35328),he=be(30084),de=be(50304),pe=be(59301),ve=Object.defineProperty,me=Object.getOwnPropertySymbols,Ee=Object.prototype.hasOwnProperty,Se=Object.prototype.propertyIsEnumerable,Te=(bn,an,gn)=>an in bn?ve(bn,an,{enumerable:!0,configurable:!0,writable:!0,value:gn}):bn[an]=gn,we=(bn,an)=>{for(var gn in an||(an={}))Ee.call(an,gn)&&Te(bn,gn,an[gn]);if(me)for(var gn of me(an))Se.call(an,gn)&&Te(bn,gn,an[gn]);return bn},je=(bn,an)=>{var gn={};for(var Nr in bn)Ee.call(bn,Nr)&&an.indexOf(Nr)<0&&(gn[Nr]=bn[Nr]);if(bn!=null&&me)for(var Nr of me(bn))an.indexOf(Nr)<0&&Se.call(bn,Nr)&&(gn[Nr]=bn[Nr]);return gn},Oe=({onFinish:bn,value:an,streamingStatus:gn,cancelIndex:Nr,loadImage:lr})=>{const[_r,ei]=(0,ye.useState)(""),[Qn,yr]=(0,ye.useState)(0),[oi,Xn]=(0,ye.useState)(!1),Mr=Ci=>Ci.replace(/\\\(([\s\S]*?)\\\)/g,"$$$$$1$$$$").replace(/\\\[([\s\S]*?)\\\]/g,"$$$$$1$$$$").replace(/`(\$\$.*?\$\$)`/g,"$1"),Sr=()=>{Xn(!0),bn==null||bn()};return(0,ye.useEffect)(()=>{const Ci=lr?`\u8FD9\u662F\u6839\u636E\u60A8\u7684\u63CF\u8FF0\u751F\u6210\u7684\u56FE\u7247\uFF1A ${an}`:an,Ni=Mr(Ci);if(!oi)if(lr||!gn||Nr>0){ei(Ni),yr(Ni.length),(!gn||Nr>0)&&!lr&&Sr();return}else if(Qn{ei(Ni.slice(0,Qn+2)),yr(Ii=>Ii+2)},na>10?Math.max(500/(na/2),20):50);return()=>clearInterval(Qi)}else gn||Sr()},[an,gn,Nr,lr,Qn]),(0,ye.useMemo)(()=>pe.createElement("div",{className:`${ee.answer} fadeIn animated`},pe.createElement(a.UG,{remarkPlugins:[he.Z],rehypePlugins:[fe.Z,x.Z],components:{code(Ci){var Ni=Ci,{node:na,inline:Qi,className:Ii,children:xi}=Ni,or=je(Ni,["node","inline","className","children"]);const ga=/language-(\w+)/.exec(Ii||"");return Qi||!ga?pe.createElement("code",we({className:Ii},or),xi):pe.createElement("div",{className:ee.codeCopy},pe.createElement(te.CopyToClipboard,{text:String(xi).trim(),onCopy:()=>Je.ZP.success({content:"\u590D\u5236\u6210\u529F",key:"copy"})},pe.createElement("button",null,"\u590D\u5236")),pe.createElement(y.Z,we({style:b.Z,language:ga[1],PreTag:"div",showLineNumbers:!0,lineNumberStyle:{minWidth:"40px"}},or),String(xi).trim()))},img({node:Ci}){var Ni;return pe.createElement(ce.Z,{src:(Ni=Ci.properties)==null?void 0:Ni.src,width:320,onLoad:()=>lr&&setTimeout(()=>Sr(),500)})}}},gn&&Qnnew Promise((Nr,lr)=>{var _r=yr=>{try{Qn(gn.next(yr))}catch(oi){lr(oi)}},ei=yr=>{try{Qn(gn.throw(yr))}catch(oi){lr(oi)}},Qn=yr=>yr.done?Nr(yr.value):Promise.resolve(yr.value).then(_r,ei);Qn((gn=gn.apply(bn,an)).next())}),qe=({value:bn="",streamingStatus:an,onFinish:gn,cancelIndex:Nr,time:lr,loading:_r,loadAll:ei})=>{const[Qn,yr]=(0,ye.useState)(""),[oi,Xn]=(0,ye.useState)(!0),Mr=(0,ye.useRef)(bn),Sr=(0,ye.useRef)(an),ci=(0,ye.useRef)(0),Ci=(0,ye.useRef)(null),[Ni,na]=(0,ye.useState)(!1),Qi=70;(0,ye.useEffect)(()=>{Sr.current=an},[an]),(0,ye.useEffect)(()=>{Mr.current=bn},[bn]),(0,ye.useEffect)(()=>{if(!an){yr(Mr.current);return}return na(!0),Ci.current=setInterval(Ii,Qi),()=>{clearInterval(Ci.current)}},[]),(0,ye.useEffect)(()=>{Ni&&(yr(Mr.current),clearInterval(Ci.current),na(!1),gn())},[Nr]);const Ii=()=>Me(void 0,null,function*(){const xi=Mr.current[ci.current];xi!==void 0?(yr(or=>or+xi),ci.current++,clearInterval(Ci.current),Ci.current=setInterval(Ii,280/(Mr.current.length-ci.current))):Sr.current===!1&&(yr(Mr.current),clearInterval(Ci.current),na(!1),gn())});return Ze.createElement("div",{className:`${ze.reasoning} fadeIn animated`},Ze.createElement("div",{className:ze.btn,onClick:()=>Xn(!oi)},Ze.createElement("i",{className:"iconfont icon-shendusikao"}),lr?Ze.createElement("span",null,"\u5DF2\u6DF1\u5EA6\u601D\u8003\uFF08\u7528\u65F6 ",lr," \u79D2\uFF09"):Ze.createElement("span",null,"\u601D\u8003\u4E2D..."),oi?Ze.createElement("b",{className:"iconfont icon-shouqi6"}):Ze.createElement("b",{className:"iconfont icon-zhankai6"})),_r&&Ze.createElement(ie.Z,{spinning:!0,className:"mt20"}),oi&&!_r&&Ze.createElement("div",{className:ze.content},Qn,Ni?Ze.createElement("span",{className:"aiBlink"},"__"):""))},st={select:"select___Kt_GE",box:"box___S5_ly",text:"text___dtZDv",itemWrap:"itemWrap___xmw7x",item:"item___io6Bx",active:"active___nHRTI"},At=be(81327),lt=Object.defineProperty,at=Object.getOwnPropertySymbols,ut=Object.prototype.hasOwnProperty,ft=Object.prototype.propertyIsEnumerable,bt=(bn,an,gn)=>an in bn?lt(bn,an,{enumerable:!0,configurable:!0,writable:!0,value:gn}):bn[an]=gn,Lt=(bn,an)=>{for(var gn in an||(an={}))ut.call(an,gn)&&bt(bn,gn,an[gn]);if(at)for(var gn of at(an))ft.call(an,gn)&&bt(bn,gn,an[gn]);return bn};const gt=bn=>React.createElement("svg",Lt({className:"logo1_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:200,height:200},bn),React.createElement("path",{d:"M1019.407 620.8 891.834 397.781 946.49 293.12a29.099 29.099 0 0 0 6.4-36.395l-70.187-126.592a30.08 30.08 0 0 0-24.576-13.653H597.519L539.194 14.507a27.35 27.35 0 0 0-20.907-14.55H380.644a29.141 29.141 0 0 0-24.618 14.55v5.546L225.806 243.03H100.923a29.184 29.184 0 0 0-25.515 13.654L3.428 384.085a32.768 32.768 0 0 0 0 29.184L132.836 638.08 74.511 740.053a32.768 32.768 0 0 0 0 29.056l66.517 116.566a29.907 29.907 0 0 0 25.515 14.506H427.15l62.848 109.227A30.08 30.08 0 0 0 512.783 1024H660.41a29.141 29.141 0 0 0 24.576-14.55l128.469-224.853h114.773a31.915 31.915 0 0 0 24.662-15.445l66.474-117.419a28.16 28.16 0 0 0 0-30.976l.043.043zm-161.28 14.592L791.61 512.469 518.287 993.963l-74.752-122.88h-273.28l65.621-119.211h139.392L101.86 272.213h143.062L380.687 30.08l68.352 119.253-70.187 122.88H925.54l-69.205 121.942 137.6 241.194H858.17z",fill:"#605BEC"}),React.createElement("path",{d:"m499.983 699.307 174.379-274.731H324.708z",fill:"#605BEC"}));var ht="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+PHBhdGggZD0iTTEwMTkuNDA3IDYyMC44IDg5MS44MzQgMzk3Ljc4MSA5NDYuNDkgMjkzLjEyYTI5LjA5OSAyOS4wOTkgMCAwIDAgNi40LTM2LjM5NWwtNzAuMTg3LTEyNi41OTJhMzAuMDggMzAuMDggMCAwIDAtMjQuNTc2LTEzLjY1M0g1OTcuNTE5TDUzOS4xOTQgMTQuNTA3YTI3LjM1IDI3LjM1IDAgMCAwLTIwLjkwNy0xNC41NUgzODAuNjQ0YTI5LjE0MSAyOS4xNDEgMCAwIDAtMjQuNjE4IDE0LjU1djUuNTQ2TDIyNS44MDYgMjQzLjAzSDEwMC45MjNhMjkuMTg0IDI5LjE4NCAwIDAgMC0yNS41MTUgMTMuNjU0TDMuNDI4IDM4NC4wODVhMzIuNzY4IDMyLjc2OCAwIDAgMCAwIDI5LjE4NEwxMzIuODM2IDYzOC4wOCA3NC41MTEgNzQwLjA1M2EzMi43NjggMzIuNzY4IDAgMCAwIDAgMjkuMDU2bDY2LjUxNyAxMTYuNTY2YTI5LjkwNyAyOS45MDcgMCAwIDAgMjUuNTE1IDE0LjUwNkg0MjcuMTVsNjIuODQ4IDEwOS4yMjdBMzAuMDggMzAuMDggMCAwIDAgNTEyLjc4MyAxMDI0SDY2MC40MWEyOS4xNDEgMjkuMTQxIDAgMCAwIDI0LjU3Ni0xNC41NWwxMjguNDY5LTIyNC44NTNoMTE0Ljc3M2EzMS45MTUgMzEuOTE1IDAgMCAwIDI0LjY2Mi0xNS40NDVsNjYuNDc0LTExNy40MTlhMjguMTYgMjguMTYgMCAwIDAgMC0zMC45NzZsLjA0My4wNDN6bS0xNjEuMjggMTQuNTkyTDc5MS42MSA1MTIuNDY5IDUxOC4yODcgOTkzLjk2M2wtNzQuNzUyLTEyMi44OGgtMjczLjI4bDY1LjYyMS0xMTkuMjExaDEzOS4zOTJMMTAxLjg2IDI3Mi4yMTNoMTQzLjA2MkwzODAuNjg3IDMwLjA4bDY4LjM1MiAxMTkuMjUzLTcwLjE4NyAxMjIuODhIOTI1LjU0bC02OS4yMDUgMTIxLjk0MiAxMzcuNiAyNDEuMTk0SDg1OC4xN3oiIGZpbGw9IiM2MDVCRUMiLz48cGF0aCBkPSJtNDk5Ljk4MyA2OTkuMzA3IDE3NC4zNzktMjc0LjczMUgzMjQuNzA4eiIgZmlsbD0iIzYwNUJFQyIvPjwvc3ZnPg==",$e=Object.defineProperty,Pe=Object.getOwnPropertySymbols,ke=Object.prototype.hasOwnProperty,Ve=Object.prototype.propertyIsEnumerable,Qe=(bn,an,gn)=>an in bn?$e(bn,an,{enumerable:!0,configurable:!0,writable:!0,value:gn}):bn[an]=gn,De=(bn,an)=>{for(var gn in an||(an={}))ke.call(an,gn)&&Qe(bn,gn,an[gn]);if(Pe)for(var gn of Pe(an))Ve.call(an,gn)&&Qe(bn,gn,an[gn]);return bn};const Ye=bn=>React.createElement("svg",De({className:"logo2_svg__icon",viewBox:"0 0 1417 1024",xmlns:"http://www.w3.org/2000/svg",width:276.758,height:200},bn),React.createElement("path",{d:"M1364.44 118.705c-14.178-6.695-20.322 6.065-28.593 12.525-2.914 2.048-5.277 4.726-7.64 7.246-20.717 21.268-44.899 35.21-76.643 33.556a152.576 152.576 0 0 0-120.674 45.371c-7.404-41.826-32.06-66.875-69.553-82.865-19.693-8.35-39.543-16.7-53.248-34.737-9.61-12.919-12.288-27.333-17.015-41.512-3.15-8.507-6.144-17.25-16.384-18.668-11.185-1.733-15.517 7.247-19.928 14.73a189.125 189.125 0 0 0-23.552 98.461c1.575 76.88 35.446 138.083 102.636 181.642 7.562 4.963 9.531 9.925 7.09 17.25-4.49 14.967-9.926 29.54-14.81 44.584-2.992 9.61-7.561 11.658-18.274 7.483a309.484 309.484 0 0 1-96.886-63.015c-47.813-44.426-91.057-93.342-144.935-131.702a635.825 635.825 0 0 0-38.36-25.207c-54.982-51.2 7.167-93.262 21.582-98.225 14.966-5.199 5.277-23.158-43.402-22.922-48.68.237-93.184 15.833-149.977 36.628-8.428 3.15-17.092 5.514-25.993 7.326a557.844 557.844 0 0 0-160.768-5.436c-105.157 11.264-189.204 58.92-250.96 140.367-74.2 97.832-91.687 208.975-70.261 325.002 22.449 122.25 87.434 223.468 187.47 302.631 103.582 82 222.917 122.172 359.188 114.452 82.708-4.568 174.79-15.202 278.686-99.485 26.151 12.445 53.642 17.486 99.249 21.267 35.131 3.072 69.002-1.733 95.153-6.931 40.96-8.35 38.203-44.741 23.316-51.437-120.202-53.72-93.814-31.822-117.839-49.624 61.125-69.317 153.206-141.312 189.204-374.706 2.835-18.51.472-30.168 0-45.213-.237-9.137 1.969-12.603 12.918-13.706a240.089 240.089 0 0 0 86.173-25.442c77.982-40.803 109.332-107.914 116.736-188.259 1.103-12.288-.236-24.97-13.705-31.429zM685.45 842.043C569.108 754.215 512.55 725.307 489.157 726.49c-21.82 1.26-17.96 25.206-13.155 40.802 5.042 15.439 11.58 26.073 20.717 39.621 6.301 8.9 10.791 22.213-6.302 32.295-37.494 22.213-102.794-7.561-105.787-8.98-76.012-42.929-139.421-99.564-184.241-176.994a523.894 523.894 0 0 1-72.468-239.93c-1.024-20.56 5.278-27.885 26.703-31.587a272.148 272.148 0 0 1 85.307-2.127c118.942 16.699 220.16 67.741 305.073 148.48 48.443 46.001 85.071 100.982 122.88 154.703 40.173 57.029 83.338 111.458 138.32 155.963 19.376 15.675 34.894 27.569 49.781 36.234-44.74 4.805-119.414 5.829-170.456-32.926zm55.926-344.615c0-5.357 2.757-10.398 7.326-13.47a17.723 17.723 0 0 1 22.134 2.048c3.072 2.915 4.805 7.09 4.805 11.422a16.778 16.778 0 0 1-17.25 16.541 17.33 17.33 0 0 1-12.131-4.883 15.911 15.911 0 0 1-4.884-11.658zm173.529 85.464a104.37 104.37 0 0 1-33.005 8.586 71.444 71.444 0 0 1-44.504-13.548c-15.282-12.288-26.23-19.141-30.72-40.645a89.167 89.167 0 0 1 .787-31.429c3.939-17.487-.393-28.75-13.312-38.912-10.476-8.35-23.71-10.634-38.36-10.634a32.06 32.06 0 0 1-14.179-4.175c-6.144-2.914-11.106-10.24-6.301-19.14a60.18 60.18 0 0 1 10.712-11.265c19.85-10.79 42.693-7.246 63.882.788 19.693 7.798 34.501 21.898 55.926 41.905 21.74 24.183 25.68 30.8 38.125 48.916 9.846 14.179 18.747 28.75 24.89 45.45 3.703 10.397-1.102 18.905-13.941 24.103z",fill:"#4D6BFE"}));var Ue="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDE0MTcgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjc2Ljc1OCIgaGVpZ2h0PSIyMDAiPjxwYXRoIGQ9Ik0xMzY0LjQ0IDExOC43MDVjLTE0LjE3OC02LjY5NS0yMC4zMjIgNi4wNjUtMjguNTkzIDEyLjUyNS0yLjkxNCAyLjA0OC01LjI3NyA0LjcyNi03LjY0IDcuMjQ2LTIwLjcxNyAyMS4yNjgtNDQuODk5IDM1LjIxLTc2LjY0MyAzMy41NTZhMTUyLjU3NiAxNTIuNTc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IDAgMCAxLTE0LjE3OS00LjE3NWMtNi4xNDQtMi45MTQtMTEuMTA2LTEwLjI0LTYuMzAxLTE5LjE0YTYwLjE4IDYwLjE4IDAgMCAxIDEwLjcxMi0xMS4yNjVjMTkuODUtMTAuNzkgNDIuNjkzLTcuMjQ2IDYzLjg4Mi43ODggMTkuNjkzIDcuNzk4IDM0LjUwMSAyMS44OTggNTUuOTI2IDQxLjkwNSAyMS43NCAyNC4xODMgMjUuNjggMzAuOCAzOC4xMjUgNDguOTE2IDkuODQ2IDE0LjE3OSAxOC43NDcgMjguNzUgMjQuODkgNDUuNDUgMy43MDMgMTAuMzk3LTEuMTAyIDE4LjkwNS0xMy45NDEgMjQuMTAzeiIgZmlsbD0iIzRENkJGRSIvPjwvc3ZnPg==",Le=be(59301),nt=({value:bn,onChange:an})=>{const[gn,Nr]=(0,ye.useState)(!1),lr=[{name:"DeepSeek R1-671B",key:"deepseek-r1",img:Ue},{name:"\u901A\u4E49\u5343\u95EE",key:"qwen-max",img:ht}],_r=lr.find(ei=>ei.key===bn);return Le.createElement("div",{className:st.select},Le.createElement(At.Z,{size:10},Le.createElement("span",{className:"c-grey-333 font16"},"\u6A21\u578B"),Le.createElement("div",{className:st.box,onMouseLeave:()=>Nr(!1)},Le.createElement("div",{className:st.text,onClick:()=>Nr(!0)},Le.createElement("img",{src:_r.img,width:20}),Le.createElement("span",null,_r.name),Le.createElement("b",{className:"iconfont icon-zhankai6"})),gn&&Le.createElement("div",{className:st.itemWrap},Le.createElement("aside",null,lr.map(ei=>Le.createElement("div",{key:ei.key,className:`${st.item} ${ei.key===bn?st.active:""}`,onClick:Qn=>{Qn.stopPropagation(),an(ei.key),Nr(!1)}},Le.createElement("img",{src:ei.img,width:20}),Le.createElement("span",null,ei.name))))))))},ct={loadingPic:"loadingPic___y2kKZ",loading:"loading___UEUk1",dot:"dot___TYXFV","dot-fade":"dot-fade___KWn1a",wrap:"wrap___nU3cS",chatContainer:"chatContainer___PNe3Q",footerContainer:"footerContainer___hQATV",btnWrp:"btnWrp___mS8l6",btn:"btn___3za5U",btnActive:"btnActive____jzfb",inputContainer:"inputContainer___iCQ3u",uploadBtn:"uploadBtn___OHHJF",sendBtn:"sendBtn___ktaQl",sendBtnDisabled:"sendBtnDisabled___DVncF",cancelBtn:"cancelBtn___bzMDI",lineFour:"lineFour___Lhbz5",fullIcon:"fullIcon___YWXTV",footerContainerSelected:"footerContainerSelected___pGBh3",full:"full___dZLXo",li:"li___PjMV3",avatarIcon:"avatarIcon___ztGQ3",img:"img___wZqEA",content:"content___OlYYG",borderBox:"borderBox___tjHwt",text:"text___yWTCV",fileWrap:"fileWrap___IX778",file:"file___fxAKb",fileName:"fileName___RA8nu",source:"source___nkLC0",action:"action___I2zGy",disabledInput:"disabledInput___Buork",backBottom:"backBottom___SMuL2",head:"head___v8Eom",headBtn:"headBtn___IS7xR",menuWarp:"menuWarp___G6yj0",menu:"menu___M8VWP",menuText:"menuText___gRpb5",menuDel:"menuDel___eH_wg",active:"active___KWwPV"},St=be(99064),wt=be(955),Bt={draggableImage:"draggableImage___vcTso",img:"img___xAyno",close:"close___WUtfj"},pt=({src:bn,onClick:an,topPercentage:gn=.62,draggableExtraNode:Nr})=>{const lr=(0,ye.useRef)(null),_r=(0,ye.useRef)(!1),ei=(0,ye.useRef)(!1),[Qn,yr]=(0,ye.useState)(window.innerHeight*gn),[oi,Xn]=(0,ye.useState)(!1),Mr=10;return(0,ye.useEffect)(()=>{if(lr.current){let Sr=function(Qi){var Ii;_r.current=!0,na=Qi.pageY,Ni=Qi.pageY-(((Ii=lr.current)==null?void 0:Ii.getBoundingClientRect().top)||0),(0,wt.kk)("none"),document.onselectstart=function(){return!1}},ci=function(){_r.current&&!ei.current&&an&&an(),_r.current=!1,ei.current=!1,(0,wt.kk)("auto"),document.onselectstart=null},Ci=function(Qi){var Ii;if(_r.current){const or=Qi.pageY-Ni,ga=window.innerHeight-(((Ii=lr.current)==null?void 0:Ii.offsetHeight)||0)-50,ar=50;if(!ei.current&&Math.abs(na-Qi.pageY)>Mr&&(ei.current=!0),ei.current){let $i=Math.max(ar,Math.min(or,ga));yr($i)}}},Ni=0,na=0;return lr.current.addEventListener("mousedown",Sr),document.addEventListener("mousemove",Ci),document.addEventListener("mouseup",ci),()=>{var Qi,Ii;(Ii=(Qi=lr==null?void 0:lr.current)==null?void 0:Qi.removeEventListener)==null||Ii.call(Qi,"mousedown",Sr),document.removeEventListener("mousemove",Ci),document.removeEventListener("mouseup",ci)}}},[an]),(0,ye.useEffect)(()=>{const Sr=()=>{yr(window.innerHeight*gn)};return window.addEventListener("resize",Sr),()=>{window.removeEventListener("resize",Sr)}},[gn]),ye.createElement("div",{className:Bt.draggableImage,style:{top:`${Qn}px`,display:oi?"none":"block",cursor:_r.current?"grabbing":"grab"},ref:lr},Nr,ye.createElement("img",{className:Bt.img,src:bn,width:60,draggable:"false"}),ye.createElement("i",{className:`iconfont icon-tupianguanbi ${Bt.close}`,onMouseUp:Sr=>{Sr.stopPropagation(),Xn(!0)}}))},Ft="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAAAXNSR0IArs4c6QAAIABJREFUeF6VnQmAnGV9/z/vMffeV3azuRMCSUgCSQggiCBFEE9UvFpqW6utFopa71bx6GHRWq31xKtSFS0eqICV+wwSIJKQkDvZJJvsObOzO/d7PH9/z/O+s5sY2/4XhpmdnXln3u/7/f1+39/xPFj8H39Wr742GRaOXaYs65WWnVhtuc58y7Lmh4oWZYFv2fpIgdxZFtg2oZMgdByU7eA7Npbt6L958rttUXMsQtsCyyawLEI5gC0HMMcCpf8193ILIVT6ZoUhlgqxw5BEoLAD87ulAuxQkZC/h4ogDHBCX79eXivHsfShQizkOJQsFR63FMdVGO6yHfWz1s4FD+za9V+N/ws01v/2otVLzuv36tZHwfpDlN1m2w6W62LLiVpyLhahpQixNRiBxkPAE+BcQtvRj+Veyd8dG99x8CyLIOESuC4qlPcJ6BH48lgOHoMnXzIMIAJA7gUQ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jJC0RysYIa059LeGaeqJJ94Ii6H9Kv8NNcovk+uKXvqF8un/N/+CcBu5N24Yb8H9pfF6XOW1M+bUtNYP6yoIGRccPphjBrZT7dBcosjtC2PsnRBnNUNDdiik5I+BeREQnpsMZm2VQt7vcR+PRoJPC1mtc2/mZv///ojj90punz2WfN/nntvQHFezmRXpPcdP3bIqIL8whGWF6xc+04oL7kqQ2Pfpu5omAZThNY6GWuV4waWOp6xcGg0UDPtuWn/lj/j+X+Lbso4jJUfOwAAAABJRU5ErkJggg==",Kt=be(3294),$t=be(86204),An=be(85149),vn=Object.defineProperty,Fn=Object.defineProperties,Yn=Object.getOwnPropertyDescriptors,xr=Object.getOwnPropertySymbols,Tn=Object.prototype.hasOwnProperty,On=Object.prototype.propertyIsEnumerable,fn=(bn,an,gn)=>an in bn?vn(bn,an,{enumerable:!0,configurable:!0,writable:!0,value:gn}):bn[an]=gn,_n=(bn,an)=>{for(var gn in an||(an={}))Tn.call(an,gn)&&fn(bn,gn,an[gn]);if(xr)for(var gn of xr(an))On.call(an,gn)&&fn(bn,gn,an[gn]);return bn},zn=(bn,an)=>Fn(bn,Yn(an)),Ir=(bn,an,gn)=>fn(bn,typeof an!="symbol"?an+"":an,gn),Pr=(bn,an,gn)=>new Promise((Nr,lr)=>{var _r=yr=>{try{Qn(gn.next(yr))}catch(oi){lr(oi)}},ei=yr=>{try{Qn(gn.throw(yr))}catch(oi){lr(oi)}},Qn=yr=>yr.done?Nr(yr.value):Promise.resolve(yr.value).then(_r,ei);Qn((gn=gn.apply(bn,an)).next())});class Tr extends $t.EventEmitter{constructor(an,gn){super(),Ir(this,"url"),Ir(this,"body"),Ir(this,"fullContent",""),Ir(this,"controller",null),this.url=an,this.body=gn}startStream(){return Pr(this,null,function*(){this.controller=new AbortController;const{signal:an}=this.controller;try{const gn=yield fetch(this.url,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},credentials:"include",body:JSON.stringify(this.body),signal:an});if(!gn.ok)throw new Error(`\u8BF7\u6C42\u5931\u8D25: ${gn.status}`);const Nr=gn.headers.get("content-type");if(!Nr||!Nr.includes("text/event-stream"))throw new Error("\u54CD\u5E94\u6570\u636E\u683C\u5F0F\u9519\u8BEF");const lr=gn.body.getReader(),_r=new TextDecoder("utf-8");for(;;){const{done:ei,value:Qn}=yield lr.read();if(ei)break;const oi=_r.decode(Qn,{stream:!0}).split(` `);for(const Xn of oi)if(Xn.startsWith("data:")){let Mr=(0,An.z)(Xn.slice(5).trim().replace(/\\(?![tnrbfi"])/g,"\\\\"));if(Mr==="[DONE]")break;try{const Sr=JSON.parse(Mr);Sr.data&&this.handleData(zn(_n({},Sr.data),{content:Sr.data.content.replace(/\\\\/g,"\\")}))}catch(Sr){console.error("\u89E3\u6790 JSON \u5931\u8D25:",Sr)}}}this.emit("done",this.fullContent)}catch(gn){gn.name==="AbortError"?this.emit("cancelled",this.fullContent):this.emit("error",gn.message)}})}handleData(an){an.content&&(this.fullContent+=an.content,this.emit("data",{chunk:an,full:this.fullContent}))}cancelRequest(){var an;(an=this.controller)==null||an.abort()}}var Fr=Tr,Lr=be(58617),Kr=be(32050),Gr=Object.defineProperty,zr=Object.defineProperties,yi=Object.getOwnPropertyDescriptors,fa=Object.getOwnPropertySymbols,Mi=Object.prototype.hasOwnProperty,Li=Object.prototype.propertyIsEnumerable,qn=(bn,an,gn)=>an in bn?Gr(bn,an,{enumerable:!0,configurable:!0,writable:!0,value:gn}):bn[an]=gn,Er=(bn,an)=>{for(var gn in an||(an={}))Mi.call(an,gn)&&qn(bn,gn,an[gn]);if(fa)for(var gn of fa(an))Li.call(an,gn)&&qn(bn,gn,an[gn]);return bn},Qt=(bn,an)=>zr(bn,yi(an)),tn=(bn,an,gn)=>new Promise((Nr,lr)=>{var _r=yr=>{try{Qn(gn.next(yr))}catch(oi){lr(oi)}},ei=yr=>{try{Qn(gn.throw(yr))}catch(oi){lr(oi)}},Qn=yr=>yr.done?Nr(yr.value):Promise.resolve(yr.value).then(_r,ei);Qn((gn=gn.apply(bn,an)).next())}),rr=({title:bn="\u5934\u6B4CAI",placeholder:an,hideUpload:gn,hideInputBox:Nr,aiIcon:lr=Ft,userIcon:_r=It,dragIcon:ei=Jt,children:Qn,fetchUrl:yr,fetchData:oi={},extraAnswerAction:Xn,showDefaultTips:Mr=!0,onOpen:Sr,onClose:ci,loadingOption:Ci,showPreference:Ni=!1,initMessage:na,customRequest:Qi,visible:Ii,width:xi=1200,isCheckRestrictNumber:or=!1,headNode:ga,headFunctionNode:ar,showRedraw:$i,showEdit:no,promptPropName:Ki="prompt",topPercentage:ki,showSwitchingModel:Cr=!1,showImageGenerator:qr=!1,showLookHistory:Fi=!1,fetchListObject:Wr,customPreference:Pa,customDataNode:pa,showAddSession:Ka,historyId:Ao,draggableExtraNode:Ei,drawerExtraNode:cs,menuExtraFunctionNode:fr,showSceneAwareness:Di=!1})=>{var aa;const[tr,Hr]=(0,ye.useState)(!1),[fi,bi]=(0,ye.useState)("deepseek-r1"),[Ca,Ti]=(0,ye.useState)([]),[va,Sa]=(0,ye.useState)(!1),[oa,ea]=(0,ye.useState)(!1),[Xa,Qa]=(0,ye.useState)(!1),[Ba,Ja]=(0,ye.useState)([]),[ao,As]=(0,ye.useState)(""),[Fs,wl]=(0,ye.useState)(0),[pn,Wn]=(0,ye.useState)(!1),[Dr,cr]=(0,ye.useState)(null),[Ar,dr]=(0,ye.useState)(""),sr=(0,ye.useRef)(),Ur=(0,ye.useRef)(null),jr=(0,ye.useRef)(null),[Jr,Gn]=(0,ye.useState)(!1),[ni,Ai]=(0,ye.useState)(!1),[Hi,hi]=(0,ye.useState)(!1),[ri,xa]=(0,ye.useState)(!1),[ka,Oo]=(0,ye.useState)(0),Zi=(0,ye.useRef)(null),yo=(0,ye.useRef)(!1),Ea=(0,ye.useRef)(null),[Gi,Ji]=(0,ye.useState)(void 0),[ra,Wi]=(0,ye.useState)(!0),[ho,Va]=(0,ye.useState)(xi-28),[oo,bo]=(0,ye.useState)(!1),[Ya,ol]=(0,ye.useState)(!0),[Xs,Ls]=(0,ye.useState)([]),Bs=(0,ye.useRef)([]),so=(0,ye.useRef)(!1),gi=ho-22,Vi=ao==null?void 0:ao.split(` `).length,{onAdd:po,onGetList:Za,onListClick:ns,onListDelete:Yo,onListDealData:Zo}=Wr||{},ja={maxCount:10,showUploadList:!1,withCredentials:!0,fileList:Ca,multiple:!0,accept:".doc,.docx,.md,.txt,.pdf,.jpg,.png,.xlsx,.xls",beforeUpload:Nn=>{var $r,Oi,Yi,ua;const Ia=(ua=(Yi=(Oi=($r=Nn==null?void 0:Nn.name)==null?void 0:$r.split("."))==null?void 0:Oi.slice(-1))==null?void 0:Yi[0])==null?void 0:ua.toLowerCase(),Co=["doc","docx","md","pdf","txt","jpg","png","xlsx","xls"].includes(Ia);return Nn.size==0?(Je.ZP.warning("\u6587\u4EF6\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A"),E.default.LIST_IGNORE):Co||(Je.ZP.warning("\u76EE\u524D\u652F\u6301txt\u3001md\u3001doc\u3001docx\u3001pdf\u3001jpg\u3001png\u3001xlsx\u3001xls\u6587\u4EF6"),E.default.LIST_IGNORE)},onChange:({fileList:Nn})=>{Ti(Nn)},action:`${(aa=Kt.Z)==null?void 0:aa.API_SERVER}/api/intelligent_imports/upload_file.json`};(0,ye.useEffect)(()=>{if(!Ba.length||!sr.current)return;const Nn=Ba[Ba.length-1];Nn!=null&&Nn.loading&&(sr.current.scrollTop=sr.current.scrollHeight)},[Ba.length]),(0,ye.useEffect)(()=>{if(!sr.current||!Zi.current)return;const Nn=new IntersectionObserver(([$r])=>{Wi($r.isIntersecting)},{root:sr.current,rootMargin:"70px",threshold:0});return Nn.observe(Zi.current),()=>{Zi.current&&Nn.unobserve(Zi.current)}},[sr.current,Zi.current]),(0,ye.useEffect)(()=>{if(!Jr)return;const Nn=sr.current,$r=Ea.current;yo.current=!1;const Oi=()=>{const{scrollTop:ua,scrollHeight:Ia,clientHeight:ya}=Nn,Co=ua+ya===Ia;yo.current=!0,Co&&(yo.current=!1)};Nn.addEventListener("wheel",Oi);const Yi=new ResizeObserver(()=>{yo.current||(Nn.scrollTop=Nn.scrollHeight)});return Yi.observe($r),()=>{var ua;Yi.unobserve($r),(ua=Nn==null?void 0:Nn.removeEventListener)==null||ua.call(Nn,"wheel",Oi)}},[Jr]),(0,ye.useEffect)(()=>{!Jr&&Bs.current.length&&(Ja([...Ba,...Bs.current]),Bs.current=[])},[Jr]),(0,ye.useEffect)(()=>{if(!sr.current)return;const Nn=new ResizeObserver(()=>{Va(sr.current.offsetWidth)});return Nn.observe(sr.current),()=>{sr.current&&Nn.unobserve(sr.current)}},[sr.current]),(0,ye.useEffect)(()=>{typeof Ii=="boolean"&&Hr(Ii)},[Ii]),(0,ye.useEffect)(()=>{var Nn;if(Ur.current&&Dr!==null){Ur.current.focus();const $r=(Nn=Ur.current.resizableTextArea)==null?void 0:Nn.textArea;$r&&($r.selectionStart=$r.selectionEnd=$r.value.length)}},[Dr]),(0,ye.useEffect)(()=>{Vi<5&&Wn(!1)},[Vi]),(0,ye.useEffect)(()=>{tr&&na&&(Ja(qa(na)),Sa(!0),Is(na,{history:[]})),tr&&(Ao?El(Ao):Ka&&!Gi&&ll()),tr&&or&&No(),tr||rs()},[tr]);const qa=(Nn="",$r=[])=>{const Oi=Date.now();return[{text:Nn,key:Oi,sender:"user",fileList:$r,show:!0},{loading:!0,key:Oi,sender:"AI",show:!0,model:fi,imageGenerator:Hi,thinkingEnabled:ni}]},rs=()=>{dr(""),cr(null),Ti([]),As("")},Xo=()=>{if(Sr){Sr({chatData:Ba,setChatData:Ja,setLoading:Sa,getData:Is,renderChatItems:qa,handleAdd:ll,identifier:Gi});return}Hr(!0)},Es=()=>{if(ol(!0),ci){ci();return}Hr(!1)},zo=()=>{Wn(!pn)},No=()=>tn(void 0,null,function*(){const Nn=yield(0,St.ZP)("/api/intelligent_imports/check_number.json",{method:"get"});(Nn==null?void 0:Nn.status)===0&&wl(Nn==null?void 0:Nn.number)}),Jo=()=>{ge.default.info({title:"\u63D0\u793A",icon:null,okText:"\u6211\u77E5\u9053\u4E86",width:510,centered:!0,content:ye.createElement("div",null,ye.createElement("div",{style:{color:"#FA6400"}},"\u60A8\u5DF2\u8FBE\u5230\u667A\u80FD\u52A9\u6559\u7684\u4F7F\u7528\u6B21\u6570"),ye.createElement("div",{className:"c-grey-333 mt5"},"\u667A\u80FD\u52A9\u6559\u6BCF\u5929\u9650\u5236\u4F7F\u752810\u6B21\uFF0C\u8BF7\u660E\u5929\u518D\u8BD5\u3002"))})},Yr=Nn=>Nn.reduce((Oi,Yi)=>{if(Yi.sender==="user"){const ua=Nn.find(Ia=>Ia.key===Yi.key&&Ia.sender==="AI");ua&&(ua!=null&&ua.text)&&!(ua!=null&&ua.error)&&Oi.push({question:Yi.text,answer:ua.text})}return Oi},[]),Is=(...Nn)=>tn(void 0,[...Nn],function*($r="",Oi={},Yi=Ba){if(Qi&&(yield Qi({mes:$r,setChatData:Ja,fileList:Ca,body:Oi,checkNum:No,setLoading:Sa,bodyChatData:Yi,setTyping:Gn,setImageGenerator:hi})),!Qi){const ua=Ca==null?void 0:Ca.map(qo=>{var fs;return(fs=qo==null?void 0:qo.response)==null?void 0:fs.file_id}),Ia=Oi.history||Yr(Yi),ya=Er(Er({identifier:Gi,response_mode:"streaming",model:fi,scene_awareness:ri,thinking_enabled:ni,image_generator:Hi,file_ids:ua,history:Ia,[Ki]:$r},oi),Oi),Co=Object.fromEntries(Object.entries(ya).filter(([qo,fs])=>fs!==void 0));jr.current=new Fr(Kt.Z.API_SERVER+yr,Co),yield new Promise((qo,fs)=>{let au=null,ou=null;jr.current.on("data",ds=>{Gn(!0);const{chunk:{content:Go,type:Wo,created:Ds,msg:nA}}=ds,su=nA==="error";Wo==="thinking"&&(au=au||Ds,Ja(is=>[...is].map((ul,lu)=>lu===is.length-1?Qt(Er({},ul),{reasoning:(ul.reasoning||"")+Go,loading:!1,hideAnswer:!0,error:su}):ul))),Wo==="text"&&(ou=ou||Ds,Ja(is=>[...is].map((ul,lu)=>lu===is.length-1?Qt(Er({},ul),{text:(ul.text||"")+Go,loading:!1,startTime:au,endTime:ou,error:su}):ul)))}),jr.current.on("done",()=>{qo()}),jr.current.on("error",()=>{const ds="\u62B1\u6B49\uFF0C\u6211\u521A\u521A\u9047\u5230\u4E86\u4E00\u70B9\u95EE\u9898\uFF0C\u6CA1\u80FD\u5B8C\u6210\u60A8\u7684\u8BF7\u6C42\u3002\u8BF7\u60A8\u7A0D\u540E\u518D\u8BD5\u4E00\u6B21\uFF0C\u6216\u8005\u8054\u7CFB\u6280\u672F\u652F\u6301\u5E2E\u5FD9\u89E3\u51B3!";Ja(Go=>[...Go].map((Wo,Ds)=>Ds===Go.length-1?Qt(Er({},Wo),{text:ds,loading:!1,error:!0}):Wo)),qo()}),jr.current.on("cancelled",()=>{qo()}),jr.current.startStream()})}or&&No(),Sa(!1)}),Io=Nn=>{As(Nn.target.value)},Sl=(Nn,$r)=>{if(rs(),Sa(!0),Nn==="edit"){Bs.current=Ba.slice($r+2);const Oi=Ba.splice($r),{fileList:Yi}=(Oi==null?void 0:Oi[0])||{},ua=Yi.map(ya=>{var Co;return(Co=ya.response)==null?void 0:Co.file_id}),Ia={history:Yr(Ba),file_ids:ua,edit:!0};Ja([...Ba,...qa(Ar,Yi)]),Is(Ar,Ia,Ba)}if(Nn==="redraw"){Bs.current=Ba.slice($r+1);const Oi=Ba.splice($r-1),{text:Yi,fileList:ua}=(Oi==null?void 0:Oi[0])||{},Ia=ua.map(Co=>{var qo;return(qo=Co.response)==null?void 0:qo.file_id}),ya={history:Yr(Ba),file_ids:Ia,edit:!0};Ja([...Ba,...qa(Yi,ua)]),Is(Yi,ya,Ba)}},Cs=()=>{if(ao.trim()!==""){rs(),Sa(!0);const Nn=Ca.filter($r=>$r.status==="done");Ja([...Ba,...qa(ao,Nn)]),Is(ao)}},sl=Nn=>{if(Nn.shiftKey){if(Nn.key==="Enter")return}else if(Nn.key==="Enter"){if(Nn.preventDefault(),$a||so.current)return;Cs()}},Ha=(Nn,$r)=>{var Oi,Yi;let ua=!1;no===!0?ua=!0:no==="last"&&(ua=Ba.reduce((Co,qo,fs)=>qo.sender==="user"?fs:Co,-1)===$r);const Ia=$r===Dr;return ye.createElement("div",{className:ct.li,style:{width:gi}},ye.createElement("div",{className:ct.avatarIcon},ye.createElement("img",{className:ct.img,src:_r})),ye.createElement("div",{className:ct.content},!!((Oi=Nn==null?void 0:Nn.fileList)!=null&&Oi.length)&&ye.createElement("div",{className:ct.fileWrap},(Yi=Nn.fileList)==null?void 0:Yi.map((ya,Co)=>{var qo,fs;return ye.createElement("div",{key:Co,className:ct.file},ye.createElement("img",{src:be(90034)(`./${((fs=(qo=ya==null?void 0:ya.name)==null?void 0:qo.split("."))==null?void 0:fs.pop())||"txt"}.png`),width:20,className:"mr10"}),ye.createElement("aside",null,ye.createElement(Ae.Z,{title:ya==null?void 0:ya.name},ye.createElement("div",{className:ct.fileName},ya==null?void 0:ya.name)),ye.createElement("div",{className:"c-grey-999 font12"},(0,wt.RD)(ya==null?void 0:ya.size))))})),ye.createElement("div",{className:ct.borderBox},Ia?ye.createElement(ue.default.TextArea,{value:Ar,ref:Ur,autoSize:!0,placeholder:"\u8BF7\u8F93\u5165",bordered:!1,onChange:ya=>dr(ya.target.value)}):ye.createElement("div",{className:ct.text},Nn==null?void 0:Nn.text)),Ia?ye.createElement("div",{className:ct.action},ye.createElement(le.ZP,{onClick:()=>{dr(""),cr(null)},size:"small"},"\u53D6\u6D88"),ye.createElement(le.ZP,{disabled:!Ar.trim(),onClick:()=>Sl("edit",$r),type:"primary",size:"small"},"\u786E\u8BA4")):ye.createElement("div",{className:ct.action},ye.createElement(te.CopyToClipboard,{text:(Nn==null?void 0:Nn.text)||"",onCopy:()=>Je.ZP.success("\u590D\u5236\u6210\u529F")},ye.createElement(Ae.Z,{title:"\u590D\u5236"},ye.createElement("i",{className:"iconfont icon-fuzhi8 font13"}))),ua&&!va&&ye.createElement(Ae.Z,{title:"\u7F16\u8F91"},ye.createElement("i",{onClick:()=>{cr($r),dr((Nn==null?void 0:Nn.text)||"")},className:"iconfont icon-bianji10 font14"})))))},ru=(Nn,$r)=>{let Oi=!1;$i===!0?Oi=!0:$i==="last"&&(Oi=Ba.reduce((Ia,ya,Co)=>ya.sender==="AI"?Co:Ia,-1)===$r);let Yi="";return Nn!=null&&Nn.source?Yi=Nn==null?void 0:Nn.source:(Nn==null?void 0:Nn.model)==="deepseek-r1"?Yi="\u7531deepseek\u751F\u6210":(Nn==null?void 0:Nn.model)==="qwen-max"&&(Yi="\u7531\u901A\u4E49\u5343\u95EE\u751F\u6210"),ye.createElement("div",{className:ct.li,style:{width:gi}},ye.createElement("div",{className:ct.avatarIcon},ye.createElement("img",{className:ct.img,src:lr})),ye.createElement("div",{className:ct.content},ye.createElement("div",{className:ct.borderBox},Nn.loading&&ye.createElement(ye.Fragment,null,Nn!=null&&Nn.imageGenerator?ye.createElement("div",{className:ct.loadingPic},"\u6B63\u5728\u751F\u6210\u4E2D",ye.createElement("div",{className:"ai-loading"})):!(Nn!=null&&Nn.thinkingEnabled)&&ye.createElement("div",null,ye.createElement("div",{className:ct.loading},ye.createElement("div",{className:ct.dot}),ye.createElement("div",{className:ct.dot}),ye.createElement("div",{className:ct.dot})),ye.createElement("div",{style:{marginTop:10,color:"#9096A3"}},(Ci==null?void 0:Ci.text)||"\u8BF7\u8010\u5FC3\u7B49\u5F85\uFF0C\u76EE\u524D\u9AD8\u5CF0\u671F\u4F53\u9A8C\u4EBA\u6570\u8FC7\u591A\uFF0C\u6211\u4EEC\u5DF2\u8BB0\u5F55\u4E0B\u60A8\u7684\u9700\u6C42\uFF0C\u7A0D\u540E\u5C06\u81EA\u52A8\u4E3A\u60A8\u751F\u6210\u7B54\u6848\u3002"))),(Nn==null?void 0:Nn.thinkingEnabled)&&ye.createElement(qe,{time:Nn==null?void 0:Nn.time,cancelIndex:ka,loading:Nn.loading,streamingStatus:!(Nn!=null&&Nn.text),onFinish:()=>{Oo(0),Ja(ua=>[...ua].map((Ia,ya)=>ya===ua.length-1?Qt(Er({},Ia),{hideAnswer:!1,time:Ia.startTime?Ia.endTime-Ia.startTime:null}):Ia))},value:Nn==null?void 0:Nn.reasoning}),!!(Nn!=null&&Nn.text)&&!Nn.hideAnswer&&ye.createElement(Oe,{cancelIndex:ka,streamingStatus:va,loadImage:!!(Nn!=null&&Nn.imageGenerator),onFinish:()=>tn(void 0,null,function*(){Oo(0),setTimeout(()=>Gn(!1),0)}),value:Nn==null?void 0:Nn.text})),!!(Nn!=null&&Nn.text)&&Yi&&ye.createElement("div",{className:ct.source},Yi),ye.createElement("div",{className:ct.action},Xn==null?void 0:Xn(Nn,$r,{onMenuClick:El}),ye.createElement(te.CopyToClipboard,{text:String((Nn==null?void 0:Nn.text)||""),onCopy:()=>Je.ZP.success({content:"\u590D\u5236\u6210\u529F",key:"copy"})},ye.createElement(Ae.Z,{title:"\u590D\u5236"},ye.createElement("i",{className:"iconfot icon-fuzhi8 font13"}))),Ni&&!va&&ye.createElement(ye.Fragment,null,ye.createElement(Ae.Z,{title:"\u559C\u6B22"},ye.createElement("i",{style:Nn!=null&&Nn.like?{color:"#FA8D30"}:{},onClick:()=>iu("like",!(Nn!=null&&Nn.like),$r),className:"iconfot icon-yijiejue font15"})),ye.createElement(Ae.Z,{title:"\u4E0D\u559C\u6B22"},ye.createElement("i",{style:Nn!=null&&Nn.dislike?{color:"#e86d7c"}:{},onClick:()=>iu("dislike",!(Nn!=null&&Nn.dislike),$r),className:"iconfot icon-weijiejuezhengchang font15"}))),Oi&&!va&&ye.createElement(Ae.Z,{title:"\u91CD\u65B0\u751F\u6210"},ye.createElement("i",{onClick:()=>Sl("redraw",$r),className:"iconfot icon-gengxin-genghuan-tihuan"})))))},iu=(Nn,$r,Oi)=>tn(void 0,null,function*(){if(Pa){const Yi=Ba.slice(0,Oi+1),Ia=Yr(Yi).length;yield Pa({type:Nn,value:$r,index:Oi,identifier:Gi,objectIndex:Ia})}Ja(Yi=>(Yi[Oi][Nn]=$r,$r&&(Yi[Oi][Nn==="like"?"dislike":"like"]=!1),[...Yi]))}),zl=()=>{var Nn,$r;Oo(1),($r=(Nn=jr.current)==null?void 0:Nn.cancelRequest)==null||$r.call(Nn),Sa(!1),Gn(!1)},ll=()=>tn(void 0,null,function*(){var Nn,$r,Oi;($r=(Nn=jr.current)==null?void 0:Nn.cancelRequest)==null||$r.call(Nn),rs(),Ja([]),Sa(!0);const Yi=yield po();(Yi==null?void 0:Yi.status)===0&&Ji((Oi=Yi==null?void 0:Yi.data)==null?void 0:Oi.identifier),Sa(!1),Gn(!1)}),Bl=()=>tn(void 0,null,function*(){var Nn;Qa(!0);const $r=yield Za();($r==null?void 0:$r.status)===0&&Ls(((Nn=$r==null?void 0:$r.data)==null?void 0:Nn.list)||[]),Qa(!1)}),El=(...Nn)=>tn(void 0,[...Nn],function*($r=Gi){var Oi,Yi,ua,Ia;(Yi=(Oi=jr.current)==null?void 0:Oi.cancelRequest)==null||Yi.call(Oi),rs(),ea(!0);const ya=yield ns($r);if(ya.status===0){const Co=Zo(((ua=ya==null?void 0:ya.data)==null?void 0:ua.messages)||[]);Ja(Co),ea(!1),Ji((Ia=ya==null?void 0:ya.data)==null?void 0:Ia.identifier);return}Ja([]),ea(!1)}),Pi=(Nn,$r)=>tn(void 0,null,function*(){(yield Yo(Nn)).status===0&&(Je.ZP.success("\u5220\u9664\u6210\u529F"),$r===Gi&&ll(),Bl())}),Ui=()=>ye.createElement("div",{className:ct.menuWarp},ye.createElement("h4",null,"\u5386\u53F2\u5BF9\u8BDD"),ye.createElement(ie.Z,{spinning:Xa},!Xs.length&&ye.createElement(se.Z,{style:{width:250,paddingBottom:30},image:se.Z.PRESENTED_IMAGE_SIMPLE}),!!Xs.length&&ye.createElement("div",{className:ct.menu},Xs.map(function(Nn,$r){return ye.createElement("aside",{className:z()(Gi===Nn.identifier&&ct.active),key:Nn.id,onClick:()=>El(Nn.id)},ye.createElement("div",{className:ct.menuText},ye.createElement(Ae.Z,{title:Nn==null?void 0:Nn.question},ye.createElement("span",null,Nn==null?void 0:Nn.question)),fr&&fr(Nn)),ye.createElement("div",{className:ct.menuDel,onClick:Oi=>Oi.stopPropagation()},ye.createElement(ae.Z,{title:"\u63D0\u793A",description:"\u4F60\u786E\u5B9A\u8981\u5220\u9664\u672C\u6761\u5BF9\u8BDD\u5417\uFF1F",onConfirm:()=>Pi(Nn.id,Nn.identifier),okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88"},ye.createElement("i",{className:"iconfont icon-shanchu14 delete-hover font14"}))))})))),lo=Fs>9,Eo=gn||Ca.length>9,$a=Ca.some(Nn=>Nn.status==="uploading")||va||Jr,Do=Hi||ni||ri||!!Ca.length;return ye.createElement("div",null,Qn?ye.createElement("div",{onClick:Xo},Qn):ye.createElement(pt,{draggableExtraNode:Ei,src:ei,onClick:Xo,topPercentage:ki}),ye.createElement(oe.Z,{open:tr,width:oo?"100%":xi,afterOpenChange:Nn=>{Nn&&ol(!1)},contentWrapperStyle:Ya?{}:{transition:"none"},extra:ye.createElement("div",{className:ct.head},cs,Cr&&ye.createElement(nt,{value:fi,onChange:Nn=>{Ai(!1),hi(!1),bi(Nn)}}),Fi&&ye.createElement(ye.Fragment,null,ye.createElement(re.Z,{dropdownRender:Ui,onOpenChange:Nn=>{Nn&&Bl()},placement:"bottomLeft",arrow:!0},ye.createElement("div",{className:ct.headBtn},ye.createElement("i",{className:"icon-lishiduihua1 font14 mr10"}),"\u5386\u53F2\u5BF9\u8BDD"))),Ka&&ye.createElement(ye.Fragment,null,ye.createElement("div",{className:ct.headBtn,onClick:ll},ye.createElement("i",{className:"icon-xinjianduihua font14 mr10"}),"\u65B0\u5EFA\u5BF9\u8BDD")),ye.createElement(Ae.Z,{title:oo?"\u9000\u51FA\u5168\u5C4F":"\u5168\u5C4F"},ye.createElement("div",{className:ct.headBtn,style:{padding:"0 12px"},onClick:()=>bo(!oo)},oo&&ye.createElement("i",{className:"iconfont icon-tuichuquanping3"}),!oo&&ye.createElement("i",{className:"iconfont icon-quanping4"})))),title:ye.createElement("span",{className:"c-grey-333 font16"},bn),onClose:Es,bodyStyle:{paddingRight:4}},ye.createElement("div",{className:z()(ct.wrap,tr&&"body-overflow-hidden")},ye.createElement("div",{ref:sr,className:ct.chatContainer},Mr&&ye.createElement("div",{className:`${ct.li} mb20`,style:{width:gi}},ye.createElement("div",{className:ct.avatarIcon},ye.createElement("img",{className:ct.img,src:lr})),ye.createElement("div",{className:ct.content},ye.createElement("div",{className:ct.borderBox},ga,ar==null?void 0:ar({isDisabledNum:lo,checkNumModal:Jo,checkNum:No,onClose:Es,setChatData:Ja,setLoading:Sa,getData:Is,clearStatus:rs,typing:Jr,setImageGenerator:hi,renderChatItems:qa,setSceneAwareness:xa})))),ye.createElement("div",{ref:Ea},ye.createElement(ie.Z,{spinning:oa,className:"mt20"},Ba==null?void 0:Ba.map((Nn,$r)=>ye.createElement(ye.Fragment,{key:Nn.key+$r},Nn.show&&ye.createElement(ye.Fragment,null,Nn.sender==="user"&&Ha(Nn,$r),Nn.sender==="AI"&&ru(Nn,$r),pa&&!["AI","user"].includes(Nn.sender)&&pa(Nn,$r,{width:gi})))))),!ra&&ye.createElement("div",{className:ct.backBottom,onClick:()=>{yo.current=!1,sr.current.scrollTop=sr.current.scrollHeight}},ye.createElement("i",{className:"iconfont icon-huidaodibu"})),ye.createElement("div",{ref:Zi})),!Nr&&ye.createElement("div",{className:z()(ct.footerContainer,pn&&ct.full,Do&&ct.footerContainerSelected)},ye.createElement("div",{className:ct.btnWrp},Di&&ye.createElement(Ae.Z,{title:"\u667A\u80FD\u611F\u77E5\u5F53\u524D\u60C5\u5883\uFF0C\u63D0\u4F9B\u9488\u5BF9\u6027\u89E3\u7B54"},ye.createElement("div",{onClick:()=>xa(!ri),className:z()(ct.btn,ri&&ct.btnActive)},ye.createElement("i",{className:"iconfont icon-changjingganzhi mr10 font12"}),"\u573A\u666F\u611F\u77E5")),fi==="deepseek-r1"&&ye.createElement(Ae.Z,{title:"\u8C03\u7528\u65B0\u6A21\u578B DeepSeek-R1\uFF0C\u89E3\u51B3\u63A8\u7406\u95EE\u9898"},ye.createElement("div",{onClick:()=>Ai(!ni),className:z()(ct.btn,ni&&ct.btnActive)},ye.createElement("i",{className:"iconfont icon-shendusikao mr10 font12"}),"\u6DF1\u5EA6\u601D\u8003\uFF08R1\uFF09")),qr&&fi==="qwen-max"&&ye.createElement("div",{onClick:()=>hi(!Hi),className:z()(ct.btn,Hi&&ct.btnActive)},ye.createElement("i",{className:"iconfont icon-shangchuantupian2 mr10 font12"}),"\u56FE\u50CF\u751F\u6210"),Ca.map(Nn=>ye.createElement("div",{key:Nn.uid},(Nn==null?void 0:Nn.status)==="uploading"&&ye.createElement(ie.Z,{indicator:ye.createElement(Lr.Z,{spin:!0}),className:"mr10",size:"small",spinning:!0}),ye.createElement("span",{title:Nn==null?void 0:Nn.name,className:"mr10"},(0,wt.Pq)(Nn.name,20)),ye.createElement("i",{onClick:()=>Ti($r=>$r.filter(Oi=>Oi.uid!==Nn.uid)),className:"iconfont current icon-shanchu15 delete-hover c-red-ee4 font12"})))),ye.createElement(Ae.Z,{title:lo&&ye.createElement("div",null,ye.createElement("div",null,"\u60A8\u5DF2\u8FBE\u5230\u667A\u80FD\u52A9\u6559\u7684\u4F7F\u7528\u6B21\u6570"),ye.createElement("div",null,"\u667A\u80FD\u52A9\u6559\u6BCF\u5929\u9650\u5236\u4F7F\u752810\u6B21\uFF0C\u8BF7\u660E\u5929\u518D\u8BD5\u3002"))},ye.createElement("div",{className:z()(ct.inputContainer,Vi>4&&ct.lineFour,lo&&ct.disabledInput)},ye.createElement(E.default,Qt(Er({},ja),{className:`${Eo&&"hide"}`}),ye.createElement(le.ZP,{className:ct.uploadBtn,icon:ye.createElement(Kr.Z,{style:{fontSize:18,color:"#FFF"}})})),ye.createElement(ue.default.TextArea,{rows:Vi>4?4:Vi,placeholder:an||"\u5728\u8FD9\u91CC\u8F93\u5165\u4F60\u95EE\u9898\u5427,Shift+Enter\u6362\u884C\uFF5E",value:ao,bordered:!1,style:Eo?{paddingLeft:0,marginLeft:0}:{},onChange:Io,onPressEnter:sl,onCompositionStart:()=>{so.current=!0},onCompositionEnd:()=>{so.current=!1}}),Jr?ye.createElement(Ae.Z,{title:"\u505C\u6B62\u751F\u6210"},ye.createElement("div",{className:`iconfont icon-tingzhihuida ${ct.cancelBtn}`,onClick:zl})):ye.createElement(le.ZP,{className:(ao==null?void 0:ao.trim())===""?ct.sendBtnDisabled:ct.sendBtn,icon:ye.createElement("i",{className:"iconfont icon-fasong2 c-white"}),disabled:$a,onClick:Cs}),Vi>4&&ye.createElement("span",{className:ct.fullIcon,onClick:zo},pn&&ye.createElement("span",{className:"iconfont icon-shousuo"}),!pn&&ye.createElement("span",{className:"iconfont icon-zhankai"}))))))))}},67054:function(en,zt,be){"use strict";be.d(zt,{Z:function(){return Se},U:function(){return ve}});var ye=be(59301),Je=be(31797),E=be(43418),ge=be(1710),Ae=be(4901),ue=be(94941),le=be(61186),ie=be.n(le),se={exitFullScreenModalWrapper:"exitFullScreenModalWrapper___aNB9Q",exitFullScreenModal:"exitFullScreenModal___HIMyY",warningIcon:"warningIcon___xEURa",warningText:"warningText___W6NPJ",countdownWrapper:"countdownWrapper___n8g1M",forcedModalWrapper:"forcedModalWrapper___JPMQ2",forcedModalContent:"forcedModalContent___uY5FV",forcedText:"forcedText___C3CrF",screenNumText:"screenNumText___oljHN"},ae="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJwAAACwCAYAAAD61gcAAAAAAXNSR0IArs4c6QAAIABJREFUeF7tnQd4XHeZ7n9/zUgzkkZdsiX3XmM7xWlONYE0AsuyEMizwAKbDcuFAMvCXvbuEpwsZeksBNilLZBLKIGQUC+EVEKSTYN0O8W9W26SrK4593nP+X/jvyd2LCeOZMbR88gjz5w59T3v933vV47jpZ+XzsAIngE3gtsqiU3tiaJxFYNMzufZk6ngEZyLSuLARuggXgLcME90FN2a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FX9IqArYoBKomv7HIoqzjiXVMlwzkoCupHr5Z1ElskhFpz05Dtw3hY5t03ASN08m1TA32MS8gPuMONKLf8Y+vx6fy5//F98kX9HlCXiv6MVDL4Ill+h8mdv2MpgXSNHDCYZYXIJWHfRtRiJvWUqjkgCDqLjjcnK4HJqultkCEVuf9pB8gPcUDak1y5D67ghWimDuWrbrlOfL2k7hviv7s/iPbsQIymAwqW2vt8CTNirxtEymOUsgY85kLOqMTmZJyRi4sifgOjnGUj+7sM9CO2NZVH5WMjVGo3i5fBm85z8EqZVNi37uklJk+iSriU9a4ljNWb2axtq2vU7KxeCOg6guVoRFXn8J8u83sc4wTu2tl7RD9eVrUIxE61FwndxXk7xplljlY2oFkN6o43oyZpAZnuemIdKWWTYFCTAbuOQDk9uD2zoDSocAS/0cRPTjAaw7/rOjJeR1bvOlaAPgdMjdr4St0/FgcIG5YoAtDUb37G1bzrDZX2UNrxIE6TkwoL/8d0321TbvzKSI5Z4CW8Gpzby/NrFk89H0N9C9S6shR23b9dUsq+oSKaJcyg7Wl/tXjVLachi+/gIhz/gBjfH0lKftjF+DBZypz5n7yNYnrZGlVAOWpXpfqt+5XVHVlOOXzYLaes6cp7lsT0KLM6h/2lnqtw8RX/QYumE+Y7XXy6xth/8if6ImB6BgJdpDQ2ujdGnOonKuwunsf2//79VZiDt+futsxb/2re3v1fPQ1TTTant/5lqvbvcZ3dWg/99cOe54/O2Ptf31b2/83OetvD93rpmxapp/vuPXJp9c98j23mXcU3cgy23lQ6qdgowgNPwCCYtZKRJmPlKmFd/M4C19WyTQWCXw/2FPRE8ZCmprAAAAAElFTkSuQmCC",re=be(955),ne=be(89070),z=be(37518),a=be(59301),y=Object.defineProperty,x=Object.defineProperties,b=Object.getOwnPropertyDescriptors,te=Object.getOwnPropertySymbols,ee=Object.prototype.hasOwnProperty,ce=Object.prototype.propertyIsEnumerable,fe=(Te,we,je)=>we in Te?y(Te,we,{enumerable:!0,configurable:!0,writable:!0,value:je}):Te[we]=je,he=(Te,we)=>{for(var je in we||(we={}))ee.call(we,je)&&fe(Te,je,we[je]);if(te)for(var je of te(we))ce.call(we,je)&&fe(Te,je,we[je]);return Te},de=(Te,we)=>x(Te,b(we)),pe=(Te,we,je)=>new Promise((xe,Oe)=>{var ze=tt=>{try{Me(je.next(tt))}catch(qe){Oe(qe)}},Ze=tt=>{try{Me(je.throw(tt))}catch(qe){Oe(qe)}},Me=tt=>tt.done?xe(tt.value):Promise.resolve(tt.value).then(ze,Ze);Me((je=je.apply(Te,we)).next())});const ve=["fullscreenchange","msfullscreenchange","webkitfullscreenchange","mozfullscreenchange"],{Countdown:me}=Je.default,Ee=({exercise:Te,socket:we,dispatch:je,onStartScreenshot:xe,onCloseScreenshot:Oe,handleToDetail:ze})=>{const[Ze,Me]=E.default.useModal(),tt=(0,ye.useRef)(),[qe,st]=(0,ye.useState)(!0),At=(0,ye.useRef)(!1),lt=(0,ne.useParams)();(0,ye.useEffect)(()=>{var Ne,nt,ct;if(document.addEventListener((0,Ae.gH)(),Ue,!1),window.addEventListener("blur",De,!1),(Ne=Te.exerciseUserInfo)!=null&&Ne.screen_open&&(0,Ae.vp)()&&st(!1),(nt=Te.exerciseUserInfo)!=null&&nt.screen_open&&!(0,Ae.vp)()){(0,re.RG)(" ",!0);const St=document.domain==="kepukehuan.educoder.net"?30:localStorage.getItem("Refresh")==="1"?Te.exerciseUserInfo.screen_sec+3:Te.exerciseUserInfo.screen_sec+10+1;tt.current=E.default.info({icon:null,centered:!0,width:444,title:(0,z._V)(z.CP.recordScreen1),keyboard:!1,content:a.createElement("div",null,(0,z._V)(z.CP.recordScreen2),a.createElement("span",{style:{color:"#FF9849"}},Te.exerciseUserInfo.screen_num-Te.exerciseUserInfo.used_screen_num),(0,z._V)(z.CP.recordScreen3)),okText:a.createElement("span",null,(0,z._V)(z.CP.recordScreen4),"\uFF08",a.createElement("span",{style:{display:"inline-block"}},a.createElement(me,{onFinish:()=>pe(void 0,null,function*(){var wt;const Bt=yield Ye();(wt=tt.current)==null||wt.destroy(),Bt.used_screen_num&&ke(Bt.used_screen_num+1)}),valueStyle:{fontSize:14,lineHeight:1.4,color:"#FFF",display:"inline-block"},format:"ss",value:Date.now()+St*1e3})),"S\uFF09"),onOk:()=>{var wt;(0,re.RG)(" ",!0),(wt=tt.current)==null||wt.destroy(),st(!1),(0,Ae.Dj)(document.body),document.getElementById("root").addEventListener("click",ut,!1)}})}return(ct=Te.exerciseUserInfo)!=null&&ct.screen_open&&!(0,Ae.vp)()||document.getElementById("root").addEventListener("click",ut,!1),()=>{document.getElementById("root").removeEventListener("click",ut,!1),document.removeEventListener((0,Ae.gH)(),Ue,!1),window.removeEventListener("blur",De,!1)}},[]),(0,ye.useEffect)(()=>{setTimeout(()=>{Te.actionTabs.removeEventListenerExitScreen&&(document.getElementById("root").removeEventListener("click",ut,!1),document.removeEventListener((0,Ae.gH)(),Ue,!1))},500),ft()},[Te.actionTabs]),(0,ye.useEffect)(()=>{setTimeout(()=>{Te.exerciseUserInfo.used_screen_num>Te.exerciseUserInfo.screen_num&&Ve()},500)},[Te.exerciseUserInfo]);const at=()=>pe(void 0,null,function*(){const Ne=yield Ye();setTimeout(()=>{var nt,ct;(nt=tt.current)==null||nt.destroy(),tt.current=E.default.info({okText:a.createElement("span",null,"\u56DE\u5230\u8003\u8BD5"),content:a.createElement("div",null,"\u60A8\u5DF2\u5207\u5C4F",a.createElement("span",{className:"c-red"},Ne.used_screen_num),"\u6B21\uFF0C\u5207\u5C4F\u8D85\u8FC7",a.createElement("span",{className:"c-red"},(ct=Te.exerciseUserInfo)==null?void 0:ct.screen_num),"\u6B21\u5C06\u5F3A\u5236\u4EA4\u5377"),onOk:()=>pe(void 0,null,function*(){(0,Ae.Dj)(document.body)})})},1e3)}),ut=Ne=>{!(0,Ae.vp)()&&Ne.target.nodeName!=="A"&&Ne.target.nodeName!=="BUTTON"&&Ne.target.innerHTML!=="\u786E \u5B9A"&&(0,Ae.Dj)(document.body)},ft=()=>pe(void 0,null,function*(){const Ne=yield je({type:"exercise/getExerciseUserInfo",payload:he({},lt)});return Ne==null?void 0:Ne.data}),bt=Ne=>pe(void 0,null,function*(){var nt;if((nt=Te.exerciseUserInfo)!=null&&nt.screen_at){const St=yield(0,ue.ck)(de(he({},lt),{reset:!0}));if((St==null?void 0:St.status)===-6)return}const ct=yield(0,ue.oy)({id:lt.categoryId});if(ct!=null&&ct.is_commit){E.default.destroyAll(),yield Lt(),Qe(!0);return}else ke(Ne+1)}),Lt=()=>pe(void 0,null,function*(){var Ne;const nt=ie()(),ct=Te.exerciseUserInfo.screen_sec;if($e.current.length>0){const St=nt.format("YYYY-MM-DD HH:mm:ss");let wt=Math.floor(nt.diff(ie()($e.current[0].start))/1e3);const Bt=$e.current.length;wt/ct>>0>Bt&&(wt=(Bt+1)*ct-1),yield(0,ue.P8)(lt.categoryId,{exercise_user_id:(Ne=Te.exerciseUserInfo)==null?void 0:Ne.exercise_user_id,time:St,time_long:wt,count:Bt})}$e.current=[]}),gt=(0,ye.useRef)(0),ht=(0,ye.useRef)(0),$e=(0,ye.useRef)([]),Pe=(0,ye.useRef)(!1),ke=Ne=>pe(void 0,null,function*(){var nt;At.current||(xe(),E.default.destroyAll(),gt.current=ie()().valueOf(),Pe.current=!0,tt.current=E.default.info({icon:null,maskClosable:!1,width:1080,keyboard:!1,centered:!0,className:se.exitFullScreenModalWrapper,okText:a.createElement("span",null,(0,z._V)(z.CP.recordScreen8)),content:a.createElement("div",{className:se.exitFullScreenModal},a.createElement("img",{src:ae,alt:"",className:se.warningIcon}),a.createElement("div",{className:se.warningText,style:{marginBottom:50,fontWeight:500}},(0,z._V)(z.CP.recordScreen9)),a.createElement("div",{style:{marginBottom:40}},(0,z._V)(z.CP.recordScreen10)),a.createElement("div",{style:{marginBottom:40}},(0,z._V)(z.CP.recordScreen11),a.createElement("span",{className:se.warningText},((nt=Te.exerciseUserInfo)==null?void 0:nt.screen_num)+1),(0,z._V)(z.CP.recordScreen12),a.createElement("span",{className:se.warningText,style:{fontWeight:600}},(0,z._V)(z.CP.recordScreen13)),",",(0,z._V)(z.CP.recordScreen14),a.createElement("span",{className:se.warningText},Ne-1),(0,z._V)(z.CP.recordScreen15)),a.createElement("div",null,a.createElement("span",null,a.createElement(me,{className:se.countdownWrapper,onFinish:()=>{ht.current=ie()().valueOf(),$e.current.push({start:gt.current,end:ht.current}),bt(Ne)},valueStyle:{fontSize:30,color:"#165DFF"},format:"ss",value:Date.now()+(Te.exerciseUserInfo.screen_sec+1)*1e3}),(0,z._V)(z.CP.recordScreen25)),(0,z._V)(z.CP.recordScreen16))),onOk:()=>{(0,re.RG)(" ",!0),Lt(),(0,Ae.Dj)(document.body),Oe(),tt.current.destroy(),Pe.current=!1}}))}),Ve=()=>pe(void 0,null,function*(){E.default.destroyAll(),(yield(0,ue.VL)({categoryId:lt.categoryId,commit_method:1}))&&Qe()}),Qe=(Ne=!1)=>pe(void 0,null,function*(){var nt,ct;if(document.removeEventListener((0,Ae.gH)(),Ue,!1),(0,Ae.BU)(),E.default.destroyAll(),At.current=!0,Ne){const St=yield(0,ue.Yu)(lt.categoryId,{exercise_user_id:(nt=Te.exerciseUserInfo)==null?void 0:nt.exercise_user_id});Ze.confirm({icon:null,closable:!1,maskClosable:!1,okText:"\u7533\u8BF7\u7EE7\u7EED\u8003\u8BD5",cancelText:"\u8FD4\u56DE",width:616,className:se.forcedModalWrapper,centered:!0,content:a.createElement("div",{className:se.forcedModalContent},a.createElement("img",{src:oe,alt:""}),a.createElement("div",{className:se.forcedText},(0,z._V)(z.CP.recordScreen17)),a.createElement("div",{className:se.screenNumText},(0,z._V)(z.CP.recordScreen18),(ct=Te.exerciseUserInfo)==null?void 0:ct.screen_num,(0,z._V)(z.CP.recordScreen19)),a.createElement(ge.default,{dataSource:St==null?void 0:St.data,pagination:!1,rowKey:"time",bordered:!0,columns:[{title:(0,z._V)(z.CP.recordScreen20),align:"center",dataIndex:"time"},{title:(0,z._V)(z.CP.recordScreen21),align:"center",dataIndex:"time_long"},{title:(0,z._V)(z.CP.recordScreen22),align:"center",dataIndex:"count"}]})),onCancel:()=>{Oe(),ze()},onOk:()=>{ne.history.push(`/classrooms/${lt.coursesId}/exercisenotice/${lt.categoryId}/users/${lt.login}?isShowApply=true`)}})}else Ze.info({content:a.createElement("div",{className:"tc font16"},(0,z._V)(z.CP.recordScreen23),a.createElement("br",null),(0,z._V)(z.CP.recordScreen24)),onOk:()=>{ze()}})}),De=Ne=>{(0,Ae.vp)()&&document.getElementById("iframeShixuns").style.display=="none"&&!Pe.current&&(0,Ae.BU)()},Ye=()=>pe(void 0,null,function*(){var Ne;if((Ne=Te.exerciseUserInfo)!=null&&Ne.screen_at){const St=yield(0,ue.ck)(de(he({},lt),{reset:!0}));if((St==null?void 0:St.status)===-6)return}const nt=yield(0,ue.oy)({id:lt.categoryId});if(nt!=null&&nt.is_commit){Qe();return}return yield ft()}),Ue=()=>pe(void 0,null,function*(){var Ne;if((0,re.RG)(" ",!0),(0,Ae.vp)()){if((Ne=Te.exerciseUserInfo)!=null&&Ne.screen_at){var nt=yield(0,ue.ck)(de(he({},lt),{reset:!0}));if((nt==null?void 0:nt.status)===-6)return}}else if(!Pe.current){var nt=yield(0,ue.ck)(he({},lt));if((nt==null?void 0:nt.status)===-6)return;const St=yield ft();ke(St.used_screen_num+1),window.frames.length!=parent.frames.length&&window.parent.postMessage("backExercise","*")}}),Le=()=>pe(void 0,null,function*(){(0,ue.ck)(he({},lt));const Ne=yield ft();ke(Ne.used_screen_num+1),window.frames.length!=parent.frames.length&&window.parent.postMessage("backExercise","*")});return a.createElement("div",null,Me)};var Se=(0,ne.connect)(({exercise:Te,globalSetting:we})=>({globalSetting:we,exercise:Te}))(Ee)},23960:function(en,zt,be){"use strict";be.d(zt,{X:function(){return ge},y:function(){return E}});var ye=be(59301),Je=be(8591);const E=Ae=>{(0,ye.useEffect)(()=>{if(Ae){const ue=ie=>{ie.key==="F12"&&(ie.preventDefault(),console.log("F12\u88AB\u7981\u7528"))},le=ie=>{ie.preventDefault()};return document.addEventListener("keydown",ue),document.addEventListener("contextmenu",le),()=>{document.removeEventListener("keydown",ue),document.removeEventListener("contextmenu",le)}}},[Ae])},ge=()=>{const[Ae,ue]=(0,ye.useState)(!1),le=ie=>{const{keyCode:se,ctrlKey:ae,metaKey:oe,type:re}=ie;(re==="paste"||(se===67||se===86)&&(oe||ae))&&(Je.ZP.warning("\u8001\u5E08\u5DF2\u8BBE\u7F6E\u7B54\u9898\u65F6\u4E0D\u5141\u8BB8\u8FDB\u884C\u590D\u5236\u7C98\u8D34"),ie.preventDefault(),ie.stopPropagation())};return(0,ye.useEffect)(()=>(Ae&&(window.addEventListener("keydown",le,!0),window.addEventListener("paste",le,!0)),()=>{window.removeEventListener("keydown",le,!0),window.removeEventListener("paste",le,!0)}),[Ae]),{setOpenDisableCopyAndPaste:ue,disableCopyAndPaste:Ae}}},73524:function(en,zt,be){"use strict";be.d(zt,{Z:function(){return oe}});var ye=be(59301),Je={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},E=be(92310),ge=be.n(E),Ae=be(71418),ue=be(2859),le=be(99064),ie=be(955),se=(re,ne,z)=>new Promise((a,y)=>{var x=ee=>{try{te(z.next(ee))}catch(ce){y(ce)}},b=ee=>{try{te(z.throw(ee))}catch(ce){y(ce)}},te=ee=>ee.done?a(ee.value):Promise.resolve(ee.value).then(x,b);te((z=z.apply(re,ne)).next())}),oe=({data:re,className:ne,fullWidth:z,style:a={},onClose:y,onOk:x,showFullTools:b,noAssociationId:te})=>{const ee=(0,ye.useRef)(null),ce=(0,ye.useRef)(null),fe=(0,ye.useRef)(null),he=(0,ye.useRef)(null),[de,pe]=(0,ye.useState)(!1),[ve,me]=(0,ye.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,ye.useEffect)(()=>(fe.current||(fe.current=document.createElement("style"),document.head.appendChild(fe.current)),re!=null&&re.visible?(document.body.setAttribute("data-custom","y-hidden"),fe.current.innerHTML=" html { overflow-y: hidden; }",re!=null&&re.src&&Ee()):(document.body.removeAttribute("data-custom"),fe.current&&(document.head.removeChild(fe.current),fe.current=null)),()=>{document.body.removeAttribute("data-custom"),fe.current&&(document.head.removeChild(fe.current),fe.current=null)}),[re==null?void 0:re.visible]);const Ee=()=>se(void 0,null,function*(){pe(!0),me("\u6B63\u5728\u52A0\u8F7D\u4E2D");const je=yield(0,ie.ZJ)(re==null?void 0:re.src);ee.current.src="",ee.current.src=je,ee.current.onload=function(){we()},pe(!1),me("")}),Se=je=>se(void 0,null,function*(){pe(!0),me("\u6B63\u5728\u4FDD\u5B58\u4E2D");const xe=yield(0,le.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:re.title,file:je.dataUrl}});xe!=null&&xe.id&&!te?(yield(0,le.ZP)(`/api/attachments/${re.id}/add_subitem.json`,{method:"post",body:{subitem_id:xe==null?void 0:xe.id,settings:JSON.stringify(je.state)}})).status===0&&x():xe!=null&&xe.id&&x(xe),pe(!1),me("")}),Te=()=>{const je=document.querySelector('a[href="https://markerjs.com/"]');je&&je.parentNode&&(je.parentNode.style.display="none"),[{name:'[data-action="select"]',title:"\u9009\u62E9"},{name:'[data-action="delete"]',title:"\u5220\u9664\u5143\u7D20"},{name:'[data-action="undo"]',title:"\u64A4\u9500"},{name:'[data-type-name="FrameMarker"]',title:"\u77E9\u5F62"},{name:'[data-type-name="FreehandMarker"]',title:"\u753B\u7EBF"},{name:'[data-type-name="ArrowMarker"]',title:"\u7BAD\u5934"},{name:'[data-type-name="TextMarker"]',title:"\u6587\u672C"},{name:'[data-type-name="EllipseMarker"]',title:"\u692D\u5706"},{name:'[data-type-name="HighlightMarker"]',title:"\u65B9\u5757"},{name:'[data-type-name="CalloutMarker"]',title:"\u6CE8\u91CA"},{name:'[data-action="render"]',title:"\u4FDD\u5B58"},{name:'[data-action="close"]',title:"\u9000\u51FA"}].forEach(Oe=>{const ze=document.querySelector(Oe.name);ze&&ze.setAttribute("title",Oe.title)})},we=()=>{ce.current=new ue.hP(ee.current),ce.current.targetRoot=he.current,ce.current.addEventListener("render",Se),ce.current.addEventListener("beforeclose",y),b&&(ce.current.availableMarkerTypes=ce.current.ALL_MARKER_TYPES,ce.current.uiStyleSettings.redoButtonVisible=!0,ce.current.uiStyleSettings.notesButtonVisible=!0,ce.current.uiStyleSettings.zoomButtonVisible=!0,ce.current.uiStyleSettings.zoomOutButtonVisible=!0,ce.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=ce.current.uiStyleSettings,ce.current.show(),re!=null&&re.snapshotData&&ce.current.restoreState(re.snapshotData),setTimeout(()=>{window.scrollTo(0,0),Te()},300)};return ye.createElement(ye.Fragment,null,(re==null?void 0:re.visible)&&ye.createElement(Ae.Z,{spinning:de,tip:ve,style:{position:"absolute"}},ye.createElement("div",{ref:he,className:ge()(Je.imageDimensions,ne,z?Je.fullWidth:""),style:a},ye.createElement("img",{className:Je.img,ref:ee}))))}},41588:function(en,zt,be){"use strict";var ye=be(59301),Je=be(95237),E=be(43604),ge=be(99313),Ae=be(3113),ue=be(85149),le=be(88010),ie=be(48136),se=be(59301);const ae=(0,ye.forwardRef)(({callback:oe,showSaveButton:re,value:ne=""},z)=>{const a=(0,ye.useRef)(),y=[{name:"\u5206\u6570\u5F97\u5206",value:"\\frac{x}{y}",children:[{name:"\u5206\u6570 Fractions",data:[{value:"\\frac{a}{b}"},{value:"x\\tfrac{x}{a} "},{value:"\\mathrm{d}t"},{value:"\\partial t"},{value:"\\frac{\\partial y}{\\partial x}"},{value:"\\nabla\\psi"},{value:"\\frac{\\partial^2}{\\partial x_1\\partial x_2}y"},{value:"\\cfrac{1}{a + \\cfrac{7}{b + \\cfrac{2}{9}}} = c"}]},{name:"\u5BFC\u6570 Derivative",data:[{value:"\\dot{a} "},{value:"\\ddot{a}"},{value:"{f}^{\\prime}"},{value:"{f}^{\\prime\\prime}"},{value:"{f}^{(n)}"}]},{name:"\u6A21\u7B97\u672F Modular arithmetic",data:[{value:"a \\bmod b"},{value:"a \\equiv b \\pmod{m} "},{value:"\\gcd(m, n) "},{value:"\\operatorname{lcm}(m, n) "}]}]},{name:"\u6839\u5F0F\u89D2\u6807",value:"\\sqrt{x}",children:[{name:"\u6839\u5F0F Radicals",data:[{value:"\\sqrt{x}"},{value:"\\sqrt[y]{x}"}]},{name:"\u4E0A\u4E0B\u6807 Sub&Super",data:[{value:"x^{a}"},{value:"x_{a}"},{value:"x_{a}^{b} "},{value:"_{a}^{b} x"},{value:"x_{a}^{b} "}]},{name:"\u91CD\u97F3\u7B26\u53CA\u5176\u4ED6 Accents and Others",data:[{value:"\\hat{a} "},{value:"\\sqrt[y]{x}"},{value:"\\check{} "},{value:"\\grave{a} "},{value:"\\acute{a}"},{value:"\\tilde{a}"},{value:"\\breve{a}"},{value:"\\bar{a}"},{value:"\\vec{a}"},{value:"\\not{a}"},{value:"\\widetilde{abc}"},{value:"\\widehat{abc}"},{value:"\\overleftarrow{abc} "},{value:"\\overrightarrow{abc}"},{value:"\\overline{abc}"},{value:"\\underline{abc}"},{value:"\\overbrace{abc}"},{value:"\\underbrace{abc}"},{value:"\\overset{a}{abc}"},{value:"\\underset{a}{abc} \\stackrel\\frown{ab}"},{value:"\\overline{ab} "},{value:"\\overleftrightarrow{ab}"},{value:"\\overset{a}{\\leftarrow}"},{value:"\\overset{a}{\\rightarrow}"},{value:"\\xleftarrow[abc]{a}"},{value:"\\xrightarrow[abc]{a} "}]}]},{name:"\u6781\u9650\u5BF9\u6570",value:"\\lim_{x \\to 0}",children:[{name:"\u6781\u9650 Limits",data:[{value:"\\lim a"},{value:"\\lim_{x \\to 0}"},{value:"\\lim_{x \\to \\infty}"},{value:"\\max_b{a}"},{value:"\\min_a{b}"}]},{name:"\u5BF9\u6570\u6307\u6570 Logarithms and exponentials",data:[{value:"\\log_{a}{b}"},{value:"\\lg_{a}{b}"},{value:"\\ln_{a}{b}"},{value:"\\exp a"}]},{name:"\u754C\u9650 Bounds",data:[{value:"\\min x"},{value:"\\sup t"},{value:"\\inf s"},{value:"\\lim u"},{value:"\\limsup w"},{value:"\\dim p"},{value:"\\ker\\phi "}]}]},{name:"\u4E09\u89D2\u51FD\u6570",value:"\\sin a",children:[{name:"\u4E09\u89D2\u51FD\u6570 Trigonometric functions",data:[{value:"\\sin a"},{value:"\\cos a"},{value:"\\tan a"},{value:"\\cot a "},{value:"\\sec a "},{value:"\\csc a "}]},{name:"\u53CD\u4E09\u89D2\u51FD\u6570 Inverse trigonometric functions",data:[{value:"\\sin^{-1}"},{value:"\\cos^{-1}"},{value:"\\tan^{-1}"},{value:"\\cot^{-1}"},{value:"\\sec^{-1}"},{value:"\\csc^{-1}"},{value:"\\arcsin a"},{value:"\\arccos a"},{value:"\\arctan a"},{value:"\\operatorname{arccot} a"},{value:"\\operatorname{arcsec} a"},{value:"\\operatorname{arccsc} a"}]},{name:"\u53CC\u66F2\u51FD\u6570 Hyperblic functions",data:[{value:"\\sinh a"},{value:"\\cosh a"},{value:"\\tanh a"},{value:"\\coth a"},{value:"\\operatorname{sech} a"},{value:"\\operatorname{csch} a"}]},{name:"\u53CD\u53CC\u66F2\u51FD\u6570 Inverse hyperbolic functions",data:[{value:"\\sinh^{-1}"},{value:"a\\cosh^{-1} a"},{value:"\\tanh^{-1} a"},{value:"\\coth^{-1} a"},{value:"\\operatorname{sech}^{-1} a"},{value:"\\operatorname{csch}^{-1} a"}]}]},{name:"\u79EF\u5206\u8FD0\u7B97",value:"\\int_{a}^{b}",children:[{name:"\u79EF\u5206 Integral",data:[{value:"\\int"},{value:"\\int_{a}^{b}"},{value:"\\int\\limits_{a}^{b}"}]},{name:"\u53CC\u91CD\u79EF\u5206 Double integral",data:[{value:"\\iint"},{value:"\\iint_{a}^{b} "},{value:"\\iint\\limits_{a}^{b} "}]},{name:"\u4E09\u91CD\u79EF\u5206 Triple integral",data:[{value:"\\iiint"},{value:"\\iiint_{a}^{b}"},{value:"\\iiint\\limits_{a}^{b} "}]},{name:"\u66F2\u7EBF\u79EF\u5206 Closed line or path integral",data:[{value:"\\oint"},{value:"\\oint_{a}^{b} "}]}]},{name:"\u5927\u578B\u8FD0\u7B97",value:"\\sum_{a}^{b}",children:[{name:"\u6C42\u548C Summation",data:[{value:"\\sum"},{value:"\\sum_{a}^{b}"},{value:"{\\textstyle \\sum_{a}^{b}} "}]},{name:"\u4E58\u79EF\u4F59\u79EF Product and coproduct",data:[{value:"\\prod"},{value:"\\prod_{a}^{b}"},{value:"{\\textstyle \\prod_{a}^{b}}"},{value:"\\coprod"},{value:"\\coprod_{a}^{b}"},{value:"{\\textstyle \\coprod_{a}^{b}} "}]},{name:"\u5E76\u96C6\u4EA4\u96C6 Union and intersection",data:[{value:"\\bigcup"},{value:"\\bigcup_{a}^{b}"},{value:"{\\textstyle \\bigcup_{a}^{b}}"},{value:"\\bigcap"},{value:"\\bigcap_{a}^{b}"}]},{name:"\u6790\u53D6\u5408\u53D6 Disjunction and conjunction",data:[{value:"\\bigvee"},{value:"\\bigvee_{a}^{b}"},{value:"\\bigwedge"},{value:"\\bigwedge_{a}^{b}"}]}]},{name:"\u62EC\u53F7\u53D6\u6574",value:"\\left [ \\left ( \\right ) \\right ] ",children:[{name:"\u62EC\u53F7 Brackets",data:[{value:"\\left ( \\right )"},{value:"\\left [ \\right ]"},{value:"\\left \\langle \\right \\rangle "},{value:"\\left | \\right | "},{value:"\\left \\lfloor \\right \\rfloor "},{value:"\\left \\lceil \\right \\rceil "}]}]}],x=[{name:"\u4EE3\u6570",value:"\\sqrt{a^2+b^2}",children:[{data:[{value:"\\left(x-1\\right)\\left(x+3\\right) "},{value:"\\sqrt{a^2+b^2}"},{value:"\\left ( \\frac{a}{b}\\right )^{n}= \\frac{a^{n}}{b^{n}}"},{value:"\\frac{a}{b}\\pm \\frac{c}{d}= \\frac{ad \\pm bc}{bd} "},{value:"\\frac{x^{2}}{a^{2}}-\\frac{y^{2}}{b^{2}}=1 "},{value:"\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0 "},{value:"\\sqrt[n]{a^{n}}=\\left ( \\sqrt[n]{a}\\right )^{n} "},{value:"x ={-b \\pm \\sqrt{b^2-4ac}\\over 2a} "},{value:"y-y_{1}=k \\left( x-x_{1}\\right) "},{value:`\\left\\{\\begin{matrix} \r x=a + r\\text{cos}\\theta \\ \r y=b + r\\text{sin}\\theta \r \\end{matrix}\\right. `},{value:`\\begin{array}{l} \r \\text{\u5BF9\u4E8E\u65B9\u7A0B\u5F62\u5982\uFF1A}x^{3}-1=0 \\ \r \\text{\u8BBE}\\text{:}\\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r x_{1}=1,x_{2}= \\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r x_{3}= \\omega ^{2}=\\frac{-1-\\sqrt{3}i}{2} \r \\end{array} `},{value:`\\begin{array}{l} \r a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r \\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r \\left\\{\\begin{matrix} \r \\Delta \\gt 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u4E0D\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r \\Delta = 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r \\Delta \\lt 0\\text{\u65B9\u7A0B\u65E0\u5B9E\u6839} \r \\end{matrix}\\right. \r \\end{array} `},{value:`\\begin{array}{l} \r a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r \\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r \\mathop{{x}}\\nolimits_{{1,2}}=\\frac{{-b \\pm \r \\sqrt{{\\mathop{{b}}\\nolimits^{{2}}-4ac}}}}{{2a}} \\ \r \\mathop{{x}}\\nolimits_{{1}}+\\mathop{{x}}\\nolimits_{{2}}=-\\frac{{b}}{{a}} \\ \r \\mathop{{x}}\\nolimits_{{1}}\\mathop{{x}}\\nolimits_{{2}}=\\frac{{c}}{{a}} \r \\end{array} `}]}]},{name:"\u51E0\u4F55",value:"\\Delta A B C ",children:[{data:[{value:"\\Delta A B C "},{value:"a \\parallel c,b \\parallel c \\Rightarrow a \\parallel b "},{value:"l \\perp \\beta ,l \\subset \\alpha \\Rightarrow \\alpha \\perp \\beta"},{value:`\\left.\\begin{matrix} \r a \\perp \\alpha \\ \r b \\perp \\alpha \r \\end{matrix}\\right\\}\\Rightarrow a \\parallel b`},{value:"P \\in \\alpha ,P \\in \\beta , \\alpha \\cap \\beta =l \\Rightarrow P \\in l "},{value:`\\alpha \\perp \\beta , \\alpha \\cap \\beta =l,a \\subset \\alpha ,a \\perp l \r \\Rightarrow a \\perp \\beta `},{value:`\\left.\\begin{matrix} \r a \\subset \\beta ,b \\subset \\beta ,a \\cap b=P \\ \r a \\parallel \\partial ,b \\parallel \\partial \r \\end{matrix}\\right\\}\\Rightarrow \\beta \\parallel \\alpha `},{value:"\\alpha \\parallel \\beta , \\gamma \\cap \\alpha =a, \\gamma \\cap \\beta =b \\Rightarrow a \\parallel b "},{value:"A \\in l,B \\in l,A \\in \\alpha ,B \\in \\alpha \\Rightarrow l \\subset \\alpha "},{value:`\\left.\\begin{matrix} \r m \\subset \\alpha ,n \\subset \\alpha ,m \\cap n=P \\ \r a \\perp m,a \\perp n \r \\end{matrix}\\right\\}\\Rightarrow a \\perp \\alpha `},{value:`\\begin{array}{c} \r \\text{\u76F4\u89D2\u4E09\u89D2\u5F62\u4E2D,\u76F4\u89D2\u8FB9\u957Fa,b,\u659C\u8FB9\u8FB9\u957Fc} \\ \r a^{2}+b^{2}=c^{2} \r \\end{array}`}]}]},{name:"\u4E0D\u7B49\u5F0F",value:"a > b",children:[{data:[{value:"a > b,b > c \\Rightarrow a > c "},{value:"a > b,c > d \\Rightarrow a+c > b+d "},{value:"a > b > 0,c > d > 0 \\Rightarrow ac bd "},{value:`\\begin{array}{c} \r a \\gt b,c \\gt 0 \\Rightarrow ac \\gt bc \\ \r a \\gt b,c \\lt 0 \\Rightarrow ac \\lt bc \r \\end{array}`},{value:"\\left | a-b \\right | \\geqslant \\left | a \\right | -\\left | b \\right | "},{value:"-\\left | a \\right |\\leq a\\leqslant \\left | a \\right | "},{value:"\\left | a \\right |\\leqslant b \\Rightarrow -b \\leqslant a \\leqslant \\left | b \\right | "},{value:"\\left | a+b \\right | \\leqslant \\left | a \\right | + \\left | b \\right | "},{value:`\\begin{array}{c} \r a \\gt b \\gt 0,n \\in N^{\\ast},n \\gt 1 \\ \r \\Rightarrow a^{n}\\gt b^{n}, \\sqrt[n]{a}\\gt \\sqrt[n]{b} \r \\end{array}`},{value:`\\left( \\sum_{k=1}^n a_k b_k \\right)^{\\!\\!2}\\leq \r \\left( \\sum_{k=1}^n a_k^2 \\right) \\left( \\sum_{k=1}^n b_k^2 \\right) `},{value:`\\begin{array}{c} \r a,b \\in R^{+} \\ \r \\Rightarrow \\frac{a+b}{{2}}\\ge \\sqrt{ab} \\ \r \\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r \\end{array}`},{value:`\\begin{array}{c} \r a,b \\in R \\ \r \\Rightarrow a^{2}+b^{2}\\gt 2ab \\ \r \\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r \\end{array}`},{value:`\\begin{array}{c} \r H_{n}=\\frac{n}{\\sum \\limits_{i=1}^{n}\\frac{1}{x_{i}}}= \\frac{n}{\\frac{1}{x_{1}}+ \\frac{1}{x_{2}}+ \\cdots + \\frac{1}{x_{n}}} \\ G_{n}=\\sqrt[n]{\\prod \\limits_{i=1}^{n}x_{i}}= \\sqrt[n]{x_{1}x_{2}\\cdots x_{n}} \\ A_{n}=\\frac{1}{n}\\sum \\limits_{i=1}^{n}x_{i}=\\frac{x_{1}+ x_{2}+ \\cdots + x_{n}}{n} \\ Q_{n}=\\sqrt{\\sum \\limits_{i=1}^{n}x_{i}^{2}}= \\sqrt{\\frac{x_{1}^{2}+ x_{2}^{2}+ \\cdots + x_{n}^{2}}{n}} \\ H_{n}\\leq G_{n}\\leq A_{n}\\leq Q_{n} \r \\end{array}`}]}]},{name:"\u79EF\u5206",value:"\\frac{\\mathrm{d}\\partial}{\\partial x}",children:[{data:[{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}x^n=nx^{n-1} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}e^{ax}=a\\,e^{ax} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\ln(x)=\\frac{1}{x} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\sin x=\\cos x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cos x=-\\sin x "},{value:"\\int k\\mathrm{d}x = kx+C "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\tan x=\\sec^2 x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cot x=-\\csc^2 x "},{value:"\\int \\frac{1}{x}\\mathrm{d}x= \\ln \\left| x \\right| +C "},{value:"\\int \\frac{1}{\\sqrt{1-x^{2}}}\\mathrm{d}x= \\arcsin x +C "},{value:"\\int \\frac{1}{1+x^{2}}\\mathrm{d}x= \\arctan x +C "},{value:"\\int u \\frac{\\mathrm{d}v}{\\mathrm{d}x}\\,\\mathrm{d}x=uv-\\int \\frac{\\mathrm{d}u}{\\mathrm{d}x}v\\,\\mathrm{d}x "},{value:"f(x) = \\int_{-\\infty}^\\infty \\hat f(x)\\xi\\,e^{2 \\pi i \\xi x} \\,\\mathrm{d}\\xi "},{value:"\\int x^{\\mu}\\mathrm{d}x=\\frac{x^{\\mu +1}}{\\mu +1}+C, \\left({\\mu \\neq -1}\\right) "}]}]},{name:"\u4E09\u89D2",value:"e^{i \\theta}",children:[{name:"\u6C42\u548C Summation",data:[{value:"e^{i \\theta} "},{value:"\\left(\\frac{\\pi}{2}-\\theta \\right ) "},{value:"\\text{sin}^{2}\\frac{\\alpha}{2}=\\frac{1- \\text{cos}\\alpha}{2} "},{value:"\\text{cos}^{2}\\frac{\\alpha}{2}=\\frac{1+ \\text{cos}\\alpha}{2} "},{value:"\\text{tan}\\frac{\\alpha}{2}=\\frac{\\text{sin}\\alpha}{1+ \\text{cos}\\alpha} "},{value:"\\sin \\alpha + \\sin \\beta =2 \\sin \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\sin \\alpha - \\sin \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha + \\cos \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha - \\cos \\beta =-2\\sin \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"a^{2}=b^{2}+c^{2}-2bc\\cos A "},{value:"\\frac{\\sin A}{a}=\\frac{\\sin B}{b}=\\frac{\\sin C}{c}=\\frac{1}{2R} "},{value:"\\sin \\left ( \\frac{\\pi}{2}-\\alpha \\right ) = \\cos \\alpha "},{value:"\\sin \\left ( \\frac{\\pi}{2}+\\alpha \\right ) = \\cos \\alpha "}]}]},{name:"\u7EDF\u8BA1",value:"C_{r}^{n}",children:[{data:[{value:"C_{r}^{n} "},{value:"\\frac{n!}{r!(n-r)!} "},{value:"\\sum_{i=1}^{n}{X_i} "},{value:"\\sum_{i=1}^{n}{X_i^2} "},{value:"X_1, \\cdots,X_n "},{value:"\\frac{x-\\mu}{\\sigma} "},{value:"\\sum_{i=1}^{n}{(X_i - \\overline{X})^2} "},{value:`\\begin{array}{c} \r \\text{\u82E5}P \\left( AB \\right) =P \\left( A \\right) P \\left( B \\right) \\\\ \r \\text{\u5219}P \\left( A \\left| B\\right. \\right) =P \\left({B}\\right) \r \\end{array}`},{value:"P(E) ={n \\choose k}p^k (1-p)^{n-k} "},{value:"P \\left( A \\right) = \\lim \\limits_{n \\to \\infty}f_{n}\\left ( A \\right ) "},{value:"P \\left( \\bigcup \\limits_{i=1}^{+ \\infty}A_{i}\\right) = \\prod \\limits_{i=1}^{+ \\infty}P{\\left( A_{i}\\right)} "},{value:`\\begin{array}{c} \r P \\left( \\emptyset \\right) =0 \\\\ \r P \\left( S \\right) =1 \r \\end{array}`},{value:`\\begin{array}{c} \r \\forall A \\in S \\\\ \r P \\left( A \\right) \\ge 0 \r \\end{array}`},{value:"P \\left( \\bigcup \\limits_{i=1}^{n}A_{i}\\right) = \\prod \\limits_{i=1}^{n}P \\left( A_{i}\\right) "},{value:`\\begin{array}{c} \r S= \\binom{N}{n},A_{k}=\\binom{M}{k}\\cdot \\binom{N-M}{n-k} \\\\ \r P\\left ( A_{k}\\right ) = \\frac{\\binom{M}{k}\\cdot \\binom{N-M}{n-k}}{\\binom{N}{n}} \r \\end{array}`},{value:`\\begin{array}{c} \r P_{n}=n! \\\\ \r A_{n}^{k}=\\frac{n!}{\\left( n-k \\left) !\\right. \\right.} \r \\end{array}`}]}]}],b=ce=>{a.current.setValue(a.current.getValue()+" "+ce.value+" ")},te=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:se.createElement(Je.Z,{className:le.Z.lists,gutter:[10,10]},y.map((ce,fe)=>se.createElement(E.Z,{flex:"110px",className:le.Z.item},se.createElement("div",null,se.createElement(ue.Z,{value:`$$${ce.value}$$`}),ce.name),se.createElement("div",{className:le.Z.children},ce.children.map((he,de)=>se.createElement("div",{key:de},se.createElement("h1",null,he.name),se.createElement(Je.Z,{gutter:[10,10]},he.data.map((pe,ve)=>se.createElement(E.Z,{key:ve,onClick:()=>b(pe),className:le.Z.diamond},se.createElement(ue.Z,{value:"`$$"+pe.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:se.createElement(Je.Z,{className:le.Z.lists,gutter:[10,10]},x.map((ce,fe)=>se.createElement(E.Z,{flex:"110px",className:le.Z.item},se.createElement("div",null,se.createElement(ue.Z,{value:"`$$"+ce.value+"$$`"}),ce.name),se.createElement("div",{className:le.Z.children},ce.children.map((he,de)=>se.createElement("div",{key:de},he.name&&se.createElement("h1",null,he.name),se.createElement(Je.Z,{gutter:[10,10]},he.data.map((pe,ve)=>se.createElement(E.Z,{key:ve,onClick:()=>b(pe),className:le.Z.diamond},se.createElement(ue.Z,{value:"`$$"+pe.value+"$$`"}))))))))))}],ee=()=>{var ce=document.createElement("div");ce.innerHTML=a.current.getValue();var fe=ce.innerText;return oe&&oe(fe),fe};return(0,ye.useImperativeHandle)(z,()=>({getData:ee})),se.createElement("div",{className:le.Z.mathWrap},se.createElement(ge.default,{defaultActiveKey:"1",items:te}),se.createElement("math-field",{locale:"zh_cn",className:le.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:a,style:{width:800,marginTop:30,fontSize:18}},ne||""),re&&se.createElement("div",{className:le.Z.button},se.createElement(Ae.ZP,{size:"large",onClick:ee,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});zt.Z=ae},8797:function(en,zt,be){"use strict";var ye=be(59301),Je=be(93314),E=be(3113),ge=Object.defineProperty,Ae=Object.defineProperties,ue=Object.getOwnPropertyDescriptors,le=Object.getOwnPropertySymbols,ie=Object.prototype.hasOwnProperty,se=Object.prototype.propertyIsEnumerable,ae=(z,a,y)=>a in z?ge(z,a,{enumerable:!0,configurable:!0,writable:!0,value:y}):z[a]=y,oe=(z,a)=>{for(var y in a||(a={}))ie.call(a,y)&&ae(z,y,a[y]);if(le)for(var y of le(a))se.call(a,y)&&ae(z,y,a[y]);return z},re=(z,a)=>Ae(z,ue(a));const ne=({img:z,buttonProps:a={},styles:y={},customText:x,ButtonText:b,ButtonClick:te,Buttonclass:ee,ButtonTwo:ce,imgStyles:fe,loading:he=!1})=>ye.createElement("section",{className:"tc animated fadeIn",style:oe(oe({},{color:"#999",margin:"100px auto",visibility:he?"hidden":"visible"}),y)},ye.createElement("img",{src:z||Je,style:re(oe({},fe),{pointerEvents:"none",userSelect:"none"})}),ye.createElement("p",{className:"mt20 font14"},x||"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"),b&&ye.createElement(E.ZP,oe({className:ee,onClick:te},a),b),ce&&ce);zt.Z=ne},23210:function(en,zt,be){"use strict";be.d(zt,{Z:function(){return ee}});var ye=be(59301),Je={wrp:"wrp___dq7YK",bgBlack:"bgBlack___ARIUV",monaco:"monaco___VnZC3",darkBlue:"darkBlue___UprA9",close:"close___LKoWu",embed:"embed___hvpEJ"},E=be(3113),ge=be(70557),Ae=be(23954),ue=be(6848),le=be(955),ie=be(94941),se=be(8797),ae=be(3294),oe=be(19381),re=be(59301),ne=Object.defineProperty,z=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable,x=(ce,fe,he)=>fe in ce?ne(ce,fe,{enumerable:!0,configurable:!0,writable:!0,value:he}):ce[fe]=he,b=(ce,fe)=>{for(var he in fe||(fe={}))a.call(fe,he)&&x(ce,he,fe[he]);if(z)for(var he of z(fe))y.call(fe,he)&&x(ce,he,fe[he]);return ce},te=(ce,fe,he)=>new Promise((de,pe)=>{var ve=Se=>{try{Ee(he.next(Se))}catch(Te){pe(Te)}},me=Se=>{try{Ee(he.throw(Se))}catch(Te){pe(Te)}},Ee=Se=>Se.done?de(Se.value):Promise.resolve(Se.value).then(ve,me);Ee((he=he.apply(ce,fe)).next())}),ee=({editOffice:ce="view",data:fe,theme:he,type:de,filename:pe,monacoEditor:ve,className:me,style:Ee,close:Se,onClose:Te,hasMask:we,disabledDownload:je,onImgDimensions:xe,showNodata:Oe,recordInfo:ze})=>{const[Ze,Me]=(0,ye.useState)("https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt"),[tt,qe]=(0,ye.useState)(""),[st,At]=(0,ye.useState)(),lt=window.ENV==="build"?"/react/build":"",at=location.host.startsWith("localhost")?ae.Z.PROXY_SERVER:ae.Z.API_SERVER,ft=10*(1024*1024),bt=(0,ye.useRef)();fe!=null&&fe.startsWith("/api")&&de!=="txt"&&(fe=ae.Z.API_SERVER+fe);const Lt=Pe=>Pe.substring(Pe.lastIndexOf("/")+1).split(".").pop();pe&&ve&&(ve.filename=pe),(0,ye.useEffect)(()=>{var Pe,ke;const Ve=(ke=(Pe=document.cookie)==null?void 0:Pe.replace(/\s/g,""))==null?void 0:ke.split(";");Ve==null||Ve.map(Qe=>{let De=Qe.split("=");De[0]==="_educoder_session"&&qe(De[1])})},[]),(0,ye.useEffect)(()=>{de==="office"&&(fe.indexOf("bigfilescdn.")>-1||fe.indexOf("bigfiles1")>-1?At({url:fe,fileType:Lt(fe),model:fe.indexOf("model=edit")?"edit":"view"}):gt())},[de,fe]);const gt=()=>te(void 0,null,function*(){console.log("data:",fe);let Pe=fe;fe.startsWith("http")||(Pe=location.origin+Pe);let ke=new URL(Pe).pathname.split("/").pop();const Ve=yield(0,ie.gJ)({attachment_id:ke});Ve.url=at+Ve.url,At(Ve)}),ht=()=>{if(fe.startsWith("http")||fe.startsWith("blob:")){$e();return}(0,le.Sv)(pe||"educoder",fe,pe)},$e=()=>{ze&&(0,oe.fc)({id:ze==null?void 0:ze.id,watch_type:1,course_id:ze==null?void 0:ze.course_id}),(0,le.Nd)(pe||"educoder",decodeURIComponent(fe))};return re.createElement("div",{style:b({},Ee||{}),className:`${we&&Je.bgBlack} ${de?Je.wrp:"hide"}`},Se&&re.createElement("div",{className:Je.close,ref:bt},!!xe&&re.createElement(ue.Z,{title:"\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8",getPopupContainer:()=>bt.current},re.createElement("span",{onClick:()=>{Te(),xe()}},re.createElement("i",{className:"icon-yulanpizhu"}))),!je&&re.createElement(ue.Z,{title:"\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6",getPopupContainer:()=>bt.current},re.createElement("span",{onClick:$e},re.createElement("i",{className:"icon-quxiaozhiding"}))),re.createElement(ue.Z,{title:"\u5173\u95ED",getPopupContainer:()=>bt.current},re.createElement("span",{className:"",onClick:Te},re.createElement("i",{className:"icon-guanbi1"})))),re.createElement("div",{className:`${Je[me]} ${me} ${Je.monaco} ${de==="txt"?"show":"hide"}`},de==="txt"&&re.createElement(re.Fragment,null,re.createElement(Ae.ZP,b({},ve)))),de==="audio"&&re.createElement("audio",{src:`${(fe==null?void 0:fe.indexOf("http://"))>-1||(fe==null?void 0:fe.indexOf("https://"))>-1?"":"data:audio/mp3;base64,"}${fe}`,autoPlay:!0}),de==="video"&&re.createElement(re.Fragment,null,(fe==null?void 0:fe.indexOf("http"))>-1?re.createElement("video",{controls:!0,src:`${fe}`,autoPlay:!0}):re.createElement("video",{controls:!0,src:`data:video/mp4;base64,${fe}`,autoPlay:!0})),de==="office"&&st&&re.createElement("iframe",{src:`${lt}/office.html?key=${st.key}&url=${btoa(st.url)}&callbackUrl=${at+(st.callbackUrl||"")}&fileType=${st.fileType}&title=${st.title||""}&model=${ce}&officeServer=${ae.Z.ONLYOFFICE}&disabledDownload=${!!je}`}),de==="html"&&re.createElement("iframe",{src:fe+"&disposition=inline"}),de==="pdf"&&re.createElement("iframe",{src:`${lt}/js/pdfview/index.html?filename=${pe||"educoder.pdf"}&url=${encodeURIComponent(fe)}&disabledDownload=${!!je}`}),de==="image"&&re.createElement("img",{src:`${(fe==null?void 0:fe.indexOf("http://"))>-1||(fe==null?void 0:fe.indexOf("https://"))>-1?"":"data:image/png;base64,"}${fe}`}),(de==="other"||de==="download")&&re.createElement(re.Fragment,null,Oe?re.createElement(se.Z,{customText:"\u5F53\u524D\u6587\u4EF6\u4E0D\u652F\u6301\u9884\u89C8\uFF0C\u53EF\u70B9\u51FB\u4E0B\u8F7D\u67E5\u770B",ButtonTwo:re.createElement(E.ZP,{icon:re.createElement("i",{className:"iconfont icon-xiazai4 font14"}),type:"primary",size:"middle",onClick:ht,disabled:je},"\u4E0B\u8F7D")}):re.createElement(E.ZP,{type:"primary",size:"middle",onClick:ht,disabled:je},re.createElement(ge.Z,null),"\u70B9\u51FB\u4E0B\u8F7D")))}},85149:function(en,zt,be){"use strict";be.d(zt,{z:function(){return de},Z:function(){return pe}});var ye=be(59301),Je=be(50304),E=be(24768),ge=be(64018),Ae=be(40846),ue=be(3294),le=be(955),ie=be(15342),se=be(1012),ae=be(23210),oe=be(59301),ne=({html:ve})=>{const me=(0,ye.useRef)(null),Ee=(0,ye.useRef)(null),Se=`.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,ye.useEffect)(()=>{const Te=me.current.attachShadow({mode:"open"});Ee.current=document.createElement("div"),Ee.current.className="markdown-body",Ee.current.innerHTML=ve,Te.appendChild(Ee.current);const we=document.createElement("style");return we.textContent=Se,Te.appendChild(we),()=>{Te.innerHTML=""}},[]),(0,ye.useEffect)(()=>{Ee.current&&(Ee.current.innerHTML=ve)},[ve]),oe.createElement("div",{ref:me})},z=Object.defineProperty,a=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,b=(ve,me,Ee)=>me in ve?z(ve,me,{enumerable:!0,configurable:!0,writable:!0,value:Ee}):ve[me]=Ee,te=(ve,me)=>{for(var Ee in me||(me={}))y.call(me,Ee)&&b(ve,Ee,me[Ee]);if(a)for(var Ee of a(me))x.call(me,Ee)&&b(ve,Ee,me[Ee]);return ve};const ee="@\u2581\u2581@",ce="@\u2581@",fe=/]*>/g;function he(ve){let me=document.createElement("div");return me.innerHTML=ve,me.childNodes.length===0?"":me.childNodes[0].nodeValue}const de=(ve,me)=>{ve=ve||"";const Ee=/(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?\)|(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,Se=/\"(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,Te=/\(\s+(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,we=/(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g;return me?ve.replaceAll("https://www.educoder.net","").replaceAll("https://www-cdn.educoder.net","").replaceAll("//api/attachments","/api/attachments").replace(Ee,(je,xe,Oe,ze,Ze,Me,tt)=>{const qe=xe||ze||Me,st=Oe||Ze||tt||"?";return ue.Z.API_SERVER+"/api/attachments/"+qe+st+"&t="+(0,le.Jn)(qe,Date.now())+(je.indexOf(")")>-1?")":"&")}).replaceAll('src="(','src="').replaceAll("src='(",'src="'):(ve=ve.replace(we,(je,xe,Oe,ze,Ze,Me,tt)=>{const qe=xe||ze||Me,st=Oe||Ze||tt||"?";return ue.Z.API_SERVER+"/attachments/download/"+qe+st+"&t="+(0,le.Jn)(qe,Date.now())+(je.indexOf(")")>-1?")":"&")}).replace(Ee,(je,xe,Oe,ze,Ze,Me,tt)=>{const qe=xe||ze||Me,st=Oe||Ze||tt||"?";return ue.Z.API_SERVER+"/api/attachments/"+qe+st+"&t="+(0,le.Jn)(qe,Date.now())+(je.indexOf(")")>-1?")":"&")}).replace(Se,(je,xe,Oe,ze,Ze)=>{const Me=xe||ze,tt=Oe||Ze||"";return'"'+ue.Z.API_SERVER+"/api/attachments/"+Me+tt+Me+tt+"&t="+(0,le.Jn)(Me,Date.now())}).replace(Te,(je,xe,Oe,ze,Ze)=>{const Me=xe||ze,tt=Oe||Ze||"";return"("+ue.Z.API_SERVER+"/files/uploads/"+Me+tt+Me+tt+"&t="+(0,le.Jn)(Me,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,` `),ve)};var pe=({value:ve="",className:me,showTextOnly:Ee,showLines:Se,style:Te={},stylesPrev:we={},highlightKeywords:je,showProgramFill:xe,isProgramFill:Oe,disabledFill:ze=!1,programFillValue:Ze,onFillChange:Me=st=>{},onFillBlur:tt=()=>{},onFillFocus:qe=()=>{}})=>{let st=String(ve);const[At,lt]=(0,ye.useState)(""),[at,ut]=(0,ye.useState)("office"),[ft,bt]=(0,ye.useState)([]),Lt=(0,ye.useRef)("a"+(0,se.Z)()),gt={},ht=(ct,St,wt)=>{const Bt=document.createElement(ct===ce?"input":"textarea");Bt.style.width="100%",Bt.style.height=ct===ce?"40px":"151px",Bt.rows=5,Bt.spellcheck=!1,Bt.name="edu-program-fill",Bt.placeholder="\u8BF7\u8F93\u5165",Bt.dataset.id=St;const kt=Object.keys(gt).length;return gt[kt]=Bt,`${Bt.outerHTML}`};function $e(ct){return ct=ct.replace(/!\[.*?\]\(.*?\)/g,""),ct=ct.replace(/\[.*?\]\(.*?\)/g,""),ct=ct.replace(new RegExp("","gs"),""),ct=ct.replace(//g,""),ct=ct.replace(//g,""),ct=ct.replace(new RegExp(".*?<\\/video>","gs"),""),ct=ct.replace(new RegExp(".*?<\\/audio>","gs"),""),ct=ct.replace(new RegExp(".*?<\\/style>","gs"),""),ct=ct.replace(new RegExp(".*?<\\/script>","gs"),""),ct}const Pe=ct=>ct.replace(/([\s\S]+?)<\/style>/gim,function(St,wt){let Bt=wt.replace(/(\n|\r)/g,"").split("}"),kt=[];return Bt.map(pt=>{pt!=""&&kt.push(`.${Lt.current} ${pt}`)}),``}),ke=(0,ye.useMemo)(()=>{try{const Bt=/\(\s+\/api\/attachments\/|\(\/api\/attachments\//g,kt=/\"\/api\/attachments\/|\"\/attachments\/download\//g,pt=/\(\s+\/files\/uploads\/|\"\/files\/uploads\//g,Ft=/\(\/attachments\/download\//g;st=st.replace(Ft,"("+ue.Z.API_SERVER+"/attachments/download/").replace(Bt,"("+ue.Z.API_SERVER+"/api/attachments/").replace(kt,'"'+ue.Z.API_SERVER+"/api/attachments/").replace(pt,'"'+ue.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(Bt){}if(xe){let Bt=-1;return st=st.replaceAll("<","<").replaceAll(">",">").replace(/(@▁▁@|@▁@)/g,function(kt,pt,Ft){var It;return++Bt,ht(kt,Bt,(It=Ze==null?void 0:Ze[Bt])==null?void 0:It.value.replaceAll("<","<").replaceAll(">",">"))}),`
${Pe(st||"")}
`}let ct=Pe(st);ct=(0,E.ZP)(ct);const St=(0,E.ez)();st.match(/\[TOC\]/)&&(ct=ct.replace("

[TOC]

",(0,E.Qv)()),(0,E.Iy)()),ct=ct.replace(/(__special_katext_id_\d+__)/g,(Bt,kt)=>{const{type:pt,expression:Ft}=St[kt];return(0,ie.renderToString)(he(Ft)||"",{displayMode:pt==="block",throwOnError:!1,output:"html"})}),ct=ct.replace(/▁/g,"\u2581\u2581\u2581\u2581\u2581"),(0,E.AL)();const wt=document.createElement("div");if(wt.innerHTML=ct,Ee)return wt.innerText;if(je){const Bt=je.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return Ye(wt,Bt),wt.innerHTML}return setTimeout(()=>Ne(),500),wt.innerHTML},[st,je]);(0,ye.useEffect)(()=>{Ue.current&&Ue.current.querySelectorAll(["input","textarea"]).forEach(St=>{St.oninput=Ve,St.onblur=Qe,St.onfocus=De})},[ft]),(0,ye.useEffect)(()=>{var ct,St,wt,Bt,kt;if(Ze!=null&&Ze.length)try{const pt=Ue.current.querySelectorAll(".edu-program-fill-score"),Ft=Ue.current.querySelectorAll('[name="edu-program-fill"]');for(const[It,Jt]of Ft.entries())Jt.value=((ct=Ze==null?void 0:Ze[It])==null?void 0:ct.value)||"",((St=Ze==null?void 0:Ze[It])==null?void 0:St.type)==="warning"?Jt.className="program-fill-warning":((wt=Ze==null?void 0:Ze[It])==null?void 0:wt.type)==="success"?Jt.className="program-fill-success":Jt.className="";for(const[It,Jt]of pt.entries())Jt.innerHTML=(Bt=Ze==null?void 0:Ze[It])!=null&&Bt.score?`${(kt=Ze==null?void 0:Ze[It])==null?void 0:kt.score}\u5206`:"";bt(Ze)}catch(pt){console.log(pt,"error")}},[Ze]);const Ve=ct=>{ft[ct.target.dataset.id]=ft[ct.target.dataset.id]||{},ft[ct.target.dataset.id].value=ct.target.value,bt([...ft]),Me(ft,ct.target.dataset.id)},Qe=ct=>{ft[ct.target.dataset.id]=ft[ct.target.dataset.id]||{},ft[ct.target.dataset.id].value=ct.target.value,bt([...ft]),tt(ft,ct.target.dataset.id)},De=ct=>{ft[ct.target.dataset.id]=ft[ct.target.dataset.id]||{},ft[ct.target.dataset.id].value=ct.target.value,bt([...ft]),qe(ft,ct.target.dataset.id)};function Ye(ct,St){return ct.childNodes.forEach(wt=>{var Bt;if(wt.childNodes.length>0)Ye(wt,St);else if(wt.nodeName!=="IMG")if(wt.innerHTML)wt.innerHTML=(Bt=wt.innerHTML)==null?void 0:Bt.replace(new RegExp(St,"gi"),'$&');else{const kt=document.createElement("span");kt.innerHTML=wt.textContent.replace(new RegExp(St,"gi"),'$&'),wt.replaceWith(kt)}})}const Ue=(0,ye.useRef)();E.jb.WebkitLineClamp=Se,Se&&(Te=te(te({},Te),E.jb));function Le(ct){let St=ct.target;if(St.tagName.toUpperCase()==="A"){let wt=St.getAttribute("href");if(wt.indexOf("office")>-1)ct.preventDefault(),lt(wt),ut("office");else if(wt.indexOf("application/pdf")>-1)ct.preventDefault(),lt(wt),ut("pdf");else if(wt.indexOf("text/html")>-1)ct.preventDefault(),lt(wt),ut("html");else if(wt.startsWith("#")){ct.preventDefault();let Bt=document.getElementById(wt.replace("#",""));Bt&&Bt.scrollIntoView(!0)}}}const Ne=()=>{var ct;const St=(ct=Ue.current)==null?void 0:ct.querySelectorAll("video");St==null||St.forEach(wt=>{if(wt.oncontextmenu=()=>!1,wt.src.indexOf(".m3u8")>-1&&!wt.canPlayType("application/vnd.apple.mpegurl")){if(Ae.ZP.isSupported()){var Bt=new Ae.ZP;Bt.loadSource(wt.src),Bt.attachMedia(wt)}}})};(0,ye.useEffect)(()=>{if(Ue.current&&ke&&ke.match(fe)&&window.PR.prettyPrint(),Ue.current)return Ue.current.addEventListener("click",Le),()=>{var ct;(ct=Ue.current)==null||ct.removeEventListener("click",Le),(0,E.AL)(),(0,E.Iy)()}},[ke,Ue.current,Le]),(0,ye.useEffect)(()=>{var ct;const St=wt=>{wt.preventDefault(),wt.clipboardData.setData("text",window.getSelection().toString())};return(ct=Ue.current)==null||ct.addEventListener("copy",St),()=>{var wt;(wt=Ue.current)==null||wt.removeEventListener("copy",St)}},[Ue.current]);const nt=ct=>//i.test(ct||"");return ye.createElement(ye.Fragment,null,Ee&&ye.createElement("div",{ref:Ue},ke),!Ee&&!nt(ke)&&ye.createElement("div",{ref:Ue,style:te({},Te),className:`${me||""} ${ze?"disabled-fill":""} markdown-body ${Lt.current}`,dangerouslySetInnerHTML:{__html:ke}}),!Ee&&nt(ke)&&ye.createElement(ne,{html:ke}),ye.createElement(ae.Z,{close:!0,data:At,type:At!=null&&At.length?at:"",style:te({},we),onClose:()=>lt("")}))}},33538:function(en,zt,be){"use strict";be.d(zt,{Z:function(){return ge}});var ye=be(89070),Je={ldsRing:"ldsRing___mpBZC",idsRingWrapper:"idsRingWrapper___Of9_n",ldsring:"ldsring___o0w2t"},E=be(59301),ge=({message:Ae,className:ue,children:le,style:ie={}})=>E.createElement("div",{className:`custom-spinner ${Je.idsRingWrapper} ${ue}`},E.createElement("div",{className:Je.ldsRing},E.createElement("div",null),E.createElement("div",null),E.createElement("div",null),E.createElement("div",null)),Ae?E.createElement("p",{style:ie},Ae):null,le,E.createElement(ye.Outlet,null))},17064:function(en,zt,be){"use strict";be.d(zt,{Z:function(){return ge}});var ye=be(59301),Je=be(34604),E=be(59301),ge=({defaultX:Ae="40%",leftChild:ue,rightChild:le,className:ie,hideResize:se=!1})=>{const[ae,oe]=(0,ye.useState)(Ae),re=(0,ye.useRef)();function ne(){re.current=!0}(0,ye.useEffect)(()=>{function y(b){re.current&&(Je.Z.publish("resize-move-bar",b),oe(b.pageX))}function x(){re.current=!1}return window.addEventListener("mousemove",y),window.addEventListener("mouseup",x),()=>{window.removeEventListener("mousemove",y),window.removeEventListener("mouseup",x)}},[]);const z=typeof ae=="number"&&ae!==.01?`${ae}px`:Ae,a=`calc(100% - ${se?"0px":"4px"} - ${z})`;return E.createElement("div",{className:`split-panel-container ${ie}`},E.createElement("section",{style:{width:z,display:ae===.01?"none":""}},ue),E.createElement("section",{className:"resize-x-bar",onMouseDown:ne},E.createElement("a",{className:"btn-resize"},E.createElement("svg",{width:"16",height:"13",viewBox:"0 0 16 13"},E.createElement("path",{d:"M12.245 7.53H5.647v1.882h6.598v2.823L16 8.471l-3.755-3.765V7.53zM10.353 4.706H3.755v2.823L0 3.765 3.755 0v2.824h6.598v1.882z"})))),E.createElement("section",{style:{width:a}},le))}},13787:function(en,zt,be){"use strict";be.d(zt,{Z:function(){return ue}});var ye=be(59301),Je={flex_box_center:"flex_box_center___Gc4dd",flex_space_between:"flex_space_between___K2f1v",flex_box_vertical_center:"flex_box_vertical_center___pupRp",flex_box_center_end:"flex_box_center_end___UDLRC",flex_box_column:"flex_box_column___a5uDo",result:"result___gu5zt",title:"title___xrnx2",left:"left___IAxp9",leftNode:"leftNode___HL8fG",right:"right___ZXYmw",rightNode:"rightNode___jYL5_"},E=be(92310),ge=be.n(E),ue=({className:le,style:ie={},leftNode:se,leftTitle:ae="\u81EA\u6D4B\u8F93\u5165",rightNode:oe,rightTitle:re="\u8FD0\u884C\u7ED3\u679C"})=>ye.createElement("div",{className:ge()(Je.result,le),style:ie},ye.createElement("div",{className:Je.left},ye.createElement("div",{className:Je.title},ye.createElement("i",{style:{color:"#08CF76"},className:"iconfont iconfont icon-zidingyiceshiyongli font14 mr5"}),ye.createElement("span",null,ae)),ye.createElement("div",{className:Je.leftNode},se)),ye.createElement("div",{className:Je.right},ye.createElement("div",{className:Je.title},ye.createElement("i",{style:{color:"#00DFFF"},className:"iconfont iconfont icon-daimazhihangjieguo font14 mr5"}),ye.createElement("span",null,re)),ye.createElement("div",{className:Je.rightNode},oe)))},19105:function(en,zt,be){"use strict";var ye=be(59301);const Je=ge=>String(ge).length===1?`0${ge}`:ge,E=({className:ge="",onChange:Ae,defaultValue:ue=0})=>{const[le,ie]=(0,ye.useState)(ue);(0,ye.useEffect)(()=>{const re=setTimeout(()=>{ie(le+1e3)},1e3);return Ae(le+1e3),()=>{clearInterval(re)}},[le]);const se=parseInt(le/(60*6e4))||"00",ae=parseInt(le%(60*6e4)/6e4)||"00",oe=parseInt(le%6e4/1e3)||"00";return ye.createElement("div",{className:ge},Je(se),":",Je(ae),":",Je(oe))};zt.Z=E},81939:function(en,zt,be){"use strict";be.d(zt,{cT:function(){return ve},pe:function(){return he}});var ye=be(59301),Je=be(54580),E=be(8591),ge=be(99064),Ae=be(28209),ue=be.n(Ae),le=be(1012),ie=be(89070),se=be(47257),ae=be.n(se),oe=Object.defineProperty,re=Object.defineProperties,ne=Object.getOwnPropertyDescriptors,z=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable,x=(Ee,Se,Te)=>Se in Ee?oe(Ee,Se,{enumerable:!0,configurable:!0,writable:!0,value:Te}):Ee[Se]=Te,b=(Ee,Se)=>{for(var Te in Se||(Se={}))a.call(Se,Te)&&x(Ee,Te,Se[Te]);if(z)for(var Te of z(Se))y.call(Se,Te)&&x(Ee,Te,Se[Te]);return Ee},te=(Ee,Se)=>re(Ee,ne(Se)),ee=(Ee,Se)=>{var Te={};for(var we in Ee)a.call(Ee,we)&&Se.indexOf(we)<0&&(Te[we]=Ee[we]);if(Ee!=null&&z)for(var we of z(Ee))Se.indexOf(we)<0&&y.call(Ee,we)&&(Te[we]=Ee[we]);return Te},ce=(Ee,Se,Te)=>new Promise((we,je)=>{var xe=Ze=>{try{ze(Te.next(Ze))}catch(Me){je(Me)}},Oe=Ze=>{try{ze(Te.throw(Ze))}catch(Me){je(Me)}},ze=Ze=>Ze.done?we(Ze.value):Promise.resolve(Ze.value).then(xe,Oe);ze((Te=Te.apply(Ee,Se)).next())});const{Dragger:fe}=Je.default,he=Ee=>{const Se="bf3c199c2470cb477d907b1e0917c17b",Te="5183666c72eec9e4";var we=ue().enc.Utf8.parse(Se);let je=ue().enc.Utf8.parse(Te);var xe=ue().AES.decrypt(Ee,we,{iv:je,mode:ue().mode.CBC});return xe.toString(ue().enc.Utf8)};let de;const pe=Ee=>ce(void 0,[Ee],function*({identifier:Se,oldFilename:Te,newFilename:we}){var je,xe,Oe,ze,Ze,Me;const tt=yield Fetch("/api/buckets/get_upload_token_for_big_files.json",{method:"get"});tt.data=JSON.parse(he(tt.data));const qe=new OSS({endpoint:(je=tt==null?void 0:tt.data)==null?void 0:je.end_point,region:(xe=tt==null?void 0:tt.data)==null?void 0:xe.region,accessKeyId:(Oe=tt==null?void 0:tt.data)==null?void 0:Oe.access_key_id,accessKeySecret:(ze=tt==null?void 0:tt.data)==null?void 0:ze.access_key_secret,bucket:(Ze=tt==null?void 0:tt.data)==null?void 0:Ze.bucket,stsToken:(Me=tt==null?void 0:tt.data)==null?void 0:Me.security_token});return new Promise((st,At)=>{console.log(11111,`${Se}/${Te}`,`${Se}/${we}`,tt.data),qe.copy(`/${Se}/${Te}`,`/${Se}/${we}`).then(lt=>{console.log("\u62F7\u8D1D\u6210\u529F",lt)}).catch(lt=>{console.log(lt)})})}),ve=(Ee,Se,Te)=>ce(void 0,null,function*(){var we,je,xe,Oe,ze,Ze;Se.file_name=Ee.name;const Me=yield(0,ge.ZP)("/api/buckets/get_upload_token.json",{method:"get"});console.log("decrypt(res.data):",he(Me.data)),Me.data=JSON.parse(he(Me.data));const tt=Ee.name.split(".");tt.pop();const qe=Se.realFileName?tt.join(""):(0,le.Z)(),st=new(ae())({endpoint:(we=Me==null?void 0:Me.data)==null?void 0:we.end_point,region:(je=Me==null?void 0:Me.data)==null?void 0:je.region,accessKeyId:(xe=Me==null?void 0:Me.data)==null?void 0:xe.access_key_id,accessKeySecret:(Oe=Me==null?void 0:Me.data)==null?void 0:Oe.access_key_secret,bucket:(ze=Me==null?void 0:Me.data)==null?void 0:ze.bucket,stsToken:(Ze=Me==null?void 0:Me.data)==null?void 0:Ze.security_token});return new Promise((At,lt)=>{var at;st.multipartUpload(`${qe}`,new Blob([Ee],{type:Ee.type}),te(b({timeout:200*1e3,partSize:102400},Te),{callback:{url:(at=Me==null?void 0:Me.data)==null?void 0:at.callback_url,host:Me==null?void 0:Me.data.bucket_host,body:"bucket=${bucket}&object=${object}&etag=${etag}&size=${size}&mimeType=${mimeType}&my_var=${x:my_var}&"+(0,ge.rz)(Se)}})).then(function(ut){var ft;Ee.response=(ft=ut.data)==null?void 0:ft.data,At(ut==null?void 0:ut.data)}).catch(function(ut){lt(ut),console.log("err:",ut)})})}),me=Ee=>{var Se=Ee,{user:Te,cancelUpload:we}=Se,je=ee(Se,["user","cancelUpload"]);const[xe,Oe]=(0,ye.useState)([]);let[ze,Ze]=(0,ye.useState)();const Me={onRemove:qe=>{Oe([...xe.filter(st=>st.name!==qe.name)]),je.onChange(xe.filter(st=>st.name!==qe.name))},disabled:je.disabled,multiple:!0,fileList:xe==null?void 0:xe.map(qe=>qe.file),customRequest:()=>{},beforeUpload:qe=>ce(void 0,null,function*(){let st=je.maxSize||1073741824;if(xe.filter(At=>At.name===qe.name).length){E.ZP.info(`${qe.name}\u5DF2\u5B58\u5728\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9`);return}return(qe==null?void 0:qe.size)>st?(E.ZP.info(`\u6587\u4EF6\u8D85\u8FC7${st/1024/1024/1024}GB\uFF0C\u4E0D\u7B26\u5408\u4E0A\u4F20\u8981\u6C42`),!1):(xe.push({name:qe.name,file:qe}),Oe([...xe]),je.onChange(xe),!1)})},tt=(qe,st)=>ce(void 0,null,function*(){var At,lt,at,ut,ft,bt;st.file_name=qe.name;const Lt=qe.name,gt=yield(0,ge.ZP)("/api/buckets/get_upload_token_for_big_files.json",{method:"get"});if(gt.data=JSON.parse(he(gt.data)),(gt==null?void 0:gt.status)!==0){xe[xe.findIndex(Pe=>Pe.name===Lt)].status="error",xe[xe.findIndex(Pe=>Pe.name===Lt)].file.status="error",je.onChange(xe),E.ZP.warning("\u4E0A\u4F20\u5931\u8D25\uFF0C\u8BF7\u91CD\u65B0\u5C1D\u8BD5");return}ze=new(ae())({endpoint:(At=gt==null?void 0:gt.data)==null?void 0:At.end_point,region:(lt=gt==null?void 0:gt.data)==null?void 0:lt.region,accessKeyId:(at=gt==null?void 0:gt.data)==null?void 0:at.access_key_id,accessKeySecret:(ut=gt==null?void 0:gt.data)==null?void 0:ut.access_key_secret,bucket:(ft=gt==null?void 0:gt.data)==null?void 0:ft.bucket,stsToken:(bt=gt==null?void 0:gt.data)==null?void 0:bt.security_token}),console.log(qe,"file"),Ze(ze);const ht=qe.name.split(".");ht.pop();const $e=Lt.indexOf(".")>-1?st.realFileName?ht.join("."):(0,le.Z)():Lt;return new Promise((Pe,ke)=>{var Ve;try{ze.multipartUpload(`${je.identifier}/${$e}${Lt.indexOf(".")>-1?"."+Lt.split(".").pop():""}`,new Blob([qe.file],{type:qe.file.type}),{timeout:3600*1e3,partSize:1002400,progress:(Qe,De,Ye)=>{try{console.log("\u8FDB\u5EA6",Qe,De,Ye);const Ue=xe.findIndex(Le=>Le.name===Lt);xe[Ue].file.percent=Qe*100,xe[Ue].tempCheckpoint=De,Oe([...xe])}catch(Ue){}},checkpoint:xe[xe.findIndex(Qe=>Qe.name===Lt)].tempCheckpoint,callback:{customValue:{id:Lt+""},url:(Ve=gt==null?void 0:gt.data)==null?void 0:Ve.callback_url,host:gt==null?void 0:gt.data.bucket_host,body:"bucket=${bucket}&object=${object}&etag=${etag}&size=${size}&mimeType=${mimeType}&my_var=${x:my_var}&"+(0,ge.rz)(st)}}).then(function(Qe){var De,Ye,Ue;const Le=xe.findIndex(nt=>nt.name===Lt);let Ne="done";if(((De=Qe.data)==null?void 0:De.status)===0){qe.response=(Ye=Qe.data)==null?void 0:Ye.data;const nt=xe.findIndex(ct=>ct.name===Lt);xe[nt].status="done",xe[nt].file.status="done"}else E.ZP.warning((Ue=Qe.data)==null?void 0:Ue.message),Ne="error";xe[Le].status=Ne,xe[Le].file.status=Ne,je.onChange(xe),Pe(Qe==null?void 0:Qe.data)}).catch(function(Qe){xe[xe.findIndex(De=>De.name===Lt)].status="error",xe[xe.findIndex(De=>De.name===Lt)].file.status="error",E.ZP.warning("\u4E0A\u4F20\u5931\u8D25\uFF0C\u8BF7\u91CD\u65B0\u5C1D\u8BD5"),Oe([...xe]),je.onChange(xe),ke(Qe),console.log("err:",Qe)})}catch(Qe){}})});return(0,ye.useEffect)(()=>{xe.every(qe=>qe==="done"||qe==="error")&&je.onComplete(xe)},[xe]),(0,ye.useEffect)(()=>{we&&(ze==null||ze.cancel())},[we]),(0,ye.useEffect)(()=>{je.uploading&&xe.map(qe=>ce(void 0,null,function*(){var st;if((!qe.status||qe.status==="error")&&!we){qe.status="uploading",qe.file.status="uploading";const At=yield tt(qe,{login:(st=Te==null?void 0:Te.userInfo)==null?void 0:st.login,container_type:je.container_type,container_id:je.container_id,description:je.description,realFileName:je.realFileName})}}))},[je.uploading]),ye.createElement(fe,te(b({},Me),{height:je.height,className:je.className}),ye.createElement("p",{className:"ant-upload-hint"},je.text||"\u62D6\u62FD\u6587\u4EF6\u6216\u8005\u70B9\u51FB\u4E0A\u4F20"))};zt.ZP=(0,ie.connect)(({loading:Ee,globalSetting:Se,user:Te})=>({globalSetting:Se,loading:Ee.models.competitions,user:Te}))(me)},30917:function(en,zt,be){"use strict";be.d(zt,{Z:function(){return Te}});var ye=be(59301),Je=be(89070),E=be(43418),ge=be(78241),Ae=be(8591),ue=be(71418),le=be(17574),ie=be(95237),se=be(43604),ae=be(6848),oe=be(92832),re={currentPrimary:"currentPrimary___NPWiR",currentDelete:"currentDelete___UEfhf",DirectoryTree:"DirectoryTree___xPxCY",EditDom:"EditDom___seNxC"},ne=be(83312),z=be(24780),a=be(8797),y=be(85057),x=Object.defineProperty,b=Object.defineProperties,te=Object.getOwnPropertyDescriptors,ee=Object.getOwnPropertySymbols,ce=Object.prototype.hasOwnProperty,fe=Object.prototype.propertyIsEnumerable,he=(we,je,xe)=>je in we?x(we,je,{enumerable:!0,configurable:!0,writable:!0,value:xe}):we[je]=xe,de=(we,je)=>{for(var xe in je||(je={}))ce.call(je,xe)&&he(we,xe,je[xe]);if(ee)for(var xe of ee(je))fe.call(je,xe)&&he(we,xe,je[xe]);return we},pe=(we,je)=>b(we,te(je)),ve=(we,je)=>{var xe={};for(var Oe in we)ce.call(we,Oe)&&je.indexOf(Oe)<0&&(xe[Oe]=we[Oe]);if(we!=null&&ee)for(var Oe of ee(we))je.indexOf(Oe)<0&&fe.call(we,Oe)&&(xe[Oe]=we[Oe]);return xe},me=(we,je,xe)=>new Promise((Oe,ze)=>{var Ze=qe=>{try{tt(xe.next(qe))}catch(st){ze(st)}},Me=qe=>{try{tt(xe.throw(qe))}catch(st){ze(st)}},tt=qe=>qe.done?Oe(qe.value):Promise.resolve(qe.value).then(Ze,Me);tt((xe=xe.apply(we,je)).next())});const Ee=(we=[])=>we==null?void 0:we.map(je=>pe(de({},je),{title:(je==null?void 0:je.value)||"",key:je==null?void 0:je.id,isLeaf:!0})),Se=we=>{var je=we,{user:xe,children:Oe,isShowComponent:ze=!0,ModalProps:Ze={},onDataSelect:Me}=je,tt=ve(je,["user","children","isShowComponent","ModalProps","onDataSelect"]);const[qe,st]=E.default.useModal(),[At]=ge.default.useForm(),[lt,at]=(0,ye.useState)([]),[ut,ft]=(0,ye.useState)(!1),[bt,Lt]=(0,ye.useState)(!1),[,gt,ht,$e]=(0,ne.U)(z.qE,{page:1,limit:9999}),[,,Pe]=(0,ne.U)(z.V8,{}),[,,ke]=(0,ne.U)(z.B$,{}),[,,Ve]=(0,ne.U)(z.DH,{}),[,,Qe]=(0,ne.U)(z.bJ,{}),De=()=>{ft(!1),At.resetFields(),Lt(!1)},Ye=Le=>me(void 0,null,function*(){const{node:Ne,dragNode:nt,event:ct}=Le,St=Le.node.pos.split("-"),wt=Le.dropPosition-Number(St[St.length-1]);if(wt==0){Ae.ZP.warning("\u65E0\u6CD5\u79FB\u52A8\u5230\u5185\u90E8\u4F4D\u7F6E");return}if(wt==1&&(nt==null?void 0:nt.item_index)==(Ne==null?void 0:Ne.item_index)+1){Ae.ZP.warning("\u672A\u79FB\u52A8\u4F4D\u7F6E");return}const Bt=yield Qe({id:nt==null?void 0:nt.key,position:wt==-1?1:(nt==null?void 0:nt.item_index)>(Ne==null?void 0:Ne.item_index)?(Ne==null?void 0:Ne.item_index)+1:Ne==null?void 0:Ne.item_index});(Bt==null?void 0:Bt.status)===0&&(Ae.ZP.success("\u79FB\u52A8\u6210\u529F"),ht({},!0))}),Ue=Le=>me(void 0,null,function*(){let Ne={};bt?Ne=yield ke(de({},Le)):Ne=yield Ve(de({},Le)),(Ne==null?void 0:Ne.status)==0&&(Ae.ZP.success((Ne==null?void 0:Ne.message)||(bt?"\u6DFB\u52A0\u6210\u529F":"\u66F4\u65B0\u6210\u529F")),ht({},!0),De())});return(0,ye.useEffect)(()=>{Ze!=null&&Ze.open&&ht({},!0)},[Ze==null?void 0:Ze.open]),(0,ye.useEffect)(()=>{var Le;at(Ee((Le=$e==null?void 0:$e.data)==null?void 0:Le.list))},[$e]),ze?ye.createElement(ye.Fragment,null,st,Oe,ye.createElement(E.default,de({},de({title:"\u5E38\u7528\u8BC4\u8BED",width:640,centered:!0,footer:null,bodyStyle:{padding:"10px 5px 25px"}},Ze)),ye.createElement(ue.Z,{spinning:gt},(lt==null?void 0:lt.length)>0?ye.createElement(ye.Fragment,null,ye.createElement(le.default.DirectoryTree,{height:500,className:re.DirectoryTree,multiple:!0,draggable:{icon:!1},defaultExpandAll:!0,switcherIcon:!1,showIcon:!1,onSelect:Me,treeData:lt,onDrop:Ye,titleRender:Le=>ye.createElement(ye.Fragment,null,ye.createElement("span",{className:"multi_ellipsis1",style:{flex:1,marginRight:"32px"}},Le==null?void 0:Le.title),ye.createElement("div",{className:`${re.EditDom}`},ye.createElement(ie.Z,{wrap:!1,align:"middle",gutter:16},ye.createElement(se.Z,null,ye.createElement(ae.Z,{title:"\u957F\u6309\u53EF\u8FDB\u884C\u62D6\u62FD\u6392\u5E8F"},ye.createElement("i",{className:`iconfont icon-tuodong1 font12 ${re.currentPrimary}`}))),ye.createElement(se.Z,null,ye.createElement(ae.Z,{title:"\u7F16\u8F91"},ye.createElement("i",{className:`iconfont icon-bianji11 font12 ${re.currentPrimary}`,onClick:Ne=>{Ne.stopPropagation(),At.setFieldsValue(de({},Le)),ft(!0)}}))),ye.createElement(se.Z,null,ye.createElement(ae.Z,{title:"\u5220\u9664"},ye.createElement("i",{className:`iconfont icon-shanchu14 font12 ${re.currentDelete}`,onClick:Ne=>{Ne.stopPropagation(),qe.confirm({icon:null,title:"\u5220\u9664\u5E38\u7528\u8BC4\u8BED",centered:!0,content:"\u4F60\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u6761\u5E38\u7528\u8BC4\u8BED\u5417\uFF1F",onOk:()=>me(void 0,null,function*(){const nt=yield Pe({id:Le==null?void 0:Le.key});(nt==null?void 0:nt.status)==0&&(Ae.ZP.success((nt==null?void 0:nt.message)||"\u5220\u9664\u6210\u529F"),ht({},!0))})})}}))))))}),ye.createElement(y.op,{className:"ml20 mt20",icon:ye.createElement("i",{className:"iconfont icon-xiaojiahao"}),style:{borderRadius:"4px"},onClick:()=>{Lt(!0),ft(!0)}},"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED")):ye.createElement(a.Z,{styles:{margin:"30px auto"},customText:ye.createElement("span",null,"\u6682\u65E0\u5E38\u7528\u8BC4\u8BED\uFF0C\u4F60\u53EF\u4EE5",ye.createElement("a",{onClick:()=>{Lt(!0),ft(!0)}},"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED"))}))),ye.createElement(E.default,{title:bt?"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED":"\u7F16\u8F91\u5E38\u7528\u8BC4\u8BED",open:ut,okText:bt?"\u6DFB\u52A0":"\u786E\u5B9A",onCancel:()=>{De()},onOk:()=>{At.submit()}},ye.createElement(ge.default,{form:At,onFinish:Ue},bt&&ye.createElement("span",{className:"font14",style:{color:"#191919"}},"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED\uFF0C\u53EF\u4EE5\u5E2E\u52A9\u4F60\u63D0\u9AD8\u8BC4\u9605\u4F5C\u4E1A\u7684\u6548\u7387"),ye.createElement(ge.default.Item,{hidden:!0,name:"id"}),ye.createElement(ge.default.Item,{className:"mt10",name:"value"},ye.createElement(oe.default.TextArea,{placeholder:"\u8F93\u5165\u5E38\u7528\u8BC4\u8BED\u3002\u4F8B\u5982\uFF1A\u4F60\u7684\u7F16\u7A0B\u4F5C\u4E1A\u6574\u4F53\u8868\u73B0\u826F\u597D\uFF0C\u4F46\u4ECD\u6709\u4E00\u4E9B\u5C0F\u7684\u6539\u8FDB\u7A7A\u95F4\u3002",autoSize:{minRows:8,maxRows:9},maxLength:100,showCount:!0}))))):null};var Te=(0,Je.connect)(({loading:we,user:je})=>({user:je,loading:we.effects}))(Se)},61398:function(en,zt,be){"use strict";be.d(zt,{Z:function(){return ge}});var ye=be(59301),Je=be(34604),E=be(11611),ge=()=>{const[Ae,ue]=(0,ye.useState)(""),[le,ie]=(0,ye.useState)(0);let[se,ae]=(0,ye.useState)(),[oe,re]=(0,ye.useState)();const[ne,z]=(0,ye.useState)(!1),a=(0,ye.useRef)("");(0,ye.useEffect)(()=>Je.Z.subscribe("preview-image",ve=>{ue(ve),console.log(he.current),document.body.style.overflow="hidden"}),[]),(0,ye.useEffect)(()=>(document.addEventListener("keydown",y),()=>{document.removeEventListener("keydown",y)}),[]),(0,ye.useEffect)(()=>{a.current=Ae},[Ae]);function y(pe){pe.keyCode==27&&a.current&&x()}function x(){document.body.style.overflow="auto",ae(void 0),re(void 0),ie(0),ue("")}function b(){ie(le+90)}function te(){se=he.current.width*1.1,oe=he.current.height*1.1,re(oe),ae(se)}function ee(){se=he.current.width/1.1,oe=he.current.height/1.1,re(oe),ae(se)}const ce=(0,ye.useRef)(),fe=(0,ye.useRef)(),he=(0,ye.useRef)(),de=pe=>{(pe.nativeEvent.target===ce.current||pe.nativeEvent.target===fe.current)&&x()};return ye.createElement(ye.Fragment,null,Ae?ye.createElement("div",null,ye.createElement("div",{className:"preview-wrp-group",ref:fe},ye.createElement(E.Z,{className:"image-preview",src:Ae,style:{display:"none"},preview:{visible:!0,src:Ae,movable:!1,onVisibleChange:pe=>{ue("")}},alt:"\u9884\u89C8\u5927\u56FE"}))):null)}},97692:function(en,zt,be){"use strict";be.d(zt,{h:function(){return ce}});var ye=be(59301),Je=be(57809),E=be(78241),ge=be(3113),Ae=be(89780),ue=be.n(Ae),le=be(37036),ie=be(95625),se=Object.defineProperty,ae=Object.defineProperties,oe=Object.getOwnPropertyDescriptors,re=Object.getOwnPropertySymbols,ne=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,a=(fe,he,de)=>he in fe?se(fe,he,{enumerable:!0,configurable:!0,writable:!0,value:de}):fe[he]=de,y=(fe,he)=>{for(var de in he||(he={}))ne.call(he,de)&&a(fe,de,he[de]);if(re)for(var de of re(he))z.call(he,de)&&a(fe,de,he[de]);return fe},x=(fe,he)=>ae(fe,oe(he));const b=Je.default.Option,te={labelCol:{span:4},wrapperCol:{span:20}},ee={asp:["ASP","vbscript"],actionscript:["ActionScript(3.0)/Flash/Flex","clike"],bash:["Bash/Bat","shell"],css:["CSS","css"],c:["C","clike"],cpp:["C++","clike"],csharp:["C#","clike"],coffeescript:["CoffeeScript","coffeescript"],d:["D","d"],dart:["Dart","dart"],delphi:["Delphi/Pascal","pascal"],erlang:["Erlang","erlang"],go:["Golang","go"],groovy:["Groovy","groovy"],html:["HTML","text/html"],java:["Java","clike"],json:["JSON","text/json"],javascript:["Javascript","javascript"],lua:["Lua","lua"],less:["LESS","css"],markdown:["Markdown","gfm"],"objective-c":["Objective-C","clike"],php:["PHP","php"],perl:["Perl","perl"],python:["Python","python"],r:["R","r"],rst:["reStructedText","rst"],ruby:["Ruby","ruby"],sql:["SQL","sql"],sass:["SASS/SCSS","sass"],shell:["Shell","shell"],scala:["Scala","clike"],swift:["Swift","clike"],vb:["VB/VBScript","vb"],xml:["XML","text/xml"],yaml:["YAML","yaml"]};zt.Z=({callback:fe,onCancel:he})=>{const[de,pe]=(0,ye.useState)("python");function ve(Ee){pe(ee[Ee][1])}function me(Ee){fe(Ee)}return ye.createElement(E.default,x(y({},te),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:me,style:{width:500}}),ye.createElement(E.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},ye.createElement(Je.default,{getPopupContainer:Ee=>Ee.parentNode,onChange:ve},Object.keys(ee).map(Ee=>ye.createElement(b,{key:Ee,value:Ee},ee[Ee][0])))),ye.createElement(E.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},ye.createElement(ce,{mode:de})),ye.createElement("div",{className:"flex-container flex-end"},ye.createElement(ge.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ye.createElement(ge.ZP,{type:"ghost",onClick:he},"\u53D6\u6D88")))};function ce({value:fe,onChange:he,mode:de,options:pe={}}){const ve=(0,ye.useRef)(),[me,Ee]=(0,ye.useState)();return(0,ye.useEffect)(()=>{if(me){let Se=function(Te){const we=Te.getValue();he&&he(we)};return me.on("change",Se),()=>{me.off("change",Se)}}},[me,he]),(0,ye.useEffect)(()=>{me&&me.setOption("mode",de)},[me,de]),(0,ye.useEffect)(()=>{me&&(fe!==me.getValue()||fe==="")&&setTimeout(()=>{me.setValue(fe||"")},300)},[me,fe]),(0,ye.useEffect)(()=>{if(ve.current&&!me){const Se=ue().fromTextArea(ve.current,y({mode:de,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},pe));Ee(Se)}},[ve.current,me]),ye.createElement("div",{className:"my-codemirror-container"},ye.createElement("textarea",{ref:ve}))}},12290:function(en,zt,be){"use strict";be.d(zt,{Z:function(){return Er}});var ye=be(59301),Je=be(89780),E=be.n(Je),ge=be(76374),Ae=be(37036),ue=be(6313),le=be(25717),ie=be(99498),se=be(25419),ae=be(67549),oe=be(85149),re=({value:Qt="",className:tn,showTextOnly:cn,showLines:rr,style:bn={}})=>{const an=(0,ye.useMemo)(()=>"",[Qt]);return ye.createElement(ye.Fragment,null,ye.createElement("div",{dangerouslySetInnerHTML:{__html:an}}))},ne=be(59301),z=Object.defineProperty,a=Object.defineProperties,y=Object.getOwnPropertyDescriptors,x=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,te=Object.prototype.propertyIsEnumerable,ee=(Qt,tn,cn)=>tn in Qt?z(Qt,tn,{enumerable:!0,configurable:!0,writable:!0,value:cn}):Qt[tn]=cn,ce=(Qt,tn)=>{for(var cn in tn||(tn={}))b.call(tn,cn)&&ee(Qt,cn,tn[cn]);if(x)for(var cn of x(tn))te.call(tn,cn)&&ee(Qt,cn,tn[cn]);return Qt},fe=(Qt,tn)=>a(Qt,y(tn));let he=[{title:"\u7C97\u4F53",icon:"md-iconfont icon-bold",actionName:"bold"},{title:"\u659C\u4F53",icon:"md-iconfont icon-italic",actionName:"italic"},"|",{title:"\u65E0\u5E8F\u5217\u8868",icon:"md-iconfont icon-unorder-list",actionName:"list-ul"},{title:"\u6709\u5E8F\u5217\u8868",icon:"md-iconfont icon-order-list",actionName:"list-ol"},"|",{title:"\u884C\u5185\u4EE3\u7801",icon:"md-iconfont icon-code",actionName:"code"},{title:"\u4EE3\u7801\u5757\uFF08\u591A\u8BED\u8A00\u98CE\u683C\uFF09",icon:"md-iconfont icon-file-code",actionName:"code-block"},{title:"\u94FE\u63A5",icon:"md-iconfont icon-link",actionName:"link"},"|",{title:"\u884C\u5185\u516C\u5F0F",icon:"md-iconfont icon-sum",actionName:"inline-latex"},{title:"\u6570\u5B66\u56FE\u50CF",icon:"iconfont icon-shuxuetuxiang2",actionName:"maths-latex"},{title:"\u591A\u884C\u516C\u5F0F",icon:"iconfont icon-jisuan1",actionName:"latex"},"|",{title:"\u6DFB\u52A0\u56FE\u7247",icon:"md-iconfont icon-picture",actionName:"upload-image"},{title:"\u63D2\u5165\u753B\u56FE",icon:"iconfont icon-sheji",actionName:"draw-image"},{title:"\u63D2\u5165\u6D41\u7A0B\u56FE",icon:"iconfont icon-liucheng",actionName:"add-flowchart"},{title:"\u8868\u683C",icon:"md-iconfont icon-table",actionName:"add-table"},"|",{title:"\u6362\u884C",icon:"md-iconfont icon-minus",actionName:"line-break"},{title:"\u6E05\u7A7A",icon:"md-iconfont icon-eraser",actionName:"eraser"}];function de({onActionCallback:Qt,title:tn,icon:cn,actionName:rr,className:bn="",children:an}){function gn(){Qt(rr)}return ne.createElement("a",{title:tn,className:bn,onClick:gn},ne.createElement("i",{className:`${cn}`}),an)}var pe=({watch:Qt,showNullButton:tn,showNullProgramButton:cn,onActionCallback:rr,fullScreen:bn,insertTemp:an,hidetoolBar:gn,extraUse:Nr})=>{const lr=[...he,{title:`${Qt?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${Qt?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return ne.createElement("ul",{className:"markdown-toolbar-container"},!gn&&lr.map((_r,ei)=>ne.createElement("li",{key:ei},_r.actionName?ne.createElement(de,fe(ce({},_r),{onActionCallback:rr})):ne.createElement("span",{className:"v-line"}))),tn?ne.createElement("li",null,ne.createElement(de,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:rr},ne.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,cn?ne.createElement(ne.Fragment,null,ne.createElement("li",null,ne.createElement(de,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:rr},ne.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),ne.createElement("li",null,ne.createElement(de,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:rr},ne.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,an&&ne.createElement("li",null,ne.createElement(de,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${an}`,onActionCallback:rr},ne.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),Nr&&ne.createElement("li",null,Nr),ne.createElement("li",{className:"btn-full-screen"},ne.createElement(de,{icon:`${bn?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:bn?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:rr})))},ve=be(79346),me=be(78241),Ee=be(92832),Se=be(3113),Te=Object.defineProperty,we=Object.defineProperties,je=Object.getOwnPropertyDescriptors,xe=Object.getOwnPropertySymbols,Oe=Object.prototype.hasOwnProperty,ze=Object.prototype.propertyIsEnumerable,Ze=(Qt,tn,cn)=>tn in Qt?Te(Qt,tn,{enumerable:!0,configurable:!0,writable:!0,value:cn}):Qt[tn]=cn,Me=(Qt,tn)=>{for(var cn in tn||(tn={}))Oe.call(tn,cn)&&Ze(Qt,cn,tn[cn]);if(xe)for(var cn of xe(tn))ze.call(tn,cn)&&Ze(Qt,cn,tn[cn]);return Qt},tt=(Qt,tn)=>we(Qt,je(tn));const qe={labelCol:{span:4},wrapperCol:{span:20}};var st=({callback:Qt,onCancel:tn})=>{function cn(rr){Qt(rr)}return ye.createElement(me.default,tt(Me({},qe),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:cn,style:{width:500}}),ye.createElement(me.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},ye.createElement(Ee.default,null)),ye.createElement(me.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},ye.createElement(Ee.default,null)),ye.createElement("div",{className:"flex-container flex-end"},ye.createElement(Se.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ye.createElement(Se.ZP,{type:"ghost",onClick:tn},"\u53D6\u6D88")))},At=be(97692),lt=be(28451),at=be(43418),ut=be(95237),ft=be(73524),bt=be(59301),Lt=({callback:Qt,onCancel:tn})=>{const cn=document.createElement("canvas"),rr=cn.getContext("2d");cn.width=1e3,cn.height=800,rr.fillStyle="#ffffff",rr.fillRect(0,0,cn.width,cn.height);const bn=cn.toDataURL("image/png");return bt.createElement(at.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},bt.createElement(ut.Z,{style:{height:"100vh"}},bt.createElement(ft.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:bn,visible:!0,title:String(Date.now())},onOk:an=>{Qt({src:an.url})},onClose:tn})))},gt=be(12378);function ht(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(ht,go.CommandHandler),ht.prototype.canAlignSelection=function(){var Qt=this.diagram;return!(Qt===null||Qt.isReadOnly||Qt.isModelReadOnly||Qt.selection.count<2)},ht.prototype.alignLeft=function(){var Qt=this.diagram;Qt.startTransaction("aligning left");var tn=1/0;Qt.selection.each(function(cn){cn instanceof go.Link||(tn=Math.min(cn.position.x,tn))}),Qt.selection.each(function(cn){cn instanceof go.Link||cn.move(new go.Point(tn,cn.position.y))}),Qt.commitTransaction("aligning left")},ht.prototype.alignRight=function(){var Qt=this.diagram;Qt.startTransaction("aligning right");var tn=-1/0;Qt.selection.each(function(cn){if(!(cn instanceof go.Link)){var rr=cn.actualBounds.x+cn.actualBounds.width;tn=Math.max(rr,tn)}}),Qt.selection.each(function(cn){cn instanceof go.Link||cn.move(new go.Point(tn-cn.actualBounds.width,cn.position.y))}),Qt.commitTransaction("aligning right")},ht.prototype.alignTop=function(){var Qt=this.diagram;Qt.startTransaction("alignTop");var tn=1/0;Qt.selection.each(function(cn){cn instanceof go.Link||(tn=Math.min(cn.position.y,tn))}),Qt.selection.each(function(cn){cn instanceof go.Link||cn.move(new go.Point(cn.position.x,tn))}),Qt.commitTransaction("alignTop")},ht.prototype.alignBottom=function(){var Qt=this.diagram;Qt.startTransaction("aligning bottom");var tn=-1/0;Qt.selection.each(function(cn){if(!(cn instanceof go.Link)){var rr=cn.actualBounds.y+cn.actualBounds.height;tn=Math.max(rr,tn)}}),Qt.selection.each(function(cn){cn instanceof go.Link||cn.move(new go.Point(cn.actualBounds.x,tn-cn.actualBounds.height))}),Qt.commitTransaction("aligning bottom")},ht.prototype.alignCenterX=function(){var Qt=this.diagram,tn=Qt.selection.first();if(tn){Qt.startTransaction("aligning Center X");var cn=tn.actualBounds.x+tn.actualBounds.width/2;Qt.selection.each(function(rr){rr instanceof go.Link||rr.move(new go.Point(cn-rr.actualBounds.width/2,rr.actualBounds.y))}),Qt.commitTransaction("aligning Center X")}},ht.prototype.alignCenterY=function(){var Qt=this.diagram,tn=Qt.selection.first();if(tn){Qt.startTransaction("aligning Center Y");var cn=tn.actualBounds.y+tn.actualBounds.height/2;Qt.selection.each(function(rr){rr instanceof go.Link||rr.move(new go.Point(rr.actualBounds.x,cn-rr.actualBounds.height/2))}),Qt.commitTransaction("aligning Center Y")}},ht.prototype.alignColumn=function(Qt){var tn=this.diagram;tn.startTransaction("align Column"),Qt===void 0&&(Qt=0),Qt=parseFloat(Qt);var cn=new Array;tn.selection.each(function(Nr){Nr instanceof go.Link||cn.push(Nr)});for(var rr=0;rr0){for(var Nr=an.elt(gn-1);Nr!==null&&Nr.isTreeExpanded&&!Nr.isTreeLeaf;){var lr=this._sortTreeChildrenByY(Nr);Nr=lr.last()}Nr!==null&&Qt.select(Nr)}else Qt.select(bn)}}else if(cn.key==="Down")if(tn.isTreeExpanded&&!tn.isTreeLeaf){var rr=this._sortTreeChildrenByY(tn).first();rr!==null&&Qt.select(rr)}else for(;tn!==null;){var bn=tn.findTreeParentNode();if(bn===null)break;var an=this._sortTreeChildrenByY(bn),gn=an.indexOf(tn);if(gnan.y?1:bn.xan.x?1:0}),tn},ht.prototype.copyToClipboard=function(Qt){go.CommandHandler.prototype.copyToClipboard.call(this,Qt),this._lastPasteOffset.set(this.pasteOffset)},ht.prototype.pasteFromClipboard=function(){var Qt=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(Qt,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),Qt},Object.defineProperty(ht.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(Qt){if(Qt!=="move"&&Qt!=="select"&&Qt!=="scroll"&&Qt!=="tree"&&Qt!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+Qt);this._arrowKeyBehavior=Qt}}),Object.defineProperty(ht.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(Qt){if(!(Qt instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+Qt);this._pasteOffset.set(Qt)}});var $e=ht,Pe=be(74413),ke=be(43604),Ve=be(99064),Qe={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},De=be(24065),Ye=be(59301),Ue=(Qt,tn,cn)=>new Promise((rr,bn)=>{var an=lr=>{try{Nr(cn.next(lr))}catch(_r){bn(_r)}},gn=lr=>{try{Nr(cn.throw(lr))}catch(_r){bn(_r)}},Nr=lr=>lr.done?rr(lr.value):Promise.resolve(lr.value).then(an,gn);Nr((cn=cn.apply(Qt,tn)).next())});function Le({onCancel:Qt,callback:tn}){let cn=(0,ye.useRef)(),rr=(0,ye.useRef)(),bn=(0,ye.useRef)(),an=(0,ye.useRef)(!1);const gn=(0,ye.useRef)(!1),[Nr,lr]=(0,ye.useState)(0);function _r(){const Qn=gt.bx.make,yr={red:"#ff3333",blue:"#3358ff",green:"#25ad23",magenta:"#d533ff",purple:"#7d33ff",orange:"#ff6233",brown:"#8e571e",white:"#ffffff",black:"#000000",beige:"#fffcd5",extralightblue:"#d5ebff",extralightred:"#f2dfe0",lightblue:"#a5d2fa",lightgray:"#cccccc",lightgreen:"#b3e6b3",lightred:"#fcbbbd"};cn.current=new gt.S0(rr.current,{padding:20,grid:Qn(gt.s_,"Grid",Qn(gt.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Qn(gt.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:Cr=>{var qr=Cr.diagram.commandHandler.addTopLevelParts(Cr.diagram.selection,!0);qr||Cr.diagram.currentTool.doCancel()},commandHandler:Qn($e),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:Cr=>{var qr=Cr.subject;qr.location=qr.location.copy().snapToGridPoint(Cr.diagram.grid.gridOrigin,Cr.diagram.grid.gridCellSize),setTimeout(()=>{Cr.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:Cr=>{var qr=Cr.subject;setTimeout(()=>{Cr.diagram.commandHandler.editTextBlock()})},LinkRelinked:Cr=>{var qr=Cr.parameter.part;qr.invalidateConnectedLinks();var Fi=Cr.subject;Cr.diagram.toolManager.linkingTool.isForwards?Fi.toNode.invalidateConnectedLinks():Fi.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),cn.current.nodeTemplate=Qn(gt.NB,"Auto",{locationSpot:gt.z6.Center,locationObjectName:"SHAPE",desiredSize:new gt.$u(120,60),minSize:new gt.$u(40,40),resizable:!0,resizeCellSize:new gt.$u(10,10),rotatable:!0},new gt.KX("location","loc",gt.E9.parse).makeTwoWay(gt.E9.stringify),new gt.KX("desiredSize","size",gt.$u.parse).makeTwoWay(gt.$u.stringify),Qn(gt.bn,{name:"SHAPE",fill:yr.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:gt.z6.AllSides,toSpot:gt.z6.AllSides},new gt.KX("figure"),new gt.KX("fill"),new gt.KX("stroke","borderColor"),new gt.KX("strokeWidth","thickness"),new gt.KX("strokeDashArray","dash")),Qn(gt.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),Qn(gt.al,{margin:1,textAlign:"center",overflow:gt.al.OverflowEllipsis,editable:!0},new gt.KX("text").makeTwoWay(),new gt.KX("stroke","color"))),cn.current.nodeTemplate.toolTip=Qn("ToolTip",Qn(gt.s_,"Vertical",{maxSize:new gt.$u(200,NaN)},Qn(gt.al,{font:"bold 10pt sans-serif",textAlign:"center"},new gt.KX("text")),Qn(gt.al,{font:"10pt sans-serif",textAlign:"center"},new gt.KX("text","details"))));function oi(Cr,qr){var Fi=(Wr,Pa)=>{Wr.handled=!0,Wr.diagram.model.commit(pa=>{var Ka=Pa.part.adornedPart,Ao=new gt.E9().setRectSpot(Ka.actualBounds,Cr);Ao.subtract(Ka.location),Ao.scale(2,2),Ao.x+=Math.sign(Ao.x)*130,Ao.y+=Math.sign(Ao.y)*130,Ao.add(Ka.location),Ao.snapToGridPoint(Wr.diagram.grid.gridOrigin,Wr.diagram.grid.gridCellSize);var Ei=pa.copyNodeData(Ka.data);pa.setGroupKeyForNodeData(Ei,pa.getGroupKeyForNodeData(Ka.data)),pa.addNodeData(Ei);var cs={from:Ka.key,to:pa.getKeyForNodeData(Ei)};pa.addLinkData(cs);var fr=Wr.diagram.findNodeForData(Ei);fr.location=Ao,Wr.diagram.select(fr),setTimeout(()=>{Wr.diagram.commandHandler.editTextBlock()},20)})};return Qn(gt.bn,{figure:qr,alignment:Cr,alignmentFocus:Cr.opposite(),width:Cr.equals(gt.z6.Top)||Cr.equals(gt.z6.Bottom)?25:18,height:Cr.equals(gt.z6.Top)||Cr.equals(gt.z6.Bottom)?18:25,fill:"orange",stroke:yr.white,strokeWidth:4,mouseEnter:(Wr,Pa)=>Pa.fill="dodgerblue",mouseLeave:(Wr,Pa)=>Pa.fill="orange",isActionable:!0,click:Fi,contextClick:Fi})}function Xn(Cr){return Qn(gt.bn,{fill:"orange",stroke:"rgba(0, 0, 0, 0)",strokeWidth:15,background:"transparent",geometryString:"F1 M0 0 b 0 360 -4 0 4 z M10 0 b 0 360 -4 0 4 z M20 0 b 0 360 -4 0 4",isActionable:!0,cursor:"context-menu",mouseEnter:(qr,Fi)=>Fi.fill="dodgerblue",mouseLeave:(qr,Fi)=>Fi.fill="orange",click:(qr,Fi)=>{qr.diagram.commandHandler.showContextMenu(Fi.part.adornedPart)}},Cr||{})}cn.current.nodeTemplate.selectionAdornmentTemplate=Qn(gt.uz,"Spot",Qn(gt.Vm,{padding:10}),oi(gt.z6.Top,"TriangleUp"),oi(gt.z6.Left,"TriangleLeft"),oi(gt.z6.Right,"TriangleRight"),oi(gt.z6.Bottom,"TriangleDown"),Xn({alignment:new gt.z6(.75,0)}));function Mr(Cr,qr){return(Fi,Wr)=>{Fi.handled=!0,Fi.diagram.model.commit(Pa=>{Pa.set(Wr.part.adornedPart.data,Cr,qr)})}}function Sr(Cr,qr){return qr||(qr="color"),Qn(gt.bn,{width:16,height:16,stroke:"lightgray",fill:Cr,margin:1,background:"transparent",mouseEnter:(Fi,Wr)=>Wr.stroke="dodgerblue",mouseLeave:(Fi,Wr)=>Wr.stroke="lightgray",click:Mr(qr,Cr),contextClick:Mr(qr,Cr)})}function ci(){return[Qn("ContextMenuButton",Qn(gt.s_,"Horizontal",Sr(yr.white,"fill"),Sr(yr.beige,"fill"),Sr(yr.extralightblue,"fill"),Sr(yr.extralightred,"fill"))),Qn("ContextMenuButton",Qn(gt.s_,"Horizontal",Sr(yr.lightgray,"fill"),Sr(yr.lightgreen,"fill"),Sr(yr.lightblue,"fill"),Sr(yr.lightred,"fill")))]}function Ci(){return[Qn("ContextMenuButton",Qn(gt.s_,"Horizontal",Sr(yr.black),Sr(yr.green),Sr(yr.blue),Sr(yr.red))),Qn("ContextMenuButton",Qn(gt.s_,"Horizontal",Sr(yr.white),Sr(yr.magenta),Sr(yr.purple),Sr(yr.orange)))]}function Ni(Cr,qr){return qr||(qr="thickness"),Qn(gt.bn,"LineH",{width:16,height:16,strokeWidth:Cr,margin:1,background:"transparent",mouseEnter:(Fi,Wr)=>Wr.background="dodgerblue",mouseLeave:(Fi,Wr)=>Wr.background="transparent",click:Mr(qr,Cr),contextClick:Mr(qr,Cr)})}function na(Cr,qr){return qr||(qr="dash"),Qn(gt.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:Cr,margin:1,background:"transparent",mouseEnter:(Fi,Wr)=>Wr.background="dodgerblue",mouseLeave:(Fi,Wr)=>Wr.background="transparent",click:Mr(qr,Cr),contextClick:Mr(qr,Cr)})}function Qi(){return[Qn("ContextMenuButton",Qn(gt.s_,"Horizontal",Ni(1),Ni(2),Ni(3),Ni(4))),Qn("ContextMenuButton",Qn(gt.s_,"Horizontal",na(null),na([2,4]),na([4,4])))]}function Ii(Cr,qr){return qr||(qr="figure"),Qn(gt.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:Cr,margin:1,background:"transparent",mouseEnter:(Fi,Wr)=>Wr.fill="dodgerblue",mouseLeave:(Fi,Wr)=>Wr.fill="lightgray",click:Mr(qr,Cr),contextClick:Mr(qr,Cr)})}cn.current.nodeTemplate.contextMenu=Qn("ContextMenu",Qn("ContextMenuButton",Qn(gt.s_,"Horizontal",Ii("Rectangle"),Ii("RoundedRectangle"),Ii("Ellipse"),Ii("Diamond"))),Qn("ContextMenuButton",Qn(gt.s_,"Horizontal",Ii("Parallelogram2"),Ii("ManualOperation"),Ii("Procedure"),Ii("Cylinder1"))),Qn("ContextMenuButton",Qn(gt.s_,"Horizontal",Ii("Terminator"),Ii("CreateRequest"),Ii("Document"),Ii("TriangleDown"))),ci(),Ci(),Qi()),cn.current.groupTemplate=Qn(gt.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:gt.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(Cr,qr)=>{var Fi=qr.addMembers(qr.diagram.selection,!0);Fi||qr.diagram.currentTool.doCancel()},avoidable:!1},new gt.KX("location","loc",gt.E9.parse).makeTwoWay(gt.E9.stringify),Qn(gt.s_,"Auto",{name:"BODY"},Qn(gt.bn,{parameter1:10,fill:yr.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:gt.z6.AllSides,toSpot:gt.z6.AllSides},new gt.KX("fill"),new gt.KX("stroke","color"),new gt.KX("strokeWidth","thickness"),new gt.KX("strokeDashArray","dash")),Qn(gt.Vm,{background:"transparent",margin:20})),Qn(gt.al,{alignment:gt.z6.Top,alignmentFocus:gt.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new gt.KX("text"),new gt.KX("stroke","color"))),cn.current.groupTemplate.selectionAdornmentTemplate=Qn(gt.uz,"Spot",Qn(gt.s_,"Auto",Qn(gt.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),Qn(gt.Vm,{margin:1.5})),Xn({alignment:gt.z6.TopRight,alignmentFocus:gt.z6.BottomRight})),cn.current.groupTemplate.contextMenu=Qn("ContextMenu",ci(),Ci(),Qi()),cn.current.linkTemplate=Qn(gt.rU,{layerName:"Foreground",routing:gt.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new gt.KX("fromSpot","fromSpot",gt.z6.parse),new gt.KX("toSpot","toSpot",gt.z6.parse),new gt.KX("fromShortLength","dir",Cr=>Cr>=1?10:0),new gt.KX("toShortLength","dir",Cr=>Cr>=1?10:0),new gt.KX("points").makeTwoWay(),Qn(gt.bn,{strokeWidth:2},new gt.KX("stroke","color"),new gt.KX("strokeWidth","thickness"),new gt.KX("strokeDashArray","dash")),Qn(gt.bn,{segmentIndex:0,segmentOffset:new gt.E9(15,0),segmentOrientation:gt.rU.OrientAlong,alignmentFocus:gt.z6.Right,figure:"circle",width:10,strokeWidth:0},new gt.KX("fill","color"),new gt.KX("visible","dir",Cr=>Cr===1)),Qn(gt.bn,{segmentIndex:-1,segmentOffset:new gt.E9(-10,6),segmentOrientation:gt.rU.OrientPlus90,alignmentFocus:gt.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new gt.KX("fill","color"),new gt.KX("visible","dir",Cr=>Cr>=1),new gt.KX("width","thickness",Cr=>7+3*Cr),new gt.KX("height","thickness",Cr=>7+3*Cr),new gt.KX("segmentOffset","thickness",Cr=>new gt.E9(-15,4+1.5*Cr))),Qn(gt.bn,{segmentIndex:0,segmentOffset:new gt.E9(15,-6),segmentOrientation:gt.rU.OrientMinus90,alignmentFocus:gt.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new gt.KX("fill","color"),new gt.KX("visible","dir",Cr=>Cr===2),new gt.KX("width","thickness",Cr=>7+3*Cr),new gt.KX("height","thickness",Cr=>7+3*Cr),new gt.KX("segmentOffset","thickness",Cr=>new gt.E9(-15,4+1.5*Cr))),Qn(gt.al,{alignmentFocus:new gt.z6(0,1,-4,0),editable:!0},new gt.KX("text").makeTwoWay(),new gt.KX("stroke","color"))),cn.current.linkTemplate.selectionAdornmentTemplate=Qn(gt.uz,Qn(gt.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:xi(2)},new gt.KX("pathPattern","thickness",xi)),Xn({alignmentFocus:new gt.z6(0,0,-6,-4)}));function xi(Cr){return Qn(gt.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(Cr+4).toString()+" H3"})}function or(Cr){var qr="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return Cr===0?qr="M0 0 M16 16 M0 8 L16 8":Cr===2&&(qr="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),Qn(gt.bn,{geometryString:qr,margin:2,background:"transparent",mouseEnter:(Fi,Wr)=>Wr.background="dodgerblue",mouseLeave:(Fi,Wr)=>Wr.background="transparent",click:Mr("dir",Cr),contextClick:Mr("dir",Cr)})}function ga(Cr){var qr=(Fi,Wr)=>{Fi.handled=!0,Fi.diagram.model.commit(Pa=>{var pa=Wr.part.adornedPart;Pa.set(pa.data,Cr?"toSpot":"fromSpot",gt.z6.stringify(gt.z6.AllSides)),(Cr?pa.toNode:pa.fromNode).invalidateConnectedLinks()})};return Qn(gt.bn,{width:12,height:12,fill:"transparent",mouseEnter:(Fi,Wr)=>Wr.background="dodgerblue",mouseLeave:(Fi,Wr)=>Wr.background="transparent",click:qr,contextClick:qr})}function ar(Cr,qr){var Fi=0,Wr=gt.z6.RightSide;Cr.equals(gt.z6.Top)?(Fi=270,Wr=gt.z6.TopSide):Cr.equals(gt.z6.Left)?(Fi=180,Wr=gt.z6.LeftSide):Cr.equals(gt.z6.Bottom)&&(Fi=90,Wr=gt.z6.BottomSide),qr||(Fi-=180);var Pa=(pa,Ka)=>{pa.handled=!0,pa.diagram.model.commit(Ao=>{var Ei=Ka.part.adornedPart;Ao.set(Ei.data,qr?"toSpot":"fromSpot",gt.z6.stringify(Wr)),(qr?Ei.toNode:Ei.fromNode).invalidateConnectedLinks()})};return Qn(gt.bn,{alignment:Cr,alignmentFocus:Cr.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:Fi,background:"transparent",mouseEnter:(pa,Ka)=>Ka.background="dodgerblue",mouseLeave:(pa,Ka)=>Ka.background="transparent",click:Pa,contextClick:Pa})}cn.current.linkTemplate.contextMenu=Qn("ContextMenu",Ci(),Qi(),Qn("ContextMenuButton",Qn(gt.s_,"Horizontal",or(0),or(1),or(2))),Qn("ContextMenuButton",Qn(gt.s_,"Horizontal",Qn(gt.s_,"Spot",ga(!1),ar(gt.z6.Top,!1),ar(gt.z6.Left,!1),ar(gt.z6.Right,!1),ar(gt.z6.Bottom,!1)),Qn(gt.s_,"Spot",{margin:new gt.Zt(0,0,0,2)},ga(!0),ar(gt.z6.Top,!0),ar(gt.z6.Left,!0),ar(gt.z6.Right,!0),ar(gt.z6.Bottom,!0)))));const $i=`{ "class": "GraphLinksModel", "nodeDataArray": [ {"text":"Find Problem","key":-9,"loc":"-20 -140","color":"#3358ff","fill":"white","figure":"Procedure","thickness":3}, {"text":"What do we want?","key":-10,"loc":"-65 -324.305","group":-16,"figure":"Ellipse","fill":"white"}, {"text":"What do our users want?","key":-11,"loc":"105 -334.305","group":-20,"figure":"Ellipse","fill":"#ffffff","color":"black"}, {"text":"Meetings","key":-12,"loc":"-65 -444.305","group":-16,"figure":"TriangleDown","fill":"#ffffff"}, {"text":"Reviews","key":-13,"loc":"105 -454.305","group":-20,"figure":"TriangleDown","fill":"#ffffff","color":"black"}, {"text":"Can we solve it?","key":-14,"loc":"190 -140","color":"#7d33ff","fill":"#ffffff","figure":"Diamond","size":"140 80","thickness":3}, {"isGroup":true,"text":"Internal","key":-16,"loc":"-65 -384.305","fill":"#d5ebff","dash":null,"thickness":1,"group":-22}, {"isGroup":true,"text":"External","key":-20,"loc":"105 -394.305","fill":"#d5ebff","dash":null,"thickness":1,"group":-22}, {"isGroup":true,"text":"Sources","key":-22,"loc":"20 -400","fill":"#a5d2fa","dash":[4,4],"color":"#3358ff"} ], "linkDataArray": [ {"from":-12,"to":-10,"points":[-65,-414.305,-65,-404.305,-65,-384.305,-65,-384.305,-65,-364.305,-65,-354.305],"dash":null,"dir":1}, {"from":-13,"to":-11,"points":[105,-424.305,105,-414.305,105,-394.305,105,-394.305,105,-374.305,105,-364.305],"dash":null,"color":"#000000","dir":1}, {"from":-10,"to":-9,"points":[-65,-294.305,-65,-284.305,-65,-232.1525,-40,-232.1525,-40,-180,-40,-170],"dir":2,"dash":[4,4]}, {"from":-11,"to":-9,"points":[105,-304.305,105,-294.305,105,-237.1525,0,-237.1525,0,-180,0,-170],"dash":[4,4],"dir":2}, {"from":-9,"to":-14,"points":[40,-150,58,-150,80,-150,80,-153.33333333333331,102,-153.33333333333331,120,-153.33333333333331],"dir":1,"color":"#3358ff"}, {"from":-14,"to":-9,"points":[190,-100,190,-90,-20,-90,-20,-95,-20,-100,-20,-110],"fromSpot":"BottomSide","toSpot":"BottomSide","text":"No","color":"#ff3333","thickness":2,"dir":1}, {"from":-9,"to":-14,"points":[40,-130,58,-130,80,-130,80,-126.66666666666666,102,-126.66666666666666,120,-126.66666666666666]} ]}`;var no=["Rectangle","Square","RoundedRectangle","Border","Ellipse","Circle","TriangleRight","TriangleDown","TriangleLeft","TriangleUp","Triangle","Diamond","LineH","LineV","None","BarH","BarV","MinusLine","PlusLine","XLine","LineRight","LineDown","LineLeft","LineUp"];function Ki(Cr){return console.log("shapeName:",Cr),no.indexOf(Cr)>=0}var ki=new gt.YI(bn.current,{maxSelectionCount:1,linkTemplate:Qn(gt.rU,{locationSpot:gt.z6.Center,selectionAdornmentTemplate:Qn(gt.uz,"Link",{locationSpot:gt.z6.Center},Qn(gt.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),Qn(gt.bn,{toArrow:"Standard",stroke:null}))},{routing:gt.rU.AvoidsNodes,curve:gt.rU.JumpOver,corner:5,toShortLength:4},new gt.KX("points"),Qn(gt.bn,{isPanelMain:!0,strokeWidth:2}),Qn(gt.bn,{toArrow:"Standard",stroke:null})),model:new gt.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...gt.bn.getFigureGenerators().toArray().map(Cr=>({text:"\u672A\u547D\u540D",size:"100 100",figure:Cr.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return cn.current.addDiagramListener("TextEdited",function(Cr){var qr;const Fi=Cr.subject.part;var Wr=(qr=document.activeElement)==null?void 0:qr.value;typeof Wr=="string"&&Wr.trim()===""&&cn.current.model.commit(function(Pa){Pa.set(Fi.data,"text","\u672A\u547D\u540D"),cn.current.commandHandler.stopCommand()},"increment")}),ki.nodeTemplate=Qn(gt.NB,"Auto",{locationSpot:gt.z6.Center},new gt.KX("location","location",gt.E9.parse).makeTwoWay(gt.E9.stringify),Qn(gt.bn,"Circle",{fill:"white",stroke:"gray",strokeWidth:2,width:20,height:20,portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromLinkableSelfNode:!0,toLinkableSelfNode:!0},new gt.KX("stroke").makeTwoWay(),new gt.KX("fill").makeTwoWay(),new gt.KX("figure")),Qn(gt.al,{margin:new gt.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new gt.$u(16,16),maxSize:new gt.$u(10,NaN),textAlign:"center",editable:!0},new gt.KX("key").makeTwoWay())),setTimeout(()=>{cn.current.grid=Qn(gt.s_,"Grid",Qn(gt.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Qn(gt.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),cn.current.grid.visible=!0,cn.current.grid.gridCellStroke="darkgray",cn.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=cn.current,cn.current}const ei=()=>Ue(this,null,function*(){var Qn,yr=cn.current.makeImage();const oi=yield(0,Ve.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:yr.src,file_data:JSON.stringify({login:(Qn=(0,De.eY)())==null?void 0:Qn.login,data:JSON.parse(cn.current.model.toJson())})}});tn({src:oi.url})});return(0,ye.useEffect)(()=>(setTimeout(()=>{_r()},500),lr(Nr+1),()=>{cn.current=null}),[]),Ye.createElement("div",{ref:gn,className:an.current?`${Qe.maxH60} body-overflow-initial`:"body-overflow-initial"},Ye.createElement(at.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!Nr,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:Ye.createElement(ut.Z,null,Ye.createElement(ke.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),Ye.createElement(ke.Z,{onClick:()=>{var Qn,yr,oi=cn.current.selection.first();if(an.current=!an.current,document.activeElement&&oi){let Xn=(yr=(Qn=document.activeElement)==null?void 0:Qn.value)==null?void 0:yr.trim();typeof Xn=="string"&&cn.current.model.commit(function(Mr){Mr.set(oi.data,"text",Xn||"\u672A\u547D\u540D"),cn.current.commandHandler.stopCommand()},"increment")}lr(Nr+1)}},Ye.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:Qt},Ye.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:Qe.flowChartWrp},Ye.createElement("div",{style:{display:"flex",height:"100%"}},Ye.createElement("div",{style:{width:"300px",height:"100%"}},Ye.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),Ye.createElement("div",{style:{height:"calc(100% - 50px)"},className:Qe.myPaletteDiv,ref:bn})),Ye.createElement("div",{style:{flex:1,position:"relative"}},Ye.createElement("div",{ref:rr,style:{height:"80vh"}}))),Ye.createElement("div",{className:"tr"},Ye.createElement(Se.ZP,{size:"large",onClick:ei,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var Ne=Le,nt=be(5112),ct=be(5871);const St=nt.ZP.Group,wt={margin:"0 8px"};var Bt=({callback:Qt,onCancel:tn})=>{function cn(rr){Qt(rr)}return ye.createElement(me.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:cn},ye.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},ye.createElement("span",{style:wt},"\u5355\u5143\u683C\u6570\uFF1A"),ye.createElement("span",{style:wt},"\u884C\u6570"),ye.createElement(me.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},ye.createElement(ct.Z,null)),ye.createElement("span",{style:wt},"\u5217\u6570"),ye.createElement(me.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},ye.createElement(ct.Z,null))),ye.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},ye.createElement("span",{style:wt},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),ye.createElement(me.default.Item,{name:"align"},ye.createElement(St,null,ye.createElement(nt.ZP,{value:"default"},ye.createElement("i",{className:"fa fa-align-justify"})),ye.createElement(nt.ZP,{value:"left"},ye.createElement("i",{className:"fa fa-align-left"})),ye.createElement(nt.ZP,{value:"center"},ye.createElement("i",{className:"fa fa-align-center"})),ye.createElement(nt.ZP,{value:"right"},ye.createElement("i",{className:"fa fa-align-right"}))))),ye.createElement("div",{className:"flex-container flex-end"},ye.createElement(Se.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ye.createElement(Se.ZP,{type:"ghost",onClick:tn},"\u53D6\u6D88")))},kt=be(78673),pt=be(80727),Ft=be.n(pt),Jt=(0,ye.forwardRef)(({use3d:Qt,width:tn,height:cn,callback:rr,showSaveButton:bn},an)=>{const gn=(0,ye.useRef)(),Nr=(0,ye.useRef)(),[lr,_r]=(0,ye.useState)(!1),ei=(0,ye.useRef)({id:gn,appName:"graphing",width:tn||1e3,height:cn||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,ye.useEffect)(()=>{Nr.current=new(Ft())(ei.current,!0),window.onload=function(){Nr.current.inject("applet_container")}},[]);const Qn=()=>{var yr=window.ggbApplet.getPNGBase64(1,!0,72);return rr&&rr(yr),yr};return(0,ye.useEffect)(()=>{ei.current.appName=lr?"3D":"graphing",Nr.current.inject("applet_container")},[lr]),(0,ye.useEffect)(()=>{_r(Qt)},[Qt]),(0,ye.useImperativeHandle)(an,()=>({getImgData:Qn})),ye.createElement(ye.Fragment,null,ye.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:gn}),ye.createElement(ut.Z,{align:"middle"},ye.createElement(ke.Z,{flex:1},ye.createElement(kt.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:lr,onChange:yr=>_r(yr)})),ye.createElement(ke.Z,null,ye.createElement(Se.ZP,{size:"large",onClick:Qn,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),Kt=be(41588),$t=be(8591);const An="link",vn="upload-image",Fn="add-flowchart",Yn="draw-image",xr="add-flowchart",Tn="code-block",On="add-table",fn="------------",_n={default:fn,left:`:${fn}`,center:`:${fn}:`,right:`${fn}:`};var zn=be(58856);function Ir(){}let Pr=0;const Tr=1e4,Fr="\u2581",Lr="@\u2581\u2581@",Kr="@\u2581@",Gr=` **\u6A21\u677F\u6807\u9898** \u6A21\u677F\u6B63\u6587\u5185\u5BB9\uFF0C\u53EF\u8F93\u5165\u6587\u672C\u5185\u5BB9\u548C\u7C98\u8D34\u56FE\u7247\u7B49\u64CD\u4F5C`,zr=["pptm","pptx","ppt","pot","pps","ppa","potx","ppsx","ppam","pptm","potm","ppsm","doc","docx","dot","dotx","docm","dotm","xls","xlsx","csv","xlt","xla","xltx","xlsm","xltm","xlam","xlsb"];function yi(Qt){return/^\d+$/.test(Qt)?`${Qt}px`:Qt}const Mi=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",Li={[Mi+"-B"]:"bold",[Mi+"-I"]:"italic"},qn={[An]:"\u6DFB\u52A0\u94FE\u63A5",[Tn]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[vn]:"\u6DFB\u52A0\u56FE\u7247",[Yn]:"\u6DFB\u52A0\u753B\u56FE",[Fn]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[On]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var Er=({defaultValue:Qt="",onChange:tn,width:cn="100%",height:rr=400,miniToolbar:bn=!1,isFocus:an=!1,watch:gn,insertTemp:Nr,mode:lr="markdown",id:_r="markdown-editor-id",showResizeBar:ei=!1,noStorage:Qn=!1,showNullButton:yr=!1,showNullProgramButton:oi=!1,hidetoolBar:Xn=!1,fullScreen:Mr=!1,onBlur:Sr,onCMBeforeChange:ci,onFullScreen:Ci,className:Ni="",disablePaste:na=!1,disabled:Qi=!1,disabledFill:Ii=!1,placeholder:xi="",values:or="",extraUse:ga})=>{const[ar,$i]=(0,ye.useState)(null),[no,Ki]=(0,ye.useState)(Qt),[ki,Cr]=(0,ye.useState)(gn),[qr,Fi]=(0,ye.useState)(Mr),[Wr,Pa]=(0,ye.useState)(""),[pa,Ka]=(0,ye.useState)(0),[Ao,Ei]=(0,ye.useState)(rr),[cs,fr]=(0,ye.useState)(!1),[Di,aa]=(0,ye.useState)(0),[tr,Hr]=(0,ye.useState)(0),fi=(0,ye.useRef)(),bi=(0,ye.useRef)(),Ca=(0,ye.useRef)(),Ti=(0,ye.useRef)();(0,ye.useEffect)(()=>{const cr=window.scrollY||window.pageYOffset;Ki(or),ar==null||ar.setValue(or),window.scrollTo(0,cr)},[or]),(0,ye.useEffect)(()=>{Ci==null||Ci(qr)},[qr]),(0,ye.useEffect)(()=>{if(fi.current){let cr=function(dr,sr){var Ur;if(na){sr.preventDefault();return}const jr=sr.clipboardData;if(jr){const Jr=jr.types.toString(),Gn=jr.items;if(Jr==="Files"||jr.types.indexOf("Files")>-1){if(sr.preventDefault(),lr=="stex")return;try{let ni=Gn[1];((Ur=Gn[0])==null?void 0:Ur.kind)==="file"&&(ni=Gn[0]);const Ai=ni.getAsFile(),Hi=Ai.name.split(".").pop();(0,lt.I)(Ai,hi=>{var ri,xa,ka;hi.id?((ri=Ai==null?void 0:Ai.type)==null?void 0:ri.indexOf("image"))>-1?Ar.replaceSelection(``):((xa=Ai==null?void 0:Ai.type)==null?void 0:xa.indexOf("video"))>-1?Ar.replaceSelection(``):((ka=Ai==null?void 0:Ai.type)==null?void 0:ka.indexOf("pdf"))>-1?Ar.replaceSelection(`
${Ai.name}`):zr.includes(Hi)?Ar.replaceSelection(`${Ai.name}`):Ar.replaceSelection(`[${Ai.name}](/api/attachments/${hi.id}?type=${hi.content_type})`):(hi==null?void 0:hi.status)===401&&(document.location.href="/user/login")})}catch(ni){$t.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const Ar=E().fromTextArea(fi.current,{mode:lr,lineNumbers:!bn,lineWrapping:!0,value:Qt,autoCloseTags:!0,autoCloseBrackets:!0});return Ar.on("keyup",function(dr,sr){sr.keyCode===8&&(dr.getValue()==""?Ar.setOption("placeholder",xi):Ar.setOption("placeholder",null))}),Ar.on("keydown",function(dr,sr){if(sr.keyCode===8){var Ur=Sa(dr);Ur&&sr.preventDefault()}}),an&&Ar.focus(),Ar.on("paste",cr),Qi&&Ar.on("beforeChange",function(dr,sr){(sr.origin==="paste"||sr.origin==="+input")&&sr.cancel()}),$i(Ar),()=>{Ar.off("paste",cr)}}},[]);const va=(0,ye.useCallback)(()=>{if(bi.current)try{}catch(cr){console.log(cr,"---- to set md editor body height")}},[Ao,bi,qr]);(0,ye.useEffect)(()=>{function cr(){let Ar=new ge.Z(dr=>{for(let sr of dr)(sr.target.offsetHeight>0||sr.target.offsetWidth>0)&&(va(),ar.setSize("100%","100%"),ar.refresh())});return Ar.observe(fi.current.parentElement),Ar}if(ar){const Ar=cr();return()=>{var dr,sr;(dr=fi.current)!=null&&dr.parentElement&&Ar.unobserve((sr=fi.current)==null?void 0:sr.parentElement)}}},[ar,va]),(0,ye.useEffect)(()=>{if(ar){let cr=[];for(const[Ar,dr]of Object.entries(Li)){let sr={[Ar]:()=>{oa(dr)}};cr.push(sr),ar.addKeyMap(sr)}return()=>{for(let Ar of cr)ar.removeKeyMap(Ar)}}},[ar]),(0,ye.useEffect)(()=>{Mr!==qr&&Fi(Mr)},[Mr]),(0,zn.Z)(()=>{if(!Qn&&pa>0){let cr=new Date().getTime(),Ar=window.sessionStorage.getItem(_r);cr>=pa+Tr&&(!Ar||Ar!==no)&&(window.sessionStorage.setItem(_r,no),fr(!0))}},Tr),(0,ye.useEffect)(()=>{Cr(gn)},[ar,gn]),(0,ye.useEffect)(()=>{ar&&an&&ar.focus()},[ar,an]),(0,ye.useEffect)(()=>{if(ki&&ar){let cr=function(dr){let sr=dr.target;if(Ti.current){let Ur=sr.scrollTop/sr.scrollHeight;Ti.current.scrollTop=Ti.current.scrollHeight*Ur}};const Ar=ar.getScrollerElement();return Ar.addEventListener("scroll",cr),()=>{Ar.removeEventListener("scroll",cr)}}},[ar,ki]),(0,ye.useEffect)(()=>{if(ar&&ci){let cr=function(Ar,dr){ci(Ar,dr)};return ar.on("beforeChange",cr),()=>{ar.off("beforeChange",cr)}}},[ar,ci]),(0,ye.useEffect)(()=>{if(ar&&Sr){let cr=function(){Sr(ar.getValue())};return ar.on("blur",cr),()=>{ar.off("blur",cr)}}},[ar,Sr]);function Sa(cr,Ar){var dr=cr.getDoc(),sr=dr.getCursor(),Ur=dr.getLine(sr.line),jr=Ur.charAt(sr.ch-1),Jr=Ur.lastIndexOf("@\u2581@",sr.ch),Gn=Ur.lastIndexOf("@\u2581\u2581@",sr.ch),ni=Jr>Gn?Jr:Gn,Ai=Jr>Gn?3:4;if(Lr.indexOf(jr)===-1)return null;if(console.log("change1:",Ar,cr,Ur,sr,ni,Jr,Gn,jr),ni>=0&&sr.ch-ni<5){var Hi=ni+Ai;return dr.replaceRange("",{line:sr.line,ch:ni},{line:sr.line,ch:Hi}),{line:sr.line,ch:Hi}}return null}(0,ye.useEffect)(()=>{if(ar){let cr=function(Ar,dr){const sr=Ar.getValue();Ki(sr),Ka(new Date().getTime()),Ar.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),tn&&(oi?tn(sr,Fs(sr)):tn(sr))};return ar.on("change",cr),()=>{ar.off("change",cr)}}},[ar,tn]),(0,ye.useEffect)(()=>{if(ar)if(Qt==null)ar.setValue(""),Ki("");else{const cr=window.scrollY||window.pageYOffset;Qt!==ar.getValue()&&(ar.setValue(Qt),Ki(Qt),ar.setCursor(Qi?1:ar.lineCount(),0),window.scrollTo(0,cr))}},[ar,Qt]);const oa=(0,ye.useCallback)(cr=>{const Ar=ar.getCursor(),dr=ar.getSelection();let sr=dr.split(` `);switch(cr){case"bold":return ar.replaceSelection("**"+dr+"**"),dr===""&&ar.setCursor(Ar.line,Ar.ch+2),ar.focus();case"italic":return ar.replaceSelection("*"+dr+"*"),dr===""&&ar.setCursor(Ar.line,Ar.ch+1),ar.focus();case"code":return ar.replaceSelection("`"+dr+"`"),dr===""&&ar.setCursor(Ar.line,Ar.ch+1),ar.focus();case"inline-latex":return Pa("inline-latex"),ar.focus();case"latex":return ar.replaceSelection("```latex\n"+dr+"\n```"),ar.setCursor(Ar.line+1,dr.length+1),ar.focus();case"line-break":return ar.replaceSelection(`
`),ar.focus();case"list-ul":return dr===""?ar.replaceSelection("- "+dr):ar.replaceSelection(sr.map(Ur=>Ur===""?"":`- ${Ur}`).join(` `)),ar.focus();case"list-ol":return dr===""?ar.replaceSelection("1. "+dr):ar.replaceSelection(sr.map((Ur,jr)=>Ur===""?"":`${jr+1}. ${Ur}`).join(` `)),ar.focus();case"add-null-ch":return dr===""&&ar.setCursor(Ar.line,Ar.ch),ar.replaceSelection(Fr),ar.focus();case"add-signal":return dr===""&&ar.setCursor(Ar.line,Ar.ch),ar.replaceSelection(Kr),ar.focus();case"add-multiple":return dr===""&&ar.setCursor(Ar.line,Ar.ch),ar.replaceSelection(Lr),ar.focus();case"inster-template-1":return dr===""&&ar.setCursor(Ar.line,Ar.ch),ar.replaceSelection(Gr),ar.focus();case"eraser":return ar.setValue(""),ar.focus();case"trigger-watch":return Cr(!ki),ar.focus();case"trigger-full-screen":return Fi(!qr),ar.focus();case An:Pa(An);return;case Tn:Pa(Tn);return;case vn:Pa(vn);return;case Yn:Pa(Yn);return;case"maths-latex":Pa("maths-latex");return;case Fn:Pa(Fn);return;case On:Pa(On);return;default:throw new Error}},[ar,ki,qr]),ea=(0,ye.useCallback)((cr,Ar)=>{var dr,sr,Ur,jr,Jr,Gn;switch(Pa(""),Wr){case An:const{title:ri,link:xa}=cr;return ar.replaceSelection(`[${ri}](${xa})`),ar.focus();case Tn:const{language:ka,content:Oo}=cr;return ar.replaceSelection(["```"+ka,Oo,"```"].join(` `)),ar.focus();case"maths-latex":for(var ni=atob(cr),Ai=new Uint8Array(ni.length),Hi=0;Hi{Va.id?ar.replaceSelection(`![,](/api/attachments/${Va.id}?type=${Va.content_type})`):(Va==null?void 0:Va.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":ar.replaceSelection("`$$"+cr+"$$`");break;case vn:case Yn:case xr:const{src:Zi,alt:yo}=cr,Ea=Ar,Gi=(Ur=(sr=(dr=Ea==null?void 0:Ea.name)==null?void 0:dr.split("."))==null?void 0:sr.pop)==null?void 0:Ur.call(sr);return((jr=Ea==null?void 0:Ea.type)==null?void 0:jr.indexOf("image"))>-1||!(Ea!=null&&Ea.type)?Ea!=null&&Ea.align||Ea!=null&&Ea.width?ar.replaceSelection(`

${yo||

`):ar.replaceSelection(`${yo||`):((Jr=Ea==null?void 0:Ea.type)==null?void 0:Jr.indexOf("video"))>-1?ar.replaceSelection(``):((Gn=Ea==null?void 0:Ea.type)==null?void 0:Gn.indexOf("pdf"))>-1?ar.replaceSelection(`${Ea.name}`):zr.includes(Gi)?ar.replaceSelection(`${Ea.name}`):ar.replaceSelection(`[${Ea.name}](${Zi})`),ar.focus();case On:const{row:Ji,col:ra,align:Wi}=cr;let ho=` `;for(let Va=0;Va{switch(Wr){case An:return ye.createElement(st,{callback:ea,onCancel:Qa});case Tn:return ye.createElement(At.Z,{callback:ea,onCancel:Qa});case vn:return ye.createElement(lt.Z,{callback:ea,onCancel:Qa});case Fn:return ye.createElement(Ne,{callback:ea,onCancel:Qa});case On:return ye.createElement(Bt,{callback:ea,onCancel:Qa});case"maths-latex":return ye.createElement(Jt,{showSaveButton:!0,callback:ea});case"inline-latex":return ye.createElement(Kt.Z,{showSaveButton:!0,callback:ea});default:return null}},[Wr]);function Qa(){Pa("")}(0,ye.useEffect)(()=>{if(Ca.current){let cr=function(Jr){Ur=!0,jr=Jr.pageY},Ar=function(){Ur=!1},dr=function(Jr){if(Ur){let Gn=Jr.pageY-jr;Gn<0&&(Gn=0),Gn>300&&(Gn=300);let ni=rr+Gn+"px";Ei(ni)}},sr=Ca.current,Ur=!1,jr=0;return sr.addEventListener("mousedown",cr),document.addEventListener("mousemove",dr),document.addEventListener("mouseup",Ar),()=>{sr.removeEventListener("mousedown",cr),document.removeEventListener("mousemove",dr),document.removeEventListener("mouseup",Ar)}}},[ar,Ca]),(0,ye.useEffect)(()=>{Ei(rr)},[rr]);const Ba=yi(cn),Ja=yi(Ao),ao={width:Ba,height:Ja},As=(0,ye.useMemo)(()=>{if(pa){let cr=new Date(pa),Ar=cr.getHours(),dr=cr.getMinutes(),sr=cr.getSeconds();return Ar=Ar<10?"0"+Ar:Ar,dr=dr<10?"0"+dr:dr,sr=sr<10?"0"+sr:sr,`${Ar}:${dr}:${sr}`}return 0},[pa]),Fs=cr=>{const Ar=[];if(oi){let dr=-1;cr=cr.replace(/(@▁▁@|@▁@)/g,function(sr,Ur,jr){Ar.push({multiLine:sr!==Kr})})}return Ar};function wl(){window.sessionStorage.removeItem(_r),fr(!1),Ka(0)}function pn(){fr(!1),Ka(0),ar.setValue(window.sessionStorage.getItem(_r))}(0,ye.useEffect)(()=>{qn[Wr]&&Wr!==Yn&&Wr!==Fn&&setTimeout(()=>{const cr=document.getElementsByClassName("markdown-popup-form")[0],Ar=window.innerWidth/2-cr.offsetWidth/2,dr=window.innerHeight/2-cr.offsetHeight/2;aa(Ar),Hr(dr)},0)},[Wr]);const Wn=cr=>{cr.preventDefault();const Ar=cr.clientX-Di,dr=cr.clientY-tr;document.body.onmousemove=sr=>{let Ur=sr.clientX-Ar,jr=sr.clientY-dr;const Jr=document.getElementsByClassName("markdown-popup-form")[0],Gn=window.innerWidth-Jr.offsetWidth,ni=window.innerHeight-Jr.offsetHeight;Ur=Math.max(0,Math.min(Ur,Gn)),jr=Math.max(0,Math.min(jr,ni)),Dr(sr.clientX,sr.clientY,Ar,dr)&&(aa(Ur),Hr(jr))},document.body.onmouseup=function(){document.body.onmousemove=null}},Dr=(cr,Ar,dr,sr)=>{const Ur=document.body.clientHeight,jr=document.body.clientWidth;return cr<20&&dr>cr||cr>jr-20&&drAr||Ar>Ur-20&&srme in ve?oe(ve,me,{enumerable:!0,configurable:!0,writable:!0,value:Ee}):ve[me]=Ee,b=(ve,me)=>{for(var Ee in me||(me={}))a.call(me,Ee)&&x(ve,Ee,me[Ee]);if(z)for(var Ee of z(me))y.call(me,Ee)&&x(ve,Ee,me[Ee]);return ve},te=(ve,me)=>re(ve,ne(me));const{useForm:ee}=ye.default,ce={width:280,marginRight:10},fe={labelCol:{span:5},wrapperCol:{span:19}};var he=({callback:ve,onCancel:me})=>{const[Ee]=ee();let Se=(0,se.useRef)();function Te(xe){Se.current.width=Ee.getFieldValue("width"),Se.current.align=Ee.getFieldValue("align"),ve(xe,Se.current)}function we(xe,Oe){if(xe.status===-1){Je.ZP.error(xe.message);return}Ee.setFieldsValue({src:`/api/attachments/${xe.id}`,type:Oe.type})}function je(xe){let Oe=xe.target.files[0];Se.current=Oe,pe(Oe,we)}return ae.createElement(ye.default,te(b({form:Ee},fe),{className:"upload-image-panel",onFinish:Te,style:{width:470,overflow:"hidden"}}),ae.createElement(ye.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},ae.createElement("div",{className:"flex-container"},ae.createElement(ye.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u56FE\u7247\u5730\u5740"}]},ae.createElement(E.default,{style:ce})),ae.createElement(de,{onFileChange:je}))),ae.createElement(ye.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},ae.createElement(E.default,{style:{width:264}})),ae.createElement(ye.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},ae.createElement(ge.Z,null,ae.createElement(ye.default.Item,{name:"width",style:{margin:0}},ae.createElement(Ae.Z,{style:{width:264}})),ae.createElement("span",{className:"ml8"},"%"))),ae.createElement(ye.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},ae.createElement(ue.ZP.Group,{name:"align",defaultValue:1,options:[{value:"left",label:"\u5DE6\u5BF9\u9F50"},{value:"center",label:"\u5C45\u4E2D\u5BF9\u9F50"},{value:"right",label:"\u53F3\u5BF9\u9F50"}]})),ae.createElement("aside",null,ae.createElement(ye.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},ae.createElement(le.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ae.createElement(le.ZP,{type:"default",onClick:me},"\u53D6\u6D88"))))};function de({onFileChange:ve}){return ae.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",ae.createElement("input",{type:"file",onChange:ve}))}function pe(ve,me){if(!ve)throw new String("\u6CA1\u6709\u6587\u4EF6");let Ee=new FormData;Ee.append("editormd-image-file",ve),Ee.append("file_param_name","editormd-image-file"),Ee.append("byxhr","true");var Se=new window.XMLHttpRequest;Se.withCredentials=!0,Se.addEventListener("load",function(Te){me(JSON.parse(Te.target.responseText),ve)},!1),Se.addEventListener("error",function(Te){console.error(Te)},!1),Se.open("POST",`${ie.KI}/api/attachments.json`),Se.send(Ee)}},79346:function(en,zt,be){"use strict";be.d(zt,{Z:function(){return E}});var ye=be(59301),Je=be(4676);class E extends ye.Component{constructor(Ae){super(Ae);const ue=window.document;this.node=ue.createElement("div"),ue.body.appendChild(this.node)}render(){const{children:Ae}=this.props;return(0,Je.createPortal)(Ae,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},23954:function(en,zt,be){"use strict";be.d(zt,{SV:function(){return Ue},ZP:function(){return Ye}});var ye=be(59301),Je=be(76374);const E={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"]},ge={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"]},Ae={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(` `)}]},ue={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(` `)}]},le={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 ie=be(53184),se=be.n(ie),ae=Object.defineProperty,oe=Object.defineProperties,re=Object.getOwnPropertyDescriptors,ne=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,y=(Le,Ne,nt)=>Ne in Le?ae(Le,Ne,{enumerable:!0,configurable:!0,writable:!0,value:nt}):Le[Ne]=nt,x=(Le,Ne)=>{for(var nt in Ne||(Ne={}))z.call(Ne,nt)&&y(Le,nt,Ne[nt]);if(ne)for(var nt of ne(Ne))a.call(Ne,nt)&&y(Le,nt,Ne[nt]);return Le},b=(Le,Ne)=>oe(Le,re(Ne)),te=(Le,Ne,nt)=>new Promise((ct,St)=>{var wt=pt=>{try{kt(nt.next(pt))}catch(Ft){St(Ft)}},Bt=pt=>{try{kt(nt.throw(pt))}catch(Ft){St(Ft)}},kt=pt=>pt.done?ct(pt.value):Promise.resolve(pt.value).then(wt,Bt);kt((nt=nt.apply(Le,Ne)).next())});const ee={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"]}},ce=(Le,Ne)=>Ne.map(nt=>({label:nt,kind:Le.languages.CompletionItemKind.Keyword,insertText:nt})),fe=Le=>Object.keys(ee.tables).map(Ne=>({label:Ne,kind:Le.languages.CompletionItemKind.Variable,insertText:Ne})),he=(Le,Ne)=>{const nt=ee.tables[Le];return nt?nt.map(ct=>({label:ct,kind:Ne.languages.CompletionItemKind.Field,insertText:ct})):[]};function de(Le,Ne,nt,ct,St){let wt=Ne.getWordUntilPosition(nt),Bt={startLineNumber:nt.lineNumber,endLineNumber:nt.lineNumber,startColumn:wt.startColumn,endColumn:wt.endColumn},kt=ct.map(pt=>({label:pt,kind:Le.languages.CompletionItemKind.Keyword,insertText:pt,insertTextRules:Le.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Bt}));return St.map(pt=>{kt.push(b(x({},pt),{range:Bt}))}),kt}var pe=Le=>{ee.languages.map(St=>(Le.languages.registerDocumentFormattingEditProvider(St,{provideDocumentFormattingEdits(wt,Bt,kt){return te(this,null,function*(){const pt=se()(wt.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:wt.getFullModelRange(),text:pt}]})}}),St));const Ne=Ae.quickKey.map(St=>({label:St.label,kind:Le.languages.CompletionItemKind.Method,insertText:St.content,insertTextRules:Le.languages.CompletionItemInsertTextRule.InsertAsSnippet})),nt=ue.quickKey.map(St=>({label:St.label,kind:Le.languages.CompletionItemKind.Method,insertText:St.content,insertTextRules:Le.languages.CompletionItemInsertTextRule.InsertAsSnippet})),ct=ge.quickKey.map(St=>({label:St.label,kind:Le.languages.CompletionItemKind.Method,insertText:St.content,insertTextRules:Le.languages.CompletionItemInsertTextRule.InsertAsSnippet}));Le.languages.registerCompletionItemProvider("cpp",{provideCompletionItems:function(St,wt){var Bt=St.getWordUntilPosition(wt),kt={startLineNumber:wt.lineNumber,endLineNumber:wt.lineNumber,startColumn:Bt.startColumn,endColumn:Bt.endColumn},pt=St.getLineContent(wt.lineNumber).substring(Bt.startColumn-2,Bt.endColumn);return{suggestions:[...Ae.keywords.map(Ft=>({label:Ft,kind:Le.languages.CompletionItemKind.Function,documentation:Ft,insertText:Ft,insertTextRules:Le.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:kt})),...Ae.quickKey.map(Ft=>({label:Ft.label,kind:Le.languages.CompletionItemKind.Function,documentation:Ft.content,insertText:pt.startsWith("#")?Ft.content.replace(/#/,""):Ft.content,insertTextRules:Le.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:kt}))]}}}),Le.languages.registerCompletionItemProvider("c",{provideCompletionItems:function(St,wt){var Bt=St.getWordUntilPosition(wt),kt={startLineNumber:wt.lineNumber,endLineNumber:wt.lineNumber,startColumn:Bt.startColumn,endColumn:Bt.endColumn};return{suggestions:[...E.keywords.map(pt=>({label:pt,kind:Le.languages.CompletionItemKind.Function,documentation:pt,insertText:pt,insertTextRules:Le.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:kt}))]}}}),Le.languages.registerCompletionItemProvider("java",{provideCompletionItems:function(St,wt){var Bt=St.getWordUntilPosition(wt),kt={startLineNumber:wt.lineNumber,endLineNumber:wt.lineNumber,startColumn:Bt.startColumn,endColumn:Bt.endColumn},pt=St.getLineContent(wt.lineNumber).substring(Bt.startColumn-2,Bt.endColumn);return{suggestions:[...ge.keywords.map(Ft=>({label:Ft,kind:Le.languages.CompletionItemKind.Function,documentation:Ft,insertText:Ft,insertTextRules:Le.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:kt})),...ge.quickKey.map(Ft=>({label:Ft.label,kind:Le.languages.CompletionItemKind.Function,documentation:Ft.content,insertText:pt.startsWith("#")?Ft.content.replace(/#/,""):Ft.content,insertTextRules:Le.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:kt}))]}}}),Le.languages.registerCompletionItemProvider("scala",{provideCompletionItems:function(St,wt){var Bt=St.getWordUntilPosition(wt),kt={startLineNumber:wt.lineNumber,endLineNumber:wt.lineNumber,startColumn:Bt.startColumn,endColumn:Bt.endColumn},pt=St.getLineContent(wt.lineNumber).substring(Bt.startColumn-2,Bt.endColumn);return{suggestions:[...le.keywords.map(Ft=>({label:Ft,kind:Le.languages.CompletionItemKind.Function,documentation:Ft,insertText:Ft,insertTextRules:Le.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:kt})),...le.quickKey.map(Ft=>({label:Ft.label,kind:Le.languages.CompletionItemKind.Function,documentation:Ft.content,insertText:pt.startsWith("#")?Ft.content.replace(/#/,""):Ft.content,insertTextRules:Le.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:kt}))]}}}),Le.languages.registerCompletionItemProvider("python",{provideCompletionItems:function(St,wt){var Bt=St.getWordUntilPosition(wt),kt={startLineNumber:wt.lineNumber,endLineNumber:wt.lineNumber,startColumn:Bt.startColumn,endColumn:Bt.endColumn},pt=St.getLineContent(wt.lineNumber).substring(Bt.startColumn-2,Bt.endColumn);return{suggestions:[...ue.keywords.map(Ft=>({label:Ft,kind:Le.languages.CompletionItemKind.Function,documentation:Ft,insertText:Ft,insertTextRules:Le.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:kt})),...ue.quickKey.map(Ft=>({label:Ft.label,kind:Le.languages.CompletionItemKind.Function,documentation:Ft.content,insertText:pt.startsWith("#")?Ft.content.replace(/#/,""):Ft.content,insertTextRules:Le.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:kt}))]}}})};const ve="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002";var me=Object.defineProperty,Ee=(Le,Ne,nt)=>Ne in Le?me(Le,Ne,{enumerable:!0,configurable:!0,writable:!0,value:nt}):Le[Ne]=nt,Se=(Le,Ne,nt)=>Ee(Le,typeof Ne!="symbol"?Ne+"":Ne,nt);const Te=class zf{constructor(Ne,nt,ct){this.placeholder=Ne,this.editor=nt,this.monaco=ct,nt.onDidChangeModelContent(()=>this.onDidChangeModelContent()),this.onDidChangeModelContent()}onDidChangeModelContent(){this.editor.getValue()===""?this.editor.addContentWidget(this):this.editor.removeContentWidget(this)}getId(){return zf.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)}};Se(Te,"ID","editor.widget.placeholderHint");var je=Te,xe=be(96236),Oe=be(8591),ze=be(6848),Ze=be(89392),Me=be(34604),tt=be(56102),qe=Object.defineProperty,st=Object.defineProperties,At=Object.getOwnPropertyDescriptors,lt=Object.getOwnPropertySymbols,at=Object.prototype.hasOwnProperty,ut=Object.prototype.propertyIsEnumerable,ft=(Le,Ne,nt)=>Ne in Le?qe(Le,Ne,{enumerable:!0,configurable:!0,writable:!0,value:nt}):Le[Ne]=nt,bt=(Le,Ne)=>{for(var nt in Ne||(Ne={}))at.call(Ne,nt)&&ft(Le,nt,Ne[nt]);if(lt)for(var nt of lt(Ne))ut.call(Ne,nt)&&ft(Le,nt,Ne[nt]);return Le},Lt=(Le,Ne)=>st(Le,At(Ne)),gt=(Le,Ne)=>{var nt={};for(var ct in Le)at.call(Le,ct)&&Ne.indexOf(ct)<0&&(nt[ct]=Le[ct]);if(Le!=null&<)for(var ct of lt(Le))Ne.indexOf(ct)<0&&ut.call(Le,ct)&&(nt[ct]=Le[ct]);return nt},ht=(Le,Ne,nt)=>new Promise((ct,St)=>{var wt=pt=>{try{kt(nt.next(pt))}catch(Ft){St(Ft)}},Bt=pt=>{try{kt(nt.throw(pt))}catch(Ft){St(Ft)}},kt=pt=>pt.done?ct(pt.value):Promise.resolve(pt.value).then(wt,Bt);kt((nt=nt.apply(Le,Ne)).next())});function $e(Le){return/^\d+$/.test(Le)?`${Le}px`:Le}function Pe(){}let ke=!1;const Ve={"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 Qe(Le=[]){let Ne=Le;if(Array.isArray(Le)){for(let nt=0;nt{var Ne=Le,{width:nt="100%",height:ct="100%",value:St,language:wt="javascript",style:Bt={},options:kt={},overrideServices:pt={},theme:Ft="vs-dark",onEditBlur:It,isCopy:Jt=!1,onSave:Kt,autoHeight:$t=!1,forbidCopy:An=!1,onChange:vn=Pe,editorDidMount:Fn=Pe,onFocus:Yn=Pe,onBreakPoint:xr=Pe,breakPointValue:Tn=[],filename:On="educoder.txt",errorLine:fn,errorContent:_n="",highlightLine:zn,openBreakPoint:Ir=!1,placeholder:Pr=""}=Ne,Tr=gt(Ne,["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 Fr=(0,ye.useRef)(),Lr=(0,ye.useRef)({}),Kr=(0,ye.useRef)(),Gr=(0,ye.useRef)(),zr=(0,ye.useRef)([]),yi=(0,ye.useRef)(!1),fa=(0,ye.useRef)(),Mi=(0,ye.useRef)(),Li=(0,ye.useRef)(!1),[qn,Er]=(0,ye.useState)(!1);function Qt(){let Mr;return Fr.current&&(Mr=new Je.Z(Sr=>{for(let ci of Sr)(ci.target.offsetHeight>0||ci.target.offsetWidth>0)&&Lr.current.instance.layout()}),Mr.observe(Fr.current)),Mr}function tn(){Oe.ZP.warning({content:decodeURIComponent(ve),key:"monaco-editor-tip"})}const cn=()=>{let Mr=Lr.current.instance;if(St!=null&&Mr&&qn){const Sr=Mr.getModel();Sr&&St!==Sr.getValue()&&(ke=!0,Sr.setValue(St),Mr.layout(),ke=!1)}};(0,ye.useEffect)(()=>{const Mr=Me.Z.subscribe("formatDocument",Sr=>{var ci;let Ci=Lr.current.instance;(ci=Ci==null?void 0:Ci.getAction)==null||ci.call(Ci,"editor.action.formatDocument").run()});return window.updateMonacoValue=Sr=>{vn(Sr)},Mr},[]),(0,ye.useEffect)(()=>{var Mr;let Sr=Lr.current.instance;Gr.current&&clearTimeout(Gr.current),Gr.current=setTimeout(()=>{cn()},500),St&&(St!=null&&St.length)&&((Mr=Sr==null?void 0:Sr.updateOptions)==null||Mr.call(Sr,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(St.split(/\r\n|\r|\n/g).length))+3,5)}))},[St,qn,Lr.current]),(0,ye.useEffect)(()=>{if(fn&&Lr.current&&Lr.current.instance){let Sr=Lr.current.instance;Sr.changeViewZones(function(ci){var Ci=document.createElement("div");Ci.style.padding="10px 20px",Ci.style.width="calc(100% - 20px)",Ci.className="my-error-line-wrp",Ci.innerHTML=_n,ci.addZone({afterLineNumber:fn||11,heightInLines:3,domNode:Ci})});var Mr={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}};Sr.addOverlayWidget(Mr),Sr.revealPositionInCenter({lineNumber:20,column:1})}},[fn,Lr.current,qn]);const rr=(Mr="",Sr)=>{if(!Mr||Mr.trim()==="")return!0;const Ci=Lr.current.instance.getModel().getLineTokens(Sr);let Ni=!1;for(let na=0;na<2;na++)Ci.getStandardTokenType(na)===1&&(Ni=!0);return Ni};(0,ye.useEffect)(()=>{var Mr;const Sr=(Mr=Lr.current)==null?void 0:Mr.instance;if(Sr&&qn&&An){const ci=Sr.onDidBlurEditorWidget(()=>{Li.current=!1}),Ci=Sr.onDidFocusEditorText(()=>{Li.current=!0});return()=>{ci.dispose(),Ci.dispose()}}},[Lr.current,qn,An]),(0,ye.useEffect)(()=>{var Mr;if((Mr=Lr.current)!=null&&Mr.instance&&qn&&Ir){let Sr=Lr.current.instance,ci=Sr.getModel();if(!ci)return;(()=>{var Ki;let ki=[],Cr=[];const qr=ci.getAllDecorations();for(let Wr of qr)Wr.options.className==="highlighted-line"&&(ki.push((Ki=Wr==null?void 0:Wr.range)==null?void 0:Ki.startLineNumber),Cr.push(Wr==null?void 0:Wr.id));if(zn===ki[0])return;ci.deltaDecorations(Cr,[]);const Fi=ci.getLineCount();zn&&zn<=Fi&&(Sr.deltaDecorations([],[{range:new De.Range(zn,1,zn,ci.getLineMaxColumn(zn)),options:{isWholeLine:!0,className:"highlighted-line"}}]),Sr.revealLineInCenter(zn))})();const Ni=(Ki=!1)=>{var ki;let Cr=[],qr=[];const Fi=ci.getAllDecorations();for(let Wr of Fi)Wr.options.linesDecorationsClassName==="breakpoints-select"&&(Cr.push((ki=Wr==null?void 0:Wr.range)==null?void 0:ki.startLineNumber),qr.push(Wr==null?void 0:Wr.id));if(Ki)return{lines:Cr,ids:qr};xr(Cr)},na=Ki=>ht(void 0,null,function*(){let ki={range:new De.Range(Ki,1,Ki,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield ci.deltaDecorations([],[ki]),Ni()}),Qi=Ki=>ht(void 0,null,function*(){let ki=[];const Cr=Sr.getLineDecorations(Ki);for(let qr of Cr)qr.options.linesDecorationsClassName==="breakpoints-select"&&ki.push(qr.id);yield ci.deltaDecorations(ki,[]),Ni()}),Ii=Ki=>{let ki=Sr.getLineDecorations(Ki);for(let Cr of ki)if(Cr.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,Ze.isEqual)(Tn,Ni(!0).lines)){ci.deltaDecorations(Ni(!0).ids,[]);const Ki=Tn.map(ki=>({range:new De.Range(ki,1,ki,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));ci.deltaDecorations([],Ki)}const xi=Sr.onDidChangeModelContent(Ki=>{let ki=Sr.getPosition();if(ki){let Cr=ki.lineNumber;clearTimeout(Mi.current),Mi.current=setTimeout(()=>{rr(ci.getLineContent(Cr),Cr)?Qi(Cr):Ii(Cr)?(Qi(Cr),na(Cr)):Ni()},100)}}),or=Sr.onMouseDown(Ki=>{var ki,Cr,qr;if(Ki.target.detail&&((qr=(Cr=(ki=Ki.target)==null?void 0:ki.element)==null?void 0:Cr.className)!=null&&qr.includes("line-numbers"))){let Fi=Ki.target.position.lineNumber;if(rr(ci.getLineContent(Fi),Fi))return;Ii(Fi)?Qi(Fi):na(Fi)}}),ga=Ki=>{let ki={range:new De.Range(Ki,1,Ki,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};zr.current=Sr.deltaDecorations(zr.current,[ki])},ar=()=>{zr.current=Sr.deltaDecorations(zr.current,[])},$i=Sr.onMouseMove(Ki=>{var ki,Cr,qr;if(ar(),Ki.target.detail&&((qr=(Cr=(ki=Ki.target)==null?void 0:ki.element)==null?void 0:Cr.className)!=null&&qr.includes("line-numbers"))){let Fi=Ki.target.position.lineNumber;if(rr(ci.getLineContent(Fi),Fi))return;ga(Fi)}}),no=Sr.onMouseLeave(()=>{ar()});return()=>{xi.dispose(),or.dispose(),$i.dispose(),no.dispose()}}},[Lr.current,qn,Tn,zn,Ir,wt]),(0,ye.useEffect)(()=>{var Mr;(Mr=Lr.current)!=null&&Mr.instance&&Ir&&Lr.current.instance.setPosition({lineNumber:0,column:0})},[zn]);function bn(){let Mr=Lr.current.instance;if(Mr){const Sr=Mr.getSelection(),ci=Lr.current.pastePos||{},Ci=new De.Range(ci.startLineNumber||Sr.endLineNumber,ci.startColumn||Sr.endColumn,ci.endLineNumber||Sr.endLineNumber,ci.endColumn||Sr.endColumn);setTimeout(()=>{Mr.executeEdits("",[{range:Ci,text:""}])},300)}}function an(Mr){(window.navigator.platform.match("Mac")?Mr.metaKey:Mr.ctrlKey)&&Mr.keyCode==83&&(Mr.preventDefault(),Kt())}const gn=()=>{if($t&&Lr.current.instance){const Mr=Lr.current.instance.getContentHeight();oi(Mr{if(!Li.current)return;const{keyCode:Sr,ctrlKey:ci,metaKey:Ci,target:Ni,type:na}=Mr;return(na==="paste"||(Sr===67||Sr===86)&&(Ci||ci))&&Ni.nodeName==="TEXTAREA"&&(tn(),Mr.preventDefault()),!1};function _r(Mr,Sr){var ci=window.URL||window.webkitURL||window,Ci=new Blob([Sr]),Ni=document.createElementNS("http://www.w3.org/1999/xhtml","a");Ni.href=ci.createObjectURL(Ci),Ni.download=Mr,Nr(Ni)}(0,ye.useEffect)(()=>{gn()},[gn]),(0,ye.useEffect)(()=>{Fr.current&&!qn&&Promise.all([be.e(8909),be.e(3267)]).then(be.bind(be,71448)).then(Mr=>{try{De=Mr,Lr.current.instance=De.editor.create(Fr.current,{value:St,language:Qe(wt),theme:Ft,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0},pt);const Sr=Lr.current.instance;let Ni=[...xe.BH._menuItems].find(xi=>xi[0]._debugName=="EditorContext")[1],na=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],Qi=(xi,or)=>{var ga,ar;let $i=xi._first;do or.includes((ar=(ga=$i.element)==null?void 0:ga.command)==null?void 0:ar.id)&&xi._remove($i);while($i=$i.next)};if(Fn(Sr,De),setTimeout(()=>{gn(),Lr.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{_r(On||"educoder.txt",Sr.getValue())}})},500),Lr.current.subscription=Sr.onDidChangeModelContent(xi=>{yi.current?clearTimeout(fa.current):(gn(),vn(Sr.getValue(),xi)),fa.current=setTimeout(()=>{yi.current=!1},500)}),window.Monaco||pe(De,Qe(wt)),An&&(Qi(Ni,na),Fr.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",lr),window.removeEventListener("paste",lr),window.addEventListener("keydown",lr),window.addEventListener("paste",lr)),window.Monaco=De,It&&Sr.onDidBlurEditorWidget(()=>{It(Sr.getValue())}),Yn&&Sr.onDidFocusEditorText(()=>{Yn(Sr.getValue())}),An)try{Sr.onDidPaste(xi=>{const or=Sr.getSelection(),ga=Lr.current.pastePos||{},ar=new De.Range(ga.startLineNumber||or.endLineNumber,ga.startColumn||or.endColumn,ga.endLineNumber||or.endLineNumber,ga.endColumn||or.endColumn);Sr.executeEdits("",[{range:xi.range,text:""}])})}catch(xi){}let Ii=Qt();return Pr&&typeof Pr=="string"&&new je(Pr,Sr,De),Er(!0),()=>{const xi=Lr.current.instance;xi.dispose();const or=xi.getModel();or&&or.dispose(),Lr.current.subscription&&Lr.current.subscription.dispose(),Ii.unobserve(Fr.current)}}catch(Sr){}})},[]),(0,ye.useEffect)(()=>{if(Lr.current.instance&&qn)return document.addEventListener("keydown",an,!1),()=>{document.removeEventListener("keydown",an)}},[Kt,qn]),(0,ye.useEffect)(()=>{let Mr=Lr.current.instance;if(Mr&&qn){let Sr=Qe(wt);De.editor.setModelLanguage(Mr.getModel(),Sr)}},[wt,qn]),(0,ye.useEffect)(()=>{Lr.current.instance&&qn&&De.editor.setTheme(Ft)},[Ft,qn]),(0,ye.useEffect)(()=>{let Mr=Lr.current.instance;Kr.current=kt,Mr&&qn&&(Mr.updateOptions(bt({},kt)),setTimeout(()=>{Mr.getModel().updateOptions(bt({},kt))},200))},[JSON.stringify(kt),qn]),(0,ye.useEffect)(()=>{let Mr=Lr.current.instance;Mr&&qn&&Mr.layout()},[nt,ct,qn]);const[ei,Qn]=(0,ye.useState)($e(nt)),[yr,oi]=(0,ye.useState)($e(ct)),Xn=Lt(bt({},Bt),{width:ei,height:yr,position:"relative"});return ye.createElement("div",{className:"my-monaco-editor",ref:Fr,style:Xn},Jt&&ye.createElement(tt.CopyToClipboard,{text:St,onCopy:()=>Oe.ZP.success("\u590D\u5236\u6210\u529F")},ye.createElement(ze.Z,{title:"\u590D\u5236\u4EE3\u7801"},ye.createElement("div",{style:{position:"absolute",top:0,right:10,cursor:"pointer",zIndex:10,color:"#165DFF"}},ye.createElement("i",{className:"iconfont icon-fuzhi8",style:{fontSize:14}})," \u590D\u5236\u4EE3\u7801"))))};function Ue({width:Le="100%",height:Ne="100%",original:nt,modified:ct,language:St,options:wt={}}){const Bt=(0,ye.useRef)(),[kt,pt]=(0,ye.useState)(null);function Ft($t){let An;return Bt.current&&(An=new Je.Z(vn=>{for(let Fn of vn)(Fn.target.offsetHeight>0||Fn.target.offsetWidth>0)&&$t.layout()}),An.observe(Bt.current)),An}(0,ye.useEffect)(()=>(Bt.current&&Promise.all([be.e(8909),be.e(9404)]).then(be.bind(be,2550)).then($t=>{De=$t;const An=De.editor.createDiffEditor(Bt.current,Lt(bt({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},wt),{wordWrap:!0}));pt(An);let vn=Ft(An);return()=>{An.dispose();const Fn=An.getModel();Fn&&Fn.dispose(),vn.unobserve(Bt.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,ye.useEffect)(()=>{kt&&kt.setModel({original:De.editor.createModel(nt,St),modified:De.editor.createModel(ct,St)})},[nt,ct,St,kt]);const It=$e(Le),Jt=$e(Ne),Kt={width:It,height:Jt};return ye.createElement("div",{className:"my-diff-editor",ref:Bt,style:Kt})}},16869:function(en,zt,be){"use strict";var ye=be(38476),Je=be(57809),E=be(78673),ge=be(59301);const Ae=Je.default.Option;zt.Z=({isTheoretical:ue,onFontSizeChange:le,cmFontSize:ie,cmCodeMode:se,autoFormat:ae,onCodeModeChange:oe,onTabToSpace:re,onAutoFormat:ne,formatDocument:z,className:a="",tabToSpace:y,children:x,code_editor:b,challenge:te})=>{const ee={1:"\u7B80\u5355",2:"\u4E2D\u7B49",3:"\u56F0\u96BE"};return ge.createElement("div",{className:`tpi-code-setting ${a}`},ge.createElement("h3",null,"\u4EE3\u7801\u683C\u5F0F"),ge.createElement("section",null,ge.createElement("div",{className:"file-item"},ge.createElement("b",null,"\u663E\u793A\u6A21\u5F0F"),ge.createElement(Je.default,{bordered:!1,size:"small",value:se,onChange:oe},ge.createElement(Ae,{value:"vs"},"\u767D\u8272\u80CC\u666F"),ge.createElement(Ae,{value:"vs-dark"},"\u9ED1\u8272\u80CC\u666F"))),!ue&&ge.createElement(ge.Fragment,null,ge.createElement("div",{className:"file-item"},ge.createElement("b",null,"\u5B57\u4F53\u5927\u5C0F"),ge.createElement(Je.default,{bordered:!1,size:"small",value:ie,onChange:le},ge.createElement(Ae,{value:12},"12px"),ge.createElement(Ae,{value:14},"14px"),ge.createElement(Ae,{value:16},"16px"),ge.createElement(Ae,{value:18},"18px"),ge.createElement(Ae,{value:20},"20px"),ge.createElement(Ae,{value:22},"22px"))),ge.createElement("div",{className:"file-item"},ge.createElement("b",null,"Tab\u8F6C\u6362"),ge.createElement(E.Z,{checked:y,onChange:re})),ge.createElement("div",{className:"file-item",onClick:z},ge.createElement("b",{style:{cursor:"pointer"}},"\u683C\u5F0F\u5316\u4EE3\u7801")))),!ue&&ge.createElement(ge.Fragment,null,ge.createElement("h3",null,"\u5FEB\u6377\u952E"),ge.createElement("section",null,ge.createElement("div",{className:"file-item"},ge.createElement("b",null,"\u4FDD\u5B58\u4EE3\u7801"),ge.createElement("span",null,"Ctrl + S")),ge.createElement("div",{className:"file-item"},ge.createElement("b",null,"\u5524\u51FA\u5FEB\u6377\u952E\u5217\u8868"),ge.createElement("span",null,"F1 / Alt + F1")),ge.createElement("div",{className:"file-item"},ge.createElement("b",null,"\u5DE6\u53F3\u7F29\u8FDB"),ge.createElement("span",null,"Ctrl + ]/[")),ge.createElement("div",{className:"file-item"},ge.createElement("b",null,"\u8DF3\u5230\u5339\u914D\u7684\u62EC\u53F7"),ge.createElement("span",null,"Ctrl + Shift + \\")),ge.createElement("div",{className:"file-item"},ge.createElement("b",null,"\u8F6C\u5230\u884C\u9996"),ge.createElement("span",null,"Home")),ge.createElement("div",{className:"file-item"},ge.createElement("b",null,"\u8F6C\u5230\u884C\u5C3E"),ge.createElement("span",null,"End"))),x),!ue&&ge.createElement(ge.Fragment,null,ge.createElement("h3",null,"\u5FEB\u6377\u952E"),ge.createElement("section",null,ge.createElement("div",{className:"file-item"},ge.createElement("b",null,"\u5B9E\u8BAD\u96BE\u6613\u5EA6"),ge.createElement("span",null,ee[te==null?void 0:te.difficulty])),ge.createElement("div",{className:"file-item"},ge.createElement("b",null,"\u5B9E\u9A8C\u73AF\u5883"),ge.createElement("span",null,b==null?void 0:b.name)),ge.createElement("div",{className:"file-item"},ge.createElement("b",null,"\u5B9E\u9A8C\u5BB9\u5668\u7F51\u7EDC"),ge.createElement("span",null,b!=null&&b.close_internet?"\u5173\u95ED\u5916\u7F51":"\u5F00\u542F\u5916\u7F51")))))}},85057:function(en,zt,be){"use strict";be.d(zt,{jL:function(){return Ae},w9:function(){return at},QD:function(){return vn},cQ:function(){return tt},op:function(){return Ft},O5:function(){return Li},_b:function(){return fn},t7:function(){return b},Gi:function(){return ht},YG:function(){return Lt},qp:function(){return oe},vr:function(){return xr},qE:function(){return Kt},Je:function(){return ce},wb:function(){return xe},cq:function(){return De},tp:function(){return z}});var ye=be(59301),Je={flex_box_center:"flex_box_center___NeSU8",flex_space_between:"flex_space_between___ImTGl",flex_box_vertical_center:"flex_box_vertical_center___BtRd9",flex_box_center_end:"flex_box_center_end___qcLe3",flex_box_column:"flex_box_column___Ze_3q",banner:"banner___PoUBO",content:"content___XoDjy",btns:"btns___Pb35j"},E="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWdxr9zuvvu9+3ZXsxCiNkIQZOwEzMgyADjggsWgzPqOAJaMiCjYiGKqDBQAo4iWGAxA+ooMm7gBhSyhBBRIIBSAQlrHuTt7913t97PmfpOd4cXlLAFGO6rW9237719+/z6+6/nPIHX+XHttddaex38nlW2lLO1svq1wJ4aeFMM9CqFnNKoaYVapDAOicfjGEMKqKk2nrx59Lbt5xx6aPR6DEG8Hj/K3xwY0YtjSx2vYnlspLEsX0BRKUBrINtyX+PZ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8lCI6RldtMcX46ZbDT9V//oJ6fAz4iBI7VMfYp5SBmEFw1uTNcezFcB56YQPv329qHfPXo8n2vF4BX8rsXbdS/WD0L72ZThfA4NrqiLIdlMGSfjtBYn1Nx9HH1wDQ7Nj9v6/zGB3S5HWCvUlFfvWiGWMYFQpQzzXSoAfxlWD1w0X1y33tPEkyy33CPk6/TBx8yF7f05pDjuIrOzuaaVUoExxKT43a5akFCtVys3+Wcwweu1dbHV+LxN3VhPsEx8jANGfOAh4eiL5x0iHPeG47YtAv+9I3xp9f0yIvLDAw6ySIY/ExSnpkqVcels/x/syLgtXHpx9bhlF2CO/tanVuzHHfPqmJVOf0nNdr5SFP7D02Eb/3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",Ae=({dataSource:qn=[],img:Er,imgWidth:Qt=346,title:tn,sunTitle:cn,bannerExtraContent:rr})=>ye.createElement("div",{className:Je.banner},ye.createElement("div",{className:Je.content},ye.createElement("aside",null,ye.createElement("p",null,ye.createElement("b",null,tn),ye.createElement("span",null,cn)),qn.length>0&&ye.createElement("div",{className:Je.btns},qn.map((bn,an)=>ye.createElement("div",{key:an,onClick:bn.click},bn.name,bn.sign?ye.createElement("img",{src:E,width:39}):null))),rr),Er&&ye.createElement("img",{style:{marginTop:33,marginRight:38},src:Er,width:Qt}))),ue={flex_box_center:"flex_box_center___hG6RI",flex_space_between:"flex_space_between___ss3Fh",flex_box_vertical_center:"flex_box_vertical_center___K80p9",flex_box_center_end:"flex_box_center_end___qmXX3",flex_box_column:"flex_box_column___GFV8F",row:"row___aXJjm",title:"title___HUKL0",tagsWrap:"tagsWrap___XB2W3",action:"action___VdHb1",bar:"bar___t1kKC",tag:"tag___V7Eft",name:"name___Hk1Ip",num:"num___xQpcH",active:"active___XryTX",tagsBorderWrap:"tagsBorderWrap___OMxjs"},le=be(92310),ie=be.n(le),se=be(89392),oe=({dataSource:qn=[],value:Er,onChange:Qt,onTitleChange:tn,className:cn,title:rr,titleWidth:bn=41,style:an={},fontColor:gn="#6A7283",showCount:Nr})=>{const[lr,_r]=(0,ye.useState)(0),[ei,Qn]=(0,ye.useState)(!1),yr=(0,ye.useRef)(null),oi=(0,ye.useRef)(null);return(0,ye.useEffect)(()=>{var Xn;qn.length!==0&&(((Xn=yr==null?void 0:yr.current)==null?void 0:Xn.clientHeight)>97?_r(1):_r(0)),qn.length===0&&_r(0),Qn(!1)},[qn]),ye.createElement("div",{className:ie()(ue.row,cn),style:an},ye.createElement("div",{onClick:(0,se.throttle)(()=>tn==null?void 0:tn(),2e3),style:{width:bn,marginTop:ei?12:4},className:`${ue.title} ${tn?"current":""}`},rr),ye.createElement("div",{className:ei?`${ue.tagsWrap} ${ue.tagsBorderWrap}`:ue.tagsWrap},ye.createElement("div",{className:ue.bar,ref:oi,style:lr>0?{height:lr===1?97:"auto",overflow:lr===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},ye.createElement("div",{className:ue.tag,ref:yr},qn==null?void 0:qn.map(Xn=>ye.createElement("span",{onClick:()=>Qt(Xn.id),key:Xn.id,style:{color:gn},className:Er===Xn.id?ue.active:""},ye.createElement("span",{title:Xn.name,className:ue.name},Xn.name),!!Nr&&ye.createElement("span",{className:ue.num},Xn.count))))),!!lr&&ye.createElement(ye.Fragment,null,lr===1?ye.createElement("div",{onClick:()=>{var Xn;_r(2),((Xn=yr==null?void 0:yr.current)==null?void 0:Xn.clientHeight)>245?Qn(!0):Qn(!1)},className:ue.action},"\u5C55\u5F00",ye.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):ye.createElement("div",{onClick:()=>{oi.current.scrollTop=0,_r(1),Qn(!1)},className:ue.action},"\u6536\u8D77",ye.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},re={flex_box_center:"flex_box_center___aK2n3",flex_space_between:"flex_space_between___HX0Oh",flex_box_vertical_center:"flex_box_vertical_center___LJOJr",flex_box_center_end:"flex_box_center_end___SCakF",flex_box_column:"flex_box_column___AYv4m",tabs:"tabs___GTqPV",active:"active___F26E8"},z=({dataSource:qn=[],value:Er,onChange:Qt,className:tn,style:cn={}})=>ye.createElement("div",{style:cn,className:ie()(re.tabs,tn)},qn.map(rr=>ye.createElement("span",{onClick:()=>Qt(rr.id),className:Er===rr.id?re.active:"",key:rr.id},rr.name))),a={flex_box_center:"flex_box_center___yX6Oa",flex_space_between:"flex_space_between___t7oqF",flex_box_vertical_center:"flex_box_vertical_center___dEIHy",flex_box_center_end:"flex_box_center_end___taQDF",flex_box_column:"flex_box_column___xY_Lr",input:"input___PW2zI",dropdown:"dropdown___vSy8B",menu:"menu___NiyBu",text:"text___Grueu",b1:"b1___ZKryM",b2:"b2___aKyGa"},y=be(92832),b=({dataSource:qn=[],value:Er="",onChange:Qt,onInputChange:tn=()=>{},className:cn,style:rr={},placeholder:bn,allowClear:an=!1})=>{var gn;const[Nr,lr]=(0,ye.useState)(""),[_r,ei]=(0,ye.useState)("");(0,ye.useEffect)(()=>{var oi;let Xn=Er;(oi=JSON.stringify(Er))!=null&&oi.includes("{")&&(lr(Er.id),Xn=Er.value||"");try{ei(decodeURIComponent(Xn||""))}catch(Mr){ei(decodeURIComponent(Xn||""))}},[Er]);const Qn=()=>{Qt(encodeURIComponent(_r),Nr||null)},yr=oi=>{oi!==Nr&&(lr(oi),Qt(encodeURIComponent(_r),oi))};return ye.createElement("div",{className:ie()(a.input,cn),style:rr},!!qn.length&&ye.createElement("div",{className:a.dropdown},ye.createElement("div",{className:a.text},(gn=qn.find(oi=>oi.id===Nr))==null?void 0:gn.name,ye.createElement("i",{className:"iconfont icon-zhankai4"}),ye.createElement("b",{className:a.b1}),ye.createElement("b",{className:a.b2})),ye.createElement("div",{className:a.menu},qn.map((oi,Xn)=>ye.createElement("div",{key:Xn,onClick:()=>yr(oi.id)},oi.name)))),ye.createElement(y.default,{onPressEnter:Qn,value:_r,onChange:oi=>{ei(oi.target.value),tn(encodeURIComponent(oi.target.value),Nr||null)},bordered:!1,placeholder:bn}),ye.createElement("i",{onClick:Qn,className:"iconfont icon-sousuo9 font14 pl10 current"}))},te={flex_box_center:"flex_box_center___tol8o",flex_space_between:"flex_space_between___Z235C",flex_box_vertical_center:"flex_box_vertical_center___Wq1sZ",flex_box_center_end:"flex_box_center_end___LLxom",flex_box_column:"flex_box_column___DbMSN",quickPager:"quickPager___GM30J",disabled:"disabled___Ozc8I"},ce=({value:qn,onChange:Er,className:Qt,total:tn,pageSize:cn,style:rr={}})=>{const bn=qn<2,an=qn>=Math.ceil(tn/cn);return tn<=cn?ye.createElement(ye.Fragment,null):ye.createElement("div",{className:ie()(te.quickPager,Qt),style:rr},ye.createElement("div",{onClick:()=>{bn||Er(qn-1,"prev")},className:bn?te.disabled:""},"\u4E0A\u4E00\u9875"),ye.createElement("div",{onClick:()=>{an||Er(qn+1,"next")},className:an?te.disabled:""},"\u4E0B\u4E00\u9875"))},fe={flex_box_center:"flex_box_center___FO7TP",flex_space_between:"flex_space_between___LotYx",flex_box_vertical_center:"flex_box_vertical_center___bWdaw",flex_box_center_end:"flex_box_center_end___mVJ1o",flex_box_column:"flex_box_column___M83Mm",list:"list___oOsiS",wrap:"wrap___G6T7F",lockWrap:"lockWrap___Rl79E",li:"li___oZZ7l",cover:"cover___b2bYW",img:"img___IQX7w",sign:"sign___HkT6C",name:"name___SsJx8",e:"e___TMqq0",tags:"tags___bcjyo",rate:"rate___YACg7"},he=be(71418),de=be(6848),pe=be(13570),ve=be(3294),me=be(955),Ee=be(96908),Se=be(57177),Te=be(81378),we=be(8797),xe=({className:qn,dataSource:Er=[],col:Qt=4,right:tn,bottom:cn=23,precision:rr=0,wrapWidth:bn=1200,trackEventItems:an,loading:gn})=>{const Nr=Math.floor((bn-(Qt-1)*tn)/Qt);return ye.createElement(he.Z,{spinning:gn},ye.createElement("div",{className:ie()(fe.list,qn)},!!Er.length&&Er.map((lr,_r)=>{const{name:ei,id:Qn,identifier:yr,power:oi,cover_image_id:Xn,pic:Mr}=lr;return ye.createElement("div",{className:fe.wrap,key:Qn,style:{width:Nr,marginRight:(1+_r)%Qt===0?0:tn+rr,marginBottom:cn}},ye.createElement("a",{target:"_blank",href:`/shixuns/${yr}/challenges`,className:fe.li,onClick:Sr=>{Sr.preventDefault(),an&&(0,me.L9)([an]),oi&&(0,me.xg)(`/shixuns/${yr}/challenges`)}},ye.createElement("div",{className:fe.img},ye.createElement("img",{className:fe.cover,src:`${Mr}`}),lr.is_jupyter&&ye.createElement("img",{className:fe.sign,src:Ee}),lr.is_jupyter_lab&&ye.createElement("img",{className:fe.sign,src:Se}),lr.is_unity_3d&&ye.createElement("img",{className:fe.sign,src:Te})),ye.createElement("div",{className:fe.name},ye.createElement(de.Z,{title:ei||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},ye.createElement("span",{className:fe.e},ei||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),ye.createElement("div",{className:fe.tags},ye.createElement(de.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},ye.createElement("span",null,ye.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),ye.createElement("span",null,lr.challenges_count))),!!lr.myshixuns_count&&ye.createElement(de.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},ye.createElement("span",null,ye.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),ye.createElement("span",null,lr.myshixuns_count))),ye.createElement(de.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},ye.createElement("span",null,ye.createElement("span",null,lr.level))),ye.createElement("div",{className:fe.rate},ye.createElement(pe.Z,{allowHalf:!0,disabled:!0,defaultValue:lr.score_info}),ye.createElement("span",null,"\xA0",lr.score_info?`${lr.score_info}\u5206`:"5\u5206")))),!oi&&ye.createElement("div",{className:fe.lockWrap},ye.createElement("img",{src:`${ve.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),ye.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Er.length&&ye.createElement(we.Z,null)))},Oe={flex_box_center:"flex_box_center___AQ53o",flex_space_between:"flex_space_between___i2aIa",flex_box_vertical_center:"flex_box_vertical_center___sPEKB",flex_box_center_end:"flex_box_center_end___GhSSH",flex_box_column:"flex_box_column___R9_Hb",list:"list___jb2Ay",wrap:"wrap___VsQDr",lockWrap:"lockWrap___g1k1T",li:"li___IxCLC",cover:"cover___Mu8wr",img:"img___IpFLA",movebq:"movebq___mF7wt",bq:"bq___Bil0T",sign:"sign___DXJ4d",name:"name___l7FoJ",e:"e___pXQUG",unit:"unit___wCIFR",tags:"tags___w_Mil",tag1:"tag1___dxm7r",tag2:"tag2___llZkf"},ze=be(24065),Ze=be(59301),tt=({className:qn,dataSource:Er=[],col:Qt=4,right:tn,bottom:cn=23,precision:rr=0,wrapWidth:bn=1200,trackEventItems:an,loading:gn,onRemove:Nr=()=>{},isCurrent:lr=!0,showAlias:_r=!1})=>{const ei=Math.floor((bn-(Qt-1)*tn)/Qt),Qn=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png"}];return Ze.createElement(he.Z,{spinning:gn},Ze.createElement("div",{className:ie()(Oe.list,qn)},!!(Er!=null&&Er.length)&&(Er==null?void 0:Er.map((yr,oi)=>{var Xn;const{name:Mr,id:Sr,identifier:ci,featured:Ci,school_name:Ni,image_url:na,excellent:Qi,is_plan:Ii}=yr;return Ze.createElement("div",{key:Sr,className:Oe.wrap,style:{width:ei,marginRight:(1+oi)%Qt===0?0:tn+rr,marginBottom:cn}},Ze.createElement("a",{className:Oe.li,onClick:xi=>{xi.preventDefault(),xi.stopPropagation(),an&&(0,me.L9)([an]),(0,me.xg)(`/paths/${ci}`)}},Ze.createElement("div",{className:Oe.img},Ze.createElement("img",{className:Oe.cover,src:`${na}`}),lr&&(0,ze.bg)()&&(yr==null?void 0:yr.studying)&&Ze.createElement("div",{className:`${Oe.movebq} user-path-items`,onClick:xi=>{xi.stopPropagation(),Nr(yr)}},Ze.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),Ze.createElement("span",{className:"c-red"},"\u79FB\u9664")),(Xn=yr==null?void 0:yr.subject_tags)==null?void 0:Xn.map((xi,or)=>{var ga,ar;if(or===0){const no=(ga=Qn.find(Ki=>Ki.name==xi))==null?void 0:ga.swimg;return Ze.createElement("img",{className:Oe.sign,src:no,style:{left:"-4px"}})}const $i=(ar=Qn.find(no=>no.name==xi))==null?void 0:ar.ptimg;return Ze.createElement("img",{className:Oe.sign,src:$i,style:{left:`${48+52*(or-1)+2*or}px`}})}),Ze.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(yr==null?void 0:yr.excellent)&&Ze.createElement("div",{className:Oe.bq},"\u5F00\u653E\u8BFE\u7A0B"))),Ze.createElement("div",{className:Oe.name},Ze.createElement(de.Z,{title:_r&&(yr!=null&&yr.excellent_alias_name)?Ze.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${Mr}`,Ze.createElement("br",null),Ze.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${yr==null?void 0:yr.excellent_alias_name}`)):Mr},Ze.createElement("span",{className:Oe.e},_r&&(yr==null?void 0:yr.excellent_alias_name)||Mr))),Ze.createElement(de.Z,{title:`\u53D1\u5E03\u5355\u4F4D\uFF1A${Ni}`},Ze.createElement("div",{className:Oe.unit},Ze.createElement("i",{className:"iconfont icon-danwei1 font14 mr3"}),Ni)),Ze.createElement("div",{className:Oe.tags},Ze.createElement("div",null,Ze.createElement(de.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},Ze.createElement("span",null,Ze.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),Ze.createElement("span",null,yr.stages_count))),Ze.createElement(de.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},Ze.createElement("span",null,Ze.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),Ze.createElement("span",null,yr.members_count)))))))})),!Er.length&&Ze.createElement(we.Z,null)))},qe={flex_box_center:"flex_box_center___eMcr7",flex_space_between:"flex_space_between___HcNca",flex_box_vertical_center:"flex_box_vertical_center___ZnvVN",flex_box_center_end:"flex_box_center_end___fdgDf",flex_box_column:"flex_box_column___SEKvd",list:"list___L1hmU",wrap:"wrap___pKgcW",lockWrap:"lockWrap___SMhkK",top:"top___udHSB",sign:"sign___uwRpq",name:"name___Fpf90",img:"img___AMLhL",text:"text___KiTb7",btns:"btns___i6IuZ",bottom:"bottom____k2sh"},st="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEf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0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",At=be(59301),at=({className:qn,dataSource:Er=[],col:Qt=4,right:tn,bottom:cn=23,precision:rr=0,wrapWidth:bn=1200,trackEventItems:an,loading:gn,handleVery:Nr=()=>{}})=>{const lr=Math.floor((bn-(Qt-1)*tn)/Qt);return At.createElement(he.Z,{spinning:gn},At.createElement("div",{className:ie()(qe.list,qn)},!!Er.length&&Er.map((_r,ei)=>{const{subject_identifier:Qn,id:yr,identifier:oi,power:Xn}=_r,Mr=_r.is_public!=0&&_r.is_public;return At.createElement("div",{className:qe.wrap,key:yr,style:{width:lr,marginRight:(1+ei)%Qt===0?0:tn+rr,marginBottom:cn}},At.createElement("a",{className:qe.li,onClick:Sr=>{Sr.preventDefault(),Nr(_r==null?void 0:_r.first_category_url)}},At.createElement("div",{className:qe.top},At.createElement(de.Z,{title:_r.name},At.createElement("div",{className:qe.name},_r.name)),At.createElement("img",{className:qe.img,src:ve.Z.IMG_SERVER+"/images/"+_r.avatar_url}),At.createElement("div",{className:qe.text,title:_r.creator},_r.creator),Qn&&At.createElement("div",{className:qe.btns},At.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),At.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),Mr&&At.createElement("div",{className:qe.sign},"\u516C\u5F00")),At.createElement("div",{className:qe.bottom},_r.visits>0&&At.createElement(de.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},At.createElement("span",null,At.createElement("i",{className:"iconfont icon-liulanyan"}),At.createElement("span",null,_r.visits))),_r.course_members_count>0&&At.createElement(de.Z,{title:"\u6210\u5458",placement:"bottom"},At.createElement("span",null,At.createElement("i",{className:"iconfont icon-chengyuan"}),_r.course_members_count)),_r.tasks_count>0&&At.createElement(de.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},At.createElement("span",null,At.createElement("i",{className:"iconfont icon-zuoye"}),_r.tasks_count)),_r.is_end?At.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):At.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!_r.is_accessible&&At.createElement("div",{className:qe.lockWrap},At.createElement("img",{src:`${ve.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),At.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Er.length&&At.createElement(we.Z,null)))},ut={flex_box_center:"flex_box_center___d27mZ",flex_space_between:"flex_space_between___qfRU9",flex_box_vertical_center:"flex_box_vertical_center___fCRld",flex_box_center_end:"flex_box_center_end___ORMV8",flex_box_column:"flex_box_column___PNKtZ",tabs:"tabs___alpa7",tabsWrap:"tabsWrap___aCQjw",tab:"tab___MKLr4",active:"active___nl_4v"},ft=be(89070),Lt=({dataSource:qn=[],value:Er,onChange:Qt,className:tn,style:cn={},tabBarExtraContent:rr})=>ye.createElement("div",{className:ie()(ut.tabs,tn),style:cn},ye.createElement("div",{className:ut.tabsWrap},qn.map((bn,an)=>!(bn!=null&&bn.hide)&&ye.createElement("aside",{className:ut.tab,onClick:()=>{Qt(bn.id),bn.link&&ft.history.push(bn.link)},key:an},ye.createElement("div",{className:Er===bn.id?ut.active:""},bn.name),(bn==null?void 0:bn.resetCount)==null&&(bn==null?void 0:bn.total)!==void 0&&ye.createElement("span",null,"\uFF08",bn==null?void 0:bn.total,"\uFF09"),(bn==null?void 0:bn.resetCount)!==void 0&&(bn==null?void 0:bn.total)!==void 0&&ye.createElement(de.Z,{title:(bn==null?void 0:bn.tip)!=null?bn==null?void 0:bn.tip:""},ye.createElement("span",{style:{color:"#9096A3"}},"\uFF08",ye.createElement("span",{style:{color:"#000"}},bn==null?void 0:bn.resetCount),"/",ye.createElement("span",null,bn==null?void 0:bn.total),"\uFF09"))))),ye.createElement("div",{className:ut.tabBar},rr)),ht=({className:qn,style:Er={},children:Qt})=>ye.createElement("div",{className:ie()(qn),style:Er},Qt),$e={flex_box_center:"flex_box_center___e6HxQ",flex_space_between:"flex_space_between___RnXYe",flex_box_vertical_center:"flex_box_vertical_center___lVxPk",flex_box_center_end:"flex_box_center_end___bu8yv",flex_box_column:"flex_box_column___JczGj",orderWrap:"orderWrap___ZfyGX",orderIconWrap:"orderIconWrap___XTB_O",orderAsc:"orderAsc___KWHmA",orderDesc:"orderDesc___rHdbB",active:"active___a7eSP",cursorPointer:"cursorPointer___gs9kL",orderTextWrap:"orderTextWrap___teAKn"},Pe=be(38854),ke=be(20834);const Ve=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var De=({sortValue:qn,dropValue:Er,className:Qt,onSort:tn,onDrop:cn,dataSource:rr=Ve})=>{var bn;return ye.createElement("div",{className:ie()($e.orderWrap,Qt)},ye.createElement(Pe.Z,{dropdownRender:()=>ye.createElement(ke.default,null,rr.map((an,gn)=>ye.createElement(ke.default.Item,{key:gn,onClick:()=>cn(an.id)},an.name)))},ye.createElement("span",{className:$e.orderTextWrap},(bn=rr.find(an=>Er===an.id))==null?void 0:bn.name)),ye.createElement("span",{className:$e.orderIconWrap},ye.createElement("span",{className:$e.orderAsc},ye.createElement("i",{className:qn==="asc"?`iconfont icon-sanjiaoxing-up font12 ${$e.cursorPointer} ${$e.active}`:`iconfont icon-sanjiaoxing-up font12 ${$e.cursorPointer}`,onClick:()=>tn(qn==="asc"?"desc":"asc")})),ye.createElement("span",{className:$e.orderDesc},ye.createElement("i",{className:qn==="desc"?`iconfont icon-sanjiaoxing-down font12 ${$e.cursorPointer} ${$e.active}`:`iconfont icon-sanjiaoxing-down font12 ${$e.cursorPointer}`,onClick:()=>tn(qn==="asc"?"desc":"asc")}))))},Ye={flex_box_center:"flex_box_center___LCi0B",flex_space_between:"flex_space_between___hzONe",flex_box_vertical_center:"flex_box_vertical_center___ZyQRE",flex_box_center_end:"flex_box_center_end___XKM74",flex_box_column:"flex_box_column___p8LCU",btn:"btn___In02G","mediacy-round":"mediacy-round___uveEv","mediacy-default":"mediacy-default___dDxsd",default:"default___K791v"},Ue=be(3113),Le=Object.defineProperty,Ne=Object.getOwnPropertySymbols,nt=Object.prototype.hasOwnProperty,ct=Object.prototype.propertyIsEnumerable,St=(qn,Er,Qt)=>Er in qn?Le(qn,Er,{enumerable:!0,configurable:!0,writable:!0,value:Qt}):qn[Er]=Qt,wt=(qn,Er)=>{for(var Qt in Er||(Er={}))nt.call(Er,Qt)&&St(qn,Qt,Er[Qt]);if(Ne)for(var Qt of Ne(Er))ct.call(Er,Qt)&&St(qn,Qt,Er[Qt]);return qn},Bt=(qn,Er)=>{var Qt={};for(var tn in qn)nt.call(qn,tn)&&Er.indexOf(tn)<0&&(Qt[tn]=qn[tn]);if(qn!=null&&Ne)for(var tn of Ne(qn))Er.indexOf(tn)<0&&ct.call(qn,tn)&&(Qt[tn]=qn[tn]);return Qt},kt=(qn,Er,Qt)=>new Promise((tn,cn)=>{var rr=gn=>{try{an(Qt.next(gn))}catch(Nr){cn(Nr)}},bn=gn=>{try{an(Qt.throw(gn))}catch(Nr){cn(Nr)}},an=gn=>gn.done?tn(gn.value):Promise.resolve(gn.value).then(rr,bn);an((Qt=Qt.apply(qn,Er)).next())}),Ft=qn=>{var Er=qn,{className:Qt,style:tn,children:cn,loading:rr=!1,openLoading:bn,onClick:an=()=>{},size:gn="middle",shape:Nr="round"}=Er,lr=Bt(Er,["className","style","children","loading","openLoading","onClick","size","shape"]);const[_r,ei]=(0,ye.useState)(!1);return ye.createElement(Ue.ZP,wt({onClick:(0,se.throttle)(Qn=>kt(void 0,null,function*(){bn&&ei(!0);try{yield an(Qn)}catch(yr){console.log("error",yr)}bn&&ei(!1)}),2e3,{leading:!0,trailing:!1}),className:ie()(Ye.btn,Ye[`${gn}-${Nr}`],Qt),style:tn,size:gn,shape:Nr,loading:_r||rr},lr),cn)},It={flex_box_center:"flex_box_center___TB7bQ",flex_space_between:"flex_space_between___oBlTb",flex_box_vertical_center:"flex_box_vertical_center___b5XbB",flex_box_center_end:"flex_box_center_end___CNhe7",flex_box_column:"flex_box_column___yHXKW",head:"head___ghH72",node:"node___mjPEy"},Kt=({className:qn,style:Er,children:Qt=null,onClick:tn,title:cn})=>ye.createElement("div",{className:ie()(It.head,qn),style:Er},ye.createElement("span",{className:"primary-hover",onClick:tn},ye.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),ye.createElement("b",{title:cn},cn),ye.createElement("div",{className:It.node},Qt)),$t={flex_box_center:"flex_box_center___AlHuF",flex_space_between:"flex_space_between___vN2LW",flex_box_vertical_center:"flex_box_vertical_center___Ac7D2",flex_box_center_end:"flex_box_center_end___y38I7",flex_box_column:"flex_box_column___iQE6P",btns:"btns___sNgTb",confirm:"confirm___Ozirl",cancel:"cancel___aiq1I"},vn=({confirmShow:qn=!0,confirmTitle:Er,confirmClick:Qt,cancelShow:tn=!0,cancelTitle:cn,cancelClick:rr,className:bn,style:an,confirmLoading:gn=!1})=>ye.createElement("div",{className:ie()($t.btns,bn),style:an},qn&&ye.createElement(Ue.ZP,{loading:gn,onClick:Qt,type:"primary",className:$t.confirm},Er),tn&&ye.createElement(Ue.ZP,{onClick:rr,className:$t.cancel},cn)),Fn={flex_box_center:"flex_box_center___jkpdr",flex_space_between:"flex_space_between___OtsL8",flex_box_vertical_center:"flex_box_vertical_center___rbcb_",flex_box_center_end:"flex_box_center_end___zBR21",flex_box_column:"flex_box_column___nS_eP",fixedBottom:"fixedBottom___oJl7m",wrap:"wrap___A3Oq1",center:"center____VL1y"},xr=({className:qn,style:Er={},LeftContent:Qt,children:tn,RightContent:cn})=>ye.createElement("div",{className:ie()(Fn.fixedBottom,qn),style:Er},ye.createElement("div",{className:Fn.wrap},ye.createElement("div",{className:Fn.left},Qt),ye.createElement("div",{className:Fn.center},tn),ye.createElement("div",{className:Fn.right},cn))),Tn={flex_box_center:"flex_box_center___tY8Yn",flex_space_between:"flex_space_between___vHdYA",flex_box_vertical_center:"flex_box_vertical_center___pa61F",flex_box_center_end:"flex_box_center_end___HyDXt",flex_box_column:"flex_box_column___UjZek",crumbs:"crumbs___V41Oe",hover:"hover___bEIVd"},fn=({className:qn,style:Er={},dataSource:Qt=[]})=>ye.createElement("div",{className:ie()(Tn.crumbs,qn),style:Er},Qt.map((tn,cn)=>cnft.history.push(tn.path)},tn.name):ye.createElement("span",null,tn.name),ye.createElement("span",null,"\xA0",">","\xA0")):ye.createElement("span",{key:cn,style:{color:"#5F6368"}},tn.name))),_n=be(31797),zn=Object.defineProperty,Ir=Object.defineProperties,Pr=Object.getOwnPropertyDescriptors,Tr=Object.getOwnPropertySymbols,Fr=Object.prototype.hasOwnProperty,Lr=Object.prototype.propertyIsEnumerable,Kr=(qn,Er,Qt)=>Er in qn?zn(qn,Er,{enumerable:!0,configurable:!0,writable:!0,value:Qt}):qn[Er]=Qt,Gr=(qn,Er)=>{for(var Qt in Er||(Er={}))Fr.call(Er,Qt)&&Kr(qn,Qt,Er[Qt]);if(Tr)for(var Qt of Tr(Er))Lr.call(Er,Qt)&&Kr(qn,Qt,Er[Qt]);return qn},zr=(qn,Er)=>Ir(qn,Pr(Er)),yi=(qn,Er)=>{var Qt={};for(var tn in qn)Fr.call(qn,tn)&&Er.indexOf(tn)<0&&(Qt[tn]=qn[tn]);if(qn!=null&&Tr)for(var tn of Tr(qn))Er.indexOf(tn)<0&&Lr.call(qn,tn)&&(Qt[tn]=qn[tn]);return Qt};const{Countdown:fa}=_n.default;var Li=qn=>{var Er=qn,{onChange:Qt}=Er,tn=yi(Er,["onChange"]);const[cn,rr]=(0,ye.useState)(null);(0,ye.useEffect)(()=>{typeof cn=="number"&&cn>=0&&Qt(cn)},[cn]);const bn=an=>{const gn=Math.floor(an/1e3);rr(gn)};return ye.createElement(fa,zr(Gr({},tn),{onChange:bn}))}},58856:function(en,zt,be){"use strict";be.d(zt,{Z:function(){return Je}});var ye=be(59301);function Je(E,ge){const Ae=(0,ye.useRef)();(0,ye.useEffect)(()=>{Ae.current=E}),(0,ye.useEffect)(()=>{function ue(){Ae.current()}if(ge!==null){let le=setInterval(ue,ge);return()=>clearInterval(le)}},[ge])}},31947:function(en,zt,be){"use strict";var ye=be(59301),Je=be(31797),E=be(5871),ge=be(78241),Ae=be(43418),ue=be(71418),le=be(1710),ie=be(92832),se=be(95237),ae=be(43604),oe=be(3113),re=be(94941),ne=be(61186),z=be.n(ne),a=be(89070),y=be(955),x=be(16209),b=be(24065),te=be(83312),ee=be(59301),ce=(pe,ve,me)=>new Promise((Ee,Se)=>{var Te=xe=>{try{je(me.next(xe))}catch(Oe){Se(Oe)}},we=xe=>{try{je(me.throw(xe))}catch(Oe){Se(Oe)}},je=xe=>xe.done?Ee(xe.value):Promise.resolve(xe.value).then(Te,we);je((me=me.apply(pe,ve)).next())});const{Countdown:fe}=Je.default,he=({value:pe,onChange:ve,MaxMinutes:me})=>ee.createElement(ee.Fragment,null,ee.createElement("div",{className:"p10 mb20",style:{background:"#F6F7F9"}},"1.\u53EA\u6709\u5F53\u8003\u8BD5\u622A\u6B62\u65F6\u95F4\u665A\u4E8E\u5B66\u751F\u7684\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\u65F6\uFF0C\u624D\u652F\u6301\u5BF9\u5B66\u751F\u8FDB\u884C\u5EF6\u65F6\u64CD\u4F5C\uFF1B",ee.createElement("br",null),"2.\u6BCF\u4E2A\u5B66\u751F\u7684\u6700\u5927\u53EF\u5EF6\u65F6\u65F6\u95F4=\u8003\u8BD5\u622A\u6B62\u65F6\u95F4-\u5B66\u751F\u5F53\u524D\u7684\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\u3002",ee.createElement("br",null)),ee.createElement(E.Z,{value:pe,onChange:ve,min:0,precision:0,max:me,style:{width:"100%"},placeholder:`\u6700\u5927\u53EF\u5EF6\u957F\u65F6\u95F4\u4E3A${me}\u5206\u949F\uFF0C\u5728\u5B66\u751F\u5269\u4F59\u65F6\u95F4\u57FA\u7840\u4E0A\u5EF6\u65F6`,addonAfter:"\u5206\u949F"})),de=({exercise:pe,successCb:ve,dispatch:me})=>{var Ee,Se,Te,we;const je=(0,a.useParams)(),[xe]=ge.default.useForm(),Oe=ge.default.useWatch("time",xe),[ze,Ze]=(0,ye.useState)(!1),Me=(0,ye.useRef)(),{actionTabs:tt}=pe,[qe,st]=(0,ye.useState)(),[,At,lt,at]=(0,te.U)(re.n7,{id:je.categoryId}),[,ut,ft]=(0,te.U)(re.Cd,{});(0,ye.useEffect)(()=>{pe.actionTabs.key==="student-unlock"&&(Ze(!1),xe.resetFields())},[pe.actionTabs.key]);const bt=()=>new Promise(De=>ce(void 0,null,function*(){var Ye,Ue;return Me.current=yield(0,x.y)({ip_limit:(Ye=tt==null?void 0:tt.exerciseParams)==null?void 0:Ye.ip_limit,ip_bind:(Ue=tt==null?void 0:tt.exerciseParams)==null?void 0:Ue.ip_bind_type}),De()})),Lt=()=>ce(void 0,null,function*(){var De,Ye,Ue,Le,Ne;yield xe.validateFields();const nt=xe.getFieldsValue();if(Ze(!0),(((De=tt==null?void 0:tt.exerciseParams)==null?void 0:De.ip_limit)!=="no"||(Ye=tt==null?void 0:tt.exerciseParams)!=null&&Ye.ip_bind_type)&&(yield bt()),(yield(0,re.ZD)((Ue=tt==null?void 0:tt.exerciseParams)==null?void 0:Ue.id,{exercise_user_id:(Le=tt==null?void 0:tt.exerciseParams)==null?void 0:Le.exercise_user_id,unlock_key:nt.unlock_key,time:nt.time,ip:Me.current})).status===0){if(ve){me({type:"exercise/setActionTabs",payload:{}}),ve();return}const St=tt==null?void 0:tt.exerciseParams;(0,y.nr)({inner_ip:St.inner_ip,public_ip:St.public_ip,open_camera:St.open_camera,ip_limit:St.ip_limit,ip_bind:St.ip_bind,ip_bind_type:St.ip_bind_type,exercise_tips:St.exercise_tips,exerciseId:St.id,screen_open:St.screen_open,screen_num:St.screen_num,screen_sec:St.screen_sec,coursesId:je.coursesId,login:(Ne=(0,b.eY)())==null?void 0:Ne.login,history,identity_verify:St.identity_verify,open_phone_video_recording:St.open_phone_video_recording,current_status:St.current_status}),me({type:"exercise/setActionTabs",payload:{}})}Ze(!1)}),gt=[{title:"IP\u5730\u5740",dataIndex:"ip",key:"ip",render:De=>ee.createElement("span",{className:De.indexOf("\u5F02\u5E38")>-1?"c-red":"c-green"},De)},{title:"\u6D4F\u89C8\u5668",dataIndex:"browser",key:"browser",render:De=>ee.createElement("span",{className:De.indexOf("\u5F02\u5E38")>-1?"c-red":"c-green"},De)},{title:"\u4E0A\u6B21\u767B\u5F55\u65F6\u95F4",dataIndex:"last_login_time",key:"last_login_time"}],ht=((Ee=tt==null?void 0:tt.exerciseParams)==null?void 0:Ee.errorMessage)&&typeof((Se=tt==null?void 0:tt.exerciseParams)==null?void 0:Se.errorMessage)=="object";(0,ye.useEffect)(()=>{pe.actionTabs.key==="student-unlock"&&ce(void 0,null,function*(){const De=yield ft(je);yield lt({}),De.status||st(De)})},[pe.actionTabs.key]);const{time:$e,end_time:Pe}=(qe==null?void 0:qe.exercise)||{},ke=at!=null&&at.user_end_time?z()(at==null?void 0:at.user_end_time).add(1,"minutes"):z()(),Ve=z()(at==null?void 0:at.user_total_end_time)>ke?Math.round(z().duration(z()(at==null?void 0:at.user_total_end_time).diff(ke.startOf("minute"))).asMinutes()):0,Qe=((at==null?void 0:at.student_left_minutes)||0)+(Oe||0);return ee.createElement(ee.Fragment,null,ee.createElement(Ae.default,{width:514,centered:!0,closable:!!((Te=tt==null?void 0:tt.exerciseParams)!=null&&Te.unlockClose),maskClosable:!1,keyboard:!1,maskStyle:{background:"#000"},title:"\u63D0\u793A",open:pe.actionTabs.key==="student-unlock",footer:null,onCancel:()=>{me({type:"exercise/setActionTabs",payload:{}})}},ee.createElement(ue.Z,{spinning:At||ut},ht&&ee.createElement("div",{style:{marginBottom:16}},"\u8BE5\u8D26\u53F7\u5DF2\u7ECF\u5B58\u5728\u5F02\u5E38\u60C5\u51B5\uFF0C\u82E5\u975E\u672C\u4EBA\u64CD\u4F5C\uFF0C\u8BF7\u8054\u7CFB\u76D1\u8003\u8001\u5E08\u8BF4\u660E\u60C5\u51B5\u3002 "),!ht&&ee.createElement("div",{style:{marginBottom:16}},"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u60A8\u5728\u8003\u8BD5\u65F6\u4E2D\u9014\u9000\u51FA\uFF0C\u73B0\u5DF2\u5C06\u8003\u8BD5\u9501\u5B9A\u3002\u5982\u9700\u7EE7\u7EED\u8FDB\u884C\u8003\u8BD5\uFF0C \u8BF7\u5C3D\u5FEB\u8054\u7CFB\u8BFE\u5802\u8001\u5E08\u8FDB\u884C\u89E3\u9501\uFF01"),ht&&ee.createElement(le.default,{className:"mb20",pagination:{hideOnSinglePage:!0},dataSource:[((we=tt==null?void 0:tt.exerciseParams)==null?void 0:we.errorMessage)||{}],columns:gt}),ee.createElement("div",{className:""},ee.createElement(ge.default,{form:xe,layout:"vertical",autoComplete:"off"},ee.createElement(ge.default.Item,{label:"\u8003\u8BD5\u89E3\u9501\u7801",name:"unlock_key",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8003\u8BD5\u89E3\u9501\u7801"}]},ee.createElement(ie.default.Password,{autoComplete:"off",placeholder:"\u8BF7\u8F93\u5165\u8003\u8BD5\u89E3\u9501\u7801",visibilityToggle:!1})),$e!==-1?ee.createElement(ee.Fragment,null,ee.createElement(ge.default.Item,{name:"time",label:ee.createElement("span",null,"\u5EF6\u957F\u65F6\u95F4\uFF08",ee.createElement("span",{style:{color:"#9096A3"}},"\u5F53\u524D\u8003\u8BD5\u622A\u6B62\u65F6\u95F4",z()(at==null?void 0:at.user_total_end_time).format("YYYY-MM-DD HH:mm")),"\uFF09")},ee.createElement(he,{MaxMinutes:Ve})),ee.createElement("div",{className:"mb20",style:{color:"#FA6400"}},"\u8BE5\u5B66\u751F\u5269\u4F59\u8003\u8BD5\u65F6\u95F4\uFF1A",ee.createElement("span",{className:"ml5"},At||ut?"--":Qe),"\u5206\u949F",Qe!==0&&(at==null?void 0:at.user_end_time)&&ee.createElement("span",null,"\uFF0C\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\uFF1A",ee.createElement("span",{className:"ml5"},z()(at==null?void 0:at.user_end_time).add(Oe||0,"m").format("YYYY-MM-DD HH:mm:ss"))))):ee.createElement("span",{style:{color:"#F6A53B"}}," \u5F53\u524D\u8003\u8BD5\u672A\u9650\u5236\u8003\u751F\u7B54\u9898\u65F6\u957F\uFF0C\u8003\u8BD5\u622A\u6B62\u65F6\u95F4\u4E3A ",z()(Pe).format("YYYY-MM-DD HH:mm")))),ee.createElement(se.Z,{justify:"space-between",align:"middle"},ee.createElement(ae.Z,null),ee.createElement(ae.Z,null,ee.createElement(oe.ZP,{loading:ze,onClick:Lt},"\u8FDB\u5165\u8003\u8BD5"))))))};zt.Z=(0,a.connect)(({exercise:pe})=>({exercise:pe}))(de)},63764:function(en,zt,be){"use strict";be.d(zt,{Z:function(){return ze}});var ye=be(59301),Je=be(5112),E=be(3113),ge=be(8591),Ae=be(43418),ue=be(5871),le=be(95237),ie=be(43604),se=be(28103),ae=be(23954),oe={flex_box_center:"flex_box_center___eijRq",flex_space_between:"flex_space_between___R4Vev",flex_box_vertical_center:"flex_box_vertical_center___j8R6g",flex_box_center_end:"flex_box_center_end___eB0cz",flex_box_column:"flex_box_column___b9VdU",md:"md___tcpb2",title:"title___dVHM9"},re=be(24065),ne=be(24334),z=be(99064),a=be(89070),y=be(85149),x=be(36708),b=be(87169),te=be(26227),ee=be(59301),ce=Object.defineProperty,fe=Object.defineProperties,he=Object.getOwnPropertyDescriptors,de=Object.getOwnPropertySymbols,pe=Object.prototype.hasOwnProperty,ve=Object.prototype.propertyIsEnumerable,me=(Ze,Me,tt)=>Me in Ze?ce(Ze,Me,{enumerable:!0,configurable:!0,writable:!0,value:tt}):Ze[Me]=tt,Ee=(Ze,Me)=>{for(var tt in Me||(Me={}))pe.call(Me,tt)&&me(Ze,tt,Me[tt]);if(de)for(var tt of de(Me))ve.call(Me,tt)&&me(Ze,tt,Me[tt]);return Ze},Se=(Ze,Me)=>fe(Ze,he(Me)),Te=(Ze,Me,tt)=>new Promise((qe,st)=>{var At=ut=>{try{at(tt.next(ut))}catch(ft){st(ft)}},lt=ut=>{try{at(tt.throw(ut))}catch(ft){st(ft)}},at=ut=>ut.done?qe(ut.value):Promise.resolve(ut.value).then(At,lt);at((tt=tt.apply(Ze,Me)).next())});const we={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1,enableSplitViewResizing:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1};var je=(Ze=>(Ze[Ze.SET_PATH=0]="SET_PATH",Ze[Ze.GET_PASSED_CONTENT=1]="GET_PASSED_CONTENT",Ze))(je||{});function xe(Ze,Me){switch(Me.type){case 0:return Se(Ee({},Ze),{selectedPath:Me.payload});case 1:return Se(Ee({},Ze),{passedContent:Me.payload});default:throw new Error}}var ze=({language:Ze,dispatch:Me,shixunWorkReport:tt,v:qe,languages:st,classroomList:At,autoHeight:lt,diff_code_count:at,data:ut})=>{const[ft,bt]=(0,ye.useState)(st==null?void 0:st[0]),Lt=(0,a.useParams)();return(0,ye.useEffect)(()=>{bt(st==null?void 0:st[0])},[]),(0,ye.useEffect)(()=>{var gt;bt((gt=st==null?void 0:st.filter(ht=>ht.language===(ft==null?void 0:ft.language)))==null?void 0:gt[0])},[st]),ee.createElement(ee.Fragment,null,ee.createElement("h2",null," ",ee.createElement("span",null,qe.is_finish?ee.createElement("span",null,"\u6700\u540E\u901A\u5173\u4EE3\u7801",ee.createElement("span",{className:"ml5 font12 c-grey-999"},"\u901A\u8FC7\u4E86\u672C\u9898\uFF0C\u5728\u4F5C\u4E1A\u65F6\u95F4\u5185\u6700\u540E\u4E00\u6B21\u63D0\u4EA4\u7684\u901A\u5173\u4EE3\u7801")):ee.createElement("span",null,"\u6700\u65B0\u4EE3\u7801",ee.createElement("span",{className:"ml5 font12 c-grey-999"},"\u672A\u901A\u8FC7\u672C\u9898\uFF0C\u5C55\u793A\u6700\u65B0\u7F16\u5199\u7684\u4EE3\u7801\u8BE6\u60C5")),(st==null?void 0:st.length)>1&&ee.createElement(Je.ZP.Group,{defaultValue:Ze,style:{marginLeft:10},onChange:gt=>{var ht;qe.language=gt.target.value,bt((ht=st==null?void 0:st.filter($e=>$e.language===gt.target.value))==null?void 0:ht[0])}},st==null?void 0:st.map(gt=>ee.createElement(Je.ZP,{value:gt==null?void 0:gt.language},gt==null?void 0:gt.language)))),(0,re.GJ)()&&tt!="shixunWorkReport"&&ee.createElement("span",null,ee.createElement("span",null,"\u5F97\u5206 ",ft==null?void 0:ft.score,"/",ft==null?void 0:ft.total_score),ee.createElement(E.ZP,{style:{margin:"0px 10px"},onClick:()=>{var gt,ht;if(!((ht=(gt=At.AssistantObject)==null?void 0:gt.hack)!=null&&ht.can_appraise)&&(0,re.Rm)()){ge.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}let $e=ft==null?void 0:ft.score;Ae.default.confirm({title:"\u8C03\u5206",content:ee.createElement("div",null,ee.createElement("p",null,"\u5F97\u5206\uFF1A",ft==null?void 0:ft.score,"/",ft==null?void 0:ft.total_score),ee.createElement("p",null,"\u8C03\u5206\uFF1A",ee.createElement(ue.Z,{min:0,max:ft==null?void 0:ft.total_score,defaultValue:ft==null?void 0:ft.score,onChange:Pe=>{$e=Pe}}))),okText:"\u786E\u8BA4",onOk:()=>Te(void 0,null,function*(){(yield(0,z.ZP)(`/api/courses/${Lt==null?void 0:Lt.coursesId}/homework_commons/update_hack_score`,{method:"put",body:{course_id:Lt==null?void 0:Lt.coursesId,hack_user_code_id:ft==null?void 0:ft.hack_user_id,score:$e}})).status===0&&(ge.ZP.success("\u8C03\u5206\u6210\u529F"),Me({type:"shixunHomeworks/setActionTabs",payload:{}}),Me({type:"shixunHomeworks/getShixunWorkReports",payload:Ee({},Lt)}))}),cancelText:"\u53D6\u6D88"})},type:"primary"},"\u8C03\u5206"),(0,re.GJ)()&&tt!="shixunWorkReport"&&ee.createElement(E.ZP,{onClick:()=>{var gt;if(!((gt=At.AssistantObject.hack)!=null&>.can_appraise)&&(0,re.Rm)()){ge.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Me({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:tt.user_id,type:"1",language:ft==null?void 0:ft.language,v:qe,data:Ee({},tt)}}})}},"\u70B9\u8BC4\u4EE3\u7801"))),ee.createElement(ae.ZP,{height:300,language:ft==null?void 0:ft.language,value:ft!=null&&ft.code?ne.Base64.decode(ft==null?void 0:ft.code):"",autoHeight:lt,theme:"default",options:we}),((ft==null?void 0:ft.comment)||(ft==null?void 0:ft.hidden_comment))&&ee.createElement("div",null,ee.createElement(le.Z,{align:"middle",style:{borderTop:"1px solid #eee"}},ee.createElement(ie.Z,{flex:1},ee.createElement("h1",{className:oe.title},"\u70B9\u8BC4\u5185\u5BB9")),ee.createElement(ie.Z,{className:"pr30"},(0,re.GJ)()&&ee.createElement(E.ZP,{onClick:()=>Te(void 0,null,function*(){Ae.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",icon:ee.createElement(b.Z,null),content:"\u662F\u5426\u786E\u8BA4\u5220\u9664\uFF1F",onOk(){return Te(this,null,function*(){(yield(0,x.gZ)({comment_id:ft==null?void 0:ft.comment_id,homeworkId:Lt.homeworkId,type:"hack"})).status===0&&(ge.ZP.success("\u5220\u9664\u6210\u529F"),Me({type:"shixunHomeworks/getShixunWorkReports",payload:Ee({},Lt)}))})}})})},ee.createElement(te.Z,null),"\u5220\u9664"))),ee.createElement(se.Z,{style:{margin:0}}),(ft==null?void 0:ft.comment)&&ee.createElement("aside",{className:"pl30 pr30 mt20"},ee.createElement("span",{className:"c-light-black font12"},"# \u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),ee.createElement("br",null),ee.createElement(y.Z,{value:ft==null?void 0:ft.comment})),(ft==null?void 0:ft.hidden_comment)&&ee.createElement("aside",{className:"pl30 pr30 mt20"},ee.createElement("span",{className:"c-light-black font12"},"# \u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),ee.createElement("br",null),ee.createElement(y.Z,{value:ft==null?void 0:ft.hidden_comment}))))}},11091:function(en,zt,be){"use strict";be.r(zt),be.d(zt,{default:function(){return Bt}});var ye=be(59301),Je=be(86129),E=be.n(Je),ge=be(89070),Ae=be(43418),ue=be(61621),le=be(66104),ie=be(95237),se=be(43604),ae=be(3113),oe=be(8591),re=be(28103),ne=be(1710),z=be(27812),a=be(95869),y=be(87169),x=be(26227),b=be(3294),te=be(24065),ee=be(955),ce={flex_box_center:"flex_box_center___lb6Eo",flex_space_between:"flex_space_between___J8ZnK",flex_box_vertical_center:"flex_box_vertical_center___zweTs",flex_box_center_end:"flex_box_center_end___CvkW9",flex_box_column:"flex_box_column___ODy_E",title:"title___AD3SJ",export:"export___XBLMD",title1_right:"title1_right___raWIo",userPic:"userPic___OK1Fq",userInfo:"userInfo___wKpvE",listItem:"listItem___VH7Ls",rightInfo:"rightInfo___lI2xY",shixunTitle:"shixunTitle___lvDL9",shixunWrp:"shixunWrp___QXKnz",footerBar:"footerBar___zgEXb",footerBarStatic:"footerBarStatic___SB7gT",exitComment:"exitComment___oC_uA",nextComment:"nextComment___fCJ3l",modal:"modal___v_Shp"},fe=be(63764),he=be(99064),de=be(24334),pe=be(61186),ve=be.n(pe),me=be(23954),Ee=be(87001);const Se=({shixunHomeworks:kt,autoHeight:pt,classroomList:Ft,user:It,dispatch:Jt})=>{const{shixunWorkReport:Kt}=kt,{stage_list:$t,work_id:An}=Kt,vn=(0,ge.useParams)(),Fn=(0,te.GJ)(),[Yn,xr]=(0,ye.useState)(),Tn={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1},On=zn=>zn==="c++"?1:zn==="C++"?2:zn;function fn(zn,Ir){return(0,he.U2)(`student_works/${An}/rep_passed_content.json`,{path:Ir,game_id:zn})}const _n=(0,ee.qZ)(5,Kt.hack);return ye.createElement(ye.Fragment,null,_n==null?void 0:_n.map(function(zn,Ir){return ye.createElement("div",{key:Ir},zn.map(function(Pr,Tr){var Fr,Lr,Kr;return ye.createElement("aside",{className:"pl30 pr30",key:Tr},ye.createElement("div",{className:`${ce.shixunTitle} mt10`},ye.createElement("div",{style:{display:"flex",width:"100%"}},ye.createElement("span",{className:"fa fa-code "}),ye.createElement("strong",{style:{flex:1},className:"c-black"},"\u7B2C",Ir*5+Tr+1,"\u9898 ",Pr.name),Pr.is_finish&&ye.createElement("a",{style:{marginLeft:20},onClick:Gr=>{Gr.preventDefault(),window.open(`${Pr==null?void 0:Pr.url}&language=${On(Pr.language)}`),localStorage.setItem("program_homework",[vn.coursesId,vn.categoryId])}},"\u67E5\u770B\u7B54\u9898\u8BE6\u60C5",">>"),!Pr.is_finish&&Pr.final_submit_languages.length>0&&ye.createElement("a",{style:{marginLeft:20},onClick:Gr=>{Gr.preventDefault(),window.open(`${Pr==null?void 0:Pr.url}&language=${On(Pr.final_submit_languages[0].language)}`),localStorage.setItem("program_homework",[vn.coursesId,vn.categoryId])}},"\u67E5\u770B\u7B54\u9898\u8BE6\u60C5",">>"))),ye.createElement("div",{className:"font16 mt10"},Pr.is_finish?ye.createElement("aside",{className:ce.shixunWrp},ye.createElement(fe.Z,{classroomList:Ft,user:It,v:Pr,shixunWorkReport:Kt,dispatch:Jt,autoHeight:pt,languages:Pr.languages,language:Pr.language,game_id:Pr.id,data:de.Base64.decode(Pr.code),diff_code_count:Pr.diff_code_count,onPathChange:fn})):Pr.final_submit_languages.length>0&&ye.createElement("aside",{className:ce.shixunWrp},ye.createElement(fe.Z,{classroomList:Ft,user:It,v:Pr,shixunWorkReport:Kt,dispatch:Jt,autoHeight:pt,languages:Pr.final_submit_languages,language:Pr.final_submit_languages[0].language,game_id:Pr.id,data:de.Base64.decode(Pr.final_submit_languages[0].code),diff_code_count:Pr.diff_code_count,onPathChange:fn}))),ye.createElement("aside",{className:"mt10 font16"},(Fr=Pr.history)!=null&&Fr.length?ye.createElement(ne.default,{columns:[{title:"\u8BC4\u6D4B\u5E8F\u53F7",dataIndex:"query_index",width:120},{title:"\u8BC4\u6D4B\u65F6\u95F4",dataIndex:"created_at",key:"created_at",align:"center",width:200,render:(Gr,zr)=>ye.createElement("span",null,zr!=null&&zr.created_at?ve()(zr==null?void 0:zr.created_at).format("YYYY-MM-DD HH:mm"):"--")},{title:"\u8BC4\u6D4B\u7ED3\u679C",dataIndex:"status",key:"status",align:"center",render:(Gr,zr)=>{var yi;return ye.createElement("span",{className:Gr===0?"c-green":"c-red"},((yi=Ee.Im[Gr])==null?void 0:yi.replace("\u8C03\u8BD5","\u8BC4\u6D4B"))||"--")}},((Kr=(Lr=Pr==null?void 0:Pr.history)==null?void 0:Lr[0])==null?void 0:Kr.show_code)&&{title:"\u64CD\u4F5C",align:"center",dataIndex:"code",key:"code",width:100,render:(Gr,zr)=>ye.createElement("span",{style:{cursor:"pointer",color:"#3061d0"},onClick:()=>{Ae.default.confirm({centered:!0,icon:null,width:700,okText:"\u5173\u95ED",cancelButtonProps:{style:{display:"none"}},title:"\u4EE3\u7801\u5185\u5BB9",content:ye.createElement("div",{className:"mb10"},ye.createElement(me.ZP,{height:300,language:"python",theme:"vs-light",value:zr!=null&&zr.code?de.Base64.decode(zr==null?void 0:zr.code):"",autoHeight:pt,options:Tn}))})}},"\u67E5\u770B\u4EE3\u7801")}].filter(Gr=>!!Gr),pagination:{hideOnSinglePage:!0},dataSource:Pr.history}):"\u672C\u5173\u65E0\u8BC4\u6D4B\u8BB0\u5F55"))}))}))};var Te=(0,ge.connect)(({shixunHomeworks:kt,loading:pt,globalSetting:Ft,classroomList:It,user:Jt})=>({shixunHomeworks:kt,globalSetting:Ft,loading:pt.effects,classroomList:It,user:Jt}))(Se),we=be(78241),je=be(92832),xe=be(30917),Oe=be(59301),ze=Object.defineProperty,Ze=Object.getOwnPropertySymbols,Me=Object.prototype.hasOwnProperty,tt=Object.prototype.propertyIsEnumerable,qe=(kt,pt,Ft)=>pt in kt?ze(kt,pt,{enumerable:!0,configurable:!0,writable:!0,value:Ft}):kt[pt]=Ft,st=(kt,pt)=>{for(var Ft in pt||(pt={}))Me.call(pt,Ft)&&qe(kt,Ft,pt[Ft]);if(Ze)for(var Ft of Ze(pt))tt.call(pt,Ft)&&qe(kt,Ft,pt[Ft]);return kt},At=(kt,pt)=>{var Ft={};for(var It in kt)Me.call(kt,It)&&pt.indexOf(It)<0&&(Ft[It]=kt[It]);if(kt!=null&&Ze)for(var It of Ze(kt))pt.indexOf(It)<0&&tt.call(kt,It)&&(Ft[It]=kt[It]);return Ft},lt=(kt,pt,Ft)=>new Promise((It,Jt)=>{var Kt=vn=>{try{An(Ft.next(vn))}catch(Fn){Jt(Fn)}},$t=vn=>{try{An(Ft.throw(vn))}catch(Fn){Jt(Fn)}},An=vn=>vn.done?It(vn.value):Promise.resolve(vn.value).then(Kt,$t);An((Ft=Ft.apply(kt,pt)).next())});const at=kt=>{var pt=kt,{shixunHomeworks:Ft,dispatch:It}=pt,Jt=At(pt,["shixunHomeworks","dispatch"]),Kt,$t,An;const vn=(0,ge.useParams)(),[Fn,Yn]=(0,ye.useState)(!1),[xr]=we.default.useForm(),[Tn,On]=Ae.default.useModal(),[fn,_n]=(0,ye.useState)(!1),[zn,Ir]=(0,ye.useState)(!1);(0,ye.useEffect)(()=>{var Tr,Fr,Lr,Kr,Gr,zr;Ft.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4"&&(Ft.actionTabs.selectArrs.type==="1"?xr.setFieldsValue({comment:Ft.actionTabs.selectArrs.v.comment,hidden_comment:Ft.actionTabs.selectArrs.v.hidden_comment}):xr.setFieldsValue({comment:(Lr=(Fr=(Tr=Ft.actionTabs.selectArrs)==null?void 0:Tr.data)==null?void 0:Fr.data)==null?void 0:Lr.work_comment,hidden_comment:(zr=(Gr=(Kr=Ft.actionTabs.selectArrs)==null?void 0:Kr.data)==null?void 0:Gr.data)==null?void 0:zr.work_comment_hidden}))},[Ft.actionTabs.key]);const Pr=()=>lt(void 0,null,function*(){var Tr,Fr,Lr,Kr;const Gr=xr.getFieldValue();let zr=Ft.actionTabs.selectArrs.type==="1"?`/api/problems/${Ft.actionTabs.selectArrs.v.identifier}/hack_comment.json`:`/api/student_works/${vn.homeworkId}/shixun_work_comment.json`;(yield(0,he.ZP)(zr,{method:"post",body:{hidden_comment:Gr.hidden_comment,comment:Gr.comment,language:(Tr=Ft.actionTabs.selectArrs)==null?void 0:Tr.language,user_id:(Kr=(Lr=(Fr=Ft.actionTabs.selectArrs)==null?void 0:Fr.data)==null?void 0:Lr.data)==null?void 0:Kr.user_id}})).status===0&&(oe.ZP.success("\u8BC4\u9605\u6210\u529F"),xr.resetFields(),It({type:"shixunHomeworks/setActionTabs",payload:{}}),It({type:"shixunHomeworks/getShixunWorkReports",payload:st({},vn)}))});return Oe.createElement(Oe.Fragment,null,On,Oe.createElement(Ae.default,{centered:!0,title:Oe.createElement("span",null,((Kt=Ft.actionTabs.selectArrs)==null?void 0:Kt.type)==="1"?"\u70B9\u8BC4\u4EE3\u7801":"\u66F4\u6539\u70B9\u8BC4",(($t=Ft.actionTabs.selectArrs)==null?void 0:$t.language)&&Oe.createElement("span",{style:{marginLeft:10,fontSize:14}},"\u4F7F\u7528\u8BED\u8A00\uFF1A",(An=Ft.actionTabs.selectArrs)==null?void 0:An.language)),open:Ft.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>lt(void 0,null,function*(){const Tr=xr.getFieldValue();JSON.stringify(Tr)==="{}"||Tr.hidden_comment===""&&Tr.comment===""?Yn(!0):Pr()}),onCancel:()=>{It({type:"shixunHomeworks/setActionTabs",payload:{}})}},Oe.createElement(we.default,{form:xr,onChange:()=>{Fn&&Yn(!1)}},Oe.createElement(ie.Z,{wrap:!1,align:"middle",justify:"space-between"},Oe.createElement(se.Z,null,Oe.createElement("div",null,"\u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1")),Oe.createElement(se.Z,null,Oe.createElement(xe.Z,{isShowComponent:(0,te.G5)(),ModalProps:{open:fn,onCancel:()=>{_n(!1)}},onDataSelect:(Tr,Fr)=>lt(void 0,[Tr,Fr],function*(Lr,{node:Kr}){const Gr=()=>{xr.setFieldsValue({comment:Kr==null?void 0:Kr.value}),_n(!1)};if(xr.getFieldValue("comment")){Tn.confirm({icon:null,title:"\u63D0\u793A",centered:!0,content:"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u8BC4\u8BED\u8F93\u5165\u6846\u4E2D\u5DF2\u6709\u5185\u5BB9\uFF0C\u4F7F\u7528\u5E38\u7528\u8BC4\u8BED\u5C06\u4F1A\u8986\u76D6\u539F\u6709\u5185\u5BB9\u3002\u662F\u5426\u4F7F\u7528\uFF1F",okText:"\u4F7F\u7528",onOk:Gr});return}Gr()})},Oe.createElement(ae.ZP,{style:{padding:0,height:"auto"},icon:Oe.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:Tr=>{_n(!0)}},"\u5E38\u7528\u8BC4\u8BED")))),Oe.createElement(we.default.Item,{name:"comment"},Oe.createElement(je.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:8})),Oe.createElement(ie.Z,{wrap:!1,align:"middle",justify:"space-between"},Oe.createElement(se.Z,null,Oe.createElement("div",null,"\u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1")),Oe.createElement(se.Z,null,Oe.createElement(xe.Z,{isShowComponent:(0,te.G5)(),ModalProps:{open:zn,onCancel:()=>{Ir(!1)}},onDataSelect:(Tr,Fr)=>lt(void 0,[Tr,Fr],function*(Lr,{node:Kr}){const Gr=()=>{xr.setFieldsValue({hidden_comment:Kr==null?void 0:Kr.value}),Ir(!1)};if(xr.getFieldValue("hidden_comment")){Tn.confirm({icon:null,title:"\u63D0\u793A",centered:!0,content:"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u8BC4\u8BED\u8F93\u5165\u6846\u4E2D\u5DF2\u6709\u5185\u5BB9\uFF0C\u4F7F\u7528\u5E38\u7528\u8BC4\u8BED\u5C06\u4F1A\u8986\u76D6\u539F\u6709\u5185\u5BB9\u3002\u662F\u5426\u4F7F\u7528\uFF1F",okText:"\u4F7F\u7528",onOk:Gr});return}Gr()})},Oe.createElement(ae.ZP,{style:{padding:0,height:"auto"},icon:Oe.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:Tr=>{Ir(!0)}},"\u5E38\u7528\u8BC4\u8BED")))),Oe.createElement(we.default.Item,{name:"hidden_comment"},Oe.createElement(je.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:8}))),Fn&&Oe.createElement("p",{className:"c-red"},"\u8BC4\u9605\u5185\u5BB9\u81F3\u5C11\u6709\u4E00\u4E2A\u4E0D\u4E3A\u7A7A")))};var ut=(0,ge.connect)(({shixunHomeworks:kt})=>({shixunHomeworks:kt}))(at),ft=be(16938),bt=be(85149),Lt=be(36708),gt=be(44164),ht=be.n(gt),$e=be(83992),Pe=be(59301),ke=Object.defineProperty,Ve=Object.defineProperties,Qe=Object.getOwnPropertyDescriptors,De=Object.getOwnPropertySymbols,Ye=Object.prototype.hasOwnProperty,Ue=Object.prototype.propertyIsEnumerable,Le=(kt,pt,Ft)=>pt in kt?ke(kt,pt,{enumerable:!0,configurable:!0,writable:!0,value:Ft}):kt[pt]=Ft,Ne=(kt,pt)=>{for(var Ft in pt||(pt={}))Ye.call(pt,Ft)&&Le(kt,Ft,pt[Ft]);if(De)for(var Ft of De(pt))Ue.call(pt,Ft)&&Le(kt,Ft,pt[Ft]);return kt},nt=(kt,pt)=>Ve(kt,Qe(pt)),ct=(kt,pt)=>{var Ft={};for(var It in kt)Ye.call(kt,It)&&pt.indexOf(It)<0&&(Ft[It]=kt[It]);if(kt!=null&&De)for(var It of De(kt))pt.indexOf(It)<0&&Ue.call(kt,It)&&(Ft[It]=kt[It]);return Ft},St=(kt,pt,Ft)=>new Promise((It,Jt)=>{var Kt=vn=>{try{An(Ft.next(vn))}catch(Fn){Jt(Fn)}},$t=vn=>{try{An(Ft.throw(vn))}catch(Fn){Jt(Fn)}},An=vn=>vn.done?It(vn.value):Promise.resolve(vn.value).then(Kt,$t);An((Ft=Ft.apply(kt,pt)).next())});const wt=kt=>{var pt=kt,{shixunHomeworks:Ft,globalSetting:It,loading:Jt,classroomList:Kt,dispatch:$t}=pt,An=ct(pt,["shixunHomeworks","globalSetting","loading","classroomList","dispatch"]),vn,Fn,Yn,xr,Tn,On,fn,_n,zn,Ir,Pr,Tr,Fr,Lr,Kr,Gr,zr,yi,fa,Mi,Li,qn,Er,Qt,tn,cn,rr,bn,an,gn,Nr;const[lr,_r]=(0,ye.useState)(Ne({},(0,ge.useParams)())),ei=(0,ge.useParams)(),Qn=(0,ge.useLocation)(),[]=(0,ye.useState)([]),[yr,oi]=(0,ye.useState)({last:!1}),[Xn,Mr]=(0,ye.useState)({last:!1}),Sr=(0,ye.useRef)(),ci=(0,ye.useRef)(),[Ci,Ni]=(0,ye.useState)(!1),[na,Qi]=(0,ye.useState)(!1),[Ii,xi]=(0,ye.useState)(!1),{shixunWorkReport:or}=Ft,[ga,ar]=(0,ye.useState)(new(E())),[$i,no]=(0,ye.useState)([]),[Ki,ki]=(0,ye.useState)(!1),[Cr,qr]=(0,ye.useState)(!1);(0,ye.useEffect)(()=>($t({type:"globalSetting/footerToggle",payload:!1}),$t({type:"classroomList/getAssistantPermissions",payload:{course_id:lr.coursesId}}),()=>{$t({type:"globalSetting/footerToggle",payload:!0})}),[]),(0,ye.useEffect)(()=>{Ft.actionTabs.key==="\u5BFC\u51FA\u7F16\u7A0B\u62A5\u544A"&&$i.length>0&&!na&&setTimeout(()=>{Ka("all")},800)},[$i,na]),(0,ye.useEffect)(()=>{_r(Ne({},ei))},[Qn.pathname]);const Fi=()=>{document.body.scrollIntoView()};function Wr(){return St(this,null,function*(){var Di,aa,tr,Hr;const fi=JSON.parse(sessionStorage.all_student_works_params||"{}"),bi=yield $t({type:"shixunHomeworks/getAllStudentWorks",payload:Ne(Ne({},lr),fi)});no(bi.all_student_works);const Ca=(Di=bi.all_student_works)==null?void 0:Di.map(Ti=>String(Ti.student_work_id)).indexOf(lr.homeworkId);Ca===((aa=bi.all_student_works)==null?void 0:aa.length)-1?oi({last:!0}):oi((tr=bi.all_student_works)==null?void 0:tr[Ca+1]),Mr(Ca===0?{last:!0}:(Hr=bi.all_student_works)==null?void 0:Hr[Ca-1])})}const Pa=()=>{document.querySelectorAll("canvas").forEach(Di=>{(!Di.clientWidth||!Di.clientHeight)&&Di.remove()})},pa=()=>{Sr.current.offsetHeight>62e3?xi(!1):xi(!0)},Ka=Di=>St(void 0,null,function*(){var aa,tr,Hr,fi;let bi=0,Ca;Ca=Ae.default.info({width:460,title:Pe.createElement("div",null,"\u6B63\u5728\u5BFC\u51FA\u7F16\u7A0B\u62A5\u544A,",Pe.createElement("span",{className:"c-red"},"\u8BF7\u52FF\u5173\u95ED\u6216\u64CD\u4F5C\u5F53\u524D\u6D4F\u89C8\u5668\u7A97\u53E3")),content:Pe.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",Pe.createElement("span",{className:"c-blue"},bi+1),"/",Di!=="all"?1:$i==null?void 0:$i.length,Pe.createElement("br",null),"\u8BF7\u52FF\u5173\u95ED\u6D4F\u89C8\u5668\u7A97\u53E3"),maskClosable:!1,className:ce.modal,onOk:()=>{}});const Ti={margin:[0,0],filename:`${(aa=or==null?void 0:or.data)==null?void 0:aa.user_name}.pdf`,html2canvas:{useCORS:!0,letterRendering:!0},jsPDF:{unit:"mm",format:"a4",orientation:"landscape"}};function va(){return St(this,null,function*(){const Sa=yield $t({type:"shixunHomeworks/getShixunWorkReports",payload:nt(Ne({},lr),{homeworkId:$i[bi].student_work_id,user_id:$i[bi].user_id,id:lr.categoryId})});Fi(),bi++,setTimeout(()=>St(this,null,function*(){var oa,ea;Pa();const Xa=ga.folder(`${(oa=Sa==null?void 0:Sa.data)==null?void 0:oa.user_name}`),Qa=document.querySelector("#export-all").children;let Ba=ht()();for(let ao=0;aoSt(this,null,function*(){ao{var Fs;const wl=Ja.folder(`\u7B2C${As+1}\u5173-${ao.name}-${ao.id}`);(Fs=ao==null?void 0:ao.languages)==null||Fs.map(pn=>{wl.file(`${pn.language}.txt`,de.Base64.decode(pn==null?void 0:pn.code))})}),Ca.update({content:Pe.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",Pe.createElement("span",{className:"c-blue"},bi),"/",$i==null?void 0:$i.length,Pe.createElement("br",null),"\u8BF7\u52FF\u5173\u95ED\u6D4F\u89C8\u5668\u7A97\u53E3")}),bi==($i==null?void 0:$i.length)?(Ca.destroy(),Ao()):va()}),2200)})}if(Di!=="all"||($i==null?void 0:$i.length)<2){Pa(),Fi();const Sa=ci.current.children;let oa=ht()();const ea=ga.folder(`${(tr=or==null?void 0:or.data)==null?void 0:tr.user_name}`);for(let Qa=0;QaSt(void 0,null,function*(){Qa{var Ja;const ao=Xa.folder(`\u7B2C${Ba+1}\u5173-${Qa.name}-${Qa.id}`);(Ja=Qa==null?void 0:Qa.languages)==null||Ja.map(As=>{ao.file(`${As.language}.txt`,de.Base64.decode(As==null?void 0:As.code))})}),Ca.destroy(),Ao();return}else va()}),Ao=()=>{ga.generateAsync({type:"blob"}).then(function(Di){const aa=document.createElement("a");aa.href=window.URL.createObjectURL(Di),aa.download=or.category.course_name+".zip",document.body.appendChild(aa);const tr=document.createEvent("MouseEvents");tr.initEvent("click",!1,!1),aa.dispatchEvent(tr),document.body.removeChild(aa),ar(new(E()))}),xi(!1)};(0,ye.useEffect)(()=>{Ei()},[lr.homeworkId]);const Ei=()=>St(void 0,null,function*(){Qi(!0),yield $t({type:"shixunHomeworks/getShixunWorkReports",payload:Ne({},lr)}),Qi(!1),(0,te.GJ)()&&Wr()}),cs=[{title:"\u9898\u53F7",dataIndex:"name",render:(Di,aa,tr)=>tr+1},{title:"\u9898\u76EE\u540D\u79F0",dataIndex:"name",ellipsis:!0,width:"30%"},{title:"\u5B8C\u6210\u65F6\u95F4",dataIndex:"finish_time",width:"200px",render:(Di,aa,tr)=>{var Hr,fi;return Pe.createElement("div",null,Pe.createElement("p",null,Di||"- -"),(fi=(Hr=aa==null?void 0:aa.subitem)==null?void 0:Hr.map(bi=>bi.finish_time))==null?void 0:fi.map(bi=>Pe.createElement("p",null,bi||"- -")))}},{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"submit_count",render:(Di,aa,tr)=>{var Hr,fi;return Pe.createElement("div",null,Pe.createElement("p",null,Di||"- -"),(fi=(Hr=aa==null?void 0:aa.subitem)==null?void 0:Hr.map(bi=>bi.submit_count))==null?void 0:fi.map(bi=>Pe.createElement("p",null,bi||"- -")))}},{title:"\u8FD0\u884C\u65F6\u95F4\uFF08ms\uFF09",dataIndex:"run_time",render:(Di,aa,tr)=>{var Hr,fi;return Pe.createElement("div",null,Pe.createElement("p",null,Di||"- -"),(fi=(Hr=aa==null?void 0:aa.subitem)==null?void 0:Hr.map(bi=>bi.run_time))==null?void 0:fi.map(bi=>Pe.createElement("p",null,bi||"- -")))}},{title:"\u5185\u5B58\uFF08kb\uFF09",dataIndex:"memory",render:(Di,aa,tr)=>{var Hr,fi;return Pe.createElement("div",null,Pe.createElement("p",null,Di||"- -"),(fi=(Hr=aa==null?void 0:aa.subitem)==null?void 0:Hr.map(bi=>bi.memory))==null?void 0:fi.map(bi=>Pe.createElement("p",null,bi||"- -")))}},{title:"\u4F7F\u7528\u8BED\u8A00",dataIndex:"language",render:(Di,aa,tr)=>{var Hr,fi;return Pe.createElement("div",null,Pe.createElement("p",null,Di||"- -"),(fi=(Hr=aa==null?void 0:aa.subitem)==null?void 0:Hr.map(bi=>bi.language))==null?void 0:fi.map(bi=>Pe.createElement("p",null,bi||"- -")))}},{title:"\u5F97\u5206",dataIndex:"score",render:(Di,aa,tr)=>Pe.createElement("div",null,Pe.createElement("p",null,Di||"- -"))},{title:"\u6392\u540D",dataIndex:"rank",render:(Di,aa,tr)=>{var Hr,fi;return Pe.createElement("div",null,Pe.createElement("p",null,Di||"- -"),(fi=(Hr=aa==null?void 0:aa.subitem)==null?void 0:Hr.map(bi=>bi.rank))==null?void 0:fi.map(bi=>Pe.createElement("p",null,bi||"- -")))}}],fr=Di=>{$t({type:"shixunHomeworks/setActionTabs",payload:{key:"",type:2}}),setTimeout(()=>{Di==="next"?ge.history.push(`/classrooms/${lr.coursesId}/program_homework/${lr.categoryId}/${yr==null?void 0:yr.student_work_id}/${yr==null?void 0:yr.user_id}/comment`):ge.history.push(`/classrooms/${lr.coursesId}/program_homework/${lr.categoryId}/${Xn==null?void 0:Xn.student_work_id}/${Xn==null?void 0:Xn.user_id}/comment`)},200)};return Pe.createElement("section",{className:"bg-fafafa",style:{position:"sticky",top:0}},Pe.createElement("div",{className:"edu-container mt10",style:{paddingBottom:100}},Pe.createElement(ue.Z,{loading:na,active:!0,avatar:{size:40},paragraph:{rows:5}},Pe.createElement("div",{className:"edu-container"},((vn=or==null?void 0:or.category)==null?void 0:vn.course_id)&&Pe.createElement("section",{className:"animated fadeIn"},Pe.createElement("aside",{className:""},(or==null?void 0:or.category)&&Pe.createElement(le.Z,{separator:">"},Pe.createElement(le.Z.Item,null,Pe.createElement(ge.Link,{to:`/classrooms/${(Fn=or==null?void 0:or.category)==null?void 0:Fn.course_id}/program_homework`},(Yn=or==null?void 0:or.category)==null?void 0:Yn.course_name)),Pe.createElement(le.Z.Item,null,Pe.createElement(ge.Link,{to:`/classrooms/${(xr=or==null?void 0:or.category)==null?void 0:xr.course_id}/program_homework`},or.category.category_name)),Pe.createElement(le.Z.Item,null,Pe.createElement(ge.Link,{to:`/classrooms/${(Tn=or==null?void 0:or.category)==null?void 0:Tn.course_id}/program_homework/${lr==null?void 0:lr.categoryId}/detail`},"\u4F5C\u4E1A\u8BE6\u60C5")),Pe.createElement(le.Z.Item,null,(On=or==null?void 0:or.data)==null?void 0:On.user_name))),Pe.createElement("aside",{className:[ce.title1,"mt20"].join(" ")},Pe.createElement(ie.Z,{align:"middle"},Pe.createElement(se.Z,{flex:1},Pe.createElement(ge.Link,{to:`/classrooms/${lr.coursesId}/program_homework/${lr==null?void 0:lr.categoryId}/detail`},Pe.createElement(z.Z,{className:"font16 c-black"})),Pe.createElement("strong",{className:"font20 ml5"},(fn=or==null?void 0:or.category)==null?void 0:fn.homework_name),Pe.createElement(ee.VV,{temporary:!0,status:or.homework_status})),Pe.createElement(se.Z,{className:ce.title1_right},Pe.createElement(ae.ZP,{className:"ml10",onClick:()=>{var Di;if((0,te.Rm)()&&!((Di=Kt.AssistantObject.hack)!=null&&Di.can_download)){oe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Ka("")},loading:Ci},Pe.createElement("span",{className:"iconfont icon-daochu mr5"}),"\u5BFC\u51FA\u7F16\u7A0B\u62A5\u544A"),(0,te.GJ)()&&($i==null?void 0:$i.length)>1&&Pe.createElement(ae.ZP,{className:"ml10",onClick:()=>{var Di;if((0,te.Rm)()&&!((Di=Kt.AssistantObject.hack)!=null&&Di.can_download)){oe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Ka("all")}},Pe.createElement("span",{className:"iconfont icon-daochu mr5"}),"\u5BFC\u51FA\u5168\u90E8\u5B66\u751F\u7F16\u7A0B\u62A5\u544A"))))),Pe.createElement("aside",{className:"mt30 relative"})),Pe.createElement("aside",{className:"edu-container bg-white",ref:Sr},Pe.createElement("div",{id:"export-all",ref:ci},Pe.createElement("div",{id:"export-all-1"},Pe.createElement("div",{className:ce.title},Pe.createElement("h1",null,"\u603B\u4F53\u8BC4\u4EF7"),Pe.createElement("div",null,(0,te.GJ)()&&Pe.createElement(ae.ZP,{className:"mr20",type:"primary",onClick:()=>{$t({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:or.user_id,data:Ne({},or)}}})}},Pe.createElement(a.Z,null),(_n=or==null?void 0:or.data)!=null&&_n.has_comment?"\u66F4\u6539\u70B9\u8BC4":"\u70B9\u8BC4\u4F5C\u4E1A"))),Pe.createElement(re.Z,{style:{marginTop:0}}),Pe.createElement(ie.Z,{className:"pl30 pr30"},Pe.createElement(se.Z,null,Pe.createElement("img",{className:ce.userPic,src:`${b.Z.IMG_SERVER}/images/${(zn=or==null?void 0:or.data)==null?void 0:zn.image_url}`,alt:(Ir=or==null?void 0:or.data)==null?void 0:Ir.username})),Pe.createElement(se.Z,null,Pe.createElement("span",{className:"font16 ml40"},(Pr=or==null?void 0:or.data)==null?void 0:Pr.user_name),Pe.createElement(ee.UQ,{status:(Tr=or==null?void 0:or.data)==null?void 0:Tr.compelete_status}),Pe.createElement("ul",{className:ce.userInfo},Pe.createElement("li",null,"\u5B66\u53F7\uFF1A",((Fr=or==null?void 0:or.data)==null?void 0:Fr.student_id)||"--"),Pe.createElement("li",null,"\u5206\u73ED\uFF1A",((Lr=or==null?void 0:or.data)==null?void 0:Lr.course_group)||"--"),Pe.createElement("br",null),Pe.createElement("li",null,"\u622A\u6B62\u524D\u5B8C\u6210\u5237\u9898\uFF1A",Pe.createElement("span",{className:"c-red"},(Kr=or==null?void 0:or.data)==null?void 0:Kr.finish_do)),Pe.createElement("li",null,"\u6700\u65B0\u5B8C\u6210\u5237\u9898\uFF1A",Pe.createElement("span",{className:"c-red"},((Gr=or==null?void 0:or.data)==null?void 0:Gr.latest_do)||"-")))),Pe.createElement("ul",{className:[ce.listItem,"mt10"].join(" ")},Pe.createElement("li",null,Pe.createElement("strong",null,"\u5B8C\u6210\u65F6\u95F4"),Pe.createElement("div",{className:"c-light-black mt20"},(or==null?void 0:or.data)&&((zr=or==null?void 0:or.data)==null?void 0:zr.finish_time))),Pe.createElement("li",null,Pe.createElement("strong",null,"\u5B8C\u6210\u65F6\u957F",Pe.createElement("i",{onClick:Di=>{Di.stopPropagation(),Di.preventDefault(),qr(!0)},style:{marginLeft:4,display:"none",color:"#145DFF",fontSize:16,cursor:"pointer"},className:"iconfont icon-tishixiaowenhao"})),Pe.createElement("div",{className:"c-light-black mt20"},(yi=or==null?void 0:or.data)==null?void 0:yi.finish_time_long)),Pe.createElement("li",null,Pe.createElement("strong",null,"\u8BC4\u6D4B\u6B21\u6570"),Pe.createElement("div",{className:"mt20"},(fa=or==null?void 0:or.data)==null?void 0:fa.submit_count)),Pe.createElement("li",null,Pe.createElement("strong",null,"\u901A\u8FC7\u7387"),Pe.createElement("div",{className:"mt20"},Pe.createElement("span",null,((Mi=or==null?void 0:or.data)==null?void 0:Mi.pass_rate)||"- -"))),Pe.createElement("li",null,Pe.createElement("strong",null,"\u5F97\u5206"),Pe.createElement("div",{className:"mt20"},Pe.createElement($e.n,{value:(Li=or==null?void 0:or.data)==null?void 0:Li.score,placeholder:"-"}))),Pe.createElement("li",null,Pe.createElement("strong",null,"\u7EC3\u4E60\u603B\u6392\u540D"),Pe.createElement("div",{className:"mt20"},Pe.createElement("span",{className:"c-orange"},(qn=or==null?void 0:or.data)==null?void 0:qn.total_rank))),Pe.createElement("li",null,Pe.createElement("strong",null,"\u5206\u73ED\u6392\u540D"),Pe.createElement("div",{className:"mt20"},Pe.createElement("span",{className:"c-orange"},(Er=or==null?void 0:or.data)==null?void 0:Er.class_rank))))),Pe.createElement(re.Z,{style:{margin:0}}),(((Qt=or==null?void 0:or.data)==null?void 0:Qt.work_comment_hidden)||((tn=or==null?void 0:or.data)==null?void 0:tn.work_comment))&&Pe.createElement("div",null,Pe.createElement(ie.Z,{align:"middle"},Pe.createElement(se.Z,{flex:1},Pe.createElement("h1",{className:ce.title},"\u70B9\u8BC4\u5185\u5BB9")),Pe.createElement(se.Z,{className:"pr30"},(0,te.GJ)()&&Pe.createElement(ae.ZP,{onClick:()=>St(void 0,null,function*(){Ae.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",icon:Pe.createElement(y.Z,null),content:"\u662F\u5426\u786E\u8BA4\u5220\u9664\uFF1F",onOk(){return St(this,null,function*(){var Di;(yield(0,Lt.gZ)({comment_id:(Di=or==null?void 0:or.data)==null?void 0:Di.comment_id,homeworkId:lr.homeworkId})).status===0&&(oe.ZP.success("\u5220\u9664\u6210\u529F"),$t({type:"shixunHomeworks/getShixunWorkReports",payload:Ne({},lr)}))})}})})},Pe.createElement(x.Z,null),"\u5220\u9664"))),Pe.createElement(re.Z,{style:{margin:0}}),((cn=or==null?void 0:or.data)==null?void 0:cn.work_comment)&&Pe.createElement("aside",{className:"pl30 pr30 mt20"},Pe.createElement("span",{className:"c-light-black font12"},"# \u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),Pe.createElement("br",null),Pe.createElement(bt.Z,{value:(rr=or==null?void 0:or.data)==null?void 0:rr.work_comment})),((bn=or==null?void 0:or.data)==null?void 0:bn.work_comment_hidden)&&Pe.createElement("aside",{className:"pl30 pr30 mt20"},Pe.createElement("span",{className:"c-light-black font12"},"# \u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),Pe.createElement("br",null),Pe.createElement(bt.Z,{value:(an=or==null?void 0:or.data)==null?void 0:an.work_comment_hidden}))),Pe.createElement("h1",{className:ce.title},"\u9636\u6BB5\u6210\u7EE9"),Pe.createElement("aside",{className:"pl30 pr30"},Pe.createElement(ne.default,{dataSource:or==null?void 0:or.hack,pagination:!1,columns:cs})),((gn=or==null?void 0:or.data)==null?void 0:gn.work_description)&&Pe.createElement(Pe.Fragment,null,Pe.createElement("h1",{className:ce.title},"\u4E2A\u4EBA\u603B\u7ED3"),Pe.createElement("aside",{className:"pl30 pr30"},Pe.createElement(bt.Z,{value:(Nr=or==null?void 0:or.data)==null?void 0:Nr.work_description}))),Pe.createElement("h1",{className:ce.title},"\u5237\u9898\u8BE6\u60C5")),Pe.createElement(Te,{autoHeight:Ii}))),(0,te.GJ)()&&Pe.createElement("aside",{className:`${ce.footerBar} ${Ci?ce.footerBarStatic:""}`},Pe.createElement("aside",{className:"edu-container"},Pe.createElement(ie.Z,{align:"middle"},Pe.createElement(se.Z,{flex:"1"},Pe.createElement(ge.Link,{className:ce.exitComment,to:`/classrooms/${lr.coursesId}/program_homework/${lr.categoryId}/detail`},"\u8FD4\u56DE\u5217\u8868")),Pe.createElement(se.Z,{flex:"1",className:"tr"},Pe.createElement(ae.ZP,{type:"default",disabled:Xn==null?void 0:Xn.last,onClick:()=>fr()},"\u4E0A\u4E00\u4E2A"),Pe.createElement(ae.ZP,{type:"default",style:{marginLeft:"20px",marginRight:"20px"},disabled:yr==null?void 0:yr.last,onClick:()=>fr("next")},"\u4E0B\u4E00\u4E2A"),(0,te.GJ)()&&Pe.createElement(ae.ZP,{type:"primary",onClick:()=>St(void 0,null,function*(){var Di;if(!((Di=Kt.AssistantObject.hack)!=null&&Di.can_appraise)&&(0,te.Rm)()){oe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}$t({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:or.user_id,data:Ne({},or)}}})})},"\u70B9\u8BC4\u4F5C\u4E1A"))))))),Pe.createElement(ut,null),Pe.createElement(ft.Z,null),Pe.createElement(Ae.default,{open:Ki,width:860,centered:!0,onCancel:()=>{ki(!1)},title:"\u8BA1\u65F6\u89C4\u5219\u8BF4\u660E",footer:null},Pe.createElement("div",{style:{color:"#333333",fontWeight:400}},Pe.createElement("span",{style:{fontWeight:500}},"1\u3001\u9875\u9762\u505C\u7559\u65F6\u957F"),Pe.createElement("br",null),Pe.createElement("span",null,"\u5B66\u751F\u8FDB\u5165\u5173\u5361\u7684\u7B54\u9898\u9875\u9762\u5F00\u59CB\u8BA1\u65F6\uFF0C\u76F4\u81F3\u5B66\u751F\u5173\u5361\u8BC4\u6D4B\u901A\u8FC7\uFF0C\u5219\u8BA1\u65F6\u7ED3\u675F\uFF1B"),Pe.createElement("br",null),Pe.createElement("span",null," \u5B66\u751F\u8FDB\u5165\u5173\u5361\u7684\u7B54\u9898\u9875\u9762\u5F00\u59CB\u8BA1\u65F6\uFF0C\u82E5\u5B66\u751F\u5173\u95ED/\u9000\u51FA\u7B54\u9898\u9875\u9762\uFF0C\u5219\u8BA1\u65F6\u6682\u505C\uFF0C\u518D\u6B21\u8FDB\u5165\u7B54\u9898\u9875\u9762\u65F6\u5F00\u59CB\u7D2F\u8BA1\u8BA1\u65F6\u76F4\u81F3\u8BC4\u6D4B\u901A\u8FC7\uFF0C\u5219\u8BA1\u65F6\u7ED3\u675F\uFF1B"),Pe.createElement("span",{style:{color:"#FA6400",display:"flex",height:34,alignItems:"center"}}," \u53EF\u80FD\u4F1A\u9020\u6210\u65F6\u957F\u8BC4\u4F30\u4E0E\u5B9E\u9645\u505A\u9898\u80FD\u529B\u4E0D\u7B26\u7684\u60C5\u51B5 "),Pe.createElement("span",null,"a\u3001\u5B66\u751F\u8FDB\u5165\u5173\u5361\u770B\u5B8C\u9898\u540E\uFF0C\u9000\u51FA\u7B54\u9898\u9875\u9762\u5B8C\u6210\u4EE3\u7801\u8BBE\u8BA1\uFF0C\u518D\u590D\u5236\u8FDB\u5E73\u53F0\u7B54\u9898\u9875\u9762\u8FDB\u884C\u8BC4\u6D4B\uFF0C\u65E0\u6CD5\u8BC4\u4F30\u5B66\u751F\u7684\u5B66\u4E60\u548C\u601D\u8003\u65F6\u95F4\u3002")),Pe.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},Pe.createElement("span",{style:{fontWeight:500}},"2\u3001\u5173\u5361\u603B\u8017\u65F6"),Pe.createElement("br",null),Pe.createElement("span",{style:{}},"\u5B66\u751F\u7B2C\u4E00\u6B21\u8FDB\u5165\u5173\u5361\u7B54\u9898\u9875\u9762\u5F00\u59CB\u8BA1\u65F6\uFF0C\u76F4\u81F3\u8BE5\u5173\u5361\u8BC4\u6D4B\u901A\u8FC7\uFF0C\u5219\u8BA1\u65F6\u7ED3\u675F\u3002 "),Pe.createElement("br",null),Pe.createElement("span",null," \u53E6\uFF0C\u5373\u4F7F\u5173\u5361\u95EF\u5173\u8FC7\u7A0B\u4E2D\uFF0C\u5B66\u751F\u9000\u51FA/\u5173\u95ED\u7B54\u9898\u9875\u9762\uFF0C\u4E5F\u5C06\u6301\u7EED\u8BA1\u65F6\uFF0C\u76F4\u81F3\u8BE5\u5173\u5361\u901A\u8FC7\u3002"),Pe.createElement("span",{style:{color:"#FA6400",display:"flex",height:44,paddingTop:10}}," \u53EF\u80FD\u4F1A\u9020\u6210\u65F6\u957F\u8BC4\u4F30\u4E0E\u5B9E\u9645\u505A\u9898\u80FD\u529B\u4E0D\u7B26\u7684\u60C5\u51B5 "),Pe.createElement("span",null,"a\u3001\u5B66\u751F\u4ECE\u5176\u4ED6\u540C\u5B66\u5904\u770B\u5230\u9898\u76EE\u540E\uFF0C\u5B8C\u6210\u4EE3\u7801\u8BBE\u8BA1\uFF0C\u518D\u8FDB\u5165\u5173\u5361\u7B54\u9898\u9875\u9762\uFF0C\u5C06\u5DF2\u5B8C\u6210\u7684\u4EE3\u7801\u590D\u5236\u81F3\u5E73\u53F0\u8FDB\u884C\u8BC4\u6D4B\uFF1B"),Pe.createElement("br",null),Pe.createElement("span",null,"b\u3001\u5B66\u751F\u7B2C\u4E00\u6B21\u6253\u5F00\u5173\u5361\u540E\uFF0C\u56E0\u4E3A\u67D0\u79CD\u539F\u56E0\u79BB\u5F00\u9875\u9762\uFF0C\u65F6\u9694\u591A\u65E5\u624D\u518D\u6B21\u8FDB\u5165\u5E73\u53F0\u95EF\u5173\uFF0C\u5C31\u4F1A\u5BFC\u81F4\u5B66\u751F\u5173\u5361\u603B\u8017\u65F6\u8FC7\u957F\uFF1B")),Pe.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},Pe.createElement("span",{style:{fontWeight:500}},"3\u3001\u4F5C\u4E1A\u901A\u5173\u65F6\u957F"),Pe.createElement("br",null),Pe.createElement("span",{style:{}},"\u4ECE\u8001\u5E08\u53D1\u5E03\u7684\u5B9E\u8BAD\u4F5C\u4E1A\u5F00\u59CB\u65F6\u95F4\uFF0C\u5F00\u59CB\u8BA1\u65F6\uFF0C\u76F4\u81F3\u5B66\u751F\u5B9E\u8BAD\u901A\u5173\uFF08\u5305\u62EC\u8FDF\u4EA4\u901A\u5173\uFF09\uFF0C\u7ED3\u675F\u8BA1\u65F6\u3002\u5982\u679C\u5B66\u751F\u672A\u901A\u5173\uFF0C\u5219\u8BE5\u751F\u7684\u95EF\u5173\u8017\u65F6\u4E3A\u8001\u5E08\u8BBE\u7F6E\u7684\u5B9E\u8BAD\u5F00\u59CB\u65F6\u95F4\u81F3\u5B9E\u8BAD\u622A\u6B62\u65F6\u95F4\uFF0C\u5982\u679C\u8001\u5E08\u5F00\u542F\u4E86\u8865\u4EA4\uFF0C\u5219\u8BE5\u751F\u7684\u95EF\u5173\u8017\u65F6\u4E3A\u5B9E\u8BAD\u5F00\u59CB\u65F6\u95F4\u81F3\u5B9E\u8BAD\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u3002")),Pe.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},Pe.createElement("span",{style:{fontWeight:500}},"\u89C4\u5219\u76EE\u7684"),Pe.createElement("br",null),Pe.createElement("span",{style:{}},"\u9F13\u52B1\u5B66\u751F\u5728\u5B9E\u8BAD\u4F5C\u4E1A\u53D1\u5E03\u7684\u7B2C\u4E00\u65F6\u95F4\uFF0C\u7ACB\u5373\u767B\u5F55\u5E73\u53F0\u5B8C\u6210\u5B9E\u8BAD\u4F5C\u4E1A\u7684\u901A\u5173\u3002"))),Pe.createElement(Ae.default,{open:Cr,title:"\u5B9E\u8BAD\u603B\u8017\u65F6\u8BF4\u660E",centered:!0,footer:null,onCancel:()=>{qr(!1)},width:600},Pe.createElement("div",{style:{fontWeight:400,color:"#333333"}},Pe.createElement("div",null,"1\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",Pe.createElement("span",{style:{color:"#145DFF"}},"\u9875\u9762\u505C\u7559\u65F6\u957F"),"\u201D\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u6240\u6709\u5173\u5361\u8017\u65F6\u76F8\u52A0\u4E4B\u548C\uFF1B"),Pe.createElement("div",{style:{margin:"20px 0px"}},"2\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",Pe.createElement("span",{style:{color:"#145DFF"}},"\u5173\u5361\u603B\u8017\u65F6"),"\u201D\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u6240\u6709\u5173\u5361\u8017\u65F6\u76F8\u52A0\u4E4B\u548C\uFF1B"),Pe.createElement("div",null,"3\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",Pe.createElement("span",{style:{color:"#145DFF"}},"\u4F5C\u4E1A\u901A\u5173\u65F6\u957F"),"\u201D\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u5B9E\u8BAD\u53D1\u5E03\u65F6\u95F4\u81F3\u5B9E\u8BAD\u901A\u5173\u65F6\u95F4\uFF0C\u5F53\u5B66\u751F\u672A\u901A\u5173\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u5B9E\u8BAD\u53D1\u5E03\u65F6\u95F4\u81F3\u5B9E\u8BAD\u622A\u6B62\u65F6\u95F4\u3002"))))};var Bt=(0,ge.connect)(({shixunHomeworks:kt,loading:pt,globalSetting:Ft,classroomList:It})=>({shixunHomeworks:kt,globalSetting:Ft,loading:pt.effects,classroomList:It}))(wt)},16938:function(en,zt,be){"use strict";var ye=be(59301),Je=be(43418),E=be(8591),ge=be(99064),Ae=be(89070),ue=Object.defineProperty,le=Object.getOwnPropertySymbols,ie=Object.prototype.hasOwnProperty,se=Object.prototype.propertyIsEnumerable,ae=(a,y,x)=>y in a?ue(a,y,{enumerable:!0,configurable:!0,writable:!0,value:x}):a[y]=x,oe=(a,y)=>{for(var x in y||(y={}))ie.call(y,x)&&ae(a,x,y[x]);if(le)for(var x of le(y))se.call(y,x)&&ae(a,x,y[x]);return a},re=(a,y)=>{var x={};for(var b in a)ie.call(a,b)&&y.indexOf(b)<0&&(x[b]=a[b]);if(a!=null&&le)for(var b of le(a))y.indexOf(b)<0&&se.call(a,b)&&(x[b]=a[b]);return x},ne=(a,y,x)=>new Promise((b,te)=>{var ee=he=>{try{fe(x.next(he))}catch(de){te(de)}},ce=he=>{try{fe(x.throw(he))}catch(de){te(de)}},fe=he=>he.done?b(he.value):Promise.resolve(he.value).then(ee,ce);fe((x=x.apply(a,y)).next())});const z=a=>{var y=a,{shixunHomeworks:x,dispatch:b}=y,te=re(y,["shixunHomeworks","dispatch"]);const ee=(0,Ae.useParams)();return ye.createElement(Je.default,{centered:!0,title:"\u63D0\u793A",open:x.actionTabs.key==="\u6253\u56DE\u91CD\u505A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>ne(void 0,null,function*(){(yield(0,ge.ZP)(`/api/myshixuns/${x.actionTabs.selectArrs.myshixun_identifier}/reset_my_game.json`,{method:"GET",params:{course_id:ee.coursesId}})).shixun_identifier&&(E.ZP.success("\u64CD\u4F5C\u6210\u529F"),b({type:"shixunHomeworks/setActionTabs",payload:{}}),b({type:"shixunHomeworks/getWorkList",payload:oe({},x.actionTabs.params)}))}),onCancel:()=>{b({type:"shixunHomeworks/setActionTabs",payload:{}})}},ye.createElement("p",null,"\u8BE5\u4F5C\u4E1A\u5C06\u88AB\u6253\u56DE\u91CD\u505A\uFF0C\u5B66\u751F\u5B9E\u8BAD\u8BB0\u5F55\u5C06\u88AB\u6E05\u7A7A!"),ye.createElement("p",null,"\u786E\u5B9A\u6253\u56DE?"))};zt.Z=(0,Ae.connect)(({shixunHomeworks:a})=>({shixunHomeworks:a}))(z)},83992:function(en,zt,be){"use strict";be.d(zt,{n:function(){return Fn},Z:function(){return xr}});var ye=be(59301),Je=be(78241),E=be(8591),ge=be(6848),Ae=be(43418),ue=be(20834),le=be(24905),ie=be(95237),se=be(43604),ae=be(92832),oe=be(3113),re=be(38854),ne=be(1710),z=be(5112),a=be(5871),y=be(58421),x=be(84105),b=be(87395),te=be(67921),ee=be(89489),ce=be(8797),fe=be(955),he=be(16938),de=be(96512),pe=be(99064),ve=be(89070),me=Object.defineProperty,Ee=Object.getOwnPropertySymbols,Se=Object.prototype.hasOwnProperty,Te=Object.prototype.propertyIsEnumerable,we=(Tn,On,fn)=>On in Tn?me(Tn,On,{enumerable:!0,configurable:!0,writable:!0,value:fn}):Tn[On]=fn,je=(Tn,On)=>{for(var fn in On||(On={}))Se.call(On,fn)&&we(Tn,fn,On[fn]);if(Ee)for(var fn of Ee(On))Te.call(On,fn)&&we(Tn,fn,On[fn]);return Tn},xe=(Tn,On)=>{var fn={};for(var _n in Tn)Se.call(Tn,_n)&&On.indexOf(_n)<0&&(fn[_n]=Tn[_n]);if(Tn!=null&&Ee)for(var _n of Ee(Tn))On.indexOf(_n)<0&&Te.call(Tn,_n)&&(fn[_n]=Tn[_n]);return fn},Oe=(Tn,On,fn)=>new Promise((_n,zn)=>{var Ir=Fr=>{try{Tr(fn.next(Fr))}catch(Lr){zn(Lr)}},Pr=Fr=>{try{Tr(fn.throw(Fr))}catch(Lr){zn(Lr)}},Tr=Fr=>Fr.done?_n(Fr.value):Promise.resolve(Fr.value).then(Ir,Pr);Tr((fn=fn.apply(Tn,On)).next())});const ze=Tn=>{var On=Tn,{shixunHomeworks:fn,dispatch:_n}=On,zn=xe(On,["shixunHomeworks","dispatch"]);const Ir=(0,ve.useParams)(),[Pr,Tr]=(0,ye.useState)(!0),[Fr,Lr]=(0,ye.useState)(!1),[Kr]=Je.default.useForm(),Gr=()=>Oe(void 0,null,function*(){const zr=Kr.getFieldValue();(yield(0,pe.ZP)(`/api/homework_commons/${Ir.categoryId}/batch_comment.json`,{method:"post",body:{student_work_ids:[...fn.actionTabs.selectArrs],cover_all:Pr,hidden_comment:zr.hidden_comment,comment:zr.comment}})).status===0&&(E.ZP.success("\u8BC4\u9605\u6210\u529F"),Kr.resetFields(),_n({type:"shixunHomeworks/setActionTabs",payload:{}}),_n({type:"shixunHomeworks/getWorkList",payload:je({},fn.actionTabs.params)}))});return ye.createElement(ye.Fragment,null,ye.createElement(Ae.default,{centered:!0,title:"\u4E00\u952E\u70B9\u8BC4",open:fn.actionTabs.key==="\u4E00\u952E\u70B9\u8BC4",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>Oe(void 0,null,function*(){const zr=Kr.getFieldValue();JSON.stringify(zr)==="{}"||zr.hidden_comment===""&&zr.comment===""?Lr(!0):fn.workList.partial_comment?_n({type:"shixunHomeworks/setActionTabs",payload:{key:"\u4E00\u952E\u70B9\u8BC4\u786E\u8BA4",selectArrs:fn.actionTabs.selectArrs,params:fn.actionTabs.params}}):Gr()}),onCancel:()=>{_n({type:"shixunHomeworks/setActionTabs",payload:{}})}},ye.createElement(Je.default,{form:Kr,onChange:()=>{Fr&&Lr(!1)}},ye.createElement("p",null,"\u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),ye.createElement(Je.default.Item,{name:"comment"},ye.createElement(ae.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:8})),ye.createElement("p",null,"\u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),ye.createElement(Je.default.Item,{name:"hidden_comment"},ye.createElement(ae.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:8}))),Fr&&ye.createElement("p",{className:"c-red"},"\u8BC4\u9605\u5185\u5BB9\u81F3\u5C11\u6709\u4E00\u4E2A\u4E0D\u4E3A\u7A7A")),ye.createElement(Ae.default,{centered:!0,title:ye.createElement("span",null,ye.createElement(de.Z,{className:"c-orange mr20"}),"\u63D0\u793A"),open:fn.actionTabs.key==="\u4E00\u952E\u70B9\u8BC4\u786E\u8BA4",okText:"\u786E\u5B9A\u70B9\u8BC4",cancelText:"\u653E\u5F03\u70B9\u8BC4",onOk:()=>{Gr()},onCancel:()=>{_n({type:"shixunHomeworks/setActionTabs",payload:{}})},width:400},ye.createElement("div",{className:"tc"},ye.createElement("p",null,"\u90E8\u5206\u5B66\u751F\u5DF2\u6709\u70B9\u8BC4\u5185\u5BB9\uFF0C\u662F\u5426\u8986\u76D6\u5DF2\u6709\u70B9\u8BC4\u5185\u5BB9\uFF1F"),ye.createElement("p",null,ye.createElement(z.ZP.Group,{onChange:zr=>{Tr(zr.target.value)},value:Pr},ye.createElement(z.ZP,{value:!0},"\u8986\u76D6\u5DF2\u6709\u70B9\u8BC4"),ye.createElement(z.ZP,{value:!1},"\u8DF3\u8FC7\u5DF2\u6709\u70B9\u8BC4"))))))};var Ze=(0,ve.connect)(({shixunHomeworks:Tn})=>({shixunHomeworks:Tn}))(ze),Me=be(36708),tt=be(24065),qe={wrap:"wrap___altfw",maxWidth70:"maxWidth70___Q4NoO",maxWidth80:"maxWidth80___lwsmt",maxWidth100:"maxWidth100___Wnsw8",maxWidth110:"maxWidth110___zQh0P",maxWidth120:"maxWidth120___gjwfa",reviewStatusTooltip:"reviewStatusTooltip___um7Rt",color32C:"color32C___GIjgW",MdEditor:"MdEditor___OuyKH",tr1:"tr1___nwwbX",TableDom:"TableDom___pl59W"},st=Object.getOwnPropertySymbols,At=Object.prototype.hasOwnProperty,lt=Object.prototype.propertyIsEnumerable,at=(Tn,On)=>{var fn={};for(var _n in Tn)At.call(Tn,_n)&&On.indexOf(_n)<0&&(fn[_n]=Tn[_n]);if(Tn!=null&&st)for(var _n of st(Tn))On.indexOf(_n)<0&<.call(Tn,_n)&&(fn[_n]=Tn[_n]);return fn},ut=(Tn,On,fn)=>new Promise((_n,zn)=>{var Ir=Fr=>{try{Tr(fn.next(Fr))}catch(Lr){zn(Lr)}},Pr=Fr=>{try{Tr(fn.throw(Fr))}catch(Lr){zn(Lr)}},Tr=Fr=>Fr.done?_n(Fr.value):Promise.resolve(Fr.value).then(Ir,Pr);Tr((fn=fn.apply(Tn,On)).next())});const ft=Tn=>{var On=Tn,{shixunHomeworks:fn,dispatch:_n}=On,zn=at(On,["shixunHomeworks","dispatch"]),Ir,Pr,Tr,Fr;const Lr=(0,ve.useParams)(),[Kr,Gr]=(0,ye.useState)(!1),[zr,yi]=(0,ye.useState)((Pr=(Ir=fn.actionTabs.selectArrs)==null?void 0:Ir.data)==null?void 0:Pr.name),[fa]=Je.default.useForm();(0,ye.useEffect)(()=>{var Li,qn,Er,Qt,tn,cn;fn.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4"&&fa.setFieldsValue({comment:(qn=(Li=fn.actionTabs.selectArrs)==null?void 0:Li.data)==null?void 0:qn.work_comment,hidden_comment:(Qt=(Er=fn.actionTabs.selectArrs)==null?void 0:Er.data)==null?void 0:Qt.work_comment_hidden}),yi((cn=(tn=fn.actionTabs.selectArrs)==null?void 0:tn.data)==null?void 0:cn.name)},[fn.actionTabs.key]);const Mi=()=>ut(void 0,null,function*(){var Li,qn;const Er=fa.getFieldValue();if((yield(0,pe.ZP)(`/api/student_works/${(qn=(Li=fn.actionTabs.selectArrs)==null?void 0:Li.data)==null?void 0:qn.homeworkId}/shixun_work_comment.json`,{method:"post",body:{hidden_comment:Er.hidden_comment,comment:Er.comment}})).status===0)return E.ZP.success("\u8BC4\u9605\u6210\u529F"),fa.resetFields(),_n({type:"shixunHomeworks/setActionTabs",payload:{}}),_n({type:"shixunHomeworks/getWorkList",payload:Lr})});return ye.createElement(ye.Fragment,null,ye.createElement(Ae.default,{centered:!0,title:(Fr=(Tr=fn.actionTabs.selectArrs)==null?void 0:Tr.data)!=null&&Fr.work_comment_hidden?"\u66F4\u6539"+zr+"\u70B9\u8BC4":zr+"\u70B9\u8BC4",open:fn.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>ut(void 0,null,function*(){const Li=fa.getFieldValue();JSON.stringify(Li)==="{}"||Li.hidden_comment===""&&Li.comment===""?Gr(!0):Mi()}),onCancel:()=>{_n({type:"shixunHomeworks/setActionTabs",payload:{}})}},ye.createElement(Je.default,{form:fa,onChange:()=>{Kr&&Gr(!1)}},ye.createElement("p",null,"\u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),ye.createElement(Je.default.Item,{name:"comment"},ye.createElement(ae.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:8})),ye.createElement("p",null,"\u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),ye.createElement(Je.default.Item,{name:"hidden_comment"},ye.createElement(ae.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:8}))),Kr&&ye.createElement("p",{className:"c-red"},"\u8BC4\u9605\u5185\u5BB9\u81F3\u5C11\u6709\u4E00\u4E2A\u4E0D\u4E3A\u7A7A")))};var bt=(0,ve.connect)(({shixunHomeworks:Tn})=>({shixunHomeworks:Tn}))(ft),Lt=Object.getOwnPropertySymbols,gt=Object.prototype.hasOwnProperty,ht=Object.prototype.propertyIsEnumerable,$e=(Tn,On)=>{var fn={};for(var _n in Tn)gt.call(Tn,_n)&&On.indexOf(_n)<0&&(fn[_n]=Tn[_n]);if(Tn!=null&&Lt)for(var _n of Lt(Tn))On.indexOf(_n)<0&&ht.call(Tn,_n)&&(fn[_n]=Tn[_n]);return fn},Pe=(Tn,On,fn)=>new Promise((_n,zn)=>{var Ir=Fr=>{try{Tr(fn.next(Fr))}catch(Lr){zn(Lr)}},Pr=Fr=>{try{Tr(fn.throw(Fr))}catch(Lr){zn(Lr)}},Tr=Fr=>Fr.done?_n(Fr.value):Promise.resolve(Fr.value).then(Ir,Pr);Tr((fn=fn.apply(Tn,On)).next())});const ke=Tn=>{var On=Tn,{shixunHomeworks:fn,dispatch:_n}=On,zn=$e(On,["shixunHomeworks","dispatch"]);const Ir=(0,ve.useParams)(),[Pr,Tr]=(0,ye.useState)([]),[Fr,Lr]=(0,ye.useState)([]);(0,ye.useEffect)(()=>{fn.actionTabs.key==="\u8D28\u91CF\u68C0\u6D4B"&&Kr()},[fn.actionTabs.key]);function Kr(){return Pe(this,null,function*(){const zr=yield(0,pe.ZP)(`/api/homework_commons/${Ir.categoryId}/code_quality_analyses/group_list.json`,{method:"GET",params:{page:1,limit:200}});Tr(zr)})}const Gr=[{title:"\u5206\u73ED\u60C5\u51B5",dataIndex:"name"},{title:"\u6709\u6548\u4F5C\u54C1\u6570",dataIndex:"works_count"},{title:"\u68C0\u6D4B\u8FDB\u5EA6",dataIndex:"status"},{title:"\u4E0A\u6B21\u8BC4\u5206\u65F6\u95F4",dataIndex:"last_analysis_time"}];return ye.createElement(ye.Fragment,null,ye.createElement(Ae.default,{centered:!0,title:"\u4EE3\u7801\u8D28\u91CF\u8BC4\u5206",open:fn.actionTabs.key==="\u8D28\u91CF\u68C0\u6D4B",width:700,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>Pe(void 0,null,function*(){const zr=yield(0,pe.ZP)(`/api/homework_commons/${Ir.categoryId}/code_quality_analyses.json`,{method:"POST",body:{group_ids:Fr}});(zr==null?void 0:zr.status)===0&&(ve.history.replace(`/classrooms/${Ir.coursesId}/shixun_homework/${Ir.categoryId}/detail?tabs=4`),window.location.reload(),_n({type:"shixunHomeworks/setActionTabs",payload:{}}),Lr([]))}),onCancel:()=>{Lr([]),_n({type:"shixunHomeworks/setActionTabs",payload:{}})}},ye.createElement(ne.default,{rowSelection:{type:"checkbox",onChange:(zr,yi)=>{Lr([...zr])},selectedRowKeys:Fr,getCheckboxProps:zr=>({disabled:zr.status==="\u8FDB\u884C\u4E2D"||zr.works_count===0})},rowKey:zr=>zr.key||zr.id,scroll:{y:300},pagination:!1,columns:Gr,dataSource:Pr==null?void 0:Pr.group_list})))};var Ve=(0,ve.connect)(({shixunHomeworks:Tn})=>({shixunHomeworks:Tn}))(ke),Qe=be(12290),De=be(78297),Ye=be(46474),Ue=Object.defineProperty,Le=Object.getOwnPropertySymbols,Ne=Object.prototype.hasOwnProperty,nt=Object.prototype.propertyIsEnumerable,ct=(Tn,On,fn)=>On in Tn?Ue(Tn,On,{enumerable:!0,configurable:!0,writable:!0,value:fn}):Tn[On]=fn,St=(Tn,On)=>{for(var fn in On||(On={}))Ne.call(On,fn)&&ct(Tn,fn,On[fn]);if(Le)for(var fn of Le(On))nt.call(On,fn)&&ct(Tn,fn,On[fn]);return Tn},wt=(Tn,On,fn)=>new Promise((_n,zn)=>{var Ir=Fr=>{try{Tr(fn.next(Fr))}catch(Lr){zn(Lr)}},Pr=Fr=>{try{Tr(fn.throw(Fr))}catch(Lr){zn(Lr)}},Tr=Fr=>Fr.done?_n(Fr.value):Promise.resolve(Fr.value).then(Ir,Pr);Tr((fn=fn.apply(Tn,On)).next())});const Bt=({shixunHomeworks:Tn,dispatch:On,isShow:fn,setIsShow:_n,item:zn,coursesId:Ir,categoryId:Pr})=>{const[Tr,Fr]=(0,ye.useState)({page:1,limit:10}),[Lr,Kr]=(0,ye.useState)([]),[Gr,zr]=(0,ye.useState)(!1);(0,ye.useEffect)(()=>{fn&&yi()},[fn]);function yi(){return wt(this,null,function*(){zr(!0);const Mi=yield(0,pe.ZP)(`/api/student_works/${zn.id}/game_details.json`,{method:"get",params:St({},Tr)});zr(!1),Mi.status===0&&Kr(Mi==null?void 0:Mi.data)})}const fa=[{title:"\u5E8F\u53F7",dataIndex:"number",width:50,fixed:"left",ellipsis:!0,render:(Mi,Li,qn)=>ye.createElement("span",{style:{color:"#000"}},Tr.limit*(Tr.page-1)+qn+1)},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",key:"name",ellipsis:!0,render:(Mi,Li,qn)=>ye.createElement("span",{style:{color:"#000"}},Mi)},{title:"\u901A\u5173\u8BE6\u60C5",dataIndex:"complete_status",key:"complete_status",ellipsis:!0,width:100,render:(Mi,Li,qn)=>ye.createElement("span",null,Mi==0?"\u672A\u901A\u5173":Mi==4?"\u622A\u6B62\u540E\u901A\u5173":"\u5DF2\u901A\u5173")},{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"evaluate_count",key:"evaluate_count",width:100,ellipsis:!0,render:(Mi,Li,qn)=>ye.createElement("span",{style:{color:"#333"}},Mi)},{title:"\u5B9E\u8BAD\u8017\u65F6",dataIndex:"time_consuming",key:"time_consuming",width:120,ellipsis:!0,render:(Mi,Li,qn)=>ye.createElement("span",{style:{color:"#333"}},Mi)}];return ye.createElement(ye.Fragment,null,ye.createElement(Ae.default,{centered:!0,title:"\u901A\u5173\u60C5\u51B5",open:fn,width:700,footer:null,maskClosable:!1,onCancel:()=>{Tr.page=1,Tr.limit=10,Fr(St({},Tr)),_n(!1)}},ye.createElement("div",{style:{display:"flex",justifyContent:"flex-start",alignItems:"center",marginBottom:"20px"}},ye.createElement("div",{style:{maxWidth:"200px",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",WebkitLineClamp:1}},ye.createElement("span",{style:{color:"#666",marginRight:"10px"}},"\u5B66\u751F\u59D3\u540D"),ye.createElement("span",{title:zn==null?void 0:zn.user_name,style:{color:"#232B40"}},zn==null?void 0:zn.user_name)),ye.createElement("div",{style:{marginLeft:"50px",marginRight:"50px",maxWidth:"180px",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",WebkitLineClamp:1}},ye.createElement("span",{style:{color:"#666",marginRight:"10px"}},"\u5B66\u53F7"),ye.createElement("span",{title:zn==null?void 0:zn.student_id,style:{color:"#232B40"}},(zn==null?void 0:zn.student_id)||"--")),ye.createElement("div",{style:{maxWidth:"200px",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",WebkitLineClamp:1}},ye.createElement("span",{style:{color:"#666",marginRight:"10px"}},"\u73ED\u7EA7"),ye.createElement("span",{title:zn==null?void 0:zn.group_name,style:{color:"#232B40"}},(zn==null?void 0:zn.group_name)||"--"))),ye.createElement(ne.default,{scroll:{y:380},columns:fa,loading:Gr,style:{marginBottom:Tr.limit>(Lr==null?void 0:Lr.count)?"16px":"0"},dataSource:Lr.games,pagination:{size:"default",showQuickJumper:!0,showSizeChanger:!0,pageSizeOptions:["10","15","50","100","200"],hideOnSinglePage:!0,pageSize:Tr.limit,current:Tr.page,position:["bottomRight"],onChange:(Mi,Li)=>{Tr.page=Mi,Tr.limit=Li,Fr(St({},Tr)),yi()},total:Lr==null?void 0:Lr.count,showTotal:(Mi,Li)=>ye.createElement("span",null,"\u5171",ye.createElement("span",{style:{color:"#165DFF"}}," ",Mi," "),"\u6761\u6570\u636E")}})))};var kt=(0,ve.connect)(({shixunHomeworks:Tn})=>({shixunHomeworks:Tn}))(Bt),pt=be(59301),Ft=Object.defineProperty,It=Object.getOwnPropertySymbols,Jt=Object.prototype.hasOwnProperty,Kt=Object.prototype.propertyIsEnumerable,$t=(Tn,On,fn)=>On in Tn?Ft(Tn,On,{enumerable:!0,configurable:!0,writable:!0,value:fn}):Tn[On]=fn,An=(Tn,On)=>{for(var fn in On||(On={}))Jt.call(On,fn)&&$t(Tn,fn,On[fn]);if(It)for(var fn of It(On))Kt.call(On,fn)&&$t(Tn,fn,On[fn]);return Tn},vn=(Tn,On,fn)=>new Promise((_n,zn)=>{var Ir=Fr=>{try{Tr(fn.next(Fr))}catch(Lr){zn(Lr)}},Pr=Fr=>{try{Tr(fn.throw(Fr))}catch(Lr){zn(Lr)}},Tr=Fr=>Fr.done?_n(Fr.value):Promise.resolve(Fr.value).then(Ir,Pr);Tr((fn=fn.apply(Tn,On)).next())});const Fn=({value:Tn,placeholder:On=""})=>{if(Tn==null||Tn==="")return pt.createElement("span",null,On);{const fn=Number(Tn);if(fn>=80)return pt.createElement("span",{style:{color:"#009C0F"}},fn);if(fn<80&&fn>=60)return pt.createElement("span",{style:{color:"#FA6400"}},fn);if(fn<60)return pt.createElement("span",{style:{color:"#E30000"}},fn)}},Yn=({shixunHomeworks:Tn,classroomList:On,loading:fn,dispatch:_n,setExportParams:zn,user:Ir})=>{var Pr,Tr,Fr,Lr,Kr,Gr,zr,yi,fa,Mi,Li,qn;const Er=(0,ve.useParams)(),[Qt,tn]=(0,ye.useState)(An(An({},{page:1,limit:20,order:"work_score",b_order:"desc"}),Er)),[cn]=Je.default.useForm(),[rr,bn]=(0,ye.useState)(),[an,gn]=(0,ye.useState)({}),[Nr,lr]=(0,ye.useState)([]),[_r,ei]=(0,ye.useState)(!1),[Qn,yr]=(0,ye.useState)([]),[oi,Xn]=(0,ye.useState)(!1),[Mr,Sr]=(0,ye.useState)(),[ci,Ci]=(0,ye.useState)(1),[Ni,na]=(0,ye.useState)(),[Qi,Ii]=(0,ye.useState)(),[xi,or]=(0,ye.useState)(),[ga,ar]=(0,ye.useState)(),[$i,no]=(0,ye.useState)(),[Ki,ki]=(0,ye.useState)(!1),[Cr,qr]=(0,ye.useState)(!1),[Fi,Wr]=(0,ye.useState)(),Pa=(0,ve.useLocation)();(0,ye.useEffect)(()=>(pa(),()=>{gn([]),lr([])}),[Qt.coursesId]),(0,ye.useEffect)(()=>{var tr;const Hr=JSON.parse(JSON.stringify(Tn.workList));!((tr=Hr==null?void 0:Hr.student_works)!=null&&tr.length)&&(Hr!=null&&Hr.id)?(Hr.student_works=[An({},Hr)],gn(Hr)):(Hr!=null&&Hr.id&&lr([An(An({},Hr),{number:"\u6211"})]),gn(An({},Hr)))},[Tn.workList]);const pa=tr=>(zn(An({},Qt)),_n({type:"shixunHomeworks/getWorkList",payload:Qt}));(0,ye.useEffect)(()=>{_n({type:"user/getUserInfo",payload:{course_id:Qt.coursesId}})},[]);const Ka=()=>vn(void 0,null,function*(){const tr=yield(0,Me.Uc)({categoryId:Er.categoryId});bn(tr==null?void 0:tr.update_score)}),Ao=()=>vn(void 0,null,function*(){_n({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6210\u7EE9\u8BA1\u7B97\u4E2D\uFF0C\u8BF7\u7A0D\u5019..."}});const tr=yield(0,Me.Vs)({categoryId:Er.categoryId});_n({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}}),(tr==null?void 0:tr.status)===0&&(E.ZP.success(tr==null?void 0:tr.message),pa())}),Ei=()=>{Qt.page=1;const tr=Object.assign({},cn.getFieldsValue());delete Qt.course_group,delete Qt.teacher_comment,Object.keys(tr).map(function(Hr){var fi;switch(Hr){case"task_status":tr[Hr].includes("all")||!tr[Hr].length?(delete Qt.work_status,cn.setFieldsValue({task_status:"all"})):(Qt.work_status=tr[Hr],cn.setFieldsValue({task_status:Qt.work_status}));break;case"course_group_info":tr[Hr].includes("all")||!tr[Hr].length?(delete Qt.course_group,cn.setFieldsValue({course_group_info:"all"})):(Qt.course_group=tr[Hr],cn.setFieldsValue({course_group_info:Qt.course_group}));break;case"teacher_comment":tr[Hr].includes("all")||!tr[Hr].length?(delete Qt.teacher_comment,cn.setFieldsValue({teacher_comment:"all"})):(Qt.teacher_comment=((fi=tr[Hr])==null?void 0:fi.length)===1?Number(tr[Hr][0]):"",cn.setFieldsValue({teacher_comment:tr[Hr]}));break}}),pa()};(0,ye.useEffect)(()=>{document.getElementById("divhe")&&document.getElementById("divhe").scrollHeight>47&&(no(47),ki(!0))},[document.getElementById("divhe")]);const cs=(tr,Hr)=>{Qt.page=tr,Qt.limit=20,pa()};function fr(){Ci(1),na(""),Ii(""),or(""),ar(""),yr([])}const Di=[{title:"\u5E8F\u53F7",dataIndex:"number",align:"center",width:50,fixed:"left",ellipsis:!0,render:(tr,Hr,fi)=>Qt.limit*(Qt.page-1)+fi+1},{title:"\u59D3\u540D",dataIndex:"user_name",align:"center",width:110,fixed:"left",ellipsis:!0,render:tr=>pt.createElement(ge.Z,{placement:"bottomLeft",title:tr},pt.createElement("span",{className:"current"},tr))},!(0,tt.Jd)()&&{title:"\u5B66\u53F7",dataIndex:"student_id",align:"center",sorter:!0,fixed:"left",width:100,ellipsis:!0,showSorterTooltip:!1,sortOrder:Qt.order==="student_id"?Qt.b_order==="desc"?"descend":"ascend":null,render:tr=>pt.createElement(ge.Z,{placement:"bottomLeft",title:tr||"--"},pt.createElement("span",{className:"current"},tr||"--"))},{title:"\u5206\u73ED",dataIndex:"group_name",align:"center",width:100,fixed:"left",ellipsis:!0,render:(tr,Hr)=>tr?pt.createElement(ge.Z,{placement:"bottom",title:tr},pt.createElement("span",{className:"current"},tr)):"--"},{title:"\u4F5C\u4E1A\u72B6\u6001",dataIndex:"work_status",align:"center",width:94,ellipsis:!0,fixed:"left",sorter:!0,showSorterTooltip:!1,sortOrder:Qt.order==="work_status"?Qt.b_order==="desc"?"descend":"ascend":null,render:tr=>pt.createElement(fe.lC,{status:tr})},{title:"\u5B8C\u6210\u65F6\u95F4",align:"center",dataIndex:"achieve_time",ellipsis:!0,sorter:!0,sortOrder:Qt.order==="achieve_time"?Qt.b_order==="desc"?"descend":"ascend":null,render:(tr,Hr)=>pt.createElement(ge.Z,{placement:"bottomLeft",title:tr},pt.createElement("span",{className:"current"},tr))},{title:"\u901A\u8FC7\u60C5\u51B5",align:"center",dataIndex:"achieve_info",ellipsis:!0,render:(tr,Hr)=>pt.createElement("span",{onClick:fi=>{var bi;fi.stopPropagation(),(bi=an.homework_status)!=null&&bi.includes("\u5BFC\u5165")&&(Wr(Hr),qr(!0))}},tr||"- -")},{title:"\u6700\u7EC8\u6210\u7EE9",align:"center",dataIndex:"score",ellipsis:!0,sorter:!0,sortOrder:Qt.order==="work_score"?Qt.b_order==="desc"?"descend":"ascend":null,render:(tr,Hr)=>pt.createElement(ge.Z,{title:pt.createElement(pt.Fragment,null,pt.createElement("div",null,"\u8BD5\u9898\u5F97\u5206\uFF1A",(Hr==null?void 0:Hr.late_final_score)||0),pt.createElement("div",null,"\u8865\u4EA4\u6263\u5206\uFF1A",(Hr==null?void 0:Hr.late_penalty)||0),pt.createElement("div",null,"\u6700\u7EC8\u6210\u7EE9\uFF1A",(Hr==null?void 0:Hr.score)||0))},Fn({value:tr,placeholder:"- -"}))},{title:"\u5B8C\u6210\u65F6\u957F",dataIndex:"achieve_time_long",align:"center",sorter:!0,ellipsis:!0,sortOrder:Qt.order==="achieve_time_long"?Qt.b_order==="desc"?"descend":"ascend":null,render:(tr,Hr)=>tr&&tr!="--"?pt.createElement(ge.Z,{placement:"bottom",title:tr},pt.createElement("span",{className:"current"},tr)):"--"},((Pr=an.homework_status)==null?void 0:Pr.includes("\u5BFC\u5165"))&&{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"sum_evaluate_count",align:"center"},!((Tr=an.homework_status)!=null&&Tr.includes("\u5BFC\u5165"))&&{title:pt.createElement("span",null,"\u8BC4\u9605\u72B6\u6001"),align:"center",dataIndex:"has_comment",fixed:"right",ellipsis:!0,render:tr=>tr?"\u5DF2\u8BC4\u9605":"\u672A\u8BC4\u9605"},{title:"\u64CD\u4F5C",dataInex:"action",align:"center",fixed:"right",ellipsis:!0,className:"workListTable",render:(tr,Hr)=>{var fi;return(fi=an.homework_status)!=null&&fi.includes("\u5BFC\u5165")?(0,tt.GJ)()?pt.createElement("a",{onClick:bi=>{bi.stopPropagation(),_n({type:"classroomList/setActionTabs",payload:{key:"\u4FEE\u6539\u6210\u7EE9",id:Hr==null?void 0:Hr.id,type:"normal"}})}},"\u4FEE\u6539\u6210\u7EE9"):pt.createElement("a",{onClick:bi=>{bi.stopPropagation(),Wr(Hr),qr(!0)}},"\u67E5\u770B"):(0,tt.dE)()?pt.createElement("div",null,(0,fe.JL)(Hr==null?void 0:Hr.work_status)==="\u672A\u5F00\u542F"?pt.createElement("span",null,"--"):pt.createElement("a",{onClick:bi=>{var Ca;if(bi.stopPropagation(),(0,tt.Rm)()&&!((Ca=On.AssistantObject.hack)!=null&&Ca.can_view)){E.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}window.open(`/classrooms/${Qt.coursesId}/program_homework/${Qt.categoryId}/${Hr.id}/${Hr.user_id}/comment`,"_blank")}},"\u67E5\u770B")):pt.createElement("a",{target:"_blank",onClick:bi=>{var Ca,Ti;if(bi.stopPropagation(),(0,tt.Rm)()&&!((Ca=On.AssistantObject.hack)!=null&&Ca.can_view)){E.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}if((Ti=Ir.userInfo)!=null&&Ti.professional_certification)window.open(`/classrooms/${Qt.coursesId}/program_homework/${Qt.categoryId}/${Hr.id}/${Hr.user_id}/comment`,"_blank");else return Ae.default.confirm({title:"\u63D0\u793A",centered:!0,content:pt.createElement("div",{className:"tc"},"\u60A8\u9700\u8981\u53BB\u5B8C\u6210\u60A8\u7684\u804C\u4E1A\u8BA4\u8BC1\uFF0C\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD"),okText:"\u7ACB\u5373\u5B8C\u5584",cancelText:"\u7A0D\u540E\u5B8C\u5584",onOk:()=>{(0,fe.xg)("/account/certification")}}),!1}},"\u67E5\u770B\u4F5C\u4E1A")}}].filter(tr=>!!tr),aa=()=>{var tr,Hr;return pt.createElement(ue.default,null,pt.createElement(ue.default.Item,{onClick:()=>{var fi;if((0,tt.Rm)()&&!((fi=On.AssistantObject.hack)!=null&&fi.can_download)){E.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}_n({type:"classroomList/setActionTabs",payload:{key:"\u9009\u62E9\u73ED\u7EA7",title:"\u5BFC\u51FA\u5B66\u751F\u6210\u7EE9",course_groups:an==null?void 0:an.course_group_info,fn:()=>{(0,De.Iy)(JSON.parse(sessionStorage.all_student_works_params),"hack_work_list")}}})},key:"1"},"\u5B66\u751F\u6210\u7EE9"),(0,tt.GJ)()&&((tr=an==null?void 0:an.student_works)==null?void 0:tr.length)>0&&!((Hr=an==null?void 0:an.homework_status)!=null&&Hr.includes("\u5BFC\u5165"))&&pt.createElement(ue.default.Item,{key:"3",onClick:()=>{var fi;if((0,tt.Rm)()&&!((fi=On.AssistantObject.hack)!=null&&fi.can_download)){E.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}_n({type:"classroomList/setActionTabs",payload:{key:"\u9009\u62E9\u73ED\u7EA7",title:"\u5BFC\u51FA\u7F16\u7A0B\u62A5\u544A",course_groups:an==null?void 0:an.course_group_info,fn:()=>{var bi,Ca,Ti,va;_n({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5BFC\u51FA\u7F16\u7A0B\u62A5\u544A",type:2}}),localStorage.setItem("dowolders","1"),ve.history.push(`/classrooms/${Qt==null?void 0:Qt.coursesId}/program_homework/${Qt.categoryId}/${(Ca=(bi=an==null?void 0:an.student_works)==null?void 0:bi[0])==null?void 0:Ca.id}/${(va=(Ti=an==null?void 0:an.student_works)==null?void 0:Ti[0])==null?void 0:va.user_id}/comment`)}}})}},"\u7F16\u7A0B\u62A5\u544A"),pt.createElement(ue.default.Item,{key:"2",onClick:()=>{var fi;if((0,tt.Rm)()&&!((fi=On.AssistantObject.hack)!=null&&fi.can_download)){E.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}ve.history.push(`/classrooms/${Qt.coursesId}/exportlist/hack_work_list`)}},"\u5386\u53F2\u5BFC\u51FA"))};return pt.createElement(pt.Fragment,null,pt.createElement("section",{className:`${qe.wrap} minH500 bg-white pl30 pr30 pt30`},((Fr=an.homework_status)==null?void 0:Fr.includes("\u672A\u53D1\u5E03"))&&pt.createElement(ce.Z,null),!((Lr=an.homework_status)!=null&&Lr.includes("\u672A\u53D1\u5E03"))&&pt.createElement("aside",null,!(0,tt.GJ)()&&pt.createElement("div",{className:"c-light-black font12"},pt.createElement("span",null,"\u53D1\u5E03\u65F6\u95F4 ",an==null?void 0:an.publish_time),pt.createElement("span",{className:"ml5"},"\u622A\u6B62\u65F6\u95F4 ",an==null?void 0:an.end_time),pt.createElement("span",{className:"ml5"},"\u8865\u4EA4\u65F6\u95F4 ",(an==null?void 0:an.late_time)||"- -")),(0,tt.GJ)()&&pt.createElement(pt.Fragment,null,pt.createElement(Je.default,{form:cn,onChange:Ei,initialValues:{task_status:"all",course_group_info:"all",teacher_comment:"all"}},((Kr=an.task_status)==null?void 0:Kr.length)>0&&pt.createElement(Je.default.Item,{name:"task_status"},pt.createElement(le.default.Group,{value:[],style:{width:"100%"}},pt.createElement(ie.Z,null,pt.createElement(se.Z,{className:"font14",flex:"80px"},"\u4F5C\u4E1A\u72B6\u6001:"),pt.createElement(se.Z,{flex:"80px"},pt.createElement(le.default,{value:"all"},"\u5168\u90E8")),pt.createElement(se.Z,{flex:"1"},an.task_status&&an.task_status.map((tr,Hr)=>pt.createElement(le.default,{name:"task_status",value:tr.id},tr.name,"(",tr.count,")")))))),((Gr=an.course_group_info)==null?void 0:Gr.length)>0&&pt.createElement(Je.default.Item,{name:"course_group_info"},pt.createElement(le.default.Group,{style:{width:"100%"}},pt.createElement(ie.Z,null,pt.createElement(se.Z,{className:"font14",flex:"80px"},"\u5206\u73ED\u60C5\u51B5:"),pt.createElement(se.Z,{flex:"80px"},pt.createElement(le.default,{value:"all"},"\u5168\u90E8")),pt.createElement(se.Z,{flex:"1",id:"divhe",style:{height:$i+"px",overflow:"hidden"}},(zr=an.course_group_info)==null?void 0:zr.map((tr,Hr)=>pt.createElement(le.default,{value:tr.course_group_id},tr.group_group_name,"(",tr.count,")"))),Ki&&pt.createElement("span",{onClick:()=>{let tr=document.getElementById("divhe").scrollHeight;$i>47?no(47):no(tr)},style:{color:"rgb(76, 172, 255)",cursor:"pointer",alignItems:"flex-end",display:"flex"}},$i===47?"\u5C55\u5F00":"\u6536\u8D77",$i===47?pt.createElement(x.Z,{style:{marginBottom:"3px",marginLeft:"2px"}}):pt.createElement(b.Z,{style:{marginBottom:"3px",marginLeft:"2px"}}))))),((yi=an.teacher_comment)==null?void 0:yi.length)>0&&pt.createElement(Je.default.Item,{name:"teacher_comment"},pt.createElement(le.default.Group,{style:{width:"100%"}},pt.createElement(ie.Z,null,pt.createElement(se.Z,{className:"font14",flex:"80px"},"\u8FFD\u52A0\u70B9\u8BC4:"),pt.createElement(se.Z,{flex:"80px"},pt.createElement(le.default,{value:"all"},"\u5168\u90E8")),pt.createElement(se.Z,{flex:"1"},an.teacher_comment&&an.teacher_comment.map((tr,Hr)=>pt.createElement(le.default,{value:String(tr.id)},tr.name,"(",tr.count,")"))))))),pt.createElement(ie.Z,{align:"middle"},pt.createElement(se.Z,{flex:"1"},pt.createElement(ie.Z,{align:"middle"},pt.createElement(se.Z,null,pt.createElement(ae.default.Search,{allowClear:!0,placeholder:"\u8BF7\u8F93\u5165\u59D3\u540D\u6216\u8005\u5B66\u53F7\u641C\u7D22",onSearch:tr=>{Qt.search=tr.trim(),Qt.page=1,pa()},style:{width:240}})),pt.createElement(se.Z,null,pt.createElement("span",{className:"ml5"},pt.createElement("span",{className:"c-red"},an.work_count),"\u4E2A\u68C0\u7D22\u7ED3\u679C\uFF08",an.work_count,"\u4E2A\u5B66\u751F\uFF09")))),pt.createElement(se.Z,null,(0,tt.GJ)()&&!((fa=an.homework_status)!=null&&fa.includes("\u5BFC\u5165"))&&pt.createElement(oe.ZP,{className:"ml10",onClick:()=>{_n({type:"shixunHomeworks/setActionTabs",payload:{key:"\u4EE3\u7801\u67E5\u91CD",selectArrs:an.student_works.map(tr=>tr.id),params:Qt}})}},pt.createElement("span",{className:`${qe.tr1} iconfont icon-daimachazhong`}),"\u4EE3\u7801\u67E5\u91CD"),(0,tt.GJ)()&&!((Mi=an.homework_status)!=null&&Mi.includes("\u5BFC\u5165"))&&pt.createElement(oe.ZP,{className:"ml10",onClick:Ao},pt.createElement("i",{className:"iconfont icon-gengxinchengji font14 pr5"}),"\u66F4\u65B0\u6210\u7EE9"),(0,tt.GJ)()&&pt.createElement(re.Z,{dropdownRender:aa,className:"ml10"},pt.createElement(oe.ZP,null,pt.createElement(te.Z,null),"\u5BFC\u51FA",pt.createElement(ee.Z,null)))))),pt.createElement(ie.Z,{style:{justifyContent:"end",marginTop:"5px"}},(0,tt.GJ)()&&rr&&pt.createElement("span",null,pt.createElement("span",{style:{color:"red"}},"*"),"\u5217\u8868\u4E2D\u4F5C\u4E1A\u8BB0\u5F55\u5B58\u5728\u5DEE\u5F02\uFF0C\u8BF7\u70B9\u51FB\u201C\u66F4\u65B0\u6210\u7EE9\u201D\u6309\u94AE")),pt.createElement(ne.default,{className:`mt30 ${qe.TableDom}`,loading:fn["shixunHomeworks/getWorkList"],pagination:!1,style:{cursor:"pointer"},onRow:tr=>({onClick:Hr=>{var fi,bi;if(!((fi=an.homework_status)!=null&&fi.includes("\u5BFC\u5165"))){if((0,tt.Rm)()&&!((bi=On.AssistantObject.hack)!=null&&bi.can_view)){E.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}(0,Ye.O5)()&&window.open(`/classrooms/${Qt.coursesId}/program_homework/${Qt.categoryId}/${tr.id}/${tr.user_id}/comment`,"_blank")}}}),scroll:{x:1200},dataSource:an.student_works,columns:Di,onChange:(tr,Hr,fi)=>{fi.field&&(Qt.order=fi.field==="score"?"work_score":fi.field),fi.order||(Qt.b_order="asc"),fi.order==="ascend"&&(Qt.b_order="asc"),fi.order==="descend"&&(Qt.b_order="desc"),fi.order||(Qt.b_order="asc"),pa()}}),pt.createElement(Ze,null),pt.createElement(bt,null),pt.createElement(he.Z,null)),pt.createElement(Ae.default,{title:"\u4E00\u952E\u6253\u56DE\u91CD\u505A",open:_r,centered:!0,destroyOnClose:!0,forceRender:!0,width:700,onOk:()=>vn(void 0,null,function*(){if(ci===2){if(Qn.length<=0){E.ZP.info("\u8BF7\u9009\u62E9\u4F5C\u4E1A\u72B6\u6001");return}if(!ga){E.ZP.info("\u8BC4\u8BED\u4E0D\u80FD\u4E3A\u7A7A");return}let tr=yield(0,pe.ZP)(`/api/homework_commons/${Qt.categoryId}/confirm_redo_modal.json`,{method:"post",body:{id:Qt.categoryId,comment:ga,status:Qn}});tr.status===0&&(Sr(tr),ei(!1),Xn(!0))}else{if(!(xi===0||Qi===0)){if(!xi){E.ZP.info("\u6700\u4F4E\u5206\u4E0D\u80FD\u4E3A\u7A7A");return}if(!Qi){E.ZP.info("\u6700\u9AD8\u5206\u4E0D\u80FD\u4E3A\u7A7A");return}}if(xi>Qi){E.ZP.info("\u6700\u9AD8\u5206\u4E0D\u80FD\u5927\u4E8E\u6700\u4F4E\u5206");return}if(!ga){E.ZP.info("\u8BC4\u8BED\u4E0D\u80FD\u4E3A\u7A7A");return}let tr=yield(0,pe.ZP)(`/api/homework_commons/${Qt.categoryId}/confirm_redo_modal.json`,{method:"post",body:{id:Qt.categoryId,comment:ga,min_score:xi,max_score:Qi}});tr.status===0&&(Sr(tr),ei(!1),Xn(!0))}}),onCancel:()=>{ei(!1),fr()}},pt.createElement("div",{style:{padding:"32px"}},pt.createElement("div",null,pt.createElement("div",null,pt.createElement("span",{style:{width:"80px"}},"\u6253\u56DE\u65B9\u5F0F\uFF1A"),pt.createElement(z.ZP.Group,{value:ci,onChange:tr=>{Ci(tr.target.value)}},pt.createElement(z.ZP,{value:1},"\u6309\u6210\u7EE9\u6253\u56DE"),pt.createElement(z.ZP,{value:2},"\u6309\u4F5C\u4E1A\u72B6\u6001\u6253\u56DE"))),ci===1&&pt.createElement("div",{style:{display:"flex",marginTop:"20px"}},pt.createElement("span",{style:{width:"70px",textAlign:"end"}},pt.createElement("span",{style:{color:"red"}},"*"),"\u6700\u4F4E\u5206\uFF1A"),pt.createElement(a.Z,{min:0,max:100,value:xi,onChange:tr=>or(tr),style:{width:"100px"}}),pt.createElement("span",{style:{width:"80px",textAlign:"end"}},pt.createElement("span",{style:{color:"red"}},"*"),"\u6700\u9AD8\u5206\uFF1A"),pt.createElement(a.Z,{min:0,max:100,value:Qi,onChange:tr=>Ii(tr),style:{width:"100px"}})),ci===2&&pt.createElement("div",{style:{display:"flex",marginTop:"20px"}},pt.createElement("span",{style:{width:"80px"}},"\u4F5C\u4E1A\u72B6\u6001\uFF1A"),pt.createElement(le.default.Group,{onChange:tr=>{yr([...tr])},style:{width:"100%"}},(Li=an.task_status)==null?void 0:Li.map((tr,Hr)=>pt.createElement(le.default,{name:"task_status",value:tr.id},tr.name,"(",tr.count,")")))),pt.createElement("div",{style:{display:"flex",marginTop:"20px"}},pt.createElement("span",{style:{width:"70px",textAlign:"end"}},pt.createElement("span",{style:{color:"red"}},"*")," \u8BC4\u8BED\uFF1A"),pt.createElement(Qe.Z,{className:qe.MdEditor,onChange:tr=>ar(tr),placeholder:"\u8BF7\u586B\u5199\u8BC4\u8BED"}))))),pt.createElement(Ae.default,{open:oi,title:"\u6253\u56DE\u786E\u8BA4",onOk:()=>vn(void 0,null,function*(){ci===2?(yield(0,pe.ZP)(`/api/homework_commons/${Qt.categoryId}/batch_redo_modal.json`,{method:"post",body:{id:Qt.categoryId,comment:ga,status:Qn}})).status===0&&(E.ZP.info("\u6253\u56DE\u6210\u529F"),fr(),pa(),Xn(!1)):(yield(0,pe.ZP)(`/api/homework_commons/${Qt.categoryId}/batch_redo_modal.json`,{method:"post",body:{id:Qt.categoryId,comment:ga,min_score:xi,max_score:Qi}})).status===0&&(E.ZP.info("\u6253\u56DE\u6210\u529F"),fr(),pa(),Xn(!1))}),onCancel:()=>{fr(),Xn(!1)}},pt.createElement("div",{style:{padding:"32px"}},ci===1&&pt.createElement("span",null,"\u786E\u8BA4\u5C06\u6210\u7EE9\u5728",xi,"-",Qi,"\u7684\u5B66\u751F\u8FDB\u884C\u6253\u56DE\u91CD\u505A\u5417\uFF1F"),ci===2&&pt.createElement("span",null,"\u786E\u8BA4\u5C06\u4F5C\u4E1A\u72B6\u6001\u4E3A",((qn=an.task_status)==null?void 0:qn.filter(tr=>Qn==null?void 0:Qn.includes(tr.id)).map(tr=>tr.name).toString())+",","\u7684\u5B66\u751F\u8FDB\u884C\u4F5C\u4E1A\u6253\u56DE\u91CD\u505A\u5417\uFF1F"),pt.createElement("br",null),pt.createElement("span",null,"\u8BE5\u6761\u4EF6\u4E0B\u5171\u6709",Mr==null?void 0:Mr.count,"\u540D\u5B66\u751F")))),pt.createElement(Ve,null),pt.createElement(kt,{isShow:Cr,setIsShow:qr,item:Fi,coursesId:Qt.coursesId,categoryId:Qt.categoryId}),pt.createElement("aside",{className:"tc mb50 mt30"},pt.createElement(y.Z,{showQuickJumper:!0,hideOnSinglePage:!0,showSizeChanger:!1,onChange:cs,current:Qt.page||1,defaultPageSize:20,total:an.work_count})))};var xr=(0,ve.connect)(({shixunHomeworks:Tn,classroomList:On,loading:fn,user:_n})=>({shixunHomeworks:Tn,classroomList:On,loading:fn.effects,user:_n}))(Yn)},8394:function(en,zt,be){"use strict";be.d(zt,{Z:function(){return a}});var ye=be(59301),Je=be(89070),E=be(43418),ge=be(3113),Ae=be(71418),ue=be(88264),le=be(25555),ie=be(23954),se=be(24334),ae=be(61186),oe=be.n(ae),re=be(35106),ne=be(59301),z=(y,x,b)=>new Promise((te,ee)=>{var ce=de=>{try{he(b.next(de))}catch(pe){ee(pe)}},fe=de=>{try{he(b.throw(de))}catch(pe){ee(pe)}},he=de=>de.done?te(de.value):Promise.resolve(de.value).then(ce,fe);he((b=b.apply(y,x)).next())}),a=({open:y,onClose:x})=>{const[b,te]=(0,ye.useState)(void 0);console.log((0,Je.useLocation)(),33);const ee=(0,Je.useLocation)();(0,ye.useEffect)(()=>{y&&function(){return z(this,null,function*(){const st=yield(0,ue.X6)(y);te(st.data)})}()},[y]);const{status:ce,created_at:fe,code:he,name:de,language:pe,pass_sets_count:ve,set_count:me,error_msg:Ee,output:Se,input:Te,expected_output:we,execute_memory:je,user:xe,execute_time:Oe,input_file_url:ze,output_file_url:Ze,is_file:Me,expected_output_file_url:tt}=b||{};return ne.createElement(E.default,{open:y,width:1e3,onCancel:()=>x(!1),footer:ne.createElement(ge.ZP,{type:"primary",onClick:()=>x(!1)},"\u5173\u95ED"),centered:!0},ne.createElement(Ae.Z,{spinning:!b,delay:500},ne.createElement("div",{className:"record-detail-info"},b?ne.createElement(ne.Fragment,null,ne.createElement("div",{className:"record-detail-body"},ne.createElement("h2",null," \u63D0\u4EA4\u8BB0\u5F55 "),ne.createElement("ul",{className:"record-info"},ne.createElement("li",null," \u8BC4\u6D4B\u7ED3\u679C\uFF1A",ne.createElement("span",{className:ce===0?"c-green":"c-red"},le.Im[ce])," "),ne.createElement("li",null," \u63D0\u4EA4\u65F6\u95F4\uFF1A",ne.createElement("span",null,oe()(fe).format("YYYY-MM-DD HH:mm:ss"))," "),ne.createElement("li",null," \u8BED\u8A00\uFF1A",ne.createElement("span",null,pe)," "),ne.createElement("li",null," \u6267\u884C\u7528\u65F6\uFF1A",ne.createElement("span",null,Oe*1e3,"ms")," "),ne.createElement("li",null," ",`${ce===re.h.HIDE_COMPILE_STATUS?"--":ve} / ${me} \u4E2A\u901A\u8FC7\u7684\u6D4B\u8BD5\u7528\u4F8B`," ")),(0,le.gZ)({status:ce,error_msg:Ee,execute_time:Oe,output:Se,input:Te,expected_output:we,input_file_url:ze,output_file_url:Ze,is_file:Me,expected_output_file_url:tt}),ne.createElement("h2",null," \u63D0\u4EA4\u7684\u5185\u5BB9 "),ne.createElement(ie.ZP,{height:"200px",width:"100%",language:pe==null?void 0:pe.toLocaleLowerCase(),value:se.Base64.decode(he),options:{readOnly:!0}}))):null)))}},87001:function(en,zt,be){"use strict";be.d(zt,{Im:function(){return me},Y4:function(){return Se}});var ye=be(59301),Je=be(92832),E=be(8591),ge=be(3113),Ae=be(74440),ue=be(24334),le=be.n(ue),ie=be(61293),se=be(33538),ae=be(85149),oe=be(955),re=be(34376),ne=be.n(re),z=be(99064),a=be(89070),y=be(8394),x=be(34604),b=be(88264),te=be(34587),ee=be(23210),ce=be(92310),fe=be.n(ce),he=be(4901),de=be(59301),pe=(je,xe,Oe)=>new Promise((ze,Ze)=>{var Me=st=>{try{qe(Oe.next(st))}catch(At){Ze(At)}},tt=st=>{try{qe(Oe.throw(st))}catch(At){Ze(At)}},qe=st=>st.done?ze(st.value):Promise.resolve(st.value).then(Me,tt);qe((Oe=Oe.apply(je,xe)).next())});const{TextArea:ve}=Je.default,me={[Ae.h.HIDE_COMPILE_STATUS]:"\u6682\u4E0D\u652F\u6301\u67E5\u770B",[Ae.h.NOMATCH]:"\u6D4B\u8BD5\u7528\u4F8B\u7ED3\u679C\u4E0D\u5339\u914D",[Ae.h.OK]:"\u8C03\u8BD5\u901A\u8FC7",2:"\u8C03\u8BD5\u8D85\u65F6",3:"\u8C03\u8BD5pod\u5931\u8D25",4:"\u7F16\u8BD1\u5931\u8D25",5:"\u6267\u884C\u5931\u8D25"};var Ee=(je=>(je[je.SET_VISIBLE=0]="SET_VISIBLE",je[je.SET_TABINDEX=1]="SET_TABINDEX",je))(Ee||{});function Se(je){const{status:xe,error_msg:Oe,output:ze,input:Ze,expected_output:Me,is_file:tt,input_file_url:qe,output_file_url:st,expected_output_file_url:At,setMonacoValue:lt,setData:at}=je,ut=(0,ye.useRef)(),ft=(0,ye.useRef)(),bt=(0,ye.useRef)();let Lt=null;const gt={minHeight:150,marginBottom:10,paddingLeft:24,background:"#070f19",color:"#fff"};switch((0,ye.useEffect)(()=>{if(ze&&!tt&&ut.current){const ht=new re.Terminal({fontSize:14,letterSpacing:1,cols:83,rows:10});ht.open(ut.current);const $e=(0,oe.pp)(ue.Base64.decode(ze));ht.write($e),ht.setOption("theme",{background:"#1e1e1e"})}if(Ze&&!tt&&ft.current){const ht=new re.Terminal({fontSize:14,letterSpacing:1,cols:83,rows:10});ht.open(ft.current),ht.write((0,oe.pp)(Ze)),ht.setOption("theme",{background:"#1e1e1e"})}if(Me&&!tt&&bt.current){const ht=new re.Terminal({fontSize:14,letterSpacing:1,cols:83,rows:10});ht.open(bt.current),ht.write((0,oe.pp)(ue.Base64.decode(Me))),ht.setOption("theme",{background:"#1e1e1e"})}},[ze]),xe){case Ae.h.NOMATCH:Lt=de.createElement(de.Fragment,null,de.createElement("p",{className:"c-red"},"\u5B9E\u9645\u8F93\u51FA\uFF1A"),!tt&&de.createElement("div",{ref:ut}),tt&&de.createElement("div",{style:gt},de.createElement("a",{style:{fontSize:"16px"},onClick:()=>pe(this,null,function*(){const ht=yield(0,z.ZP)(st,{method:"Get",headers:{"Content-Type":"application/xml",Accept:"*/*"}});lt(ht),setTimeout(()=>{at(st)},200)})},ze)),de.createElement("p",{className:"c-red"},"\u9884\u671F\u8F93\u51FA\uFF1A"),!tt&&de.createElement("div",{ref:bt}),tt&&de.createElement("div",{style:gt},de.createElement("a",{style:{fontSize:"16px"},onClick:()=>pe(this,null,function*(){const ht=yield fetch(At,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}});lt(yield ht.text()),setTimeout(()=>{at(At)},200)})},Me)));break;case Ae.h.EXECUTEFAILURE:Lt=de.createElement(de.Fragment,null,de.createElement("div",{style:{border:"1px #F6F7F9 solid"}},de.createElement("p",{style:{width:"100%",height:40,background:"#F6F7F9",lineHeight:"40px",color:"#666666",paddingLeft:"12px"}},"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A"),!tt&&de.createElement(ae.Z,{value:Ze,style:gt}),tt&&de.createElement("div",{style:gt},de.createElement("a",{onClick:()=>(0,oe.LR)(qe,Ze)},Ze))),de.createElement("div",{style:{border:"1px #F6F7F9 solid",marginTop:"10px"}},de.createElement("p",{style:{width:"100%",height:40,background:"#F6F7F9",lineHeight:"40px",color:"#666666",paddingLeft:"12px"}},"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),de.createElement("pre",{className:ie.Z.error,style:{color:"#E30000",padding:"0 10px"}},ue.Base64.decode(Oe),"111")));break;case Ae.h.COMPILEFAILURE:Lt=de.createElement(de.Fragment,null,de.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),de.createElement("pre",{className:ie.Z.error},ue.Base64.decode(Oe)));break;case Ae.h.PODFAILURE:Lt=de.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case Ae.h.TIMEOUT:Lt=de.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return de.createElement(de.Fragment,null," ",Lt," ")}function Te(je){const{status:xe,error_msg:Oe,execute_time:ze,output:Ze,input:Me,expected_output:tt,is_file:qe,input_file_url:st,output_file_url:At,expected_output_file_url:lt}=je;let at=null;switch(xe){case Ae.h.OK:case Ae.h.NOMATCH:case Ae.h.EXECUTEFAILURE:case Ae.h.COMPILEFAILURE:at=de.createElement("div",{id:"outputResultRef",className:"h100"});break;case Ae.h.PODFAILURE:at=de.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case Ae.h.TIMEOUT:at=de.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return de.createElement(de.Fragment,null," ",at," ")}function we({value:je,className:xe}){return de.createElement("span",{className:xe},je)}zt.ZP=({input:je,is_file:xe,debuging:Oe,submitting:ze,executingMessage:Ze,debugResult:Me,onChangeInput:tt,onDebugCode:qe,onSubmitCode:st,hack:At,user:lt,submitResult:at,isWhiteTheme:ut,topDispatch:ft})=>{const[bt]=(0,a.useSearchParams)(),Lt=(0,a.useParams)(),[gt,ht]=(0,ye.useState)(!1),[$e,Pe]=(0,ye.useState)(!1),[ke,Ve]=(0,ye.useState)(1),[Qe,De]=(0,ye.useState)(!1),[Ye,Ue]=(0,ye.useState)(0),[Le,Ne]=(0,ye.useState)(!1),[nt,ct]=(0,ye.useState)(""),[St,wt]=(0,ye.useState)(""),Bt=(0,ye.useRef)(),kt=(0,ye.useRef)(),pt=(0,ye.useRef)(null),Ft=(0,ye.useRef)(null),It=(0,ye.useRef)(null);console.log(at,"submitResult",Lt);const{status:Jt,id:Kt,input:$t,output:An,expected_output:vn,is_file:Fn,input_file_url:Yn,output_file_url:xr,expected_output_file_url:Tn,error_msg:On,hack_sets:fn}=at||{};(0,ye.useEffect)(()=>{Jt===0&&(Ve(1),Ue(0))},[Jt,Kt]),(0,ye.useEffect)(()=>{pe(void 0,null,function*(){var zr;const yi=yield(0,b.rX)(Lt==null?void 0:Lt.id,"submit");(yi==null?void 0:yi.status)===0&&(yi!=null&&yi.data&&((zr=yi==null?void 0:yi.data)==null?void 0:zr.status)!==0?(ft({type:te.Types.SET_SUBMIT_RESULT,payload:{submitResult:yi==null?void 0:yi.data}}),Ve(2),Ue(320)):(Ve(1),Ue(0)))})},[Lt==null?void 0:Lt.id]),(0,ye.useEffect)(()=>{if(Bt.current){let Gr=function(Qt){Mi=fa.offsetHeight,Li=!0,qn=Qt.pageY,It.current.style.display="block"},zr=function(){Li=!1,It.current.style.display="none"},yi=function(Qt){if(Li){_n();let tn=qn-Qt.pageY,cn=Mi+tn;if(cn<0&&(cn=0),cn>window.innerHeight-150&&(cn=window.innerHeight-150),ke===1){cn<=34?Ue(0):Ue(cn);return}console.log(cn,"resizeH"),Ue(cn)}};const fa=pt.current;let Mi=0,Li=!1,qn=0;const Er=document.getElementById("case-y-bar");return Er==null||Er.addEventListener("mousedown",Gr),document.addEventListener("mousemove",yi),document.addEventListener("mouseup",zr),()=>{const Qt=document.getElementById("case-y-bar");Qt==null||Qt.removeEventListener("mousedown",Gr),document.removeEventListener("mousemove",yi),document.removeEventListener("mouseup",zr)}}},[Bt,ke]),(0,ye.useEffect)(()=>{const Gr=x.Z.subscribe("resize-move-bar",_n);if(bt.get("type")!=="exercises")return document.addEventListener((0,he.gH)(),Pr),()=>{document.removeEventListener((0,he.gH)(),Pr),Gr()}},[]),(0,ye.useEffect)(()=>{});function _n(){var Gr,zr,yi,fa;const Mi=document.getElementById("outputResultRef");if(Mi){let Li=Mi.dataset.text;kt.current.reset(),kt.current.writeln(Li);const qn=document.getElementById("outputResultRef").offsetWidth-20,Er=((fa=(yi=(zr=(Gr=kt.current)==null?void 0:Gr._core)==null?void 0:zr._renderService)==null?void 0:yi.dimensions)==null?void 0:fa.actualCellWidth)||10,Qt=Math.ceil(qn/Er);kt.current.resize(Qt,Math.ceil(Mi.clientHeight/16))}}function zn(){ht(!gt),setTimeout(()=>{_n()},300),Ue(gt?320:window.innerHeight-150)}function Ir(){$e?(Pe(!1),(0,he.BU)()):(Pe(!0),(0,he.Dj)(Ft.current))}const Pr=Gr=>{(0,he.vp)()||Pe(!1)},Tr=(0,ye.useMemo)(()=>{if(Me){const{status:Gr,output:zr,error_msg:yi}=Me;return setTimeout(()=>{let fa="",Mi=document.getElementById("outputResultRef");zr?fa=ue.Base64.decode(zr):yi&&(fa=ue.Base64.decode(yi)),kt.current=new re.Terminal({fontSize:14,theme:{background:"#181e2e",cursor:"transparent"},rendererType:"dom"}),kt.current.open(Mi),kt.current.onKey(function(Li){var qn;if(Li.domEvent.key.toLocaleUpperCase()==="C"&&Li.domEvent.ctrlKey){Li.domEvent.preventDefault();let Er=(qn=kt.current)==null?void 0:qn.getSelection();navigator.clipboard.writeText(Er).then(()=>{})}}),Mi.dataset.text=fa,kt.current.setOption("convertEol",!0),_n()},300),de.createElement(de.Fragment,null,Te(Me))}return null},[Me]);function Fr(){var Gr,zr;if(!(At!=null&&At.code)||((Gr=At==null?void 0:At.code)==null?void 0:Gr.trim().length)===0){(zr=E.ZP)==null||zr.warning("\u4EE3\u7801\u4E0D\u80FD\u4E3A\u7A7A\uFF0C\u8BF7\u5148\u7F16\u5199\u4EE3\u7801\u540E\uFF0C\u518D\u8FDB\u884C\u8BC4\u6D4B\uFF01");return}Ve(1),Ue(320),qe()}const Lr=Gr=>pe(void 0,null,function*(){let zr=yield(0,z.ZP)(`/api/problems/${Gr}/start.json`,{method:"get",params:{hack_user_id:lt==null?void 0:lt.user_id}});zr&&(window.location.href=`/myproblems/${zr==null?void 0:zr.identifier}${window.location.search}`)});function Kr(){Fn?navigator.clipboard.writeText(ue.Base64.decode(On)).then(()=>{E.ZP.success("\u590D\u5236\u9519\u8BEF\u4FE1\u606F\u6210\u529F")}):navigator.clipboard.writeText(ue.Base64.decode(An)).then(()=>{E.ZP.success("\u590D\u5236\u9519\u8BEF\u4FE1\u606F\u6210\u529F")})}return de.createElement(ye.Fragment,null,de.createElement("div",{className:fe()(ie.Z.case,ut&&ie.Z.whiteCase),style:{height:Ye},ref:pt},de.createElement("div",{className:ie.Z.fullMask,ref:It}),de.createElement("div",{className:ie.Z["resize-y-bar"],id:"case-y-bar",ref:Bt,draggable:!1},ke===2&&de.createElement("i",{className:"iconfont icon-guangbiao",draggable:!1})),ke===1&&(Ye<=34?de.createElement("div",{onClick:()=>{Ue(320)},className:ie.Z.unfoldBtn},"\u63A7\u5236\u53F0",de.createElement("i",{className:"iconfont icon-zhankai9 ml10 font12"})):de.createElement("div",{onClick:()=>{Ue(0)},className:ie.Z.unfoldBtn,style:{borderRadius:"0px 0px 8px 8px",top:0}},"\u63A7\u5236\u53F0",de.createElement("i",{className:"iconfont icon-shouqi8 ml10 font12"}))),de.createElement("div",null,de.createElement("div",{className:ie.Z.caseHead},de.createElement("div",{className:ie.Z.dot}),de.createElement("div",{className:ie.Z.text},ke===1?"\u8C03\u8BD5\u4EE3\u7801\u7ED3\u679C":"\u8BC4\u6D4B\u7ED3\u679C"),ke===2&&!ze&&typeof Jt=="number"&&de.createElement(de.Fragment,null,Jt===Ae.h.OK?de.createElement("div",{className:ie.Z.pass},de.createElement("i",{className:"iconfont icon-tongguo font14 mr5"}),"\u8BC4\u6D4B\u901A\u8FC7"):de.createElement("div",{className:ie.Z.noPass},de.createElement("i",{className:"iconfont icon-jinggao-3 font14 mr5"}),me[Jt])),de.createElement("div",{className:ie.Z.btns},ke===2&&!ze&&de.createElement(de.Fragment,null,Jt!==Ae.h.OK&&de.createElement("div",{onClick:Kr},de.createElement("i",{className:"iconfont icon-fuzhi8"}),"\u590D\u5236\u9519\u8BEF\u4FE1\u606F"),de.createElement("div",{onClick:()=>{Ne(Kt)}},de.createElement("i",{className:"iconfont icon-danceng-xinjianwenjian"}),"\u663E\u793A\u8BE6\u60C5")),bt.get("type")!=="exercises"&&de.createElement("div",{title:"\u5C55\u5F00/\u6536\u7F29",onClick:()=>zn()},de.createElement("i",{className:`iconfont icon-${gt?"suoxiao1":"fangda"}`})))),de.createElement("div",{style:{display:ke===1?"block":"none"}},Oe?de.createElement(se.Z,{style:{color:"#1976d2"},message:"\u670D\u52A1\u542F\u52A8\u4E2D..."}):de.createElement("div",{style:{height:Ye-34}},de.createElement("div",{className:ie.Z.result},de.createElement("div",{className:ie.Z.left},de.createElement("div",{className:ie.Z.title},de.createElement("i",{style:{color:"#00FA95"},className:"iconfont iconfont icon-zidingyiceshiyongli font14 mr5"}),de.createElement("span",null,"\u81EA\u5B9A\u4E49\u6D4B\u8BD5\u7528\u4F8B")),de.createElement("div",{className:ie.Z.leftNode},de.createElement(ve,{placeholder:"\u8BF7\u8F93\u5165\u81EA\u6D4B\u7528\u4F8B\uFF08\u5982\u679C\u672A\u586B\u5199\uFF0C\u9996\u6B21\u81EA\u6D4B\u8FD0\u884C\u65F6\uFF0C\u7CFB\u7EDF\u4F1A\u81EA\u52A8\u586B\u5145\u7B2C\u4E00\u4E2A\u975E\u9690\u85CF\u7684\u6587\u672C\u7C7B\u578B\u7684\u6D4B\u8BD5\u7528\u4F8B\uFF09",value:xe?"":je,onChange:tt}))),de.createElement("div",{className:ie.Z.right},de.createElement("div",{className:ie.Z.title},de.createElement("i",{style:{color:"#00DFFF"},className:"iconfont iconfont icon-daimazhihangjieguo font14 mr5"}),de.createElement("span",null,"\u4EE3\u7801\u6267\u884C\u7ED3\u679C")),de.createElement("div",{className:ie.Z.node},Me?Tr:de.createElement("p",{style:{color:"#8F96B1"}},"\u8BF7\u5728\u5DE6\u4FA7\u8F93\u5165\u81EA\u5B9A\u4E49\u6D4B\u8BD5\u7528\u4F8B\u7684\u8F93\u5165\u503C\uFF0C\u70B9\u51FB\u201C\u8C03\u8BD5\u4EE3\u7801\u201D\uFF0C\u5373\u53EF\u751F\u6210\u4EE3\u7801\u6267\u884C\u7ED3\u679C")))))),de.createElement("div",{style:{display:ke===2?"block":"none"}},ze?de.createElement(se.Z,{style:{color:"#1976d2"},message:"\u670D\u52A1\u542F\u52A8\u4E2D..."}):de.createElement("div",{style:{height:Ye-34,display:"flex",flexDirection:"column",overflow:"hidden"}},de.createElement("div",{ref:Ft,className:ie.Z.elseNode},de.createElement("div",{className:ie.Z.nameWrap},de.createElement("i",{style:{color:"#00DFFF"},className:"iconfont iconfont icon-zidingyiceshiyongli font14 mr5"}),de.createElement("span",null,"\u5B9E\u9645\u8F93\u5165")),de.createElement("div",{className:ie.Z.scroll},de.createElement("pre",{className:ie.Z.scrollBox,style:Qe?{height:$e?"calc(100vh - 20px)":200}:{height:24,overflow:"hidden"}},!Fn&&de.createElement(we,{value:$t}),Fn&&de.createElement("a",{style:{fontSize:"16px"},onClick:()=>pe(void 0,null,function*(){const Gr=yield fetch(Yn,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}});wt(yield Gr.text()),setTimeout(()=>{ct(Yn)},200)})},$t)),$t&&de.createElement("div",{className:ie.Z.action},de.createElement("span",{onClick:()=>De(!Qe)},Qe?"\u6536\u8D77":"\u5C55\u5F00"),bt.get("type")!=="exercises"&&de.createElement("i",{title:"\u5168\u5C4F/\u9000\u51FA\u5168\u5C4F",onClick:()=>Ir(),className:`iconfont icon-${$e?"suoxiao1":"fangda"}`})))),de.createElement("div",{className:ie.Z.result,style:{flex:1,overflow:"hidden"}},de.createElement("div",{className:ie.Z.left},de.createElement("div",{className:ie.Z.title},de.createElement("i",{style:{color:"#00FA95"},className:"iconfont iconfont icon-zidingyiceshiyongli font14 mr5"}),de.createElement("span",null,"\u9884\u671F\u8F93\u51FA")),de.createElement("div",{className:ie.Z.node,style:{background:"#1B2333",color:"#2ABD8C"}},de.createElement("pre",null,!Fn&&de.createElement(we,{className:"mb10",value:vn&&ue.Base64.decode(vn)||""}),Fn&&de.createElement("a",{style:{fontSize:"16px"},onClick:()=>pe(void 0,null,function*(){const Gr=yield fetch(Tn,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}});wt(yield Gr.text()),setTimeout(()=>{ct(Tn)},200)})},vn)))),de.createElement("div",{className:ie.Z.right},de.createElement("div",{className:ie.Z.title},de.createElement("i",{style:{color:"#00DFFF"},className:"iconfont iconfont icon-daimazhihangjieguo font14 mr5"}),de.createElement("span",null,"\u5B9E\u9645\u8F93\u51FA")),de.createElement("div",{className:ie.Z.node,style:{color:Jt===Ae.h.OK?"#2ABD8C":"#FF2C29"}},de.createElement("pre",null,(Jt===4||Jt===5)&&de.createElement(we,{className:"mb10",value:On&&ue.Base64.decode(On)||""}),Jt!=4&&Jt!=5&&(Fn?de.createElement("a",{style:{fontSize:"16px"},onClick:()=>pe(void 0,null,function*(){const Gr=yield(0,z.ZP)(xr,{method:"Get",headers:{"Content-Type":"application/xml",Accept:"*/*"}});try{wt(Gr)}catch(zr){wt("")}setTimeout(()=>{ct(xr)},200)})},An):de.createElement(we,{className:"mb10",value:An&&ue.Base64.decode(An)||""})))))))))),de.createElement("div",{className:fe()(ie.Z.footer,ut&&ie.Z.whiteFooter),style:{zIndex:100}},(At==null?void 0:At.is_program)&&(At==null?void 0:At.above_question)&&de.createElement(ge.ZP,{className:"mr10",type:"primary",onClick:()=>Lr(At==null?void 0:At.above_question),id:"oj-prev",ghost:!0},"\u4E0A\u4E00\u9898"),(At==null?void 0:At.is_program)&&(At==null?void 0:At.under_question)&&de.createElement(ge.ZP,{className:"mr10",type:"primary",onClick:()=>Lr(At==null?void 0:At.under_question),id:"oj-next",ghost:!0},"\u4E0B\u4E00\u9898"),de.createElement(ge.ZP,{style:{border:"1px solid #2ABD8C",color:"#2ABD8C"},ghost:!0,disabled:Oe||ze,loading:Oe,color:"#2ABD8C",className:"mr10",onClick:Fr},"\u8C03\u8BD5\u4EE3\u7801"),bt.get("qtype")!=="8"&&de.createElement(ge.ZP,{className:ie.Z.disabled,type:"primary",icon:de.createElement("i",{className:"iconfont icon-bofang1"}),loading:ze,disabled:Oe||ze,onClick:()=>{var Gr,zr;if(!(At!=null&&At.code)||((Gr=At==null?void 0:At.code)==null?void 0:Gr.trim().length)===0){(zr=E.ZP)==null||zr.warning("\u4EE3\u7801\u4E0D\u80FD\u4E3A\u7A7A\uFF0C\u8BF7\u5148\u7F16\u5199\u4EE3\u7801\u540E\uFF0C\u518D\u8FDB\u884C\u8BC4\u6D4B\uFF01");return}Ve(2),Ue(320),st()}},"\u8BC4\u6D4B\u5E76\u63D0\u4EA4")),de.createElement(y.Z,{onClose:Ne,open:Le}),de.createElement(ee.Z,{close:!0,data:nt,type:nt.length?"txt":"",onClose:()=>ct(""),monacoEditor:{value:St,language:"txt",onChange:()=>{},options:{fontSize:14,readOnly:!0,minimap:{enabled:!1}}}}))}},34587:function(en,zt,be){"use strict";be.r(zt),be.d(zt,{Types:function(){return Qa},default:function(){return As}});var ye=be(59301),Je=be(89070),E=be(31797),ge=be(43418),Ae=be(71418),ue=be(3113),le=be(6848),ie=be(95237),se=be(88264),ae=be(94941),oe=be(4901),re=be(17064),ne=be(3294),z=be(87169),a=be(43428),y=be(23954),x=be(79346),b=be(16479),te=be(16869),ee=be(59301),ce=Object.defineProperty,fe=Object.defineProperties,he=Object.getOwnPropertyDescriptors,de=Object.getOwnPropertySymbols,pe=Object.prototype.hasOwnProperty,ve=Object.prototype.propertyIsEnumerable,me=(pn,Wn,Dr)=>Wn in pn?ce(pn,Wn,{enumerable:!0,configurable:!0,writable:!0,value:Dr}):pn[Wn]=Dr,Ee=(pn,Wn)=>{for(var Dr in Wn||(Wn={}))pe.call(Wn,Dr)&&me(pn,Dr,Wn[Dr]);if(de)for(var Dr of de(Wn))ve.call(Wn,Dr)&&me(pn,Dr,Wn[Dr]);return pn},Se=(pn,Wn)=>fe(pn,he(Wn));const Te={theme:(0,b.G)("ProgrammingCodeMode","vs-dark"),fontSize:(0,b.G)("cmFontSize",14),showEditorSetting:!1,tabToSpace:(0,b.G)("cmTabToSpace",!0)};var we=(pn=>(pn[pn.set_font_size=0]="set_font_size",pn[pn.set_theme=1]="set_theme",pn[pn.on_tab_to_space=2]="on_tab_to_space",pn[pn.set_show_editor_setting=3]="set_show_editor_setting",pn))(we||{});function je(pn,Wn){switch(Wn.type){case 3:return Se(Ee({},pn),{showEditorSetting:Wn.payload});case 1:return Se(Ee({},pn),{theme:Wn.payload});case 0:return Se(Ee({},pn),{fontSize:Wn.payload});case 2:return Se(Ee({},pn),{tabToSpace:Wn.payload});default:throw new Error}}var xe=({isLoading:pn,value:Wn,onChange:Dr,language:cr,onUpdateCode:Ar,ActionBarRender:dr,setIsWhiteTheme:sr})=>{const[Ur,jr]=(0,ye.useReducer)(je,Te),{theme:Jr,fontSize:Gn,showEditorSetting:ni,tabToSpace:Ai}=Ur,Hi=(0,ye.useRef)(),hi=(0,ye.useRef)();(0,ye.useEffect)(()=>{sr(Jr==="vs")},[Jr]);const ri={onFontSizeChange:Zi=>{jr({type:0,payload:Zi}),(0,b.t)("cmFontSize",Zi)},tabToSpace:Ai,cmFontSize:Gn,className:"oj",cmCodeMode:Jr,onTabToSpace:Zi=>{jr({type:2,payload:Zi}),(0,b.t)("cmTabToSpace",Zi)},onCodeModeChange:Zi=>{jr({type:1,payload:Zi}),(0,b.t)("ProgrammingCodeMode",Zi)}};function xa(){jr({type:3,payload:!1})}function ka(){jr({type:3,payload:!0})}const Oo={value:Wn,language:cr,theme:Jr,options:{fontSize:Gn,insertSpaces:Ai},onChange:Zi=>{Dr(Zi),hi.current=Zi,clearTimeout(Hi.current),Hi.current=setTimeout(()=>{Ar(hi.current)},1e4)},onEditBlur:Zi=>{hi.current&&Ar(hi.current)}};return ee.createElement(ye.Fragment,null,dr(ka),ee.createElement("div",{style:{flex:1,overflow:"hidden"}},!pn&&ee.createElement(y.ZP,Ee({},Oo))),ee.createElement(x.Z,null,ee.createElement(a.Z,{rootClassName:"oj",title:null,placement:"right",closable:!1,open:ni,onClose:xa},ee.createElement(te.Z,Ee({},ri)))))},Oe=be(60141),ze=be(24334),Ze=be(87001),Me={flex_box_center:"flex_box_center___rM3g8",flex_space_between:"flex_space_between___Oc7SE",flex_box_vertical_center:"flex_box_vertical_center___MnmYE",flex_box_center_end:"flex_box_center_end___QQh83",flex_box_column:"flex_box_column___ZRFbL","left-panel":"left-panel___SKGyd","tab-panel-body":"tab-panel-body___gABdv",b1:"b1___QpbmK","oj-width-input":"oj-width-input___eJQWT","oj-mr":"oj-mr___AxILO","s-navs":"s-navs___FXwOi","bg-white":"bg-white___kbZ6r",active:"active___QGOnZ",list:"list___PXTsq",btns:"btns___F8yZK",drawer:"drawer___xdGaT",tour:"tour___oMkVh"},tt={pagination:"pagination___yDAjZ",info:"info___ATmsa",wrap:"wrap____KX19"},qe=be(1710),st=be(58421),At=be(58617),lt=be(8394),at=be(61186),ut=be.n(at),ft=be(59301);const{Column:bt}=qe.default;var Lt=({submitResult:pn,submitting:Wn,submitRecords:Dr,page:cr,onPageChange:Ar,topicId:dr})=>{const[sr]=(0,Je.useSearchParams)(),{records:Ur,records_count:jr}=Dr||{},[Jr,Gn]=(0,ye.useState)(!1),ni=sr.get("type")==="1";return ft.createElement(Ae.Z,{spinning:Wn,tip:"\u8BC4\u6D4B\u4E2D...",indicator:ft.createElement(At.Z,{style:{fontSize:24},spin:!0})},(Ur==null?void 0:Ur.length)>0?ft.createElement(qe.default,{dataSource:Ur,rowKey:"id",pagination:!1},ft.createElement(bt,{title:"\u63D0\u4EA4\u65F6\u95F4",dataIndex:"created_at",key:"created_at",render:(Ai,Hi)=>ft.createElement("span",null," ",ut()(Ai).format("YYYY-MM-DD HH:mm:ss"))}),ft.createElement(bt,{title:"\u8BC4\u6D4B\u7ED3\u679C",dataIndex:"status",key:"status",render:(Ai,Hi)=>{var hi;return ft.createElement("span",{className:`${Ai===0?"c-green":"c-red"} current`,onClick:()=>{Gn(Hi.id)}},(hi=Ze.Im[Ai])==null?void 0:hi.replace("\u8C03\u8BD5","\u8BC4\u6D4B"))}}),ft.createElement(bt,{title:`\u6267\u884C\u7528\u65F6 (${ni?"MS":"S"})`,dataIndex:"execute_time",key:"execute_time",render:Ai=>Ai?ni?Ai:Ai/1e3:""}),ft.createElement(bt,{title:`\u5185\u5B58\u6D88\u8017\uFF08${ni?"KB":"MB"}\uFF09`,dataIndex:"execute_memory",key:"execute_memory",render:Ai=>Ai?ni?Ai:parseFloat((Ai/1024).toFixed(2)):""}),ft.createElement(bt,{title:"\u8BED\u8A00",dataIndex:"language",key:"language"}),ft.createElement(bt,{title:"\u64CD\u4F5C",dataIndex:"status",key:"status",render:(Ai,Hi)=>ft.createElement("span",{className:"c-light-primary current",onClick:()=>{Gn(Hi.id)}},"\u67E5\u770B")})):ft.createElement("div",{style:{height:300,width:"100%"}}),ft.createElement(lt.Z,{onClose:Gn,open:Jr}),jr>15?ft.createElement(st.Z,{className:tt.pagination,current:cr,pageSize:15,total:jr,onChange:Ar}):null)},gt=be(8797),ht=be(12563),$e={desc:"desc___iOAgd",info:"info___GPALq",info_tag:"info_tag___CFEn8"},Pe=be(85149),ke=be(59301);const Ve={1:{name:"\u7B80\u5355",color:"#52c41a"},2:{name:"\u4E2D\u7B49",color:"#faad14"},3:{name:"\u56F0\u96BE",color:"#f5222d"}};var Qe=({hack:pn})=>{const{language:Wn,difficult:Dr,time_limit:cr,description:Ar}=pn,[dr]=(0,Je.useSearchParams)(),sr=Ve[Dr];return ke.createElement(ke.Fragment,null,ke.createElement("ul",{className:$e.info},ke.createElement("li",null,"\u7F16\u7A0B\u8BED\u8A00\xA0\xA0",ke.createElement("b",{className:$e.info_tag},Wn)),ke.createElement("li",null,ke.createElement("span",{className:"ml20"},"\u96BE\u5EA6"),"\xA0\xA0",ke.createElement(ht.default,{color:sr==null?void 0:sr.color},sr==null?void 0:sr.name)),ke.createElement("li",null,ke.createElement("span",{className:"ml20"},"\u5355\u4E2A\u6D4B\u8BD5\u96C6\u8BC4\u6D4B\u65F6\u957F\u9650\u5236"),"\xA0\xA0",ke.createElement("span",{style:{color:"#333333"}},cr,"\u79D2"))),dr.get("qtype")==="8"?ke.createElement(Pe.Z,{value:Ar,showProgramFill:!0,className:$e.desc}):ke.createElement(Pe.Z,{value:Ar,className:$e.desc}))},De={},Ye=be(59301),Ue=({hack:pn,current_user:Wn})=>Ye.createElement("div",{className:De.answer},pn!=null&&pn.answer_text?Ye.createElement(Pe.Z,{style:{padding:"13px 0"},value:(pn==null?void 0:pn.answer_text)||""}):Ye.createElement(gt.Z,{customText:"\u6682\u672A\u8BBE\u7F6E\u53C2\u8003\u7B54\u6848~"})),Le=be(34604),Ne=be(99064);function nt(pn,Wn){return(0,Ne.U2)(`/problems/${pn}/comments.json`,{page:Wn,limit:10})}function ct(pn){return(0,Ne.v_)(`/discusses/${pn}/plus.json`,{container_type:"Discuss",type:1})}function St(pn,Wn,Dr){return(0,Ne.v_)(`/problems/${pn}/comments/reply.json`,{comments:{content:Dr,parent_id:Wn}})}function wt(pn,Wn){return(0,Ne.v_)(`/problems/${pn}/comments.json`,{comments:{content:Wn}})}function Bt(pn,Wn,Dr){return(0,Ne.v_)(`/problems/${pn}/comments/${Wn}/hidden.json`,Dr)}function kt(pn,Wn){return(0,Ne.IV)(`/problems/${pn}/comments/${Wn}`)}var pt=be(34362);function Ft({author:pn}){return ye.createElement("a",{href:`/users/${pn.login}`,target:"_blank"},ye.createElement("img",{alt:"\u7528\u6237\u5934\u50CF",height:"50",style:{borderRadius:"50%"},src:`${ne.Z.IMG_SERVER}/images/${pn.image_url}`,width:"50"}))}function It({data:pn,index:Wn,parentDiscussIndex:Dr,user:cr,onSetActionType:Ar}){const{author:dr,can_delete:sr,content:Ur,id:jr,time:Jr}=pn;function Gn(){Ar({id:jr,index:Wn,type:"delete-discuss",parentDiscussIndex:Dr,message:"\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u6761\u56DE\u590D\u5417"})}const ni=cr.admin||sr||dr.user_id===cr.user_id;return ye.createElement("div",{className:"discuss-item-container second-discuss "},ye.createElement(Ft,{author:dr}),ye.createElement("section",null,ye.createElement("div",{className:"discuss-info"},ye.createElement("a",{href:`/users/${dr.login}`,target:"_blank"},dr.name),ye.createElement("span",{className:"grey"},Jr),ye.createElement("div",{className:"btn-group",style:{marginBottom:0}},ni?ye.createElement("a",{onClick:Gn,title:"\u5220\u9664"},ye.createElement("i",{className:"iconfont icon-shanchu"})):null)),ye.createElement(Pe.Z,{className:"discuss-content",value:Ur})))}var Jt=({user:pn,data:Wn,index:Dr,onPlusDiscuss:cr,onSetActionType:Ar,activeDiscussIndex:dr,onReplyDiscuss:sr,onSetActiveDiscussIndex:Ur})=>{const{content:jr,children:Jr,hidden:Gn,id:ni,praise_count:Ai,time:Hi,user_praise:hi,can_delete:ri,author:xa}=Wn;function ka(){Ur(ni)}function Oo(){cr(ni,!hi,Dr)}function Zi(){Ar({id:ni,index:Dr,type:"delete-discuss",message:"\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u6761\u56DE\u590D\u5417"})}function yo(){Ar({id:ni,index:Dr,params:{hidden:Gn?"0":"1"},type:"hidden-discuss",message:Gn?"\u786E\u5B9A\u8981\u53D6\u6D88\u9690\u85CF\u8BE5\u6761\u56DE\u590D\u5417":"\u786E\u5B9A\u8981\u9690\u85CF\u8BE5\u6761\u56DE\u590D\u5417"})}const Ea=pn.admin||pn.user_id===xa.user_id;return ye.createElement("div",{className:"discuss-item-container",key:ni},ye.createElement(Ft,{author:xa}),ye.createElement("section",null,ye.createElement("div",{className:"discuss-info"},ye.createElement("a",{href:`/users/${xa.login}`,target:"_blank"}," ",xa.name," "),ye.createElement("span",{className:"grey"},Hi)),ye.createElement(Pe.Z,{className:"discuss-content",value:jr}),Jr&&Jr.length>0?ye.createElement("div",{className:"reply-discuss-container"},Jr.map((Gi,Ji)=>ye.createElement(It,{key:Gi.id,data:Gi,index:Ji,user:pn,onSetActionType:Ar,parentDiscussIndex:Dr}))):null,ye.createElement("div",{className:"btn-group"},Ea?ye.createElement("a",{onClick:yo,title:Gn?"\u53D6\u6D88\u9690\u85CF":"\u9690\u85CF\u8BC4\u8BBA"},ye.createElement("i",{className:Gn?"iconfont icon-yincangbiyan":"fa fa-eye"})):null,ri&&(!Jr||Jr.length==0)?ye.createElement("a",{onClick:Zi,title:"\u5220\u9664"},ye.createElement("i",{className:"iconfont icon-shanchu"})):null,ye.createElement("a",{onClick:ka,title:"\u56DE\u590D"}," ",ye.createElement("i",{className:"iconfont icon-huifu1"})," "),ye.createElement("a",{onClick:Oo,className:hi?"c-orange":""},ye.createElement("i",{className:hi?"iconfont icon-dianzan mr3":"iconfont icon-dianzan-xian mr3 "}),ye.createElement("span",null,Ai||""))),ye.createElement(pt.Z,{id:ni,activeDiscussIndex:dr,onReplyDiscuss:sr})))},Kt=be(61398),$t={"dis-input-editor-container":"dis-input-editor-container___nKGxx",active:"active___tmt7T","input-mask":"input-mask___epEle","text-area":"text-area___Vry8W","tip-container":"tip-container___plpA3",hide:"hide___kPfyC","md-container":"md-container___u85aq","btn-send":"btn-send___deQ5v"},An=be(12290),vn=(pn,Wn,Dr)=>new Promise((cr,Ar)=>{var dr=jr=>{try{Ur(Dr.next(jr))}catch(Jr){Ar(Jr)}},sr=jr=>{try{Ur(Dr.throw(jr))}catch(Jr){Ar(Jr)}},Ur=jr=>jr.done?cr(jr.value):Promise.resolve(jr.value).then(dr,sr);Ur((Dr=Dr.apply(pn,Wn)).next())}),Fn=({user_praise:pn,praise_count:Wn,praisePlus:Dr,onCreateDiscuss:cr,discuss_count:Ar})=>{const[dr,sr]=(0,ye.useState)(!1),[Ur,jr]=(0,ye.useState)("");function Jr(Hi){jr(Hi)}function Gn(){sr(!0)}function ni(){sr(!1)}function Ai(){return vn(this,null,function*(){cr(Ur),jr(""),sr(!1)})}return ye.createElement("div",{className:`${$t["dis-input-editor-container"]} ${dr?$t.active:""} `},ye.createElement("div",{className:dr?`hide ${$t["text-area"]}`:$t["text-area"]},ye.createElement("input",{placeholder:"\u8BF4\u70B9\u4EC0\u4E48",onClick:Gn}),ye.createElement("a",null," ",ye.createElement("i",{className:"iconfont icon-huifu1"})," \xA0 \xA0",Ar," "),ye.createElement("a",{className:"c-light-black",onClick:Dr,title:pn?"\u53D6\u6D88\u70B9\u8D5E":"\u70B9\u8D5E"},ye.createElement("i",{className:`mr3 ${pn?"iconfont icon-dianzan c-orange":"iconfont icon-dianzan-xian"} `}),Wn?ye.createElement("span",null,Wn):"")),dr?ye.createElement("div",{className:$t["input-mask"],onClick:ni}):null,ye.createElement("div",{className:dr?$t["md-container"]:`${$t["md-container"]} hide`},ye.createElement(An.Z,{id:"discuss-input-editor",miniToolbar:!0,watch:!1,noStorage:!0,defaultValue:Ur,height:240,onChange:Jr}),ye.createElement("div",{className:$t["tip-container"],onClick:ni},ye.createElement("a",{className:$t["btn-send"],onClick:Ai}," \u53D1\u9001 "))))},Yn=be(59301),xr=Object.defineProperty,Tn=Object.defineProperties,On=Object.getOwnPropertyDescriptors,fn=Object.getOwnPropertySymbols,_n=Object.prototype.hasOwnProperty,zn=Object.prototype.propertyIsEnumerable,Ir=(pn,Wn,Dr)=>Wn in pn?xr(pn,Wn,{enumerable:!0,configurable:!0,writable:!0,value:Dr}):pn[Wn]=Dr,Pr=(pn,Wn)=>{for(var Dr in Wn||(Wn={}))_n.call(Wn,Dr)&&Ir(pn,Dr,Wn[Dr]);if(fn)for(var Dr of fn(Wn))zn.call(Wn,Dr)&&Ir(pn,Dr,Wn[Dr]);return pn},Tr=(pn,Wn)=>Tn(pn,On(Wn)),Fr=(pn,Wn,Dr)=>new Promise((cr,Ar)=>{var dr=jr=>{try{Ur(Dr.next(jr))}catch(Jr){Ar(Jr)}},sr=jr=>{try{Ur(Dr.throw(jr))}catch(Jr){Ar(Jr)}},Ur=jr=>jr.done?cr(jr.value):Promise.resolve(jr.value).then(dr,sr);Ur((Dr=Dr.apply(pn,Wn)).next())});const Lr={loading:!1,page:1,data:[],count:0,actionType:null,activeDiscussIndex:null};var Kr=(pn=>(pn[pn.GET_DISCUSSES=0]="GET_DISCUSSES",pn[pn.TOP_OR_DOWN_DISCUSS=1]="TOP_OR_DOWN_DISCUSS",pn[pn.ACTIVE_DISCUSS_INDEX=2]="ACTIVE_DISCUSS_INDEX",pn[pn.PLUS_DISCUSS=3]="PLUS_DISCUSS",pn[pn.SET_ACTION_TYPE=4]="SET_ACTION_TYPE",pn[pn.SET_PAGE=5]="SET_PAGE",pn[pn.SHOW_DISCUSSES_LOADING=6]="SHOW_DISCUSSES_LOADING",pn))(Kr||{});function Gr(pn,Wn){switch(Wn.type){case 6:return Tr(Pr({},pn),{loading:!0});case 0:return Pr(Pr({},pn),Wn.payload);case 1:return Pr(Pr({},pn),Wn.payload);case 4:return Pr(Pr({},pn),Wn.payload);case 3:return Pr(Pr({},pn),Wn.payload);case 5:return Tr(Pr({},pn),{page:Wn.payload});case 2:return Pr(Pr({},pn),Wn.payload);default:throw new Error}}var zr=({user:pn,identifier:Wn,hack:Dr,onTriggerPraise:cr,activeIndex:Ar})=>{const[dr,sr]=(0,ye.useReducer)(Gr,Lr),{loading:Ur,page:jr,data:Jr,count:Gn,actionType:ni,activeDiscussIndex:Ai}=dr,Hi=(0,ye.useCallback)(()=>Fr(void 0,null,function*(){sr({type:6});const Gi=yield nt(Wn,jr),{comments:Ji,disscuss_count:ra}=Gi;sr({type:0,payload:{data:Ji,count:ra,loading:!1}})}),[jr,Wn]);(0,ye.useEffect)(()=>{Ar==="2"&&Hi()},[Wn,jr,Ar]);function hi(Gi){sr({type:5,payload:Gi})}function ri(Gi){sr({type:4,payload:{actionType:Gi}})}function xa(Gi){sr(Ai===Gi?{type:2,payload:{activeDiscussIndex:null}}:{type:2,payload:{activeDiscussIndex:Gi}})}function ka(Gi,Ji,ra){return Fr(this,null,function*(){try{const Wi=yield ct(Gi);Jr[ra].user_praise=Ji,Jr[ra].praise_count=Wi.praise_count,sr({type:3,payload:{data:[...Jr]}})}catch(Wi){console.log(Wi)}})}function Oo(){return Fr(this,null,function*(){const{id:Gi,params:Ji,type:ra,index:Wi,parentDiscussIndex:ho}=ni;if(ra==="hidden-discuss"&&(yield Bt(Wn,Gi,Ji),ho?Jr[ho].children[Wi].hidden=Ji.hidden==1:Jr[Wi].hidden=Ji.hidden==1,sr({type:4,payload:{actionType:null,data:[...Jr]}})),ra==="delete-discuss"){if(yield kt(Wn,Gi),ho||ho===0){let Va=Jr[ho].children;for(let oo=Va.length-1;oo>=0;oo--)if(Va[oo].id===Gi){Va.splice(oo,1);break}Jr[ho].children=Va}else for(let Va=Jr.length-1;Va>=0;Va--)if(Jr[Va].id===Gi){Jr.splice(Va,1);break}sr({type:4,payload:{actionType:null,data:[...Jr]}})}})}function Zi(){sr({type:4,payload:{actionType:null}})}function yo(Gi,Ji){return Fr(this,null,function*(){try{yield St(Wn,Gi,Ji),Hi()}catch(ra){console.log(ra)}})}function Ea(Gi){return Fr(this,null,function*(){sr({type:6}),yield wt(Wn,Gi),Hi()})}return Yn.createElement(Yn.Fragment,null,Yn.createElement("div",{className:"discuss-panel"},Jr.length===0?Yn.createElement(gt.Z,null):Jr.map((Gi,Ji)=>Yn.createElement(Jt,{onReplyDiscuss:yo,onPlusDiscuss:ka,onSetActiveDiscussIndex:xa,onSetActionType:ri,data:Gi,index:Ji,user:pn,activeDiscussIndex:Ai})),Gn>10?Yn.createElement("div",{className:"pagination-container"},Yn.createElement(st.Z,{showQuickJumper:!0,onChange:hi,current:jr,total:Gn})):null),Yn.createElement(Fn,{user_praise:Dr.user_praise,praise_count:Dr.praises_count,praisePlus:cr,discuss_count:Dr.comments_count,onCreateDiscuss:Ea}),Yn.createElement(x.Z,null,Yn.createElement(ge.default,{centered:!0,title:"\u63D0\u793A",open:!!ni,onOk:Oo,onCancel:Zi},Yn.createElement("p",null,ni?ni.message:"")),Yn.createElement(Kt.Z,null)))},yi=be(57809),fa=be(92832),Mi=be(65615),Li={},qn=be(59301),Er=({hack:pn,current_user:Wn})=>qn.createElement("div",{className:Li.answer},pn!=null&&pn.analysis?qn.createElement(Pe.Z,{style:{padding:"13px 0"},value:(pn==null?void 0:pn.analysis)||""}):qn.createElement(gt.Z,{customText:"\u6682\u672A\u8BBE\u7F6E\u9898\u76EE\u89E3\u6790~"})),Qt={hackSets:"hackSets___tw75g",collapseWrapper:"collapseWrapper___TteKi",panelHeader:"panelHeader___Y_Xjq",rateInput:"rateInput___y1qUi",open:"open___xrixP",close:"close___jb6D2",uploadTableWrapper:"uploadTableWrapper___U9Tz_"},tn=be(36381),cn=be(43604),rr=be(78241),bn=be(5871),an=be(72161),gn=be(59301);const{TextArea:Nr}=fa.default,{Panel:lr}=tn.default;var _r=({data:pn,hack:Wn})=>(console.log(pn,Wn,"data"),Wn!=null&&Wn.is_file?gn.createElement(an.Y2,{disabled:!0,className:Qt.uploadTableWrapper,showScore:!Wn.test_set_score,data:pn,isProgramHomework:!0}):gn.createElement("div",{className:Qt.hackSets},pn==null?void 0:pn.map((Dr,cr)=>gn.createElement(tn.default,{accordion:!0,bordered:!1,key:cr,defaultActiveKey:cr===0&&Dr.id,className:Qt.collapseWrapper,expandIcon:({isActive:Ar})=>gn.createElement("i",{className:`iconfont icon-weizhankai ${Ar?Qt.open:Qt.close}`,style:{fontSize:14,transition:"all .2s"}})},gn.createElement(lr,{key:Dr.id,header:gn.createElement(ie.Z,{align:"middle",justify:"space-between",wrap:!1},gn.createElement(cn.Z,{className:Qt.panelHeader},gn.createElement("span",null,"\u6D4B\u8BD5\u7528\u4F8B",cr+1)),gn.createElement(cn.Z,{flex:1},gn.createElement(ie.Z,{align:"middle",justify:"end",wrap:!1},!(Wn!=null&&Wn.test_set_score)&&gn.createElement(cn.Z,{className:Qt.rateInput},gn.createElement("span",{className:"mr20"},"\u8BC4\u5206\u5360\u6BD4"),gn.createElement("div",null,gn.createElement(rr.default.Item,{noStyle:!0},gn.createElement(bn.Z,{value:Dr==null?void 0:Dr.score,className:Qt.baseFormItem,min:0,max:100,disabled:!0}))),gn.createElement("span",{className:"ml10"},"%")))))},gn.createElement(rr.default.Item,{label:"\u8F93\u5165",labelCol:{span:24}},gn.createElement(Nr,{readOnly:!0,value:Dr==null?void 0:Dr.input,rows:4})),gn.createElement(rr.default.Item,{label:"\u8F93\u51FA",labelCol:{span:24}},gn.createElement(Nr,{readOnly:!0,value:Dr==null?void 0:Dr.output,rows:4}))))))),ei={tabs:"tabs___p2jIb",tabWarp:"tabWarp___mt05L",tab:"tab___IYGdQ",active:"active___fQMlP",content:"content___GWVJY"},Qn=be(59301),oi=(0,ye.forwardRef)(({data:pn=[]},Wn)=>{var Dr;const[cr,Ar]=(0,ye.useState)(),dr=pn.filter(Ur=>Ur.show);(0,ye.useEffect)(()=>{dr.length&&Ar(dr[0].id)},[pn==null?void 0:pn.length]);const sr=((Dr=dr.find(Ur=>Ur.id===cr))==null?void 0:Dr.element)||null;return(0,ye.useImperativeHandle)(Wn,()=>({setActiveTab:Ur=>Ar(Ur)})),Qn.createElement("div",{className:ei.tabs},Qn.createElement("div",{className:ei.tabWarp},dr.map(Ur=>Qn.createElement("div",{onClick:()=>Ar(Ur.id),className:`${ei.tab} ${Ur.id===cr?ei.active:""}`,key:Ur.id},Ur.name))),Qn.createElement("div",{className:ei.content},sr))}),Xn=be(59301),Mr=Object.defineProperty,Sr=Object.defineProperties,ci=Object.getOwnPropertyDescriptors,Ci=Object.getOwnPropertySymbols,Ni=Object.prototype.hasOwnProperty,na=Object.prototype.propertyIsEnumerable,Qi=(pn,Wn,Dr)=>Wn in pn?Mr(pn,Wn,{enumerable:!0,configurable:!0,writable:!0,value:Dr}):pn[Wn]=Dr,Ii=(pn,Wn)=>{for(var Dr in Wn||(Wn={}))Ni.call(Wn,Dr)&&Qi(pn,Dr,Wn[Dr]);if(Ci)for(var Dr of Ci(Wn))na.call(Wn,Dr)&&Qi(pn,Dr,Wn[Dr]);return pn},xi=(pn,Wn)=>Sr(pn,ci(Wn)),or=(pn,Wn,Dr)=>new Promise((cr,Ar)=>{var dr=jr=>{try{Ur(Dr.next(jr))}catch(Jr){Ar(Jr)}},sr=jr=>{try{Ur(Dr.throw(jr))}catch(Jr){Ar(Jr)}},Ur=jr=>jr.done?cr(jr.value):Promise.resolve(jr.value).then(dr,sr);Ur((Dr=Dr.apply(pn,Wn)).next())});const ga={1:"\u7B80\u5355",2:"\u9002\u4E2D",3:"\u56F0\u96BE"},ar={1:"#2fa34f",2:"#0152d9",3:"#fa6400"};var $i=({hack:pn,onTriggerPraise:Wn,topicId:Dr,page:cr,onPageChange:Ar,user:dr,current_user:sr,submitRecords:Ur,submitting:jr,submitResult:Jr,setActiveIndex:Gn,hack_sets:ni})=>{var Ai,Hi;const[hi]=(0,Je.useSearchParams)(),[ri,xa]=(0,ye.useState)("0"),ka=(0,Je.useLocation)(),[Oo,Zi]=(0,ye.useState)(!1),[yo,Ea]=(0,ye.useState)(null),[Gi,Ji]=(0,ye.useState)([]),[ra,Wi]=(0,ye.useState)([]),[ho,Va]=(0,ye.useState)({page:1,limit:10}),oo=(0,ye.useRef)(null),bo=(0,ye.useRef)(null);console.log(dr,"user");let[Ya,ol]=(0,ye.useState)(xi(Ii({},(0,Je.useParams)()),{page:1,per_page:20,name:""}));(0,ye.useEffect)(()=>{bo.current&&(pn==null?void 0:pn.is_close_tips)===!1&&yo===null&&Ea(!0)},[bo.current,pn==null?void 0:pn.is_close_tips,yo]);function Xs(){return or(this,null,function*(){yield(0,Ne.ZP)("/api/users/close_tips.json",{method:"post"})})}(0,ye.useEffect)(()=>{Gn(ri)},[ri]);function Ls(Vi){return or(this,null,function*(){let po=Vi.target.id;if(po==="1"){let Za=yield(0,Ne.ZP)(`/api/myproblems/${Ya.id}/redo_logs.json`,{method:"get",params:Ii({},ho)});(Za==null?void 0:Za.status)===0&&Wi(Za==null?void 0:Za.data)}xa(po)})}(0,ye.useEffect)(()=>Le.Z.subscribe("to-commit-info",()=>{xa("1"),oo.current&&oo.current.setActiveTab("1")}),[]),(0,ye.useEffect)(()=>Le.Z.subscribe("to-reset-info",()=>{Ls({target:{id:"1"}}),oo.current&&oo.current.setActiveTab("2")}),[]);function Bs(){xa("2")}function so(){return or(this,null,function*(){let Vi=yield(0,Ne.ZP)("/api/problems/my_hack_list.json",{method:"get",params:Ii({identifier:Ya==null?void 0:Ya.id},Ya)});Ji(Vi)})}const gi=[{title:null,description:Xn.createElement("div",null,Xn.createElement("b",{onClick:()=>{Ea(!1),Xs(),Zi(!0),so()},className:"c-light-primary font16 current"},"\u67E5\u770B\u9898\u76EE\u5217\u8868\u5165\u53E3"),Xn.createElement("div",{className:"c-grey-333 mt10 mb20"},"\u672C\u6B21\u4F5C\u4E1A\u6240\u9700\u5B8C\u6210\u7684\u8BD5\u9898\u90FD\u53EF\u4EE5\u5728\u8FD9\u91CC\u627E\u5230\uFF0C\u5E76\u652F\u6301\u70B9\u51FB\u8BD5\u9898\u8C03\u6574\u5230\u505A\u9898\u9875"),Xn.createElement(ue.ZP,{onClick:()=>{Ea(!1),Xs()},style:{padding:"2px 29px",height:30,float:"right"},type:"primary"},"\u77E5\u9053\u4E86")),target:()=>bo.current}];return Xn.createElement("div",{className:Me["left-panel"]},Xn.createElement("ul",{className:`${Me["s-navs"]} ${Me["bg-white"]} ${Me.b1}`},(pn==null?void 0:pn.is_program)&&!hi.get("pageId")&&Xn.createElement(le.Z,{title:"\u9898\u76EE\u5217\u8868"},Xn.createElement("div",{onClick:()=>{so(),Zi(!0)},className:Me.btns,ref:bo,style:yo?{pointerEvents:"none"}:{}},Xn.createElement("i",{className:"iconfont icon-yidongdaomulu1 font14 c-white"}))),Xn.createElement("li",{style:{marginLeft:20}},Xn.createElement("a",{className:ri==="0"?Me.active:"",id:"0",onClick:Ls},"\u9898\u76EE\u63CF\u8FF0")),Xn.createElement("li",null,Xn.createElement("a",{className:ri==="1"?Me.active:"",id:"1",onClick:Ls},"\u64CD\u4F5C\u8BB0\u5F55")),(hi.get("type")!=="exercises"&&(pn==null?void 0:pn.answer_text_show)||hi.get("type")!=="exercises"&&(pn==null?void 0:pn.analysis_show))&&Xn.createElement("li",null,Xn.createElement("a",{className:ri==="4"?Me.active:"",id:"4",onClick:Ls},"\u89E3\u7B54\u53C2\u8003")),hi.get("type")!=="exercises"&&Xn.createElement("li",null,Xn.createElement("a",{className:ri==="2"?Me.active:"",id:"2",onClick:Ls},"\u8BC4\u8BBA")),!!(ni!=null&&ni.length)&&hi.get("type")!=="exercises"&&hi.get("type")!=="1"&&Xn.createElement("li",null,Xn.createElement("a",{className:ri==="5"?Me.active:"",id:"5",onClick:Ls},"\u6D4B\u8BD5\u7528\u4F8B"))),Xn.createElement("div",{className:`${Me["tab-panel-body"]} ${ri==="0"?"":"hide"}`,style:{borderRight:"1px #dddddd solid",padding:0}},Xn.createElement(Qe,{hack:pn,onTriggerPraise:Wn,toDiscuss:Bs})),Xn.createElement("div",{style:{padding:"12px"},className:`${Me["tab-panel-body"]} ${ri==="1"?"":"hide"}`},Xn.createElement(oi,{ref:oo,data:[{id:"1",show:hi.get("qtype")!=="8",name:"\u63D0\u4EA4\u8BB0\u5F55",element:Xn.createElement(Xn.Fragment,null,Ur!=null&&Ur.records_count||jr?Xn.createElement(Lt,{page:cr,onPageChange:Ar,topicId:Dr,submitting:jr,key:(Jr==null?void 0:Jr.id)||1,submitRecords:Ur,submitResult:Jr}):Xn.createElement(gt.Z,null))},{id:"2",show:hi.get("type")==="exercises"||(pn==null?void 0:pn.homework_common_id),name:"\u91CD\u7F6E\u8BB0\u5F55",element:Xn.createElement(Xn.Fragment,null,Xn.createElement(qe.default,{pagination:!1,dataSource:ra==null?void 0:ra.list,columns:[{title:"\u6062\u590D\u521D\u59CB\u4EE3\u7801\u65F6\u95F4",dataIndex:"created_at",render:(Vi,po,Za)=>ut()(Vi).format("YYYY-MM-DD HH:mm:ss")},{title:"\u64CD\u4F5C",dataIndex:"redo_type",render:(Vi,po,Za)=>{var ns;return(ns=[{id:1,name:"\u6253\u56DE\u91CD\u505A"},{id:2,name:"\u6062\u590D\u521D\u59CB\u4EE3\u7801"},{id:3,name:"\u91CD\u7F6E\u4EE3\u7801\u4ED3\u5E93"}].find(Yo=>Yo.id===Vi))==null?void 0:ns.name}}]}),Xn.createElement(st.Z,{style:{marginTop:10},current:ho.page,total:ra==null?void 0:ra.count,hideOnSinglePage:!0,onChange:Vi=>or(void 0,null,function*(){ho.page=Vi,Va(ho);let po=yield(0,Ne.ZP)(`/api/myproblems/${Ya.id}/redo_logs.json`,{method:"get",params:xi(Ii({},ho),{courseId:Ya.courseId})});(po==null?void 0:po.status)===0&&Wi(po==null?void 0:po.data)})}))}]})),Xn.createElement("div",{style:{padding:"12px"},className:`${Me["tab-panel-body"]} ${ri==="4"?"":"hide"}`},Xn.createElement(oi,{data:[{id:"1",show:hi.get("type")!=="exercises"&&(pn==null?void 0:pn.answer_text_show),name:"\u7B54\u6848",element:Xn.createElement(Xn.Fragment,null,Xn.createElement(Ue,{hack:pn,current_user:sr}))},{id:"2",show:hi.get("type")!=="exercises"&&(pn==null?void 0:pn.analysis_show),name:"\u89E3\u6790",element:Xn.createElement(Xn.Fragment,null,Xn.createElement(Er,{hack:pn,current_user:sr}))}]})),Xn.createElement("div",{className:`${Me["tab-panel-body"]} ${ri==="2"?"":"hide"}`,style:{padding:0}},Xn.createElement(zr,{user:dr,activeIndex:ri,identifier:pn.identifier,hack:pn,onTriggerPraise:Wn})),Xn.createElement("div",{className:`${Me["tab-panel-body"]} ${ri==="5"?"":"hide"}`,style:{padding:12}},Xn.createElement(_r,{data:ni||[],hack:pn})),Xn.createElement(a.Z,{rootClassName:Me.drawer,closable:!1,title:null,bodyStyle:{background:"#1B2333",padding:25,display:"flex",flexDirection:"column"},footer:null,width:500,placement:"left",onClose:()=>Zi(!1),open:Oo},Xn.createElement(ie.Z,null,Xn.createElement("b",{style:{color:"#008CFF",fontWeight:500,lineHeight:"19px"},className:"font16"},"\u9898\u76EE\u5217\u8868"),Xn.createElement("span",{style:{color:"#FA8D30",fontWeight:500},className:"font12 ml10"},"\u5171",Gi==null?void 0:Gi.total_count,"\u9898\xA0[\xA0",Gi==null?void 0:Gi.total_score,"\u5206\xA0]\xA0"),!(dr!=null&&dr.hack_manager)&&Xn.createElement("span",{style:{color:"#FA8D30",fontWeight:500,marginLeft:"auto"},className:"font12"},"\u6211\u7684\u5F97\u5206\xA0:\xA0",Gi==null?void 0:Gi.work_score,"\u5206")),Xn.createElement("div",{style:{height:1,background:"#1C313F",marginTop:12}}),Xn.createElement(ie.Z,{align:"middle",className:"mt10 mb10"},!(dr!=null&&dr.hack_manager)&&Xn.createElement(yi.default,{size:"large",className:"mr10",style:{width:104},placeholder:"\u901A\u8FC7\u60C5\u51B5",onChange:Vi=>{Ya.page=1,Ya.finish_status=Vi,ol(Ii({},Ya)),so()}},Xn.createElement(yi.default.Option,{value:""},"\u5168\u90E8"),Xn.createElement(yi.default.Option,{value:0},"\u672A\u5F00\u59CB"),Xn.createElement(yi.default.Option,{value:1},"\u8FDB\u884C\u4E2D"),Xn.createElement(yi.default.Option,{value:2},"\u5DF2\u5B8C\u6210")),Xn.createElement(yi.default,{size:"large",className:"mr10",style:{width:104},placeholder:"\u9898\u76EE\u96BE\u5EA6",onChange:Vi=>{Ya.page=1,Ya.difficult=Vi||null,ol(Ii({},Ya)),so()}},Xn.createElement(yi.default.Option,{value:0},"\u5168\u90E8"),Xn.createElement(yi.default.Option,{value:1},"\u7B80\u5355"),Xn.createElement(yi.default.Option,{value:2},"\u9002\u4E2D"),Xn.createElement(yi.default.Option,{value:3},"\u56F0\u96BE")),Xn.createElement(fa.default.Search,{size:"large",onSearch:Vi=>{Ya.name=Vi,Ya.page=1,ol(Ii({},Ya)),so()},style:{flex:1},placeholder:"\u8BF7\u8F93\u5165\u9898\u76EE\u540D\u79F0\u8FDB\u884C\u641C\u7D22"})),Xn.createElement("div",{className:Me.list,style:{height:36,background:"#3D445C"}},!(dr!=null&&dr.hack_manager)&&Xn.createElement("span",null,"\u72B6\u6001"),Xn.createElement("span",null,"\u5E8F\u53F7"),Xn.createElement("span",{style:{flex:1}},"\u9898\u76EE\u540D\u79F0"),Xn.createElement("span",{style:{flexBasis:48,paddingRight:0}},"\u96BE\u5EA6")),Xn.createElement("div",{style:{overflow:"auto",flex:1}},(Ai=Gi==null?void 0:Gi.data)!=null&&Ai.length?(Hi=Gi==null?void 0:Gi.data)==null?void 0:Hi.map((Vi,po)=>Xn.createElement("div",{onClick:()=>or(void 0,null,function*(){let Za=yield(0,Ne.ZP)(`/api/problems/${Vi==null?void 0:Vi.identifier}/start.json`,{method:"get",params:{hack_user_id:dr==null?void 0:dr.user_id}});Za&&(Je.history.replace(`/myproblems/${Za==null?void 0:Za.identifier}${window.location.search}`),window.location.reload())}),className:`${Me.list} ${Vi!=null&&Vi.checked?Me.active:""}`},!(dr!=null&&dr.hack_manager)&&Xn.createElement(Xn.Fragment,null,!(Vi!=null&&Vi.opened)&&Xn.createElement("span",{style:{color:"#E02020"}},"\u672A\u5F00\u59CB"),(Vi==null?void 0:Vi.opened)&&!(Vi!=null&&Vi.passed)&&Xn.createElement("span",{style:{color:"#FA6400"}},"\u8FDB\u884C\u4E2D"),(Vi==null?void 0:Vi.opened)&&(Vi==null?void 0:Vi.passed)&&Xn.createElement("span",{style:{color:"#24C074"}},"\u5DF2\u5B8C\u6210")),Xn.createElement("span",null,(Ya.page-1)*20+(po+1)),Xn.createElement("span",{style:{flex:1},title:Vi.name},`[${Vi==null?void 0:Vi.score}\u5206]`,"\xA0",Vi.name),Xn.createElement("span",{style:{flexBasis:48,paddingRight:0}},ga[Vi.difficult]))):Xn.createElement(gt.Z,null)),Xn.createElement(st.Z,{current:Ya.page,className:"mt20",hideOnSinglePage:!0,total:Gi==null?void 0:Gi.count,pageSize:Ya.per_page,onChange:(Vi,po)=>{Ya.page=Vi,Ya.per_page=po,so()}})),Xn.createElement(Mi.Z,{rootClassName:Me.tour,closeIcon:!1,open:!!yo,steps:gi,gap:{offset:3,radius:2}}))},no=be(62522),Ki=be(16209),ki=be(19105),Cr=be(31947),qr=be(85219),Fi=be(67054),Wr=be(61293),Pa=be(92310),pa=be.n(Pa),Ka=be(23960),Ao=be(31707),Ei=be(39775),cs=be(93450),fr=be(59301),Di=Object.defineProperty,aa=Object.defineProperties,tr=Object.getOwnPropertyDescriptors,Hr=Object.getOwnPropertySymbols,fi=Object.prototype.hasOwnProperty,bi=Object.prototype.propertyIsEnumerable,Ca=(pn,Wn,Dr)=>Wn in pn?Di(pn,Wn,{enumerable:!0,configurable:!0,writable:!0,value:Dr}):pn[Wn]=Dr,Ti=(pn,Wn)=>{for(var Dr in Wn||(Wn={}))fi.call(Wn,Dr)&&Ca(pn,Dr,Wn[Dr]);if(Hr)for(var Dr of Hr(Wn))bi.call(Wn,Dr)&&Ca(pn,Dr,Wn[Dr]);return pn},va=(pn,Wn)=>aa(pn,tr(Wn)),Sa=(pn,Wn)=>{var Dr={};for(var cr in pn)fi.call(pn,cr)&&Wn.indexOf(cr)<0&&(Dr[cr]=pn[cr]);if(pn!=null&&Hr)for(var cr of Hr(pn))Wn.indexOf(cr)<0&&bi.call(pn,cr)&&(Dr[cr]=pn[cr]);return Dr},oa=(pn,Wn,Dr)=>new Promise((cr,Ar)=>{var dr=jr=>{try{Ur(Dr.next(jr))}catch(Jr){Ar(Jr)}},sr=jr=>{try{Ur(Dr.throw(jr))}catch(Jr){Ar(Jr)}},Ur=jr=>jr.done?cr(jr.value):Promise.resolve(jr.value).then(dr,sr);Ur((Dr=Dr.apply(pn,Wn)).next())});const{Countdown:ea}=E.default,Xa={Java:"java",C:"c",Python:"py","C++":"c"};var Qa=(pn=>(pn[pn.SET_LOADING=0]="SET_LOADING",pn[pn.GET_DATA=1]="GET_DATA",pn[pn.GET_SUBMIT_RECORDS=2]="GET_SUBMIT_RECORDS",pn[pn.SET_DATA=3]="SET_DATA",pn[pn.SET_DEBUGING=4]="SET_DEBUGING",pn[pn.SET_SUBMITING=5]="SET_SUBMITING",pn[pn.SET_EXECUTE_MESSAGE=6]="SET_EXECUTE_MESSAGE",pn[pn.SET_EXECUTE_RESULT=7]="SET_EXECUTE_RESULT",pn[pn.SET_SUBMIT_RESULT=8]="SET_SUBMIT_RESULT",pn[pn.SET_SHOW_NOTE=9]="SET_SHOW_NOTE",pn[pn.SET_PAGE=10]="SET_PAGE",pn))(Qa||{});function Ba(){return new Date().getTime()}const Ja={loading:!0,data:void 0,showNote:!1,debugResult:void 0,submitResult:void 0,debuging:!1,submitting:!1,submitRecords:void 0,submitRecordPage:1,executingMessage:""};function ao(pn,Wn){switch(Wn.type){case 1:return Ti(Ti({},pn),Wn.payload);case 3:return va(Ti({},pn),{data:Wn.payload});case 0:return va(Ti({},pn),{loading:Wn.payload});case 9:return va(Ti({},pn),{showNote:Wn.payload});case 4:return va(Ti({},pn),{debuging:Wn.payload});case 5:return va(Ti({},pn),{submitting:Wn.payload});case 2:return va(Ti({},pn),{submitRecords:Wn.payload});case 10:return va(Ti({},pn),{submitRecordPage:Wn.payload});case 6:return va(Ti({},pn),{executingMessage:Wn.payload});case 7:return Ti(Ti({},pn),Wn.payload);case 8:return Ti(Ti({},pn),Wn.payload);default:throw new Error}}var As=({children:pn})=>{var Wn,Dr,cr,Ar,dr;const[sr,Ur]=(0,ye.useReducer)(ao,Ja),{id:jr}=(0,Je.useParams)(),Jr=(0,Je.useLocation)(),[Gn]=(0,Je.useSearchParams)(),{loading:ni,data:Ai,debugResult:Hi,submitResult:hi,submitRecords:ri,submitRecordPage:xa,showNote:ka,debuging:Oo,submitting:Zi,executingMessage:yo}=sr,[Ea,Gi]=(0,ye.useState)("#37AD83"),[Ji,ra]=(0,ye.useState)(null),[Wi,ho]=(0,ye.useState)({}),[Va,oo]=(0,ye.useState)(!0),[bo,Ya]=(0,ye.useState)(!1),[ol,Xs]=(0,ye.useState)(!1),Ls=(0,ye.useRef)(null),Bs=(0,ye.useRef)(0),so=Ai==null?void 0:Ai.user,gi=Ai==null?void 0:Ai.hack,[Vi,po]=(0,ye.useState)(!1),Za=(0,ye.useRef)(1),ns=(0,ye.useRef)(!1);(0,Ka.y)(Gn.get("type")==="exercises");const{setOpenDisableCopyAndPaste:Yo}=(0,Ka.X)(),[Zo,ja]=(0,ye.useState)(""),qa=(0,qr._)(Wi);(0,ye.useEffect)(()=>{function Pi(){return oa(this,null,function*(){var Ui,lo,Eo,$a,Do;oo(!0);const Nn=yield(0,se.fu)(jr,{exercise_id:Gn.get("exercisesId")});if(setTimeout(()=>{oo(!1)},800),Nn.status!==401){try{Nn.hack.code=ze.Base64.decode(Nn.hack.code)}catch($r){console.log($r)}Nn.hack=va(Ti({},Nn.hack),{is_program:Gn.get("type")==="1"}),Ur({type:1,payload:{loading:!1,data:Nn}})}if(Gn.get("type")==="exercises"){if(window.self===window.top){window.top.location.href="/";return}let $r;Gn.get("coursesId")=="coursesId"?$r=yield(0,ae._F)({categoryId:Gn.get("exercisesId"),login:Gn.get("login")}):$r=yield(0,ae._B)({categoryId:Gn.get("exercisesId"),login:Gn.get("login")}),ho(Ti({},$r)),Yo((Ui=$r==null?void 0:$r.exercise)==null?void 0:Ui.forbid_copy),typeof((lo=$r==null?void 0:$r.exercise)==null?void 0:lo.left_time)=="number"&&(ra(Date.now()+((Eo=$r==null?void 0:$r.exercise)==null?void 0:Eo.left_time)*1e3),setTimeout(()=>{Gi("red")},((($a=$r==null?void 0:$r.exercise)==null?void 0:$a.left_time)-300>0?((Do=$r==null?void 0:$r.exercise)==null?void 0:Do.left_time)-300:0)*1e3))}})}jr&&Pi()},[jr]),(0,ye.useEffect)(()=>{var Pi;return Gn.get("type")==="exercises"&&((Pi=Wi==null?void 0:Wi.exercise)!=null&&Pi.screen_open)&&(window.removeEventListener("blur",Xo,!1),Fi.U.forEach((Ui,lo)=>{window.addEventListener(Ui,Xo,!1)}),window.addEventListener("blur",Xo,!1),window.focus()),()=>{document.removeEventListener((0,oe.gH)(),Xo)}},[Wi]),(0,ye.useEffect)(()=>{Zo==="1"&&jr&&gi!=null&&gi.language&&Es()},[jr,xa,gi==null?void 0:gi.language,Zo]),(0,ye.useEffect)(()=>(gi!=null&&gi.is_program&&(Bs.current=0,Ls.current=setInterval(()=>{rs()},15e3)),()=>{clearInterval(Ls.current)}),[gi==null?void 0:gi.is_program]);const rs=()=>oa(void 0,null,function*(){let Pi=yield(0,Ne.ZP)(`/api/myproblems/${jr}/save_long_time.json`,{method:"get",params:{answer_long_time:Bs.current}})}),Xo=()=>{ns.current||(0,oe.BU)(),window.parent.postMessage("backExercise","*")};function Es(){return oa(this,null,function*(){try{const Pi=yield(0,se.zO)(jr,{limit:15,page:xa,language:gi==null?void 0:gi.language});Ur({type:2,payload:Pi})}catch(Pi){console.log(Pi)}})}function zo(Pi){Ur({type:10,payload:Pi})}function No(Pi){return oa(this,null,function*(){var Ui;let lo;(Gn.get("ip_limit")==="inner"||Gn.get("ip_bind_type")==="true")&&(lo=yield(0,Ki.y)({ip_limit:Gn.get("ip_limit"),ip_bind:Gn.get("ip_bind_type")==="true"}));const Eo=yield(0,se.n4)(jr,{code:ze.Base64.encode(Pi||gi.code),language:gi==null?void 0:gi.language,exercise_id:Gn.get("exercisesId"),question_id:Gn.get("questionId"),ip:lo});return Eo.status===-5&&(0,Je.getDvaApp)()._store.dispatch({type:"exercise/setActionTabs",payload:{key:"student-unlock",exerciseParams:va(Ti({errorMessage:Eo==null?void 0:Eo.message},(Wi==null?void 0:Wi.exercise)||{}),{exercise_user_id:(Ui=Wi==null?void 0:Wi.exercise)==null?void 0:Ui.exercise_user_id,id:Gn.get("exercisesId")})}}),Eo})}function Jo(){return oa(this,null,function*(){if(Za.current=2,!Zi){Ur({type:5,payload:!0});try{Le.Z.publish("to-commit-info");const Pi=yield No();if(console.log(Pi,1),Pi.status===0){let Nn=function(){return oa(this,null,function*(){const{status:$r,data:Oi}=yield(0,se.rX)(jr,"submit"),ua=Ba()-Do>(Eo*$a+3)*1e3;if($r!==0&&!ua&&setTimeout(Nn,1e3),ua){ge.default.error({centered:!0,okText:"\u77E5\u9053\u5566",title:"\u8BC4\u6D4B\u4EE3\u7801\u8D85\u65F6"}),Ur({type:5,payload:!1});return}if($r===0){Oi.status===2&&ge.default.error({centered:!0,okText:"\u77E5\u9053\u5566",title:"\u8BC4\u6D4B\u4EE3\u7801\u8D85\u65F6"}),(Oi==null?void 0:Oi.status)===0&&Gn.get("type")==="1"&&Xs(!0);const Ia=yield(0,se.zO)(jr,{limit:15,page:xa,language:gi==null?void 0:gi.language});Ur({type:8,payload:va(Ti({},sr),{submitResult:Oi,submitting:!1,submitRecords:Ia})})}})},Ui={};if(Gn.get("type")==="exercises"&&(Ui.extras={exercise_id:Gn.get("exercisesId"),question_id:Gn.get("questionId")},(Gn.get("ip_limit")==="inner"||Gn.get("ip_bind_type")==="true")&&(Ui.extras.ip=yield(0,Ki.y)({ip_limit:Gn.get("ip_limit"),ip_bind:Gn.get("ip_bind_type")==="true"}))),(yield(0,se.bM)(jr,Ui)).status===-1&&Gn.get("exercisesId")){window.parent.location.href=`/classrooms/${Gn.get("coursesId")}/exercise/${Gn.get("exercisesId")}/detail`;return}const{time_limit:Eo,test_case_size:$a}=gi,Do=Ba();Nn()}else Ur({type:5,payload:!1})}catch(Pi){console.log(Pi),Ur({type:5,payload:!1})}po(!1)}})}function Yr(){return oa(this,null,function*(){Za.current=1,sr.debuging=!0,Ur({type:4,payload:!0});try{if((yield No()).status===0){let Do=function(){return oa(this,null,function*(){const{status:Nn,message:$r,data:Oi}=yield(0,se.rX)(jr,"debug"),ua=Ba()-$a>(Ui+3)*1e3;if(Nn!==0&&!ua&&(Ur({type:6,payload:$r}),setTimeout(Do,1e3)),ua){ge.default.error({title:"\u63D0\u793A",centered:!0,okText:"\u77E5\u9053\u5566",content:"\u8C03\u8BD5\u4EE3\u7801\u8D85\u65F6"}),Ur({type:4,payload:!1}),Ur({type:7,payload:va(Ti({},sr),{debugResult:{status:2},debuging:!1})});return}Nn===0&&(Oi.status===2&&ge.default.error({title:"\u63D0\u793A",centered:!0,okText:"\u77E5\u9053\u5566",content:"\u8C03\u8BD5\u4EE3\u7801\u8D85\u65F6"}),Ur({type:4,payload:!1}),Ur({type:7,payload:va(Ti({},sr),{debugResult:Oi,debuging:!1})}))})};const{time_limit:Ui}=gi;let lo={input:encodeURIComponent(Ai.test_case.input)};if(Gn.get("type")==="exercises"&&(lo.exercise_id=Gn.get("exercisesId")),(yield(0,se.MU)(jr,lo)).status===-1&&Gn.get("exercisesId")){window.parent.location.href=`/classrooms/${Gn.get("coursesId")}/exercise/${Gn.get("exercisesId")}/detail`;return}const $a=Ba();Do()}else Ur({type:4,payload:!1})}catch(Pi){console.log(Pi)}finally{}})}function Is(Pi,Ui){const lo=Ui?{modify_code:!1}:{};Ur({type:3,payload:va(Ti({},Ai),{hack:Ti(va(Ti({},gi),{code:Pi}),lo)})}),po(!0)}const Io=Pi=>oa(void 0,null,function*(){let Ui=yield(0,Ne.ZP)(`/api/problems/${gi==null?void 0:gi.identifier}/start.json`,{method:"get",params:{language:Pi==="C++"||Pi==="c++"?encodeURIComponent(Pi):Pi,hack_user_id:so==null?void 0:so.user_id}});Ui.status!==-1&&Je.history.replace(`/myproblems/${Ui==null?void 0:Ui.identifier}${window.location.search}`)});function Sl(Pi){let Ui=Pi.target.value;Ur({type:3,payload:va(Ti({},Ai),{test_case:{input:Ui}})})}function Cs(){return oa(this,null,function*(){try{let Pi={};Gn.get("type")==="exercises"?Pi.exercise_id=Gn.get("exercisesId"):gi!=null&&gi.homework_common_id&&(Pi.homework_common_id=gi==null?void 0:gi.homework_common_id);const Ui=yield(0,se.H7)(jr,Ti({},Pi));Ui.status===401||(Is(ze.Base64.decode(Ui.code)),(Gn.get("type")==="exercises"||gi!=null&&gi.homework_common_id)&&Le.Z.publish("to-reset-info"))}catch(Pi){console.log(Pi)}})}function sl(){ge.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:fr.createElement("p",null,"\u521D\u59CB\u4EE3\u7801\u6709\u4FEE\u6539\uFF0C\u66F4\u65B0\u540E\u5C06\u8986\u76D6\u73B0\u6709\u4EE3\u7801\u54E6~ ",fr.createElement("br",null),"\u8BF7\u5C06\u60A8\u7F16\u8F91\u7684\u4EE3\u7801\u4FDD\u5B58\u81F3\u672C\u5730\uFF0C\u4EE5\u9632\u4E22\u5931"),onOk(){return oa(this,null,function*(){const Pi=yield(0,se.fi)(jr);Pi.status===401||Is(ze.Base64.decode(Pi.code),!0)})}})}function Ha(){Ur({type:9,payload:!0})}function ru(){Ur({type:9,payload:!1})}function iu(Pi){return oa(this,null,function*(){yield(0,se.MK)(jr,Pi),Ur({type:1,payload:{showNote:!1,data:va(Ti({},Ai),{hack:va(Ti({},gi),{notes:Pi.notes})})}})})}const zl={hack:gi,isLoading:Va,input:(Wn=Ai==null?void 0:Ai.test_case)==null?void 0:Wn.input,is_file:(Dr=Ai==null?void 0:Ai.test_case)==null?void 0:Dr.is_file,language:gi==null?void 0:gi.language,code:gi==null?void 0:gi.code,title:"main."+Xa[gi==null?void 0:gi.language],modify_code:gi==null?void 0:gi.modify_code,notes:gi==null?void 0:gi.notes,debugResult:Hi,debuging:Oo,submitting:Zi,submitResult:hi,executingMessage:yo,onCancelNote:ru,onAddNote:iu,showNote:ka,user:so,onShowNote:Ha,onSubmitCode:Jo,onChangeCode:Is,onChangeInput:Sl,onDebugCode:Yr,onResetCode:Cs,onSyncCode:sl,onUpdateCode:No,onChangeLanguage:Io,isWhiteTheme:bo,setIsWhiteTheme:Ya,topDispatch:Ur};function ll(){return oa(this,null,function*(){const{praise_count:Pi}=yield(0,se.vl)(gi.id,{container_type:"Hack",type:1});let Ui=va(Ti({},Ai),{hack:va(Ti({},gi),{praises_count:Pi,user_praise:!gi.user_praise})});Ur({type:3,payload:Ui})})}const Bl={topicId:jr,submitResult:hi,submitRecords:ri,submitting:Zi,page:xa,onPageChange:zo,hack:gi,user:Ai==null?void 0:Ai.user,hack_sets:Ai==null?void 0:Ai.hack_sets,current_user:Ai==null?void 0:Ai.current_user,onTriggerPraise:ll,setActiveIndex:ja};console.log(Wi);const El=()=>Gn.get("type")==="exercises"?!1:!!(Gn.get("type")==="1"&&Object.values((gi==null?void 0:gi.homework_extension)||{}).some(Boolean));return fr.createElement(fr.Fragment,null,fr.createElement(Ae.Z,{spinning:ni,delay:500},Ai?fr.createElement(fr.Fragment,null,fr.createElement("header",{className:pa()(Wr.Z.header,bo&&Wr.Z.whiteHeader)},Gn.get("type")!=="exercises"&&fr.createElement("div",null,fr.createElement("img",{src:`${ne.Z.IMG_SERVER}/images/${so==null?void 0:so.image_url}`,alt:"user",width:36}),fr.createElement("span",{style:{color:bo?"#333":"#B2BACB",fontSize:16}},so==null?void 0:so.name)),Gn.get("type")==="exercises"&&fr.createElement("div",null,fr.createElement("div",{className:"exercise_user_info"},"\u59D3\u540D",fr.createElement("span",{className:"ml10"},(cr=Wi==null?void 0:Wi.exercise)==null?void 0:cr.user_name)),fr.createElement("div",{className:"exercise_user_info ml30"},"\u5B66\u53F7",fr.createElement("span",{className:"ml10"},(Ar=Wi==null?void 0:Wi.exercise)==null?void 0:Ar.student_id))),fr.createElement("h2",{className:"flex-wrp flex_box_column flex_box_center"},fr.createElement("div",null,gi.name)),(gi==null?void 0:gi.is_program)&&fr.createElement(ki.Z,{defaultValue:gi==null?void 0:gi.answer_long_time,onChange:Pi=>{Bs.current=Pi},className:Wr.Z.timepiece}),so!=null&&so.hack_manager?fr.createElement(Je.Link,{className:Wr.Z.btn_edit,to:Gn.get("type")==="1"?Gn.get("pageId")?`/problems/newedit/${gi.identifier}?type=1&pageId=${Gn.get("pageId")}&backUrl=${Gn.get("backUrl")}`:`/problems/newedit/${gi.identifier}?type=1`:`/problems/newedit/${gi.identifier}`}," ",fr.createElement("i",{className:"iconfont icon-bianji13 font14 mr5"})," \u7F16\u8F91"):null,((dr=Wi==null?void 0:Wi.exercise)==null?void 0:dr.left_time)&&fr.createElement(fr.Fragment,null,fr.createElement("span",{style:{color:Ea,marginRight:6},className:`iconfont icon-daojishi ${Wr.Z.djs}`}),fr.createElement("span",{className:"c-white mr20"},fr.createElement(ea,{valueStyle:{color:Ea,fontSize:20,fontWeight:500},title:fr.createElement("span",{style:{color:Ea,fontSize:14,marginRight:10},className:"time"},"\u5269\u4F59\u7B54\u9898\u65F6\u957F"),value:Ji,onFinish:()=>oa(void 0,null,function*(){const Pi=yield(0,ae.VL)({categoryId:Gn.get("exercisesId"),commit_method:2});if((Pi==null?void 0:Pi.status)===0&&(No(),ge.default.info({width:530,title:"\u63D0\u793A",centered:!0,okText:"\u786E\u5B9A",content:fr.createElement("div",{className:"tc font16"},"\u7B54\u9898\u7ED3\u675F\u4E86\uFF0C\u7CFB\u7EDF\u5DF2\u81EA\u52A8\u63D0\u4EA4\u8BD5\u5377",fr.createElement("br",null),"\u4E0D\u80FD\u518D\u4FEE\u6539\u7B54\u9898"),onOk:()=>oa(void 0,null,function*(){window.parent.location.href=`/classrooms/${Gn.get("coursesId")}/exercise/${Gn.get("exercisesId")}/detail`})})),(Pi==null?void 0:Pi.status)===-3){const Ui=parseInt(Pi==null?void 0:Pi.message);ra(Date.now()+Ui*1e3)}})}))),Gn.get("type")==="exercises"?fr.createElement(ue.ZP,{type:"primary",onClick:()=>{const Pi=()=>oa(void 0,null,function*(){yield No(),po(!1),qa(),ns.current=!0,Xo()});if(!(ri!=null&&ri.records_count)||Vi){ge.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",icon:null,title:"\u63D0\u793A",content:fr.createElement("div",{style:{color:"#FF0000"}},"\u8BF7\u786E\u8BA4\u4F60\u7684\u7B54\u9898\u5185\u5BB9\u662F\u5426\u8FDB\u884C\u8BC4\u6D4B\u5E76\u63D0\u4EA4\uFF0C\u672A\u8BC4\u6D4B\u5219\u4F1A\u5BFC\u81F4\u8BE5\u9898\u65E0\u6CD5\u83B7\u5F97\u5206\u6570"),onOk:Pi});return}Pi()}},fr.createElement("span",{className:"iconfont icon-yiguanbi mr5 font14"})," \u8FD4\u56DE\u8BD5\u5377"):fr.createElement("span",{onClick:()=>{var Pi;if(Gn.get("backUrl"))Je.history.push(Gn.get("backUrl"));else if(Gn.get("type")==="1"){let Ui=(Pi=localStorage.getItem("program_homework"))==null?void 0:Pi.split(",");Je.history.push(`/classrooms/${Ui==null?void 0:Ui[0]}/program_homework/${Ui==null?void 0:Ui[1]}/detail`)}else Je.history.push("/problemset")}},fr.createElement(le.Z,{title:"\u5173\u95ED"},fr.createElement("i",{style:{color:bo?"#8D929F":"#fff"},className:"iconfont icon-fanhuishijuan font16 "})))),fr.createElement(Ae.Z,{size:"large",spinning:Va},fr.createElement(re.Z,{className:pa()(Wr.Z.myProblems,bo&&Wr.Z.whiteMyProblems),leftChild:fr.createElement($i,Ti({},Bl)),rightChild:fr.createElement(wl,Ti({},zl))}))):null,fr.createElement(ge.default,{centered:!0,closable:!1,width:680,footer:null,open:ol,className:"oj-modal"},fr.createElement("section",{className:"oj-modal-content"},fr.createElement("div",{className:"oj-modal-head"},fr.createElement("img",{src:no,alt:""}),fr.createElement("i",{onClick:()=>Xs(!1),className:"iconfont icon-guanbi1"})),fr.createElement("aside",null,fr.createElement("img",{className:"mr30",src:cs.Z}),"\u8FD0\u884C\u65F6\u95F4:\xA0",fr.createElement("span",{style:{color:"#75d6ba",marginRight:100}},hi==null?void 0:hi.execute_time,"ms"),"\u4F18\u4E8E",fr.createElement("span",{style:{color:"#f3b087",margin:"0 5px"}},(hi==null?void 0:hi.time_better_than)||100,"%"),"\u7684\u7528\u6237"),fr.createElement("aside",{className:"mb50"},fr.createElement("img",{src:Ei.Z,className:"mr30"}),fr.createElement("span",{className:"oj-modal-tt"},fr.createElement("span",null,fr.createElement("span",null,"\u5360\u7528\u5185\u5B58:\xA0"),fr.createElement("span",{className:"c-light-primary"},hi==null?void 0:hi.execute_memory,"kb")),fr.createElement("span",null,fr.createElement("span",null))),"\u4F18\u4E8E",fr.createElement("span",{style:{color:"#f3b087",margin:"0 5px"}},(hi==null?void 0:hi.memory_better_than)||100,"%"),"\u7684\u7528\u6237"),fr.createElement("div",{id:"oj-modal-next",onClick:()=>oa(void 0,null,function*(){var Pi;if(hi!=null&&hi.next_identifier){let Ui=yield(0,Ne.ZP)(`/api/problems/${hi==null?void 0:hi.next_identifier}/start.json`,{method:"get",params:{hack_user_id:so==null?void 0:so.user_id}});Ui&&(Je.history.replace(`/myproblems/${Ui==null?void 0:Ui.identifier}${window.location.search}`),window.location.reload())}else{let Ui=(Pi=localStorage.getItem("program_homework"))==null?void 0:Pi.split(",");Je.history.push(`/classrooms/${Ui==null?void 0:Ui[0]}/program_homework/${Ui==null?void 0:Ui[1]}/detail`)}}),className:"oj-modal-btn"},hi!=null&&hi.next_identifier?"\u8FDB\u5165\u4E0B\u4E00\u9898":"\u56DE\u5230\u4F5C\u4E1A\u8BE6\u60C5\u9875"))),El()&&fr.createElement(Ao.Z,{showData:gi==null?void 0:gi.homework_extension,description:gi==null?void 0:gi.description,code:gi.code,sendParams:{source:"hack"}})),fr.createElement(Cr.Z,{successCb:()=>{Za.current===1?Yr():Jo()}}))};function Fs({title:pn,modify_code:Wn,onSyncCode:Dr,onShowCodeSetting:cr,onResetCode:Ar,hack:dr,onChangeLanguage:sr,isWhiteTheme:Ur}){var jr;const Jr=()=>{ge.default.confirm({title:"\u6062\u590D\u521D\u59CB\u4EE3\u7801",icon:fr.createElement(z.Z,null),content:"\u4F60\u5728\u672C\u6587\u4EF6\u4E2D\u4FEE\u6539\u7684\u5185\u5BB9\u5C06\u4E22\u5931\uFF0C\u662F\u5426\u786E\u5B9A\u91CD\u65B0\u52A0\u8F7D\u521D\u59CB\u4EE3\u7801\uFF1F",centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:Ar})},[Gn]=(0,Je.useSearchParams)(),ni=Gn.get("language"),Ai=Hi=>Hi==="1"?"c++":Hi==="2"?"C++":Hi;return(0,ye.useEffect)(()=>{ni&&sr(Ai(ni))},[]),(0,ye.useEffect)(()=>{dr!=null&&dr.tpm_code_modified&&ge.default.confirm({title:"\u66F4\u65B0\u521D\u59CB\u4EE3\u7801",icon:fr.createElement(z.Z,null),content:fr.createElement("div",null,fr.createElement("div",null,"\u7F16\u7A0B\u9898\u7684\u521D\u59CB\u4EE3\u7801\u5185\u5BB9\u6709\u66F4\u65B0,"),fr.createElement("div",null,"\u66F4\u65B0\u64CD\u4F5C\u5C06\u4FDD\u7559\u5DF2\u5B8C\u6210\u7684\u8BC4\u6D4B\u8BB0\u5F55\u548C\u6210\u7EE9,"),fr.createElement("div",null,"\u8FD8\u672A\u5B8C\u6210\u8BC4\u6D4B\u7684\u4EFB\u52A1\u4EFB\u52A1\u4EE3\u7801\uFF0C\u8BF7\u81EA\u884C\u4FDD\u5B58\uFF01")),centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>Ar()})},[dr==null?void 0:dr.language]),console.log(dr,Ur,"hack"),fr.createElement("div",{className:`${Wr.Z.codeHead} ${Ur?Wr.Z.whiteCodeHead:""}`},fr.createElement("div",{className:Wr.Z.navWrap},(jr=dr==null?void 0:dr.all_language)==null?void 0:jr.map(Hi=>fr.createElement("div",{className:`${Wr.Z.nav} ${Hi===(dr==null?void 0:dr.language)?Wr.Z.active:""}`,key:Hi,onClick:()=>sr(Hi)},fr.createElement(le.Z,{title:"\u7F16\u7A0B\u8BED\u8A00"},fr.createElement("i",{className:"iconfont icon-bianchengyuyan1"})),fr.createElement("span",null,Hi)))),fr.createElement(ie.Z,{align:"middle",style:{marginLeft:"auto"}},Wn?fr.createElement("a",{title:"\u66F4\u65B0\u901A\u77E5",onClick:Dr},fr.createElement("img",{src:Oe,alt:"notice",style:{height:13,transform:"translateY(-2px)"}})):null,fr.createElement("a",{onClick:Jr},fr.createElement(le.Z,{title:"\u6062\u590D\u521D\u59CB\u4EE3\u7801"},fr.createElement("i",{style:{color:"#8D929F"},className:"iconfont icon-huifuchushihuashezhi mr15"}))),fr.createElement("a",{onClick:cr},fr.createElement(le.Z,{title:"\u8BBE\u7F6E"},fr.createElement("i",{style:{color:"#8D929F"},className:"iconfont icon-shezhi8 font14 mr15"})))))}function wl(pn){var Wn=pn,{input:Dr,is_file:cr,showNote:Ar,onShowNote:dr,notes:sr,onCancelNote:Ur,onAddNote:jr,debugResult:Jr,language:Gn,debuging:ni,submitting:Ai,executingMessage:Hi,code:hi,onSubmitCode:ri,onDebugCode:xa,onChangeCode:ka,onChangeInput:Oo,onUpdateCode:Zi,user:yo,isLoading:Ea,submitResult:Gi}=Wn,Ji=Sa(Wn,["input","is_file","showNote","onShowNote","notes","onCancelNote","onAddNote","debugResult","language","debuging","submitting","executingMessage","code","onSubmitCode","onDebugCode","onChangeCode","onChangeInput","onUpdateCode","user","isLoading","submitResult"]);function ra(ho){return fr.createElement(Fs,va(Ti({},Ji),{onShowCodeSetting:ho}))}const Wi=Ti({input:Dr,is_file:cr,debugResult:Jr,debuging:ni,submitting:Ai,executingMessage:Hi,onDebugCode:xa,onChangeCode:ka,onSubmitCode:ri,onChangeInput:Oo,user:yo,submitResult:Gi},Ji);return fr.createElement("div",{style:{display:"flex",flexDirection:"column",height:"100%",background:"#1B2333"}},fr.createElement(xe,{setIsWhiteTheme:Ji==null?void 0:Ji.setIsWhiteTheme,isLoading:Ea,language:Gn,value:hi,onChange:ka,onUpdateCode:Zi,ActionBarRender:ra}),fr.createElement(Ze.ZP,Ti({},Wi)))}},74440:function(en,zt,be){"use strict";be.d(zt,{h:function(){return ye}});var ye=(Je=>(Je[Je.NOMATCH=-1]="NOMATCH",Je[Je.OK=0]="OK",Je[Je.TIMEOUT=2]="TIMEOUT",Je[Je.PODFAILURE=3]="PODFAILURE",Je[Je.COMPILEFAILURE=4]="COMPILEFAILURE",Je[Je.EXECUTEFAILURE=5]="EXECUTEFAILURE",Je[Je.HIDE_COMPILE_STATUS=11]="HIDE_COMPILE_STATUS",Je))(ye||{})},88264:function(en,zt,be){"use strict";be.d(zt,{H7:function(){return a},MK:function(){return z},MU:function(){return ae},X6:function(){return re},bM:function(){return se},fi:function(){return y},fu:function(){return ie},n4:function(){return x},rX:function(){return ne},vl:function(){return b},zO:function(){return oe}});var ye=be(99064),Je=Object.defineProperty,E=Object.getOwnPropertySymbols,ge=Object.prototype.hasOwnProperty,Ae=Object.prototype.propertyIsEnumerable,ue=(te,ee,ce)=>ee in te?Je(te,ee,{enumerable:!0,configurable:!0,writable:!0,value:ce}):te[ee]=ce,le=(te,ee)=>{for(var ce in ee||(ee={}))ge.call(ee,ce)&&ue(te,ce,ee[ce]);if(E)for(var ce of E(ee))Ae.call(ee,ce)&&ue(te,ce,ee[ce]);return te};function ie(te,ee){return(0,ye.U2)(`myproblems/${te}.json`,le({hidePopLogin:!0},ee||{}))}function se(te,ee){return(0,ye.v_)(`myproblems/${te}/code_submit.json`,ee)}function ae(te,ee){return(0,ye.v_)(`myproblems/${te}/code_debug.json`,ee)}function oe(te,ee){return ee.language&&(ee.language=encodeURIComponent(ee.language)),(0,ye.U2)(`myproblems/${te}/submit_records.json`,ee)}function re(te){return(0,ye.U2)("myproblems/record_detail.json",{id:te})}function ne(te,ee){return(0,ye.U2)(`myproblems/${te}/result.json`,{mode:ee})}function z(te,ee){return(0,ye.v_)(`myproblems/${te}/add_notes.json`,ee)}function a(te,ee){return(0,ye.v_)(`myproblems/${te}/restore_initial_code.json`,ee)}function y(te){return(0,ye.v_)(`myproblems/${te}/sync_code.json`)}function x(te,ee){return(0,ye.v_)(`myproblems/${te}/update_code.json`,ee)}function b(te,ee){return(0,ye.v_)(`discusses/${te}/plus.json`,ee)}},25555:function(en,zt,be){"use strict";be.d(zt,{Im:function(){return me},ZP:function(){return xe},gZ:function(){return we}});var ye=be(59301),Je=be(92832),E=be(3113),ge=be(84105),Ae=be(87395),ue=be(35106),le=be(24334),ie=be(33538),se=be(85149),ae=be(955),oe=be(13787),re=be(34376),ne=be(92310),z=be.n(ne),a=be(59301),y=Object.defineProperty,x=Object.defineProperties,b=Object.getOwnPropertyDescriptors,te=Object.getOwnPropertySymbols,ee=Object.prototype.hasOwnProperty,ce=Object.prototype.propertyIsEnumerable,fe=(Oe,ze,Ze)=>ze in Oe?y(Oe,ze,{enumerable:!0,configurable:!0,writable:!0,value:Ze}):Oe[ze]=Ze,he=(Oe,ze)=>{for(var Ze in ze||(ze={}))ee.call(ze,Ze)&&fe(Oe,Ze,ze[Ze]);if(te)for(var Ze of te(ze))ce.call(ze,Ze)&&fe(Oe,Ze,ze[Ze]);return Oe},de=(Oe,ze)=>x(Oe,b(ze));const{TextArea:pe}=Je.default,ve={visible:!1,tabIndex:"0"},me={[ue.h.HIDE_COMPILE_STATUS]:"\u6682\u4E0D\u652F\u6301\u67E5\u770B",[ue.h.NOMATCH]:"\u6D4B\u8BD5\u7528\u4F8B\u7ED3\u679C\u4E0D\u5339\u914D",[ue.h.OK]:"\u8C03\u8BD5\u901A\u8FC7",2:"\u8C03\u8BD5\u8D85\u65F6",3:"\u8C03\u8BD5pod\u5931\u8D25",4:"\u7F16\u8BD1\u5931\u8D25",5:"\u6267\u884C\u5931\u8D25"};var Ee=(Oe=>(Oe[Oe.SET_VISIBLE=0]="SET_VISIBLE",Oe[Oe.SET_TABINDEX=1]="SET_TABINDEX",Oe))(Ee||{});function Se(Oe,ze){switch(ze.type){case 0:return de(he({},Oe),{visible:ze.payload});case 1:return de(he({},Oe),{tabIndex:ze.payload});default:throw new Error}}function Te({value:Oe,className:ze}){const[Ze,Me]=(0,ye.useState)(!1),tt=(0,ye.useRef)(),qe=(0,ye.useRef)();return(0,ye.useEffect)(()=>{Ze&&(qe.current.reset(),qe.current.write((0,ae.pp)(Oe||"")))},[Oe,Ze]),(0,ye.useEffect)(()=>{var st,At,lt,at;if(tt.current){qe.current=new re.Terminal({fontSize:14,disableStdin:!0}),qe.current.open(tt.current);const ut=tt.current.offsetWidth-14,ft=((at=(lt=(At=(st=qe.current)==null?void 0:st._core)==null?void 0:At._renderService)==null?void 0:lt.dimensions)==null?void 0:at.actualCellWidth)||9.5,bt=Math.ceil(ut/ft);qe.current.resize(bt,8),Me(!0)}},[]),a.createElement("div",{ref:tt,className:z()("XtermText-valueRef",ze)})}function we(Oe){const{status:ze,error_msg:Ze,output:Me,input:tt,expected_output:qe,is_file:st,input_file_url:At,output_file_url:lt,expected_output_file_url:at}=Oe;let ut=null;const ft={minHeight:150,marginBottom:10,paddingLeft:24,background:"#070f19",color:"#fff"};switch(ze){case ue.h.NOMATCH:ut=a.createElement(a.Fragment,null,a.createElement("p",{className:"c-red"},"\u5B9E\u9645\u8F93\u5165\uFF1A"),!st&&a.createElement(Te,{className:"mb10",value:tt}),st&&a.createElement("div",{style:ft},a.createElement("a",{onClick:()=>(0,ae.LR)(At,tt)},tt)),a.createElement("p",{className:"c-red"},"\u5B9E\u9645\u8F93\u51FA\uFF1A"),!st&&a.createElement(Te,{className:"mb10",value:Me&&le.Base64.decode(Me)||""}),st&&a.createElement("div",{style:ft},a.createElement("a",{onClick:()=>(0,ae.LR)(lt,Me)},Me)),a.createElement("p",{className:"c-red"},"\u9884\u671F\u8F93\u51FA\uFF1A"),!st&&a.createElement(Te,{className:"mb10",value:qe&&le.Base64.decode(qe)||""}),st&&a.createElement("div",{style:ft},a.createElement("a",{onClick:()=>(0,ae.LR)(at,qe)},qe)));break;case ue.h.EXECUTEFAILURE:ut=a.createElement(a.Fragment,null,a.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A"),!st&&a.createElement(se.Z,{value:tt,style:ft}),st&&a.createElement("div",{style:ft},a.createElement("a",{onClick:()=>(0,ae.LR)(At,tt)},tt)),a.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),a.createElement("pre",{className:"error"},le.Base64.decode(Ze)));break;case ue.h.COMPILEFAILURE:ut=a.createElement(a.Fragment,null,a.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A"),!st&&a.createElement(se.Z,{value:tt,style:ft}),st&&a.createElement("div",{style:ft},a.createElement("a",{onClick:()=>(0,ae.LR)(At,tt)},tt)),a.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),a.createElement("pre",{className:"error"},le.Base64.decode(Ze)));break;case ue.h.PODFAILURE:ut=a.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case ue.h.TIMEOUT:ut=a.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return a.createElement(a.Fragment,null," ",ut," ")}function je(Oe){const{status:ze,error_msg:Ze,execute_time:Me,output:tt,input:qe,expected_output:st,is_file:At,input_file_url:lt,output_file_url:at,expected_output_file_url:ut}=Oe;let ft=null;switch(ze){case ue.h.OK:ft=a.createElement(a.Fragment,null,a.createElement("p",null,"\u6267\u884C\u7528\u65F6\uFF1A",Me,"\u79D2"),a.createElement("p",null,"\u6267\u884C\u7ED3\u679C\uFF1A"),a.createElement("pre",null,le.Base64.decode(tt)));break;case ue.h.NOMATCH:ft=a.createElement(a.Fragment,null,a.createElement("p",null,"\u8F93\u5165\uFF1A",a.createElement("pre",null,qe)),a.createElement("p",null,"\u8F93\u51FA\uFF1A",tt&&le.Base64.decode(tt)),a.createElement("p",null,"\u9884\u671F\u8F93\u51FA\uFF1A",st&&le.Base64.decode(st)));break;case ue.h.EXECUTEFAILURE:ft=a.createElement(a.Fragment,null,a.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",a.createElement("pre",null,qe)),a.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),a.createElement("pre",{className:"error"},le.Base64.decode(Ze)));break;case ue.h.COMPILEFAILURE:ft=a.createElement(a.Fragment,null,a.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",a.createElement("pre",null,qe)),a.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),a.createElement("pre",{className:"error"},le.Base64.decode(Ze)));break;case ue.h.PODFAILURE:ft=a.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case ue.h.TIMEOUT:ft=a.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return a.createElement(a.Fragment,null," ",ft," ")}var xe=({id:Oe,is_file:ze,input:Ze,debuging:Me,submitting:tt,executingMessage:qe,debugResult:st,onChangeInput:At,onDebugCode:lt,onSubmitCode:at})=>{const[ut,ft]=(0,ye.useReducer)(Se,ve),{visible:bt,tabIndex:Lt}=ut;(0,ye.useEffect)(()=>{ft({type:0,payload:!1})},[Oe]);function gt(ke){let Ve=ke.target.id;ft({type:1,payload:Ve})}function ht(){ft({type:0,payload:!bt})}const $e=(0,ye.useMemo)(()=>{if(st){const{status:ke}=st;return a.createElement(a.Fragment,null,je(st))}return null},[st]);function Pe(){ft({type:0,payload:!0}),ft({type:1,payload:"1"}),lt()}return a.createElement("div",{className:"test-case-panel"},a.createElement("div",{className:`test-case-panel-body ${bt?"active":""}`},a.createElement("ul",{className:"s-navs"},a.createElement("li",null,a.createElement("a",{className:"active"},"\u8C03\u8BD5\u4EE3\u7801\u7ED3\u679C"))),a.createElement(oe.Z,{leftTitle:"\u81EA\u5B9A\u4E49\u6D4B\u8BD5\u7528\u4F8B",rightTitle:"\u4EE3\u7801\u6267\u884C\u7ED3\u679C",style:{height:240},leftNode:a.createElement(pe,{placeholder:"\u8BF7\u8F93\u5165\u81EA\u6D4B\u7528\u4F8B\uFF08\u5982\u679C\u672A\u586B\u5199\uFF0C\u9996\u6B21\u81EA\u6D4B\u8FD0\u884C\u65F6\uFF0C\u7CFB\u7EDF\u4F1A\u81EA\u52A8\u586B\u5145\u7B2C\u4E00\u4E2A\u975E\u9690\u85CF\u7684\u6587\u672C\u7C7B\u578B\u7684\u6D4B\u8BD5\u7528\u4F8B\uFF09",value:ze?"":Ze,onChange:At}),rightNode:Me?a.createElement(ie.Z,{message:"\u4EE3\u7801\u6267\u884C\u4E2D..."}):st?$e:a.createElement("p",{style:{color:"#536879"}},"\u8BF7\u586B\u5199\u6D4B\u8BD5\u7528\u4F8B\u7684\u8F93\u5165\u503C\uFF0C\u70B9\u51FB\u201C\u8C03\u8BD5\u4EE3\u7801\u201D")})),a.createElement("a",{className:`btn-collapse ${bt?"up":""}`,onClick:ht},bt?a.createElement(ge.Z,null):a.createElement(Ae.Z,null)),a.createElement("footer",{className:"footer"},a.createElement("span",{style:{visibility:"hidden"}},"\u63A7\u5236\u53F0"),a.createElement("div",{className:"flex-container"},a.createElement(E.ZP,{id:"oj-prev",className:"btn-blue",type:"ghost"},"\u4E0A\u4E00\u9898"),a.createElement(E.ZP,{id:"oj-next",className:"btn-blue",type:"ghost"},"\u4E0B\u4E00\u9898"),a.createElement(E.ZP,{className:"btn-green",type:"ghost",loading:Me,onClick:Pe},"\u8C03\u8BD5\u4EE3\u7801"),a.createElement(E.ZP,{type:"primary",className:"custom-ant-disabled",loading:tt,disabled:tt,onClick:()=>{ft({type:0,payload:!1}),at()}},"\u8BC4\u6D4B\u5E76\u63D0\u4EA4"))))}},35106:function(en,zt,be){"use strict";be.d(zt,{h:function(){return ye}});var ye=(Je=>(Je[Je.NOMATCH=-1]="NOMATCH",Je[Je.OK=0]="OK",Je[Je.TIMEOUT=2]="TIMEOUT",Je[Je.PODFAILURE=3]="PODFAILURE",Je[Je.COMPILEFAILURE=4]="COMPILEFAILURE",Je[Je.EXECUTEFAILURE=5]="EXECUTEFAILURE",Je[Je.HIDE_COMPILE_STATUS=11]="HIDE_COMPILE_STATUS",Je))(ye||{})},72161:function(en,zt,be){"use strict";be.d(zt,{Y2:function(){return Oe},ZP:function(){return ze}});var ye=be(59301),Je=be(54580),E=be(8591),ge=be(43418),Ae=be(95237),ue=be(5112),le=be(3113),ie=be(24905),se=be(6848),ae=be(92832),oe={wrap:"wrap___MkYbQ",colorBlue:"colorBlue___onjbP",repeatedName:"repeatedName___nbqnE",text:"text___xvutp",greyText:"greyText___dihvZ",noData:"noData___LxOJA",dragger:"dragger___y7F4A",uploadText:"uploadText___Et3KS",btnS:"btnS___k1e6j",testCaseRadio:"testCaseRadio___q1wXT",head:"head___s4Eix",operation:"operation___JCAVh",headProgram:"headProgram___uWA_M",listWrapper:"listWrapper___xW3b4",list:"list___dCbd6",del:"del___abNho",info:"info___J1Wmf"},re="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAATEAAADICAYAAACAj9YNAAAAAXNSR0IArs4c6QAAD59JREFUeF7tnet527gShsFUZFeQpJN1GkncyG46iVJBVFG4D6mLKYmSMLgQM4NXf855NrgMvm/8egBC9BD4oIBhBV7++fPlHP6n8PH/p/84Dp8XS7v8txB2N8sext/h7+G/73++3v67YZ08hz54Xhxr86fAy7c/P+ZVHQB1DaYaCz7AbBzfgVsNefPHBGL5GjJCRQUW0PpecRrp0DugJpWsXnsgVk9bRk5QQCm0nq1khhpb0Gcy1fl3IFZHV0YVKDCfa03nWeOgqdoSrODc9Lz1BGgp8qX1AWJputGrgAJz1bXd2VaBiEVDUJ2J5EpvDMTStaNnogJHeFmvuiSrB2gStYRtgZhQMJqnKWD0rCttsfd7AbPSioYQgFgFURnyQwHnW8ZUq4FZqnIr/YBYQTEZ6lKBDreNshQYxvf9v6+He298khUAYsnS0fGeAsBLmBvj+JWnmULNFs2BWLp29LxSYL4qMczXJLa4Se9Nf7aYiY4CsUTh6MbWsUoOsMUUywrExJLRYakAW8cq+UBVJpAViAnEoinV16Y5QFUWJTcQi5KJRtcKUIFtlBOA7KnQQOypRDS42D5yeN8iIdhePlAdiLVISaNzUn01No6rGKsGALHGeWllegCmxCm2lzdGADEluak5DACmzB1AdmEIEFOWn9rCAWDaHDnGA8jOxgAxpTmqIayXt/0vbt9rcOJODIBsFgaIKc7RlqFRgbVUXzA3IANignTppikAM2Z15yCjEjOWr7XDBWC1Fa40fscgA2KVcsrisADMomuLmDsFGRAznrelwj++Rmc6yOdjWYEOL8QCMcsJWyh2AFZISCXD7P976ernuqvFKskxVWEAMFV2lAmms20lECuTNmZH4S6YWeseB94RyICY0xyOWRYH+TEqGW7TCciAmOEczQmdbWSOenb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XUGVrhb9iV/m5j7QWbqMSeiTBXatPnU/gSxuHzSntA90zE238HYnLNWvTYXU26lusfbSZQnT4GgbUm8P/6C+VmwqlgeQAAAABJRU5ErkJggg==",ne=be(47257),z=be.n(ne),a=be(81939),y=be(99064),x=be(1012),b=be(955),te=be(23210),ee=be(59301),ce=Object.defineProperty,fe=Object.defineProperties,he=Object.getOwnPropertyDescriptors,de=Object.getOwnPropertySymbols,pe=Object.prototype.hasOwnProperty,ve=Object.prototype.propertyIsEnumerable,me=(Ze,Me,tt)=>Me in Ze?ce(Ze,Me,{enumerable:!0,configurable:!0,writable:!0,value:tt}):Ze[Me]=tt,Ee=(Ze,Me)=>{for(var tt in Me||(Me={}))pe.call(Me,tt)&&me(Ze,tt,Me[tt]);if(de)for(var tt of de(Me))ve.call(Me,tt)&&me(Ze,tt,Me[tt]);return Ze},Se=(Ze,Me)=>fe(Ze,he(Me)),Te=(Ze,Me,tt)=>new Promise((qe,st)=>{var At=ut=>{try{at(tt.next(ut))}catch(ft){st(ft)}},lt=ut=>{try{at(tt.throw(ut))}catch(ft){st(ft)}},at=ut=>ut.done?qe(ut.value):Promise.resolve(ut.value).then(At,lt);at((tt=tt.apply(Ze,Me)).next())});const{Dragger:we}=Je.default,je=Ze=>{const Me=ft=>ft&&ft.substring(0,ft.lastIndexOf("."));for(var tt=[...Ze],qe=0,st=[],At=0;At{if(ft.forEach(bt=>{let Lt=bt.name.split(/\.(?=[^\.]+$)/);bt.name=`${Lt[0]}.${Lt[1].toLowerCase()}`}),ft[0].name.includes(".in"))return ft.length===2?ft:[ft[0],{}];if(ft[0].name.includes(".out"))return ft.length===2?ft.reverse():[{},ft[0]]})},xe=({onClose:Ze,onOK:Me,visible:tt,wrapClassName:qe,rootIdentifier:st,multiple:At=!1,defaultMultipleValue:lt=!0})=>{const[at,ut]=(0,ye.useState)([]),[ft,bt]=(0,ye.useState)({}),[Lt,gt]=(0,ye.useState)(!1),[ht,$e]=(0,ye.useState)(!0),Pe=(0,ye.useRef)([]),ke=(0,ye.useRef)(0),Ve=()=>{Ze()};(0,ye.useEffect)(()=>{Qe()},[]),(0,ye.useEffect)(()=>{tt&&(Pe.current=[],ke.current=0,ut([]),$e(lt))},[tt]);const Qe=()=>Te(void 0,null,function*(){try{const St=yield(0,y.ZP)("/api/buckets/get_upload_token_for_big_files",{method:"get"}),wt=JSON.parse((0,a.pe)(St.data));bt(wt)}catch(St){}}),De=St=>St&&St.substring(0,St.lastIndexOf(".")),Ye=St=>{var wt,Bt;const kt=De((wt=St[0])==null?void 0:wt.name)||De((Bt=St[1])==null?void 0:Bt.name),pt=at.filter(Ft=>De(Ft.name)!==kt);Pe.current=[...pt],ut([...pt])},Ue=St=>{if(!ht){const It=new FormData;It.append("file",St.file),(0,y.ZP)("/api/attachments/get_file_content.json",{method:"post",body:It},!0).then(Kt=>{if(Kt.status===0){ke.current=ke.current+1;const $t=Pe.current.map(An=>{var vn;if(An.name===St.name){const Fn=Ee({},An);return(vn=St==null?void 0:St.name)!=null&&vn.includes(".in")?Fn.input=Kt==null?void 0:Kt.content:Fn.output=Kt==null?void 0:Kt.content,Fn}return An});if(Pe.current=[...$t],ut([...$t]),ke.current>0&&ke.current===at.length){gt(!1);let An=je($t);An=An.filter(vn=>{var Fn,Yn;return!!((Fn=vn[0])!=null&&Fn.name&&((Yn=vn[1])!=null&&Yn.name))}),An=An.map(vn=>Se(Ee(Ee({},vn[0]),vn[1]),{is_file:!1})),Me(An),Ze()}}else gt(!1),Ze()});return}const wt=new(z())({endpoint:ft.end_point,region:ft.region,accessKeyId:ft.access_key_id,accessKeySecret:ft.access_key_secret,bucket:ft.bucket,stsToken:ft.security_token}),Bt=St.name,kt={container_type:"TestSet",file_name:Bt},pt=(0,x.Z)();let Ft=`testsets/${st}/${pt}${Bt.indexOf(".")>-1?"."+Bt.split(".").pop():""}`;st===null&&(Ft=`testsets/${pt}${Bt.indexOf(".")>-1?"."+Bt.split(".").pop():""}`),wt.multipartUpload(Ft,new Blob([St.file],{type:St.file.type}),{timeout:3600*1e3,partSize:1002400,callback:{customValue:{id:Bt+""},url:ft==null?void 0:ft.callback_url,host:ft==null?void 0:ft.bucket_host,body:"bucket=${bucket}&object=${object}&etag=${etag}&size=${size}&mimeType=${mimeType}&my_var=${x:my_var}&"+(0,y.rz)(kt)}}).then(function(It){if(It.data.status===0){ke.current=ke.current+1;const Jt=Pe.current.map(Kt=>{var $t,An,vn,Fn,Yn,xr,Tn,On,fn,_n,zn,Ir,Pr,Tr,Fr,Lr,Kr;if(Kt.name===((An=($t=It.data)==null?void 0:$t.data)==null?void 0:An.file_name)){const Gr=Ee({},Kt);return(Yn=(Fn=(vn=It.data)==null?void 0:vn.data)==null?void 0:Fn.file_name)!=null&&Yn.includes(".in")?(Gr.in_object_key=(Tn=(xr=It.data)==null?void 0:xr.data)==null?void 0:Tn.object,Gr.in_object_size=(fn=(On=It.data)==null?void 0:On.data)==null?void 0:fn.size,Gr.input=(zn=(_n=It.data)==null?void 0:_n.data)==null?void 0:zn.file_name,Gr.in_file=St):(Gr.out_object_key=(Pr=(Ir=It.data)==null?void 0:Ir.data)==null?void 0:Pr.object,Gr.out_object_size=(Fr=(Tr=It.data)==null?void 0:Tr.data)==null?void 0:Fr.size,Gr.output=(Kr=(Lr=It.data)==null?void 0:Lr.data)==null?void 0:Kr.file_name,Gr.out_file=St),Gr}return Kt});if(Pe.current=[...Jt],ut([...Jt]),ke.current>0&&ke.current===at.length){gt(!1);let Kt=je(Jt);Kt=Kt.filter($t=>{var An,vn;return!!((An=$t[0])!=null&&An.name&&((vn=$t[1])!=null&&vn.name))}),Kt=Kt.map($t=>Se(Ee(Ee({},$t[0]),$t[1]),{is_file:!0})),Me(Kt),Ze()}}})},Le=St=>new Promise((wt,Bt)=>{let kt=0,pt=[];for(let Ft=0;Ft{kt++,kt===St.length&&(pt.length?(E.ZP.warning(`${pt.join("\uFF0C")}\u6587\u4EF6\u5DF2\u635F\u574F\u6216\u5DF2\u88AB\u4FEE\u6539\uFF0C\u8BF7\u5220\u9664\u540E\u91CD\u65B0\u4E0A\u4F20\uFF01`),Bt()):wt(St))}).catch(It=>{console.log("\u9519\u8BEF\u4FE1\u606F\uFF1A",It),kt++,pt.push(St[Ft].name),kt===St.length&&(pt.length?(E.ZP.warning(`${pt.join("\uFF0C")}\u6587\u4EF6\u5DF2\u635F\u574F\u6216\u5DF2\u88AB\u4FEE\u6539\uFF0C\u8BF7\u5220\u9664\u540E\u91CD\u65B0\u4E0A\u4F20\uFF01`),Bt()):wt(St))})}),Ne=()=>Te(void 0,null,function*(){if(at.length===0){E.ZP.warning("\u8BF7\u9009\u62E9\u4E0A\u4F20\u6587\u4EF6");return}if(yield Le(at),gt(!0),je(at).some(wt=>{var Bt,kt;return!((Bt=wt[0])!=null&&Bt.name&&((kt=wt[1])!=null&&kt.name))})){ge.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u4E0A\u4F20\u7684\u6D4B\u8BD5\u7528\u4F8B\u4E2D\u5B58\u5728\u672A\u914D\u5BF9\u7684\u6587\u4EF6\uFF0C\u8BF7\u786E\u8BA4\u662F\u5426\u4EC5\u4FDD\u5B58\u5DF2\u914D\u5BF9\u7684\u6D4B\u8BD5\u7528\u4F8B\uFF1F",onOk:()=>Te(void 0,null,function*(){at.map(wt=>Te(void 0,null,function*(){Ue(wt)}))}),onCancel:()=>{gt(!1)}});return}at.map(wt=>Te(void 0,null,function*(){Ue(wt)}))}),nt={name:"file",fileList:at,multiple:!0,accept:".in, .out",showUploadList:!1,beforeUpload:St=>{if(at!=null&&at.some(Bt=>Bt.name===St.name))return E.ZP.info(`${St.name}\u6587\u4EF6\u5DF2\u5B58\u5728`),!1;if(St.size/1024/1024>100)return E.ZP.info("\u6587\u4EF6\u8D85\u8FC7100M\uFF0C\u4E0D\u7B26\u5408\u4E0A\u4F20\u8981\u6C42"),!1;if(!/\.(in|out|IN|OUT)$/.test(St.name))return E.ZP.warning("\u8F93\u5165\u6587\u4EF6\u53EA\u80FD\u4E0A\u4F20.in\u548C.out\u7C7B\u578B\u7684\u6587\u672C\u6587\u4EF6"),!1;const wt={name:St.name,uid:St.uid,file:St,percent:0};return at.push(wt),Pe.current=[...at],ut([...at]),!1}},ct=je(at);return console.log(at,ct,"fileList"),ee.createElement(ge.default,{open:tt,wrapClassName:qe,onOk:Ne,centered:!0,okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",okButtonProps:{loading:Lt},onCancel:Ve,width:730,title:"\u6279\u91CF\u4E0A\u4F20\u6D4B\u8BD5\u7528\u4F8B"},ee.createElement("div",{className:oe.wrap},at.length?ee.createElement("div",null,ee.createElement(Ae.Z,{justify:"space-between",align:"middle",style:{marginBottom:40}},ee.createElement("div",{style:{visibility:At?"visible":"hidden"}},ee.createElement("span",{className:oe.greyText},"\u7528\u4F8B\u7C7B\u578B"),ee.createElement(ue.ZP.Group,{className:`ml20 ${oe.testCaseRadio}`,optionType:"button",value:ht,onChange:St=>$e(St.target.value)},ee.createElement(ue.ZP,{value:!1},"\u6587\u672C"),ee.createElement(ue.ZP,{value:!0},"\u6587\u4EF6"))),ee.createElement(Je.default,Ee({},nt),ee.createElement(le.ZP,{type:"primary",className:oe.btnS},ee.createElement("i",{className:"iconfont icon-shangchuan2"}),"\u4E0A\u4F20\u6587\u4EF6"))),ee.createElement(Oe,{data:ct,onRemove:Ye})):ee.createElement("div",{className:`${oe.noData} mb30`},ee.createElement(Je.default.Dragger,Se(Ee({},nt),{className:oe.dragger}),ee.createElement("img",{src:re,alt:"",className:"mb20"}),ee.createElement("div",null,ee.createElement("span",null,"\u62D6\u62FD\u6587\u4EF6\u6216"),ee.createElement("span",{className:oe.uploadText},"\u70B9\u51FB\u6B64\u5904\u4E0A\u4F20")))),ee.createElement("div",{className:oe.text},ee.createElement("span",{style:{color:"#FA6400"}},"\u63D0\u793A"),ee.createElement("br",null),"1\u3001\u6587\u4EF6\u5FC5\u987B\u4E0A\u4F20.in\u548C.out\u7C7B\u578B\u7684\u6587\u672C\u6587\u4EF6\u3002",ee.createElement("br",null),"2\u3001\u4E0A\u4F20\u7684\u6587\u4EF6\u7F16\u7801\u4EC5\u652F\u6301UTF-8\uFF0C\u5426\u5219\u53EF\u80FD\u4F1A\u51FA\u73B0\u6587\u672C\u4E71\u7801\u3002",ee.createElement("br",null),"3\u3001\u8F93\u5165\u8F93\u51FA\u6587\u4EF6\u9700\u6587\u4EF6\u540D\u79F0\u4E00\u4E00\u5BF9\u5E94\uFF0C\u672A\u5BF9\u5E94\u65F6\uFF0C\u5C06\u65E0\u6CD5\u4E0A\u4F20\u3002",ee.createElement("br",null),"4\u3001\u5355\u4E2A\u4E0A\u4F20\u6587\u4EF6\u4E0D\u80FD\u8D85\u8FC7100MB\uFF0C\u8D85\u8FC7\u65F6\u53EF\u4EE5\u5206\u6279\u6B21\u4E0A\u4F20\u3002",ee.createElement("br",null))))},Oe=({data:Ze=[],onRemove:Me,width:tt="auto",showScore:qe=!1,disabled:st=!1,inputChange:At,onEvaluatingChange:lt,onSelectAll:at,checkAll1:ut,checkAll2:ft,checkAll3:bt,checkAll4:Lt,checkAll5:gt,showEvaluatingSetting:ht=!1,className:$e="",isProgramHomework:Pe=!1})=>{const ke={value:"",filename:"",dataUrl:""},[Ve,Qe]=(0,ye.useState)(Ee({},ke)),De=Le=>{let Ne=document.createElement("a");document.body.appendChild(Ne);let nt=URL.createObjectURL(Le.file);Ne.href=nt,Ne.download=Le.name,Ne.click(),URL.revokeObjectURL(nt),document.body.removeChild(Ne)},Ye=(Le,Ne)=>{(0,b.LR)(Le,Ne)},Ue=(Le,Ne)=>{ge.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:ee.createElement("div",{className:"tc font16"},"\u8BF7\u786E\u8BA4\u662F\u5426\u5220\u9664\u8BE5\u6D4B\u8BD5\u7528\u4F8B?"),onOk:()=>{Me(Le,Ne)},onCancel:()=>{}})};return Ze.length?ee.createElement("div",{className:$e,style:{width:tt}},ee.createElement("div",{className:`${Pe?oe.headProgram:oe.head}`},ht&&ee.createElement("div",{style:{width:"15%",display:"flex",alignItems:"center"}},ee.createElement(ie.default,{checked:ut,onChange:Le=>{at(Le.target.checked,"hidden")}}),ee.createElement(se.Z,{title:'\u9690\u85CF\u6D4B\u8BD5\u96C6\u53EF\u4EE5\u9632\u6B62\u5B66\u751F\u901A\u8FC7"print"\u7B49\u624B\u6BB5\u76F4\u63A5\u901A\u5173'},ee.createElement("span",{style:{marginLeft:"8px"}},"\u9690\u85CF"),ee.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),ee.createElement("div",{style:{width:Pe?"25%":"15%"}},"\u7528\u4F8B"),ee.createElement("div",{style:{width:qe?Pe?"20%":"15%":"25%",padding:"0 12px"}},"\u8F93\u5165"),ee.createElement("div",{style:{width:qe?Pe?"20%":"15%":"25%",padding:"0 12px"}},"\u8F93\u51FA"),qe&&ee.createElement("div",{style:{width:"20%"}},"\u5F97\u5206\u6BD4\u4F8B"),ht&&ee.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},ee.createElement(ie.default,{checked:Lt,onChange:Le=>{at(Le.target.checked,"input_visible")}}),ee.createElement(se.Z,{title:"\u52FE\u9009\u540E\uFF0C\u8F93\u5165\u5BF9\u5B66\u5458\u59CB\u7EC8\u4E0D\u53EF\u89C1"},ee.createElement("span",{style:{marginLeft:"8px"}},"\u8F93\u5165"),ee.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),ht&&ee.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},ee.createElement(ie.default,{checked:ft,onChange:Le=>{at(Le.target.checked,"is_invisible")}}),ee.createElement(se.Z,{title:"\u52FE\u9009\u540E\uFF0C\u9884\u671F\u8F93\u51FA\u5BF9\u5B66\u5458\u59CB\u7EC8\u4E0D\u53EF\u89C1"},ee.createElement("span",{style:{marginLeft:"8px"}},"\u9884\u671F\u8F93\u51FA"),ee.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),ht&&ee.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},ee.createElement(ie.default,{checked:gt,onChange:Le=>{at(Le.target.checked,"actual_output_visible")}}),ee.createElement(se.Z,{title:"\u52FE\u9009\u540E\uFF0C\u5B9E\u9645\u8F93\u51FA\u5BF9\u5B66\u5458\u59CB\u7EC8\u4E0D\u53EF\u89C1"},ee.createElement("span",{style:{marginLeft:"8px"}},"\u5B9E\u9645\u8F93\u51FA"),ee.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),ht&&ee.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},ee.createElement(ie.default,{checked:bt,onChange:Le=>{at(Le.target.checked,"last_match_rule")}}),ee.createElement(se.Z,{title:"\u52FE\u9009\u540E\uFF0C\u5B9E\u9645\u8F93\u51FA\u4E0E\u9884\u671F\u8F93\u51FA\u6700\u540E\u4E00\u884C\u76F8\u540C\u5373\u53EF\u901A\u5173"},ee.createElement("span",{style:{marginLeft:"8px"}},"\u7279\u6B8A\u5224\u5B9A"),ee.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),ee.createElement("div",{className:oe.operation,style:Pe?{flex:1,textAlign:"right"}:{width:"10%"}},"\u64CD\u4F5C")),ee.createElement("div",{className:oe.listWrapper,style:{boxShadow:Pe?"0px 2px 4px 0px #EAEEF4":"unset"}},Ze.map((Le,Ne)=>{var nt,ct,St,wt;return ee.createElement("div",{key:Ne,className:oe.list,style:Pe?{marginBottom:"0px",height:"66px",borderBottom:"1px solid #F6F7F8"}:{}},ht&&ee.createElement("div",{style:{width:"15%"}},ee.createElement(ie.default,{checked:!!Le.hidden,onChange:Bt=>{lt(Bt.target.checked,Ne,"hidden")}})),ee.createElement("div",{style:{width:Pe?"25%":"15%",paddingLeft:Pe?"5px":"0px",paddingRight:Pe?"5px":"0px"}},"\u6D4B\u8BD5\u7528\u4F8B",Ne+1),ee.createElement("div",{className:oe.info,style:{width:qe?Pe?"20%":"15%":"25%"}},ee.createElement("span",{title:Le.input||((nt=Le[0])==null?void 0:nt.name),onClick:()=>Te(void 0,null,function*(){let Bt;Le.input?Le.input_file_url?Bt=Le.input_file_url:Bt=Le.in_file:Bt=Le[0];let kt;typeof Bt=="string"?(kt=yield fetch(Bt,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}}),Qe({value:yield kt.text(),filename:"",dataUrl:Bt})):(kt=yield(0,b.db)(Bt.file),Qe({value:kt.text,filename:Bt.name,dataUrl:kt.link}))})},Le.input||((ct=Le[0])==null?void 0:ct.name))),ee.createElement("div",{className:oe.info,style:{width:qe?Pe?"20%":"15%":"25%"}},ee.createElement("span",{title:Le.output||((St=Le[1])==null?void 0:St.name),onClick:()=>Te(void 0,null,function*(){let Bt;Le.input?Le.output_file_url?Bt=Le.output_file_url:Bt=Le.out_file:Bt=Le[1];let kt;typeof Bt=="string"?(kt=yield fetch(Bt,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}}),Qe({value:yield kt.text(),filename:"",dataUrl:Bt})):(kt=yield(0,b.db)(Bt.file),Qe({value:kt.text,filename:Bt.name,dataUrl:kt.link}))})},Le.output||((wt=Le[1])==null?void 0:wt.name))),qe&&ee.createElement("div",{style:{width:"20%"}},ee.createElement(ae.default,{size:"large",addonAfter:Pe?"%":null,disabled:st,style:{width:"80%"},onChange:Bt=>At(Bt,Ne),value:Le.score}),!Pe&&ee.createElement("span",null,"\xA0%")),ht&&ee.createElement("div",{style:{width:"20%"}},ee.createElement(ie.default,{checked:Le.input_visible||!1,onChange:Bt=>{lt(Bt.target.checked,Ne,"input_visible")},className:"font14"},"\u5BF9\u5B66\u5458\u4E0D\u53EF\u89C1")),ht&&ee.createElement("div",{style:{width:"20%"}},ee.createElement(ie.default,{checked:Le.is_invisible||!1,onChange:Bt=>{lt(Bt.target.checked,Ne,"is_invisible")},className:"font14"},"\u5BF9\u5B66\u5458\u4E0D\u53EF\u89C1")),ht&&ee.createElement("div",{style:{width:"20%"}},ee.createElement(ie.default,{checked:Le.actual_output_visible||!1,onChange:Bt=>{lt(Bt.target.checked,Ne,"actual_output_visible")},className:"font14"},"\u5BF9\u5B66\u5458\u4E0D\u53EF\u89C1")),ht&&ee.createElement("div",{style:{width:"20%"}},ee.createElement(ie.default,{checked:Le.last_match_rule||!1,onChange:Bt=>{lt(Bt.target.checked,Ne,"last_match_rule")},className:"font14"},"\u672B\u5C3E\u5339\u914D")),ee.createElement("div",{onClick:()=>Ue(Le,Ne),style:Pe?{flex:1,textAlign:"right",paddingLeft:"5px",paddingRight:"5px"}:{width:"10%",textAlign:"center"}},ee.createElement("span",{className:oe.del},"\u5220\u9664")))})),ee.createElement(te.Z,{close:!0,data:Ve.dataUrl,filename:Ve.filename,type:Ve.dataUrl.length?"txt":"",onClose:()=>Qe(Ee({},ke)),monacoEditor:{value:Ve.value,language:"txt",onChange:()=>{},options:{fontSize:14,readOnly:!0,minimap:{enabled:!1}}}})):ee.createElement(ee.Fragment,null)};var ze=xe},34362:function(en,zt,be){"use strict";be.d(zt,{Z:function(){return ne}});var ye=be(59301),Je=be(8591),E=be(6848),ge=be(71418),Ae=be(95237),ue=be(43604),le=be(58421),ie=be(3113),se=be(12290),ae=be(99064),oe=be(85149),re=(a,y,x)=>new Promise((b,te)=>{var ee=he=>{try{fe(x.next(he))}catch(de){te(de)}},ce=he=>{try{fe(x.throw(he))}catch(de){te(de)}},fe=he=>he.done?b(he.value):Promise.resolve(he.value).then(ee,ce);fe((x=x.apply(a,y)).next())}),ne=({id:a,activeDiscussIndex:y,onReplyDiscuss:x,adminOrOperator:b})=>{const[te,ee]=(0,ye.useState)(""),[ce,fe]=(0,ye.useState)(!1);function he(pe){ee(pe)}function de(){if(!te){Je.ZP.info("\u56DE\u590D\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A!");return}x(a,te),ee("")}return(0,ye.useEffect)(()=>{y!=a&&fe(!1)},[y]),ye.createElement("div",{key:a,className:"discuss-item-editor",style:{display:y===a?"block":"none",width:"100%"}},ye.createElement(se.Z,{miniToolbar:!0,startInit:y===a,defaultValue:te,id:a,noStorage:!0,watch:!1,height:155,placeholder:"\u6211\u8981\u56DE\u590D",showResizeBar:!0,onChange:he,extraUse:b&&ye.createElement(E.Z,{color:"#fff",open:ce,destroyTooltipOnHide:!0,title:z({id:a,isOpen:ce,activeDiscussIndex:y,onChange:he,setIsOpen:fe}),overlayStyle:{maxWidth:600}},ye.createElement("a",{title:ce?"\u5173\u95ED\u63A8\u8350":"\u6253\u5F00\u63A8\u8350",onClick:()=>fe(!ce)},ye.createElement("i",{className:"iconfont icon-dianzan11"})))}),ye.createElement("a",{onClick:de,className:"btn-send"},"\u53D1\u9001"))};const z=a=>{const[y,x]=(0,ye.useState)(!1),[b,te]=(0,ye.useState)([]),[ee,ce]=(0,ye.useState)(1);(0,ye.useEffect)(()=>{a!=null&&a.isOpen?fe():(ce(1),te([]))},[a==null?void 0:a.isOpen]);const fe=()=>re(void 0,null,function*(){x(!0);const he=yield(0,ae.ZP)(`/api/discusses/${a==null?void 0:a.id}/recommend_answer.json`,{method:"get"});(he==null?void 0:he.status)==0&&te(he==null?void 0:he.answer),x(!1)});return ye.createElement(ge.Z,{spinning:y},ye.createElement("div",{style:{color:"#000"}},ye.createElement(oe.Z,{className:"font14",style:{maxHeight:500,overflow:"auto"},value:(b==null?void 0:b[ee-1])||""}),ye.createElement(Ae.Z,{justify:"end",align:"middle"},ye.createElement(ue.Z,null,ye.createElement(le.Z,{simple:!0,current:ee,pageSize:1,total:(b==null?void 0:b.length)||0,onChange:he=>{ce(he)}})),ye.createElement(ue.Z,null,ye.createElement(ie.ZP,{onClick:()=>re(void 0,null,function*(){a==null||a.onChange(b==null?void 0:b[ee-1]),a==null||a.setIsOpen(!1)})},"\u586B\u5165\u6587\u672C\u6846")))))}},37518:function(en,zt,be){"use strict";be.d(zt,{CP:function(){return E},_V:function(){return ue}});var ye=be(28209),Je=be.n(ye);const E={secret:ye.enc.Utf8.parse("0a18e199b87f1a8d"),iv:ye.enc.Utf8.parse("6e7b11a2d8475a3c"),recordScreen1:"8Cl7udD6KTt8HPYOZOopZQ==",recordScreen2:"2OizCBkuJOsBhw8rNenXhYCv3XTIsgM5YB4rOmXz7tSksBaXYYyAirzxs7TSR1vRsyWPVAt4owje5yiTfFsxAA==",recordScreen3:"neJjLaAaeW/dFCOx/cRGopZHNvjZTB0x8p9/TcYCsAGn0mWINwybT7VQlqzmJ55DjVgOrmi/iclg/G6uBGjm/Q==",recordScreen4:"SGYXWA9MzSO+02aOU0lf0g==",recordScreen5:"oCICX8dGCYMnb+4d1CTCTQ==",recordScreen6:"5MlFeP+Uwb/T5ADmGmB6NpaUgOJy3MlJ4WpA38wds8U=",recordScreen7:"TEQF1ezPIxvVVMQNJ08HIiHpj1mXdcVt5qmr6+ALw8Y=",recordScreen8:"9a9QOkgLXlgDq14d3ZEWzA==",recordScreen9:"O0prHhH+rDoUVnpw8acqwRQvRL7fh32v1bLyv4qv71U=",recordScreen10:"nfkbhFR34HkBQLpjlbNkk3FgEdBomIsnFLVgHA1RZVBeN/H3vWJpt0re6w4cjtaKmIkNgpJhxaFgyEkcJ7Z99GCAgC0CgxaaXNQNiDmz2MygiesZVZ9laQvHFQhZehEEaFKUozvNVQMkRw0MV0eoPg==",recordScreen11:"jarJWElZmu7HFZnjOTPwNx44FImKQVf8Bx2Jrm74G44=",recordScreen12:"e7Q/zr1KcI3oVpnQ3JeDgA==",recordScreen13:"pm38jjAC3l2p/JR8E3kDWg==",recordScreen14:"/mTQurqh9htD7+PNrTooMJgdPOE914grpIKomFnikk8=",recordScreen15:"bEPsKA+wwGyQEDShAMuQmQ==",recordScreen16:"uitMDSXWhi/tOOfbtHNmyNh8e9PCLJ0naA02kzBCOD/mdg+1g9ScswIEDpdHuE1l",recordScreen17:"4+bY5u3lx+VxRA/PjP/r3Tl9C0SmKM8CRtCpmkAJq+M=",recordScreen18:"L3Tz5XdvbIAqzHw/XxJnmrx8R+v3cPrYaho0/yDug6M=",recordScreen19:"bo+SiWR7f4uhJXP1wk3oQxBEFmQdbpZPV1in12O3jaj14CuNU2kP2g2MKMTFmRqE12Di4jS3RKzRI14yWpi6Zw==",recordScreen20:"9zp6SENXwO+8GNr4+g+xIzt6s/Gf38ukabRJjhQhQoY=",recordScreen21:"9zp6SENXwO+8GNr4+g+xIy36f4lSwnfFtW0weuO6Gj8=",recordScreen22:"JrbzlyV7pBS7Yw/W1geouw==",recordScreen23:"HBRPVLqnAH9kbzQ7clr8JsTgjT3nCOaP6D+q1lrMX0T6z7vU1Nh5XljgB+Qw/Hs8",recordScreen24:"bq3vruZCtCaGLs7egAWDrgXjmyW8iQX5L+nEwqCeguM=",recordScreen25:"CjveXk9FHEWiBbhwyVRzPQ==",recordScreen26:"FxZnr4aTDDJTcRMUEb3SfA==",answer1:"YXOzThjf+mcj1OALSFqA8A==",answer2:"iyOS4uLz85NAsAWdMjWs6A==",answer3:"cnZErv6FfE02OBkLzlWAeDAW3+ysEYfgoPhcC707e9kJN3PHMP7E05NC7nRf5ESWhemykQ0Y+JYQAd1PGsIJVIZFsA7OlceUwyOfid7oTeg=",answer4:"xXjNeCMbPG5xznAfVbSmjvHn/2xVBArzvsRXJZVk7yY=",answer5:"8Cl7udD6KTt8HPYOZOopZQ==",answer6:"r4qWdIzOZoUDAHIC6Rkiz3KJVZoKCNj9MmeR76VANv90Zyj57hrKtRcOipt3SZUPfZlt17GKyBf504lj5ROxVg==",answer7:"t1d0b8j3bdsJoH9adhzqOQ==",answer8:"0TBptfONacS/9JDvt/q9BO9S0+Jv0m1glMCiAQweO4E=",answer9:"2DA7p8Fws9TWo+O5djurjrORgQjZjMrKtuIbjfCoAI8ZpLy4+sq9PFZuua40lLxjTVb7vhKqm6exT5/R19YdjnUTh6Kyt+6Px8xr6JnEHVw=",answer10:"xcjM1HNI8s6ckETto63Gq83vw68ATty2i534hkfjKAa+izWStVVH5fvCEpQxd8rYYki3IW9Qy0NU8cLJsHQXWOsYtYD70yB44qG5j3fnlDahQUcsDWEBXzx2NlAp6x5R",answer11:"0/t7yKZD1CFg6kerAPJksqJATDsJMtkB06datFVfwac=",answer12:"SJ4yd9DEs9YHnGhybPplEg=="},ge={exam:E};function Ae(le="",ie="exam"){const{secret:se,iv:ae}=ge[ie];return AES.encrypt(le,se,{iv:ae,mode:CryptoJS.mode.CBC,padding:CryptoJS.pad.Pkcs7}).toString()}function ue(le="",ie="exam"){const{secret:se,iv:ae}=ge[ie];return ye.AES.decrypt(le,se,{iv:ae,mode:Je().mode.CBC,padding:Je().pad.Pkcs7}).toString(ye.enc.Utf8)}},78297:function(en,zt,be){"use strict";be.d(zt,{AD:function(){return je},D9:function(){return tt},Hp:function(){return he},IM:function(){return st},Iy:function(){return pe},KM:function(){return $e},MJ:function(){return de},Ne:function(){return qe},ON:function(){return ft},Uj:function(){return gt},VY:function(){return at},YO:function(){return Lt},YX:function(){return bt},Zn:function(){return a},_g:function(){return ee},_k:function(){return Ze},c6:function(){return Te},cr:function(){return y},eV:function(){return we},fi:function(){return x},gh:function(){return Ee},hS:function(){return At},iA:function(){return b},j6:function(){return ce},je:function(){return ze},jj:function(){return fe},kS:function(){return ut},o6:function(){return Se},pO:function(){return ht},rQ:function(){return xe},sA:function(){return me},xm:function(){return Me},xo:function(){return lt},y8:function(){return Oe},yd:function(){return te}});var ye=be(92365),Je=be(89070),E=be(955),ge=be(8591),Ae=be(3294),ue=Object.defineProperty,le=Object.getOwnPropertySymbols,ie=Object.prototype.hasOwnProperty,se=Object.prototype.propertyIsEnumerable,ae=(Pe,ke,Ve)=>ke in Pe?ue(Pe,ke,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):Pe[ke]=Ve,oe=(Pe,ke)=>{for(var Ve in ke||(ke={}))ie.call(ke,Ve)&&ae(Pe,Ve,ke[Ve]);if(le)for(var Ve of le(ke))se.call(ke,Ve)&&ae(Pe,Ve,ke[Ve]);return Pe},re=(Pe,ke,Ve)=>new Promise((Qe,De)=>{var Ye=Ne=>{try{Le(Ve.next(Ne))}catch(nt){De(nt)}},Ue=Ne=>{try{Le(Ve.throw(Ne))}catch(nt){De(nt)}},Le=Ne=>Ne.done?Qe(Ne.value):Promise.resolve(Ne.value).then(Ye,Ue);Le((Ve=Ve.apply(Pe,ke)).next())});const ne=()=>{(0,Je.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u751F\u6210\u6587\u4EF6\uFF0C\u8BF7\u7A0D\u540E..."}})},z=()=>{(0,Je.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}})},a=Pe=>re(void 0,null,function*(){ne(),(yield(0,ye.YR)(oe({},Pe))).status===0&&(yield(0,E.QH)("",(0,E.NY)({url:Ae.Z.API_SERVER+`/api/courses/${Pe.coursesId}/export_couser_info.json`,query:Pe}))),z()}),y=Pe=>re(void 0,null,function*(){const ke=yield(0,ye.yS)(oe({},Pe));if(ke.status===0)ge.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Je.history.push(`/classrooms/${Pe.coursesId}/exportlist/course_member_act_score`);else{if(ke.status===-2)return ke;ke.status===-3&&((0,Je.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Je.history.push(`/classrooms/${Pe.coursesId}/exportlist/course_member_act_score`))}}),x=Pe=>re(void 0,null,function*(){const ke=yield(0,ye.W0)(oe({},Pe));if(ke.status===0)ge.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Je.history.push(`/classrooms/${Pe.coursesId}/exportlist/course_total_score`);else{if(ke.status===-4)return ke;ke.status===-3&&((0,Je.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Je.history.push(`/classrooms/${Pe.coursesId}/exportlist/course_total_score`))}}),b=Pe=>re(void 0,null,function*(){const ke=yield(0,ye.Nl)(oe({},Pe));if(ke.status===0)ge.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Je.history.push(`/classrooms/${Pe.coursesId}/exportlist/course_total_exercise_and_other`);else{if(ke.status===-4)return ke;ke.status===-3&&((0,Je.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Je.history.push(`/classrooms/${Pe.coursesId}/exportlist/course_total_exercise_and_other`))}}),te=Pe=>re(void 0,null,function*(){const ke=yield(0,ye.IU)(oe({},Pe));if(ke.status===0)ge.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Je.history.push(`/classrooms/${Pe.coursesId}/exportlist/export_star_user`);else{if(ke.status===-4)return ke;ke.status===-3&&((0,Je.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Je.history.push(`/classrooms/${Pe.coursesId}/exportlist/export_star_user`))}}),ee=Pe=>re(void 0,null,function*(){const ke=yield(0,ye.td)(oe({},Pe));if(ke.status===0)ge.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Je.history.push(`/classrooms/${Pe.coursesId}/exportlist/course_total_exercise_and_other`);else{if(ke.status===-2)return ke;if(ke.status===-3)(0,Je.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Je.history.push(`/classrooms/${Pe.coursesId}/exportlist/course_total_exercise_and_other`);else if(ke.status===-4)return ke}}),ce=Pe=>re(void 0,null,function*(){const ke=yield(0,ye.QX)(oe({},Pe));if(ke.status===0)ge.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Je.history.push(`/classrooms/${Pe.coursesId}/exportlist/course_total_homework`);else{if(ke.status===-4)return ke;ke.status===-3&&((0,Je.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Je.history.push(`/classrooms/${Pe.coursesId}/exportlist/course_total_homework`))}}),fe=(Pe,ke)=>re(void 0,null,function*(){const Ve=yield(0,ye.o_)(oe({},Pe));Ve.status===0?(ge.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),Je.history.push(`/classrooms/${Pe.coursesId}/exportlist/${ke}`)):Ve.status===-3&&((0,Je.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Je.history.push(`/classrooms/${Pe.coursesId}/exportlist/${ke}`))}),he=(Pe,ke)=>re(void 0,null,function*(){const Ve=yield(0,ye.ZL)(oe({},Pe));Ve.status===0?(ge.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),Je.history.push(`/classrooms/${Pe.coursesId}/exportlist/${ke}`)):Ve.status===-3&&((0,Je.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Je.history.push(`/classrooms/${Pe.coursesId}/exportlist/${ke}`))}),de=(Pe,ke)=>re(void 0,null,function*(){const Ve=yield(0,ye.vV)(oe({},Pe));Ve.status===0?(ge.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),Je.history.push(`/classrooms/${Pe.coursesId}/exportlist/${ke}`)):Ve.status===-3&&((0,Je.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Je.history.push(`/classrooms/${Pe.coursesId}/exportlist/${ke}`))}),pe=(Pe,ke)=>re(void 0,null,function*(){const Ve=yield(0,ye.aP)(oe({},Pe));Ve.status===0?(ge.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Je.history.push(`/classrooms/${Pe.coursesId}/exportlist/${ke}`)):Ve.status===-3&&((0,Je.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Je.history.push(`/classrooms/${Pe.coursesId}/exportlist/${ke}`))}),ve=Pe=>re(void 0,null,function*(){ne(),(yield exportCourseWorkListAppendix(oe({},Pe))).status===0&&(yield downLoadFileIframe("",setUrlQuery({url:ENV.API_SERVER+`/api/homework_commons/${Pe.categoryId}/works_list.zip`,query:Pe}))),z()}),me=Pe=>re(void 0,null,function*(){ne(),yield(0,E.QH)("",Ae.Z.API_SERVER+`/api/polls/${Pe.categoryId}/commit_result.xlsx`),z()}),Ee=Pe=>re(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:Ae.Z.API_SERVER+`/api/courses/${Pe.coursesId}/attendances/export_xlsx_data.xlsx`,query:Pe}))}),Se=Pe=>re(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:Ae.Z.API_SERVER+`/api/courses/${Pe.coursesId}/video_study_statics.xlsx`,query:Pe}))}),Te=Pe=>re(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:Ae.Z.API_SERVER+`/api/courses/${Pe.coursesId}/export_video_study.xlsx`,query:Pe}))}),we=Pe=>re(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:Ae.Z.API_SERVER+`/api/courses/${Pe.coursesId}/export_course_students_info.xlsx`,query:Pe}))}),je=Pe=>re(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:Ae.Z.API_SERVER+"/api/school_manages/students.xlsx",query:Pe}))}),xe=Pe=>re(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:Ae.Z.API_SERVER+"/api/item_banks/export.xlsx",query:Pe}))}),Oe=Pe=>re(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:Ae.Z.API_SERVER+"/api/competitions/region_reports.xlsx",query:Pe}))}),ze=Pe=>re(void 0,null,function*(){const ke=yield(0,ye.Uy)(oe({},Pe));ke.status===0?(ge.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Je.history.push(`/classrooms/${Pe.coursesId}/exportlist/exercise_score,export_exercise_users`)):ke.status===-3&&((0,Je.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Je.history.push(`/classrooms/${Pe.coursesId}/exportlist/exercise_score,export_exercise_users`))}),Ze=Pe=>re(void 0,null,function*(){console.log("----------","\u8C03\u7528\u4E0B\u8F7D"),yield(0,E.FH)("",(0,E.NY)({url:Ae.Z.API_SERVER+`/api/export_records/${Pe.id}.xlsx`,query:Pe}))}),Me=Pe=>re(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:Ae.Z.API_SERVER+"/api/ec_major_schools/0/ec_years.xlsx",query:Pe}))}),tt=Pe=>re(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:Ae.Z.API_SERVER+`/api/courses/${Pe==null?void 0:Pe.coursesId}/${Pe.menuKey}_statistic.xlsx?${Pe.checkedList.map(ke=>`course_group_id[]=${ke}`).join("&")}`,query:Pe}))}),qe=Pe=>re(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:Ae.Z.API_SERVER+`/api/ec_years/${Pe==null?void 0:Pe.ec_year_id}/ec_training_objectives.xlsx`,query:Pe}))}),st=Pe=>re(void 0,null,function*(){yield(0,E.FH)(Pe==null?void 0:Pe.name,(0,E.NY)({url:Ae.Z.API_SERVER+"/api/attachments/get_ecs_attachment.docx",query:Pe}))}),At=Pe=>re(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:Ae.Z.API_SERVER+`/api/ec_years/${Pe==null?void 0:Pe.ec_year_id}/ec_courses.xlsx`,query:Pe}))}),lt=Pe=>re(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:Ae.Z.API_SERVER+`/api/ec_years/${Pe==null?void 0:Pe.ec_year_id}/ec_graduation_requirements.xlsx`,query:Pe}))}),at=Pe=>re(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:Ae.Z.API_SERVER+"/api/courses/rank_list.xlsx",query:Pe}))}),ut=Pe=>re(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:Ae.Z.API_SERVER+"/api/courses/question_rank_list.xlsx",query:Pe}))}),ft=Pe=>re(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:Ae.Z.API_SERVER+`/api/examination_banks/${Pe.id}.json`,query:Pe}))}),bt=Pe=>re(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:Ae.Z.API_SERVER+`/api/exercises/${Pe.categoryId}.json`,query:Pe}))}),Lt=Pe=>re(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:Ae.Z.API_SERVER+`/api/polls/${Pe==null?void 0:Pe.id}/commit_result.json`,query:Pe}))}),gt=Pe=>re(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:Ae.Z.API_SERVER+"/api/paths/get_task_pass.json",query:Pe}))}),ht=(Pe,ke)=>re(void 0,null,function*(){yield(0,E.FH)(ke||"",(0,E.NY)({url:Ae.Z.API_SERVER+`/api/exercises/${Pe==null?void 0:Pe.exercise_id}/consult_exercise.json`,query:Pe}))}),$e=Pe=>re(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:Ae.Z.API_SERVER+`/api/competitions/${Pe==null?void 0:Pe.identifier}/competition_commit_records/member_works.xlsx`,query:Pe}))})},4901:function(en,zt,be){"use strict";be.d(zt,{BU:function(){return Je},Dj:function(){return ye},gH:function(){return E},vp:function(){return ge}});function ye(Ae){try{Ae.mozRequestFullScreen?Ae.mozRequestFullScreen():Ae.webkitRequestFullScreen&&Ae.webkitRequestFullScreen()}catch(ue){console.log(ue,":e")}}function Je(){window.top.document.webkitExitFullscreen?window.top.document.webkitExitFullscreen():document.exitFullscreen?window.top.document.exitFullscreen():document.msExitFullscreen?window.top.document.msExitFullscreen():document.mozCancelFullScreen&&window.top.document.mozCancelFullScreen()}const E=()=>{if(document.webkitExitFullscreen)return"webkitfullscreenchange";if(document.exitFullscreen)return"fullscreenchange";if(document.msExitFullscreen)return"msfullscreenchange";if(document.mozCancelFullScreen)return"mozfullscreenchange"};function ge(){var Ae=window.top.document.fullscreenElement||window.top.document.mozFullscreenElement||window.top.document.webkitFullscreenElement,ue=document.fullscreenEnabled||document.mozFullscreenEnabled||document.webkitFullscreenEnabled;return console.log("fullscreenElement",Ae),window.isFullScreen?window.isFullScreen:Ae!=null}},83312:function(en,zt,be){"use strict";be.d(zt,{U:function(){return se}});var ye=be(59301),Je=Object.defineProperty,E=Object.getOwnPropertySymbols,ge=Object.prototype.hasOwnProperty,Ae=Object.prototype.propertyIsEnumerable,ue=(ae,oe,re)=>oe in ae?Je(ae,oe,{enumerable:!0,configurable:!0,writable:!0,value:re}):ae[oe]=re,le=(ae,oe)=>{for(var re in oe||(oe={}))ge.call(oe,re)&&ue(ae,re,oe[re]);if(E)for(var re of E(oe))Ae.call(oe,re)&&ue(ae,re,oe[re]);return ae},ie=(ae,oe,re)=>new Promise((ne,z)=>{var a=b=>{try{x(re.next(b))}catch(te){z(te)}},y=b=>{try{x(re.throw(b))}catch(te){z(te)}},x=b=>b.done?ne(b.value):Promise.resolve(b.value).then(a,y);x((re=re.apply(ae,oe)).next())});function se(ae,oe){const[re,ne]=(0,ye.useState)(oe),[z,a]=(0,ye.useState)(!1),[y,x]=(0,ye.useState)();return[re,z,(te,ee=!1)=>ie(this,null,function*(){const ce=ee?oe:le(le({},re),te);a(!0),ne(ce);const fe=yield ae(ce);return a(!1),x(fe),fe}),y,x]}},85219:function(en,zt,be){"use strict";be.d(zt,{_:function(){return E}});var ye=be(59301),Je=be(43418);const E=ge=>{var Ae,ue;const le=(0,ye.useRef)([]),ie=()=>{for(const se of le.current)clearTimeout(se);le.current=[]};return(0,ye.useEffect)(()=>{var se,ae,oe,re,ne,z;if(ie(),(se=ge==null?void 0:ge.exercise)!=null&&se.left_time&&((oe=(ae=ge==null?void 0:ge.exercise)==null?void 0:ae.exercise_events)==null?void 0:oe.length)>0){for(const a of(re=ge==null?void 0:ge.exercise)==null?void 0:re.exercise_events)if(((ne=ge==null?void 0:ge.exercise)==null?void 0:ne.left_time)>(a==null?void 0:a.reminder_time)*60){let y=(((z=ge==null?void 0:ge.exercise)==null?void 0:z.left_time)-(a==null?void 0:a.reminder_time)*60)*1e3;y=y>2147483647?2147483647:y;const x=setTimeout(()=>{Je.default.info({content:`${a==null?void 0:a.reminder_content}`,icon:null,title:"\u63D0\u793A",centered:!0,okText:"\u77E5\u9053\u4E86"})},y);le.current.push(x)}}},[(Ae=ge==null?void 0:ge.exercise)==null?void 0:Ae.left_time,(ue=ge==null?void 0:ge.exercise)==null?void 0:ue.exercise_events]),ie}},24768:function(en,zt,be){"use strict";be.d(zt,{AL:function(){return ce},Iy:function(){return oe},Qv:function(){return z},ez:function(){return ee},jb:function(){return re}});var ye=be(32834),Je=be.n(ye),E=be(11690),ge=be.n(E);let Ae=1;function ue(ve,me){const Ee=ve.match(/^(\s+)(?:```)/);if(Ee===null)return me;const Se=Ee[1];return me.split(` `).map(Te=>{const we=Te.match(/^\s+/);if(we===null)return Te;const[je]=we;return je.length>=Se.length?Te.slice(Se.length):Te}).join(` `)}let le=[],ie=["