From 1f7ea32f0c2670ac30bebd8925c88dc816e25341 Mon Sep 17 00:00:00 2001 From: autosubmit Date: Fri, 14 Feb 2025 23:05:50 +0800 Subject: [PATCH] Auto Submit --- ...5ef291e.async.js => 9410.c2f45350.async.js | 40 +++--- ...> layouts__SimpleLayouts.75e59beb.async.js | 64 +++++----- ...nHomework__Review__index.8ca71b0c.async.js | 52 ++++---- ..._Exercise__Answer__index.0690a362.async.js | 48 +++---- ..._Exercise__Review__index.3759bd17.async.js | 108 ++++++++-------- ...Homework__Comment__index.81afeca2.async.js | 106 ++++++++-------- ...lem__RecordDetail__index.dbb464b9.async.js | 50 ++++---- ...s => p__MyProblem__index.faf71eaa.async.js | 92 +++++++------- ...ges__EditQuestion__index.5c7ebdad.async.js | 42 +++---- ...nges__NewPractice__index.e37a6e6c.async.js | 44 +++---- ...nc.js => p__tasks__index.f2886678.async.js | 118 +++++++++--------- umi.0b12eed8.js => umi.4495e02a.js | 96 +++++++------- 12 files changed, 430 insertions(+), 430 deletions(-) rename 9410.25ef291e.async.js => 9410.c2f45350.async.js (92%) rename layouts__SimpleLayouts.98ef423a.async.js => layouts__SimpleLayouts.75e59beb.async.js (86%) rename p__Classrooms__Lists__CommonHomework__Review__index.586eb8e4.async.js => p__Classrooms__Lists__CommonHomework__Review__index.8ca71b0c.async.js (74%) rename p__Classrooms__Lists__Exercise__Answer__index.414eb383.async.js => p__Classrooms__Lists__Exercise__Answer__index.0690a362.async.js (94%) rename p__Classrooms__Lists__Exercise__Review__index.57bfe9be.async.js => p__Classrooms__Lists__Exercise__Review__index.3759bd17.async.js (93%) rename p__Classrooms__Lists__ProgramHomework__Comment__index.ba526b2b.async.js => p__Classrooms__Lists__ProgramHomework__Comment__index.81afeca2.async.js (92%) rename p__MyProblem__RecordDetail__index.88535644.async.js => p__MyProblem__RecordDetail__index.dbb464b9.async.js (92%) rename p__MyProblem__index.0b49247f.async.js => p__MyProblem__index.faf71eaa.async.js (89%) rename p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index.250179f8.async.js => p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index.5c7ebdad.async.js (90%) rename p__Shixuns__Edit__body__Level__Challenges__NewPractice__index.6d6f47f8.async.js => p__Shixuns__Edit__body__Level__Challenges__NewPractice__index.e37a6e6c.async.js (74%) rename p__tasks__index.3e97a709.async.js => p__tasks__index.f2886678.async.js (94%) rename umi.0b12eed8.js => umi.4495e02a.js (87%) diff --git a/9410.25ef291e.async.js b/9410.c2f45350.async.js similarity index 92% rename from 9410.25ef291e.async.js rename to 9410.c2f45350.async.js index f8433396d9..f71cf842df 100644 --- a/9410.25ef291e.async.js +++ b/9410.c2f45350.async.js @@ -1,6 +1,6 @@ -(self.webpackChunk=self.webpackChunk||[]).push([[9410],{87169:function(ct,ot,Se){"use strict";Se.d(ot,{Z:function(){return ie}});var ye=Se(92413),je=Se(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"},pe=E,he=Se(7657),ce=function(se,ae){return je.createElement(he.Z,(0,ye.Z)({},se,{ref:ae,icon:pe}))},oe=je.forwardRef(ce),ie=oe},11570:function(ct,ot){"use strict";ot.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},7850:function(ct,ot){"use strict";ot.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"}},43219:function(ct,ot){"use strict";ot.Z={modalContent:"modalContent___UXmJC",modalContentLeft:"modalContentLeft___JOFgX",green:"green___rI_w_",textArea:"textArea___OTapv",red:"red___cDswv",row:"row___CE3Y7",html:"html___u9n4r",line:"line___Lh9Lb"}},58323:function(){"use strict"},54318:function(ct,ot,Se){"use strict";var ye=Se(59301),je=Object.defineProperty,E=Object.getOwnPropertySymbols,pe=Object.prototype.hasOwnProperty,he=Object.prototype.propertyIsEnumerable,ce=(ue,se,ae)=>se in ue?je(ue,se,{enumerable:!0,configurable:!0,writable:!0,value:ae}):ue[se]=ae,oe=(ue,se)=>{for(var ae in se||(se={}))pe.call(se,ae)&&ce(ue,ae,se[ae]);if(E)for(var ae of E(se))he.call(se,ae)&&ce(ue,ae,se[ae]);return ue};const ie=ue=>React.createElement("svg",oe({width:30,height:30,xmlns:"http://www.w3.org/2000/svg"},ue),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"})));ot.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzAiIGhlaWdodD0iMzAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBmaWxsLW9wYWNpdHk9Ii4wMSIgZmlsbD0iI0ZGRiIgZD0iTTAgMGgzMHYzMEgweiIvPjxwYXRoIGQ9Ik02Ljg2NiAyNi45MjhoLTEuMjhhMi41NjEgMi41NjEgMCAwIDEtMi41NjItMi41NjFWNS41ODVhMi41NjEgMi41NjEgMCAwIDEgMi41NjEtMi41NmgxLjI4djQuMjY4YTIuNTYxIDIuNTYxIDAgMCAwIDIuNTYyIDIuNTZoMy44NDJhMi41NjEgMi41NjEgMCAwIDAgMi41Ni0yLjU2VjMuMDI0aDIuOTE1bDguMTg0IDguMTg0djEzLjE1OWEyLjU2MSAyLjU2MSAwIDAgMS0yLjU2MSAyLjU2MWgtMS4yOHYtNS45NzZjMC0uOTQzLS43NjUtMS43MDctMS43MDgtMS43MDdIOC41NzNjLS45NDMgMC0xLjcwNy43NjQtMS43MDcgMS43MDd2NS45NzZaIiBmaWxsPSIjQjZEMEZDIi8+PHBhdGggZD0iTTguNTczIDMuMDI0aDUuNTV2NC4yNjlhLjg1NC44NTQgMCAwIDEtLjg1NC44NTNIOS40MjdhLjg1NC44NTQgMCAwIDEtLjg1NC0uODUzVjMuMDI0Wk04LjU3MyAyNi45Mjh2LTUuOTc2SDIxLjM4djUuOTc2eiIgZmlsbD0iIzE4OTBGRiIvPjwvZz48L3N2Zz4="},71302:function(ct,ot,Se){"use strict";var ye=Se(59301),je=Object.defineProperty,E=Object.getOwnPropertySymbols,pe=Object.prototype.hasOwnProperty,he=Object.prototype.propertyIsEnumerable,ce=(ue,se,ae)=>se in ue?je(ue,se,{enumerable:!0,configurable:!0,writable:!0,value:ae}):ue[se]=ae,oe=(ue,se)=>{for(var ae in se||(se={}))pe.call(se,ae)&&ce(ue,ae,se[ae]);if(E)for(var ae of E(se))he.call(se,ae)&&ce(ue,ae,se[ae]);return ue};const ie=ue=>React.createElement("svg",oe({width:30,height:30,xmlns:"http://www.w3.org/2000/svg"},ue),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"})));ot.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzAiIGhlaWdodD0iMzAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBkPSJNMzAgMTVjMCA4LjI4NC02LjcxNiAxNS0xNSAxNS04LjI4NCAwLTE1LTYuNzE2LTE1LTE1QzAgNi43MTYgNi43MTYgMCAxNSAwYzguMjg0IDAgMTUgNi43MTYgMTUgMTVaIiBmaWxsPSIjQkFGRkYwIi8+PHBhdGggZD0iTTI1LjUgMTVjMCA1LjgtNC43IDEwLjUtMTAuNSAxMC41UzQuNSAyMC44IDQuNSAxNSA5LjIgNC41IDE1IDQuNSAyNS41IDkuMiAyNS41IDE1WiIgZmlsbD0iIzQ0RDdCNiIvPjxwYXRoIGQ9Ik0xMy41IDlhMS41IDEuNSAwIDAgMSAxLjUgMS41djQuMzc5bDMuNTYgMy41NmExLjUgMS41IDAgMCAxLTIuMTIgMi4xMjJsLTQtNEExLjUgMS41IDAgMCAxIDEyIDE1LjV2LTVBMS41IDEuNSAwIDAgMSAxMy41IDlaIiBmaWxsPSIjRkZGIi8+PC9nPjwvc3ZnPg=="},29277:function(){"use strict";function ct(te,a,y,x){y===void 0&&(y=0),x===void 0&&(x=1/0),this._name=te,this._defaultValue=a,this._minimum=y,this._maximum=x}Object.defineProperty(ct.prototype,"name",{get:function(){return this._name},set:function(te){if(typeof te!="string"||te==="")throw new Error("Shape name must be a valid string.");this._name=te}}),Object.defineProperty(ct.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(te){if(typeof te!="number"||isNaN(te))throw new Error("The default value must be a real number, not: "+te);this._defaultValue=te}}),Object.defineProperty(ct.prototype,"minimum",{get:function(){return this._minimum},set:function(te){if(typeof te!="number"||isNaN(te))throw new Error("Minimum must be a real number, not: "+te);this._minimum=te}}),Object.defineProperty(ct.prototype,"maximum",{get:function(){return this._maximum},set:function(te){if(typeof te!="number"||isNaN(te))throw new Error("Maximum must be a real number, not: "+te);this._maximum=te}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(te,a){var y=go.Shape._FigureParameters[te];return y?y[a]:null},go.Shape.setFigureParameter=function(te,a,y){if(!(y instanceof ct))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[te];x||(x=[],go.Shape._FigureParameters[te]=x),x[a]=y};var ot=[];function Se(te,a){var y=ot.pop();return y===void 0?new go.Point(te,a):(y.x=te,y.y=a,y)}function ye(){var te=ot.pop();return te===void 0?new go.Point:te}function je(te){ot.push(te)}function E(te,a,y,x,b,ee,z,le,de){de||(de=new go.Point);var ge=te-y,fe=b-z,me=NaN,be=NaN;if(ge===0)if(fe===0)te===y&&(me=te,be=a);else{var ve=(ee-le)/fe,Pe=ee-ve*b;me=te,be=ve*me+Pe}else if(fe===0){var Ee=(a-x)/ge,_e=a-Ee*te;me=b,be=Ee*me+_e}else{var Ee=(a-x)/ge,ve=(ee-le)/fe,_e=a-Ee*te,Pe=ee-ve*b;me=(Pe-_e)/(Ee-ve),be=Ee*me+_e}return de.x=me,de.y=be,de}function pe(te,a,y,x,b,ee,z,le,de,ge,fe,me,be,ve){var Pe=1-de,Ee=de,_e=te*Pe+y*Ee,Ce=a*Pe+x*Ee,xe=y*Pe+b*Ee,we=x*Pe+ee*Ee,De=b*Pe+z*Ee,Oe=ee*Pe+le*Ee,Fe=_e*Pe+xe*Ee,Le=Ce*Pe+we*Ee,Qe=xe*Pe+De*Ee,He=we*Pe+Oe*Ee,ze=Fe*Pe+Qe*Ee,Ke=Le*Pe+He*Ee;ge.x=_e,ge.y=Ce,fe.x=Fe,fe.y=Le,me.x=ze,me.y=Ke,be.x=Qe,be.y=He,ve.x=De,ve.y=Oe}var he=new go.Spot(.156,.156),ce=new go.Spot(.844,.844),oe=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new ct("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(te,a,y){var x=te?te.parameter1:NaN;(isNaN(x)||x<0)&&(x=5),x=Math.min(x,a/3),x=Math.min(x,y/3);var b=x*oe,ee=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&&(ee.spot1=new go.Spot(0,0,b,b),ee.spot2=new go.Spot(1,1,-b,-b)),ee}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(te,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(te,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(te,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(te,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(te,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(te,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(te,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(te,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(te,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(te,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(te,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(te,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(te,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(te,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(te,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=he,b.spot2=ce,b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Line1",function(te,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(te,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(te,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,y,oe*a,0,a,(1-oe)*y)))}),go.Shape.defineFigureGenerator("Curve2",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,y,0,oe*y,(1-oe)*a,y)))}),go.Shape.defineFigureGenerator("Curve3",function(te,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,oe*y,oe*a,y)))}),go.Shape.defineFigureGenerator("Curve4",function(te,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,y,(1-oe)*a,0,0,(1-oe)*y)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(te,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(te,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(te,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(te,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 ct("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)?x=.1:x<-1?x=-1:x>1&&(x=1);var b=Math.abs(x)*a;if(x===0){var ee=new go.Geometry(go.Geometry.Rectangle);return ee.startX=0,ee.startY=0,ee.endX=a,ee.endY=y,ee}else{var ee=new go.Geometry;return x>0?ee.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())):ee.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 ee=new go.Geometry(go.Geometry.Rectangle);return ee.startX=0,ee.startY=0,ee.endX=a,ee.endY=y,ee}else{var ee=new go.Geometry;return x>0?ee.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())):ee.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 ee=new go.Geometry(go.Geometry.Rectangle);return ee.startX=0,ee.startY=0,ee.endX=a,ee.endY=y,ee}else{var ee=new go.Geometry;return x>0?ee.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())):ee.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 ee=new go.Geometry(go.Geometry.Rectangle);return ee.startX=0,ee.startY=0,ee.endX=a,ee.endY=y,ee}else{var ee=new go.Geometry;return x>0?ee.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())):ee.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 ee=new go.Geometry(go.Geometry.Rectangle);return ee.startX=0,ee.startY=0,ee.endX=a,ee.endY=y,ee}else{var ee=new go.Geometry;return x>0?ee.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())):ee.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&&(z.add(new go.PathSegment(go.PathSegment.Move,a/2+le,a/2)),z.add(new go.PathSegment(go.PathSegment.Arc,0,-360,b,b,le,le).close())),ee.spot1=he,ee.spot2=ce,ee.defaultStretch=go.GraphObject.Uniform,ee}),go.Shape.defineFigureGenerator("Cloud",function(te,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(te,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 ct("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new ct("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(te,a,y){var x=te?te.parameter1:NaN,b=te?te.parameter2:NaN;isNaN(x)&&(x=0),isNaN(b)&&(b=315);var ee=x%360;ee<0&&(ee+=360);var z=b%360,le=Math.min(a,y)/2;return new go.Geometry().add(new go.PathFigure(le,le).add(new go.PathSegment(go.PathSegment.Arc,ee,z,le,le,le,le).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(te,a,y){var x=oe/Math.SQRT2*.5,b=Math.SQRT2/2,ee=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(a,y,!0).add(new go.PathSegment(go.PathSegment.Bezier,b*a,ee*y,a,(1-x)*y,(b+x)*a,(ee+x)*y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close()))}),go.Shape.setFigureParameter("ThickCross",0,new ct("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(te,a,y){var x=te?te.parameter1:NaN;(isNaN(x)||x<0)&&(x=30);var b=Math.min(x,a)/2,ee=a/2,z=y/2;return new go.Geometry().add(new go.PathFigure(ee-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,ee+b,0)).add(new go.PathSegment(go.PathSegment.Line,ee+b,z-b)).add(new go.PathSegment(go.PathSegment.Line,a,z-b)).add(new go.PathSegment(go.PathSegment.Line,a,z+b)).add(new go.PathSegment(go.PathSegment.Line,ee+b,z+b)).add(new go.PathSegment(go.PathSegment.Line,ee+b,y)).add(new go.PathSegment(go.PathSegment.Line,ee-b,y)).add(new go.PathSegment(go.PathSegment.Line,ee-b,z+b)).add(new go.PathSegment(go.PathSegment.Line,0,z+b)).add(new go.PathSegment(go.PathSegment.Line,0,z-b)).add(new go.PathSegment(go.PathSegment.Line,ee-b,z-b).close()))}),go.Shape.setFigureParameter("ThinCross",0,new ct("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(te,a,y){var x=te?te.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var b=Math.min(x,a)/2,ee=a/2,z=y/2;return new go.Geometry().add(new go.PathFigure(ee-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,ee+b,0)).add(new go.PathSegment(go.PathSegment.Line,ee+b,z-b)).add(new go.PathSegment(go.PathSegment.Line,a,z-b)).add(new go.PathSegment(go.PathSegment.Line,a,z+b)).add(new go.PathSegment(go.PathSegment.Line,ee+b,z+b)).add(new go.PathSegment(go.PathSegment.Line,ee+b,y)).add(new go.PathSegment(go.PathSegment.Line,ee-b,y)).add(new go.PathSegment(go.PathSegment.Line,ee-b,z+b)).add(new go.PathSegment(go.PathSegment.Line,0,z+b)).add(new go.PathSegment(go.PathSegment.Line,0,z-b)).add(new go.PathSegment(go.PathSegment.Line,ee-b,z-b).close()))}),go.Shape.setFigureParameter("ThickX",0,new ct("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(te,a,y){var x=te?te.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 ee=a/2,z=y/2,le=Math.atan2(y,a),de=x-Math.min(Math.cos(le)*x/2,ee),ge=x-Math.min(Math.sin(le)*x/2,z),b=new go.Geometry,fe=new go.PathFigure(de,0,!0);return b.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,ee,.2*y)),fe.add(new go.PathSegment(go.PathSegment.Line,a-de,0)),fe.add(new go.PathSegment(go.PathSegment.Line,a,ge)),fe.add(new go.PathSegment(go.PathSegment.Line,.8*a,z)),fe.add(new go.PathSegment(go.PathSegment.Line,a,y-ge)),fe.add(new go.PathSegment(go.PathSegment.Line,a-de,y)),fe.add(new go.PathSegment(go.PathSegment.Line,ee,.8*y)),fe.add(new go.PathSegment(go.PathSegment.Line,de,y)),fe.add(new go.PathSegment(go.PathSegment.Line,0,y-ge)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),fe.add(new go.PathSegment(go.PathSegment.Line,0,ge).close()),b}}),go.Shape.setFigureParameter("ThinX",0,new ct("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(te,a,y){var x=te?te.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var b=new go.Geometry,ee=new go.PathFigure(.1*a,0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.1*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.1*y).close()),b}),go.Shape.setFigureParameter("SquareIBeam",0,new ct("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=.2);var b=new go.Geometry,ee=new go.PathFigure(0,0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,x*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*a,x*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*a,(1-x)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,(1-x)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*a,(1-x)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*a,x*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,x*y).close()),b}),go.Shape.setFigureParameter("RoundedIBeam",0,new ct("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=.5);var b=new go.Geometry,ee=new go.PathFigure(0,0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,y,Math.abs(1-x)*a,.25*y,Math.abs(1-x)*a,.75*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*a,.75*y,x*a,.25*y).close()),b}),go.Shape.defineFigureGenerator("HalfEllipse",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,oe*a,0,a,(.5-oe/2)*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,(.5+oe/2)*y,oe*a,y).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(te,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(te,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(te,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(te,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 ee=.2,z=.3,le=0,de=ee*oe;return b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5+ee+le)*y,(.5-ee+z)*a,(.5+de+le)*y,(.5-de+z)*a,(.5+ee+le)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+ee+z)*a,(.5+le)*y,(.5+de+z)*a,(.5+ee+le)*y,(.5+ee+z)*a,(.5+de+le)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-ee+le)*y,(1-.5+ee+z)*a,(.5-de+le)*y,(.5+de+z)*a,(.5-ee+le)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.65*a,.36771243*y,(.5-de+z)*a,(.5-ee+le)*y,(.5-ee+z+.05)*a,(.5-de+le-.02)*y)),ee=.2,z=0,le=-.3,de=ee*oe,b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+ee+z)*a,(.5+le)*y,(.5+de+z)*a,(.5+ee+le)*y,(.5+ee+z)*a,(.5+de+le)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-ee+le)*y,(1-.5+ee+z)*a,(.5-de+le)*y,(.5+de+z)*a,(.5-ee+le)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ee+z)*a,(.5+le)*y,(.5-de+z)*a,(.5-ee+le)*y,(.5-ee+z)*a,(.5-de+le)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-de+z)*a,(.5+ee+le)*y,(.5-ee+z)*a,(.5+de+le)*y,(.5-de+z)*a,(.5+ee+le)*y)),ee=.2,z=-.3,le=0,de=ee*oe,b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-ee+le)*y,(1-.5+ee+z-.05)*a,(.5-de+le-.02)*y,(.5+de+z)*a,(.5-ee+le)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ee+z)*a,(.5+le)*y,(.5-de+z)*a,(.5-ee+le)*y,(.5-ee+z)*a,(.5-de+le)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5+ee+le)*y,(.5-ee+z)*a,(.5+de+le)*y,(.5-de+z)*a,(.5+ee+le)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.6*y,(.5+de+z)*a,(.5+ee+le)*y,(.5+ee+z)*a,(.5+de+le)*y).close()),x.setSpots(.06,.33,.93,.68),x}),go.Shape.defineFigureGenerator("YinYang",function(te,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 ee=.1,z=.5,le=.25;return b.add(new go.PathSegment(go.PathSegment.Move,(z+ee)*a,le*y)),b.add(new go.PathSegment(go.PathSegment.Arc,0,-360,a*z,y*le,ee*a,ee*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)),le=.75,b=new go.PathFigure((z+ee)*a,le*y,!0),x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,0,360,a*z,y*le,ee*a,ee*a).close()),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Peace",function(te,a,y){var x=.8535533905932737,b=.5*a,ee=.5*y;return new go.Geometry().add(new go.PathFigure(b,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,b,ee,b,ee)).add(new go.PathSegment(go.PathSegment.Line,b,y)).add(new go.PathSegment(go.PathSegment.Move,b,ee)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,x*y)).add(new go.PathSegment(go.PathSegment.Move,b,ee)).add(new go.PathSegment(go.PathSegment.Line,x*a,x*y)))}),go.Shape.defineFigureGenerator("NotAllowed",function(te,a,y){var x=new go.Geometry,b=oe*.5,ee=.5,z=.5,le=.5,de=new go.PathFigure(z*a,(le-ee)*y);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,(z-ee)*a,le*y,(z-b)*a,(le-ee)*y,(z-ee)*a,(le-b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le+ee)*y,(z-ee)*a,(le+b)*y,(z-b)*a,(le+ee)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,le*y,(z+b)*a,(le+ee)*y,(z+ee)*a,(le+b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le-ee)*y,(z+ee)*a,(le-b)*y,(z+b)*a,(le-ee)*y)),ee=.4,b=oe*.4;var ge=ye(),fe=ye(),me=ye(),be=ye();pe(z,le-ee,z+b,le-ee,z+ee,le-b,z+ee,le,.42,ge,fe,me,be,be);var ve=ye(),Pe=ye(),Ee=ye();pe(z,le-ee,z+b,le-ee,z+ee,le-b,z+ee,le,.58,be,be,Ee,ve,Pe);var _e=ye(),Ce=ye(),xe=ye();pe(z,le+ee,z-b,le+ee,z-ee,le+b,z-ee,le,.42,_e,Ce,xe,be,be);var we=ye(),De=ye(),Oe=ye();return pe(z,le+ee,z-b,le+ee,z-ee,le+b,z-ee,le,.58,be,be,Oe,we,De),de.add(new go.PathSegment(go.PathSegment.Move,Oe.x*a,Oe.y*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z-ee)*a,le*y,we.x*a,we.y*y,De.x*a,De.y*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le-ee)*y,(z-ee)*a,(le-b)*y,(z-b)*a,(le-ee)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,me.x*a,me.y*y,ge.x*a,ge.y*y,fe.x*a,fe.y*y)),de.add(new go.PathSegment(go.PathSegment.Line,Oe.x*a,Oe.y*y).close()),de.add(new go.PathSegment(go.PathSegment.Move,xe.x*a,xe.y*y)),de.add(new go.PathSegment(go.PathSegment.Line,Ee.x*a,Ee.y*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,le*y,ve.x*a,ve.y*y,Pe.x*a,Pe.y*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le+ee)*y,(z+ee)*a,(le+b)*y,(z+b)*a,(le+ee)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,xe.x*a,xe.y*y,_e.x*a,_e.y*y,Ce.x*a,Ce.y*y).close()),je(ge),je(fe),je(me),je(be),je(ve),je(Pe),je(Ee),je(_e),je(Ce),je(xe),je(we),je(De),je(Oe),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Fragile",function(te,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 ct("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(te,a,y){var x=te?te.parameter1:NaN;(isNaN(x)||x<0)&&(x=30),x>a&&(x=a);var b=(a-x)/2,ee=b+x;return new go.Geometry().add(new go.PathFigure(ee,.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(te,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(te,a,y){var x=new go.Geometry,b=oe*.4,ee=.4,z=.5,le=.5,de=ye(),ge=ye(),fe=ye(),me=ye(),be=new go.PathFigure((z-ee)*a,le*y,!1);x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le-ee)*y,(z-ee)*a,(le-b)*y,(z-b)*a,(le-ee)*y)),pe(z,le-ee,z+b,le-ee,z+ee,le-b,z+ee,le,.44,fe,me,ge,de,de),be.add(new go.PathSegment(go.PathSegment.Bezier,ge.x*a,ge.y*y,fe.x*a,fe.y*y,me.x*a,me.y*y));var ve=Se(ge.x,ge.y);pe(z,le-ee,z+b,le-ee,z+ee,le-b,z+ee,le,.56,de,de,ge,fe,me);var Pe=Se(ge.x,ge.y);be.add(new go.PathSegment(go.PathSegment.Line,(ve.x*.1+.95*.9)*a,ve.y*.1*y)),be.add(new go.PathSegment(go.PathSegment.Line,.85*a,ve.y*.1*y)),be.add(new go.PathSegment(go.PathSegment.Line,.85*a,0)),be.add(new go.PathSegment(go.PathSegment.Line,a,0)),be.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),be.add(new go.PathSegment(go.PathSegment.Line,(Pe.x*.1+.9)*a,.15*y)),be.add(new go.PathSegment(go.PathSegment.Line,(Pe.x*.1+.9)*a,(Pe.y*.1+.05*.9)*y)),be.add(new go.PathSegment(go.PathSegment.Line,Pe.x*a,Pe.y*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,le*y,fe.x*a,fe.y*y,me.x*a,me.y*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le+ee)*y,(z+ee)*a,(le+b)*y,(z+b)*a,(le+ee)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(z-ee)*a,le*y,(z-b)*a,(le+ee)*y,(z-ee)*a,(le+b)*y)),ee=.35,b=oe*.35;var Ee=new go.PathFigure(z*a,(le-ee)*y,!1);x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(z-ee)*a,le*y,(z-b)*a,(le-ee)*y,(z-ee)*a,(le-b)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le+ee)*y,(z-ee)*a,(le+b)*y,(z-b)*a,(le+ee)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,le*y,(z+b)*a,(le+ee)*y,(z+ee)*a,(le+b)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le-ee)*y,(z+ee)*a,(le-b)*y,(z+b)*a,(le-ee)*y));var _e=new go.PathFigure((z-ee)*a,le*y,!1);return x.add(_e),je(de),je(ge),je(fe),je(me),je(ve),je(Pe),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(te,a,y){var x=new go.Geometry,b=.375,ee=0,z=-.125,le=b*oe,de=new go.PathFigure((.525+ee)*a,(.5+b+z)*y,!1);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+ee)*a,(.5+z)*y,(.5+le+ee)*a,(.5+b+z)*y,(.5+b+ee)*a,(.5+le+z)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-b+z)*y,(1-.5+b+ee)*a,(.5-le+z)*y,(.5+le+ee)*a,(.5-b+z)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+ee)*a,(.5+z)*y,(.5-le+ee)*a,(.5-b+z)*y,(.5-b+ee)*a,(.5-le+z)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(.475+ee)*a,(.5+b+z)*y,(.5-b+ee)*a,(.5+le+z)*y,(.5-le+ee)*a,(.5+b+z)*y)),de.add(new go.PathSegment(go.PathSegment.Line,.475*a,.85*y)),de.add(new go.PathSegment(go.PathSegment.Line,.425*a,.85*y)),de.add(new go.PathSegment(go.PathSegment.Line,.425*a,.9*y)),de.add(new go.PathSegment(go.PathSegment.Line,.475*a,.9*y)),de.add(new go.PathSegment(go.PathSegment.Line,.475*a,y)),de.add(new go.PathSegment(go.PathSegment.Line,.525*a,y)),de.add(new go.PathSegment(go.PathSegment.Line,.525*a,.9*y)),de.add(new go.PathSegment(go.PathSegment.Line,.575*a,.9*y)),de.add(new go.PathSegment(go.PathSegment.Line,.575*a,.85*y)),de.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*y).close()),b=.325,ee=0,z=-.125,le=b*oe;var de=new go.PathFigure((1-.5+b+ee)*a,(.5+z)*y,!1);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5+b+z)*y,(.5+b+ee)*a,(.5+le+z)*y,(.5+le+ee)*a,(.5+b+z)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+ee)*a,(.5+z)*y,(.5-le+ee)*a,(.5+b+z)*y,(.5-b+ee)*a,(.5+le+z)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-b+z)*y,(.5-b+ee)*a,(.5-le+z)*y,(.5-le+ee)*a,(.5-b+z)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+ee)*a,(.5+z)*y,(.5+le+ee)*a,(.5-b+z)*y,(1-.5+b+ee)*a,(.5-le+z)*y));var de=new go.PathFigure((.525+ee)*a,(.5+b+z)*y,!1);return x.add(de),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(te,a,y){var x=te?te.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(te,a,y){var x=te?te.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(te,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(te,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(te,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(te,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(te,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(te,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(te,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(te,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(te,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(te,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(te,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 ct("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new ct("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=.3);var b=te?te.parameter2:NaN;isNaN(b)&&(b=.3);var ee=(1-x)*a,z=(.5-b/2)*y,le=(.5+b/2)*y,de=new go.Geometry,ge=new go.PathFigure(0,z,!0);de.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,ee,z)),ge.add(new go.PathSegment(go.PathSegment.Line,ee,0)),ge.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ge.add(new go.PathSegment(go.PathSegment.Line,ee,y)),ge.add(new go.PathSegment(go.PathSegment.Line,ee,le)),ge.add(new go.PathSegment(go.PathSegment.Line,0,le).close()),de.spot1=new go.Spot(0,z/y);var fe=E(0,le/y,1,le/y,ee/a,1,1,.5,ye());return de.spot2=new go.Spot(fe.x,fe.y),je(fe),de}),go.Shape.setFigureParameter("Arrow2",0,new ct("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new ct("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=30),x>a&&(x=a);var b=te?te.parameter2:NaN;isNaN(b)&&(b=30),b=Math.min(b,y/2);var ee=a-x,z=(y-b)/2,le=z+b,de=new go.Geometry,ge=new go.PathFigure(0,z,!0);de.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,ee,z)),ge.add(new go.PathSegment(go.PathSegment.Line,ee,0)),ge.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ge.add(new go.PathSegment(go.PathSegment.Line,ee,y)),ge.add(new go.PathSegment(go.PathSegment.Line,ee,le)),ge.add(new go.PathSegment(go.PathSegment.Line,0,le).close()),de.spot1=new go.Spot(0,z/y);var fe=E(0,le/y,1,le/y,ee/a,1,1,.5,ye());return de.spot2=new go.Spot(fe.x,fe.y),je(fe),de}),go.Shape.defineFigureGenerator("Chevron",function(te,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(te,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 ct("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=.3);var b=(.5-x/2)*y,ee=(.5+x/2)*y,z=new go.Geometry,le=new go.PathFigure(a,.5*y,!0);z.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),le.add(new go.PathSegment(go.PathSegment.Line,.3*a,ee)),le.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),le.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),le.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),le.add(new go.PathSegment(go.PathSegment.Line,.3*a,b)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close());var de=E(0,.5,.3,0,0,b/y,.1,b/y,ye());return z.spot1=new go.Spot(de.x,de.y),de=E(.7,1,1,.5,0,ee/y,1,ee/y,de),z.spot2=new go.Spot(de.x,de.y),je(de),z}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new ct("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new ct("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=40);var b=te?te.parameter2:NaN;isNaN(b)&&(b=100);var ee=(y-x)/2,z=ee+x,le=(y-b)/2,de=le+b;(x>y||b>y)&&(b>x?(x=x*y/b,ee=(y-x)/2,z=ee+x,le=0,de=y):(ee=0,z=y,le=0,de=y));var ge=new go.Geometry,fe=new go.PathFigure(a,.5*y,!0);ge.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,de)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),fe.add(new go.PathSegment(go.PathSegment.Line,.3*a,z)),fe.add(new go.PathSegment(go.PathSegment.Line,.3*a,de)),fe.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.3*a,le)),fe.add(new go.PathSegment(go.PathSegment.Line,.3*a,ee)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,le).close());var me=E(0,.5,.3,le/y,0,ee/y,1,ee/y,ye());return ge.spot1=new go.Spot(me.x,me.y),me=E(.7,de/y,1,.5,0,z/y,1,z/y,me),ge.spot2=new go.Spot(me.x,me.y),je(me),ge}),go.Shape.setFigureParameter("IBeamArrow",0,new ct("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=.3);var b=(.5-x/2)*y,ee=(.5+x/2)*y,z=new go.Geometry,le=new go.PathFigure(a,.5*y,!0);z.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),le.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),le.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),le.add(new go.PathSegment(go.PathSegment.Line,0,y)),le.add(new go.PathSegment(go.PathSegment.Line,0,0)),le.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),le.add(new go.PathSegment(go.PathSegment.Line,.2*a,b)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),z.spot1=new go.Spot(0,b/y);var de=E(.7,1,1,.5,0,ee/y,1,ee/y,ye());return z.spot2=new go.Spot(de.x,de.y),je(de),z}),go.Shape.setFigureParameter("IBeamArrow2",0,new ct("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new ct("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=40);var b=te?te.parameter2:NaN;isNaN(b)&&(b=100);var ee=(y-x)/2,z=ee+x,le=(y-b)/2,de=le+b;(x>y||b>y)&&(b>x?(x=x*y/b,ee=(y-x)/2,z=ee+x,le=0,de=y):(ee=0,z=y,le=0,de=y));var ge=new go.Geometry,fe=new go.PathFigure(a,.5*y,!0);ge.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,de)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*a,de)),fe.add(new go.PathSegment(go.PathSegment.Line,0,de)),fe.add(new go.PathSegment(go.PathSegment.Line,0,le)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*a,le)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,le).close()),ge.spot1=new go.Spot(0,ee/y);var me=E(.7,de/y,1,.5,0,z/y,1,z/y,ye());return ge.spot2=new go.Spot(me.x,me.y),je(me),ge}),go.Shape.setFigureParameter("Pointer",0,new ct("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=.1);var b=new go.Geometry,ee=new go.PathFigure(a,.5*y,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,x*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),b.spot1=new go.Spot(x,.35);var z=E(.2,.65,1,.65,0,1,1,.5,ye());return b.spot2=new go.Spot(z.x,z.y),je(z),b}),go.Shape.setFigureParameter("RoundedPointer",0,new ct("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=.3);var b=new go.Geometry,ee=new go.PathFigure(a,.5*y,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.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 z=E(0,.65,1,.65,0,1,1,.5,ye());return b.spot2=new go.Spot(z.x,z.y),je(z),b}),go.Shape.setFigureParameter("SplitEndArrow",0,new ct("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=.4);var b=(.5-x/2)*y,ee=(.5+x/2)*y,z=new go.Geometry,le=new go.PathFigure(a,.5*y,!0);z.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),le.add(new go.PathSegment(go.PathSegment.Line,0,ee)),le.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),le.add(new go.PathSegment(go.PathSegment.Line,0,b)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),z.spot1=new go.Spot(.2,.3);var de=E(.7,1,1,.5,0,ee/y,1,ee/y,ye());return z.spot2=new go.Spot(de.x,de.y),je(de),z}),go.Shape.setFigureParameter("SplitEndArrow2",0,new ct("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=50);var b=(y-x)/2,ee=b+x;x>y&&(b=0,ee=y);var z=new go.Geometry,le=new go.PathFigure(a,.5*y,!0);z.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),le.add(new go.PathSegment(go.PathSegment.Line,0,ee)),le.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),le.add(new go.PathSegment(go.PathSegment.Line,0,b)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),z.spot1=new go.Spot(.2,b/y);var de=E(.7,1,1,.5,0,ee/y,1,ee/y,ye());return z.spot2=new go.Spot(de.x,de.y),je(de),z}),go.Shape.setFigureParameter("SquareArrow",0,new ct("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=.7);var b=new go.Geometry,ee=new go.PathFigure(a,.5*y,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,x*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,0)),ee.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(te,a,y){var x=new go.Geometry,b=oe*.5,ee=oe*.1,z=new go.PathFigure(0,.9*y,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+ee)*y,(.5+b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+ee)*y).close()),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.97),x}),go.Shape.defineFigureGenerator("Cone2",function(te,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 ee=new go.PathFigure(0,.9*y,!1);return x.add(ee),ee.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(te,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 ee=new go.PathFigure(.5*a,y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.15*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.5*a,.3*y)),ee.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(te,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 ee=new go.PathFigure(0,.3*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Move,.7*a,.3*y)),ee.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(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,y/3);var b=new go.Geometry,ee=oe*.5,z=new go.PathFigure(0,x,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,oe*x,(.5-ee)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,1*a,x,(.5+ee)*a,0,1*a,oe*x)),z.add(new go.PathSegment(go.PathSegment.Line,a,y-x)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,1*y,1*a,y-oe*x,(.5+ee)*a,1*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,(.5-ee)*a,1*y,0,y-oe*x)),z.add(new go.PathSegment(go.PathSegment.Line,0,x));var le=new go.PathFigure(a,x,!1);return b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,2*x,1*a,2*x-oe*x,(.5+ee)*a,2*x)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,x,(.5-ee)*a,2*x,0,2*x-oe*x)),b.spot1=new go.Spot(0,0,0,2*x),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Cylinder2",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,y/3);var b=new go.Geometry,ee=oe*.5,z=new go.PathFigure(0,y-x,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,x)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,oe*x,(.5-ee)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,x,(.5+ee)*a,0,a,oe*x)),z.add(new go.PathSegment(go.PathSegment.Line,a,y-x)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,y-oe*x,(.5+ee)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,(.5-ee)*a,y,0,y-oe*x));var le=new go.PathFigure(0,y-x,!1);return b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y-2*x,0,y-x-oe*x,(.5-ee)*a,y-2*x)),le.add(new go.PathSegment(go.PathSegment.Bezier,a,y-x,(.5+ee)*a,y-2*x,a,y-x-oe*x)),b.spot1=new go.Spot(0,0),b.spot2=new go.Spot(1,1,0,-2*x),b}),go.Shape.defineFigureGenerator("Cylinder3",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var b=new go.Geometry,ee=oe*.5,z=new go.PathFigure(x,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-oe*x,0,a,(.5-ee)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,(.5+ee)*y,a-oe*x,y)),z.add(new go.PathSegment(go.PathSegment.Line,x,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,oe*x,y,0,(.5+ee)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-ee)*y,oe*x,0));var le=new go.PathFigure(x,0,!1);return b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,2*x,.5*y,x+oe*x,0,2*x,(.5-ee)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,x,y,2*x,(.5+ee)*y,x+oe*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(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var b=new go.Geometry,ee=oe*.5,z=new go.PathFigure(a-x,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-oe*x,0,a,(.5-ee)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,(.5+ee)*y,a-oe*x,y)),z.add(new go.PathSegment(go.PathSegment.Line,x,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,oe*x,y,0,(.5+ee)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-ee)*y,oe*x,0)),z.add(new go.PathSegment(go.PathSegment.Line,a-x,0));var le=new go.PathFigure(a-x,0,!1);return b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,a-2*x,.5*y,a-x-oe*x,0,a-2*x,(.5-ee)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a-2*x,(.5+ee)*y,a-x-oe*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(te,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 ee=new go.PathFigure(.25*a,.25*y,!1);return x.add(ee),ee.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(te,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 ee=new go.PathFigure(0,y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),ee.add(new go.PathSegment(go.PathSegment.Move,0,.25*y)),ee.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(te,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 ee=new go.PathFigure(.5*a,0,!1);return x.add(ee),ee.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(te,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 ee=new go.PathFigure(.5*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.85*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),ee.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(te,a,y){var x=new go.Geometry,b=.2,ee=.1,z=oe*b,le=oe*ee,de=.5,ge=.1,fe=new go.PathFigure(de*a,(ge+ee)*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,(de-b)*a,ge*y,(de-z)*a,(ge+ee)*y,(de-b)*a,(ge+le)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge-ee)*y,(de-b)*a,(ge-le)*y,(de-z)*a,(ge-ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(de+b)*a,ge*y,(de+z)*a,(ge-ee)*y,(de+b)*a,(ge-le)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge+ee)*y,(de+b)*a,(ge+le)*y,(de+z)*a,(ge+ee)*y));var me=.05,be=oe*me;de=.05,ge=.25;var ve=new go.PathFigure(.5*a,.2*y,!0);return x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,.95*a,.2*y)),de=.95,ge=.25,ve.add(new go.PathSegment(go.PathSegment.Bezier,(de+me)*a,ge*y,(de+be)*a,(ge-me)*y,(de+me)*a,(ge-be)*y)),ve.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),ve.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),ve.add(new go.PathSegment(go.PathSegment.Line,.85*a,.35*y)),me=.025,be=oe*me,de=.825,ge=.35,ve.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge-me)*y,(de+me)*a,(ge-be)*y,(de+be)*a,(ge-me)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(de-me)*a,ge*y,(de-be)*a,(ge-me)*y,(de-me)*a,(ge-be)*y)),ve.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),ve.add(new go.PathSegment(go.PathSegment.Line,.55*a,y)),ve.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y)),me=.05,be=oe*me,de=.5,ge=.7,ve.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge-me)*y,(de+me)*a,(ge-be)*y,(de+be)*a,(ge-me)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(de-me)*a,ge*y,(de-be)*a,(ge-me)*y,(de-me)*a,(ge-be)*y)),ve.add(new go.PathSegment(go.PathSegment.Line,.45*a,y)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*a,.35*y)),me=.025,be=oe*me,de=.175,ge=.35,ve.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge-me)*y,(de+me)*a,(ge-be)*y,(de+be)*a,(ge-me)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(de-me)*a,ge*y,(de-be)*a,(ge-me)*y,(de-me)*a,(ge-be)*y)),ve.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y)),ve.add(new go.PathSegment(go.PathSegment.Line,0,.6*y)),ve.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),me=.05,be=oe*me,de=.05,ge=.25,ve.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge-me)*y,(de-me)*a,(ge-be)*y,(de-be)*a,(ge-me)*y)),ve.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 ct("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=.2);var b=new go.Geometry,ee=new go.PathFigure(a,0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,x*y)),ee.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(te,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 ee=new go.PathFigure(.5*a,.5*y,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.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(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN;isNaN(b)&&(b=.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 z=new go.PathFigure(0,b*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),z.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*y)),x}),go.Shape.defineFigureGenerator("Database",function(te,a,y){var x=new go.Geometry,b=oe*.5,ee=oe*.1,z=new go.PathFigure(a,.1*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+ee)*y,(.5+b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+ee)*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-ee)*y,(.5-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+b)*a,0,a,(.1-ee)*y));var le=new go.PathFigure(a,.1*y,!1);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+ee)*y,(.5+b)*a,.2*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-b)*a,.2*y,0,(.1+ee)*y)),le.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+ee)*y,(.5+b)*a,.3*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-b)*a,.3*y,0,(.2+ee)*y)),le.add(new go.PathSegment(go.PathSegment.Move,a,.3*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.4*y,a,(.3+ee)*y,(.5+b)*a,.4*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*y,(.5-b)*a,.4*y,0,(.3+ee)*y)),x.spot1=new go.Spot(0,.4),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("DataStorage",function(te,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(te,a,y){var x=new go.Geometry,b=oe*.5,ee=oe*.1,z=new go.PathFigure(a,.1*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+ee)*y,(.5+b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+ee)*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-ee)*y,(.5-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+b)*a,0,a,(.1-ee)*y));var le=new go.PathFigure(a,.1*y,!1);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+ee)*y,(.5+b)*a,.2*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-b)*a,.2*y,0,(.1+ee)*y)),le.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+ee)*y,(.5+b)*a,.3*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-b)*a,.3*y,0,(.2+ee)*y)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("Display",function(te,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(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN;isNaN(b)?b=.2:b<.15&&(b=.15);var ee=oe*.2,z=new go.PathFigure(0,.2*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,0,(.2-ee)*y,(.2-ee)*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.2*y,(.8+ee)*a,0,a,(.2-ee)*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,y,a,(.8+ee)*y,(.8+ee)*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*y,(.2-ee)*a,y,0,(.8+ee)*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.2*y));var le=new go.PathFigure(0,b*y,!1);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),x}),go.Shape.defineFigureGenerator("DividedProcess",function(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN;(isNaN(b)||b<.1)&&(b=.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 z=new go.PathFigure(0,b*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),x}),go.Shape.defineFigureGenerator("Document",function(te,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(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN;(isNaN(b)||b<.2)&&(b=.2);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 z=new go.PathFigure(b*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,b*y)),z.add(new go.PathSegment(go.PathSegment.Move,a,b*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*y)),z.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),z.add(new go.PathSegment(go.PathSegment.Move,(1-b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*y)),x}),go.Shape.defineFigureGenerator("ExternalProcess",function(te,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 ee=new go.PathFigure(.1*a,.4*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.9*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.6*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.4*a,.9*y)),ee.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(te,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 ee=new go.PathFigure(.75*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*y)),ee.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(te,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 ee=new go.PathFigure(a,.5*y,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,y));var z=new go.PathFigure(a,.5*y,!1);return x.add(z),z.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(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN,ee=te?te.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(ee)&&(ee=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var le=new go.PathFigure(b*a,0,!1);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),le.add(new go.PathSegment(go.PathSegment.Move,0,ee*y)),le.add(new go.PathSegment(go.PathSegment.Line,a,ee*y)),x}),go.Shape.defineFigureGenerator("Junction",function(te,a,y){var x=new go.Geometry,b=1/Math.SQRT2,ee=(1-1/Math.SQRT2)/2,z=oe*.5,le=.5,de=new go.PathFigure(a,le*y,!0);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,le*a,y,a,(le+z)*y,(le+z)*a,y)),de.add(new go.PathSegment(go.PathSegment.Bezier,0,le*y,(le-z)*a,y,0,(le+z)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,le*a,0,0,(le-z)*y,(le-z)*a,0)),de.add(new go.PathSegment(go.PathSegment.Bezier,a,le*y,(le+z)*a,0,a,(le-z)*y));var ge=new go.PathFigure((ee+b)*a,(ee+b)*y,!1);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,ee*a,ee*y)),ge.add(new go.PathSegment(go.PathSegment.Move,ee*a,(ee+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Line,(ee+b)*a,ee*y)),x}),go.Shape.defineFigureGenerator("LinedDocument",function(te,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 ee=new go.PathFigure(.1*a,0,!1);return x.add(ee),ee.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(te,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(te,a,y){var x=new go.Geometry,b=oe*.5,ee=.5,z=new go.PathFigure(.5*a,y,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,0,ee*y,(ee-b)*a,y,0,(ee+b)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,0,0,(ee-b)*y,(ee-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,ee*y,(ee+b)*a,0,a,(ee-b)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,(ee+.1)*a,.9*y,a,(ee+b)*y,(ee+b)*a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.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(te,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(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN;isNaN(b)&&(b=.7);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,b*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.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("MicroformProcessing",function(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN;isNaN(b)&&(b=.25);var ee=new go.PathFigure(0,0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,b*y)),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,.5*a,(1-b)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("MicroformRecording",function(te,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(te,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 ee=new go.PathFigure(.1*a,.2*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.54*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),ee.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(te,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 ee=new go.PathFigure(.2*a,.1*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.1*a,.2*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),ee.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(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN;isNaN(b)&&(b=.1);var ee=1-b,z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close());var le=new go.PathFigure(.5*b*a,b*y,!1);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,(1-.5*b)*a,b*y)),x}),go.Shape.defineFigureGenerator("OffPageConnector",function(te,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(te,a,y){var x=new go.Geometry,b=oe*.5,ee=.5,z=new go.PathFigure(a,ee*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,y,a,(ee+b)*y,(ee+b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,ee*y,(ee-b)*a,y,0,(ee+b)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,0,0,(ee-b)*y,(ee-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,ee*y,(ee+b)*a,0,a,(ee-b)*y));var le=new go.PathFigure(a,.5*y,!1);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),le.add(new go.PathSegment(go.PathSegment.Move,.5*a,y)),le.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),x}),go.Shape.defineFigureGenerator("PaperTape",function(te,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(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN,ee=te?te.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(ee)&&(ee=.3);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,(1-ee)*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN,ee=te?te.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(ee)&&(ee=.3);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,(1-ee)*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-ee)*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("Procedure",function(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN;isNaN(b)&&(b=.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 z=new go.PathFigure((1-b)*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Move,b*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),x}),go.Shape.defineFigureGenerator("Process",function(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN;isNaN(b)&&(b=.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 z=new go.PathFigure(b*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Sort",function(te,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 ee=new go.PathFigure(0,.5*y,!1);return x.add(ee),ee.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(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN;isNaN(b)&&(b=.25);var ee=new go.PathFigure(b*a,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*y,.25*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*y,.25*a,.5*y));var z=new go.PathFigure(b*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),z.add(new go.PathSegment(go.PathSegment.Move,(1-b)*a,0)),z.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(te,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(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN;isNaN(b)&&(b=.1);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,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.75*a,(1-b)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,(1-b)*y).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("AndGate",function(te,a,y){var x=new go.Geometry,b=oe*.5,ee=new go.PathFigure(0,0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(.5+b)*a,0,a,(.5-b)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.5+b)*y,(.5+b)*a,y)),ee.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(te,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(te,a,y){var x=new go.Geometry,b=oe*.5,ee=.5,z=new go.PathFigure(a,ee*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,y,a,(ee+b)*y,(ee+b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,ee*y,(ee-b)*a,y,0,(ee+b)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,0,0,(ee-b)*y,(ee-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,ee*y,(ee+b)*a,0,a,(ee-b)*y));var le=new go.PathFigure(a,ee*y,!1);x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,a,ee*y));var de=new go.PathFigure(.8*a,.75*y,!1);return x.add(de),de.add(new go.PathSegment(go.PathSegment.Line,.8*a,.25*y)),de.add(new go.PathSegment(go.PathSegment.Line,.6*a,.25*y)),de.add(new go.PathSegment(go.PathSegment.Line,.6*a,.75*y)),de.add(new go.PathSegment(go.PathSegment.Line,.4*a,.75*y)),de.add(new go.PathSegment(go.PathSegment.Line,.4*a,.25*y)),de.add(new go.PathSegment(go.PathSegment.Line,.2*a,.25*y)),de.add(new go.PathSegment(go.PathSegment.Line,.2*a,.75*y)),x}),go.Shape.defineFigureGenerator("Ground",function(te,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(te,a,y){var x=new go.Geometry,b=oe*.1,ee=.1,z=.9,le=.5,de=new go.PathFigure(.8*a,.5*y,!0);x.add(de),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,.8*a,.5*y));var ge=new go.PathFigure((z+ee)*a,le*y,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le+ee)*y,(z+ee)*a,(le+b)*y,(z+b)*a,(le+ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z-ee)*a,le*y,(z-b)*a,(le+ee)*y,(z-ee)*a,(le+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le-ee)*y,(z-ee)*a,(le-b)*y,(z-b)*a,(le-ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,le*y,(z+b)*a,(le-ee)*y,(z+ee)*a,(le-b)*y)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.4,.75),x}),go.Shape.defineFigureGenerator("NandGate",function(te,a,y){var x=new go.Geometry,b=oe*.5,ee=oe*.4,z=oe*.1,le=.1,de=.9,ge=.5,fe=new go.PathFigure(.8*a,.5*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,y,.8*a,(.5+ee)*y,(.4+b)*a,y)),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,.4*a,0)),fe.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(.4+b)*a,0,.8*a,(.5-ee)*y));var me=new go.PathFigure((de+le)*a,ge*y,!0);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge+le)*y,(de+le)*a,(ge+z)*y,(de+z)*a,(ge+le)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(de-le)*a,ge*y,(de-z)*a,(ge+le)*y,(de-le)*a,(ge+z)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge-le)*y,(de-le)*a,(ge-z)*y,(de-z)*a,(ge-le)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(de+le)*a,ge*y,(de+z)*a,(ge-le)*y,(de+le)*a,(ge-z)*y)),x.spot1=new go.Spot(0,.05),x.spot2=new go.Spot(.55,.95),x}),go.Shape.defineFigureGenerator("NorGate",function(te,a,y){var x=new go.Geometry,b=.5,ee=oe*b,z=0,le=.5,de=new go.PathFigure(.8*a,.5*y,!0);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.7*a,(le+ee)*y,(z+ee)*a,(le+b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*y,.25*a,.25*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(z+ee)*a,(le-b)*y,.7*a,(le-ee)*y)),b=.1,ee=oe*.1,z=.9,le=.5;var ge=new go.PathFigure((z-b)*a,le*y,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le-b)*y,(z-b)*a,(le-ee)*y,(z-ee)*a,(le-b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,le*y,(z+ee)*a,(le-b)*y,(z+b)*a,(le-ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le+b)*y,(z+b)*a,(le+ee)*y,(z+ee)*a,(le+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,le*y,(z-ee)*a,(le+b)*y,(z-b)*a,(le+ee)*y)),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.6,.75),x}),go.Shape.defineFigureGenerator("OrGate",function(te,a,y){var x=new go.Geometry,b=.5,ee=oe*b,z=0,le=.5,de=new go.PathFigure(0,0,!0);return x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(z+ee+ee)*a,(le-b)*y,.8*a,(le-ee)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.8*a,(le+ee)*y,(z+ee+ee)*a,(le+b)*y)),de.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(te,a,y){var x=new go.Geometry,b=.5,ee=oe*b,z=.2,le=.5,de=new go.PathFigure(.1*a,0,!1);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var ge=new go.PathFigure(.8*a,.5*y,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.7*a,(le+ee)*y,(z+ee)*a,(le+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*y,.45*a,.25*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(z+ee)*a,(le-b)*y,.7*a,(le-ee)*y)),b=.1,ee=oe*.1,z=.9,le=.5;var fe=new go.PathFigure((z-b)*a,le*y,!0);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le-b)*y,(z-b)*a,(le-ee)*y,(z-ee)*a,(le-b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,le*y,(z+ee)*a,(le-b)*y,(z+b)*a,(le-ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le+b)*y,(z+b)*a,(le+ee)*y,(z+ee)*a,(le+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,le*y,(z-ee)*a,(le+b)*y,(z-b)*a,(le+ee)*y)),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.65,.75),x}),go.Shape.defineFigureGenerator("XorGate",function(te,a,y){var x=new go.Geometry,b=.5,ee=oe*b,z=.2,le=.5,de=new go.PathFigure(.1*a,0,!1);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var ge=new go.PathFigure(.2*a,0,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(z+ee)*a,(le-b)*y,.9*a,(le-ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.9*a,(le+ee)*y,(z+ee)*a,(le+b)*y)),ge.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(te,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(te,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(te,a,y){var x=new go.Geometry,b=oe*.1,ee=.1,z=.1,le=.5,de=new go.PathFigure((z-b*.5)*a,y,!1);return x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,0,(z-b)*a,y,(z-ee)*a,0)),z=.3,de.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,(z+ee)*a,0,(z+b)*a,y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,0,(z-b)*a,y,(z-ee)*a,0)),z=.5,de.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,(z+ee)*a,0,(z+b)*a,y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,0,(z-b)*a,y,(z-ee)*a,0)),z=.7,de.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,(z+ee)*a,0,(z+b)*a,y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,0,(z-b)*a,y,(z-ee)*a,0)),z=.9,de.add(new go.PathSegment(go.PathSegment.Bezier,(z+b*.5)*a,y,(z+ee)*a,0,(z+b)*a,y)),x}),go.Shape.defineFigureGenerator("ACvoltageSource",function(te,a,y){var x=new go.Geometry,b=oe*.5,ee=.5,z=.5,le=.5,de=new go.PathFigure((z-ee)*a,le*y,!1);return x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le-ee)*y,(z-ee)*a,(le-b)*y,(z-b)*a,(le-ee)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,le*y,(z+b)*a,(le-ee)*y,(z+ee)*a,(le-b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le+ee)*y,(z+ee)*a,(le+b)*y,(z+b)*a,(le+ee)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z-ee)*a,le*y,(z-b)*a,(le+ee)*y,(z-ee)*a,(le+b)*y)),de.add(new go.PathSegment(go.PathSegment.Move,(z-ee+.1)*a,le*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee-.1)*a,le*y,z*a,(le-ee)*y,z*a,(le+ee)*y)),x}),go.Shape.defineFigureGenerator("DCvoltageSource",function(te,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(te,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(te,a,y){var x=new go.Geometry,b=a,ee=y;a=a*.38,y=y*.6;var z=oe*.8,le=.8,de=0,ge=.5,fe=(b-a)/2,me=(ee-y)/2,be=new go.PathFigure(de*a+fe,(ge+le)*y+me,!0);x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,(de-le)*a+fe,ge*y+me,(de-z)*a+fe,(ge+le)*y+me,(de-le)*a+fe,(ge+z)*y+me)),be.add(new go.PathSegment(go.PathSegment.Bezier,de*a+fe,(ge-le)*y+me,(de-le)*a+fe,(ge-z)*y+me,(de-z)*a+fe,(ge-le)*y+me)),be.add(new go.PathSegment(go.PathSegment.Bezier,(de-le+z*.5)*a+fe,ge*y+me,de*a+fe,(ge-le)*y+me,(de-le+z*.5)*a+fe,(ge-z)*y+me)),be.add(new go.PathSegment(go.PathSegment.Bezier,de*a+fe,(ge+le)*y+me,(de-le+z*.5)*a+fe,(ge+z)*y+me,de*a+fe,(ge+le)*y+me).close()),z=oe*.4,le=.4,de=.2,ge=.5;var ve=new go.PathFigure(de*a+fe,(ge+le)*y+me,!0);x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,(de-le)*a+fe,ge*y+me,(de-z)*a+fe,(ge+le)*y+me,(de-le)*a+fe,(ge+z)*y+me)),ve.add(new go.PathSegment(go.PathSegment.Bezier,de*a+fe,(ge-le)*y+me,(de-le)*a+fe,(ge-z)*y+me,(de-z)*a+fe,(ge-le)*y+me)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(de-le+z*.5)*a+fe,ge*y+me,de*a+fe,(ge-le)*y+me,(de-le+z*.5)*a+fe,(ge-z)*y+me)),ve.add(new go.PathSegment(go.PathSegment.Bezier,de*a+fe,(ge+le)*y+me,(de-le+z*.5)*a+fe,(ge+z)*y+me,de*a+fe,(ge+le)*y+me).close()),z=oe*.2,le=.2,de=.5,ge=.5;var Pe=new go.PathFigure((de-le)*a+fe,ge*y+me,!0);x.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,de*a+fe,(ge-le)*y+me,(de-le)*a+fe,(ge-z)*y+me,(de-z)*a+fe,(ge-le)*y+me)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(de+le)*a+fe,ge*y+me,(de+z)*a+fe,(ge-le)*y+me,(de+le)*a+fe,(ge-z)*y+me)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,de*a+fe,(ge+le)*y+me,(de+le)*a+fe,(ge+z)*y+me,(de+z)*a+fe,(ge+le)*y+me)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(de-le)*a+fe,ge*y+me,(de-z)*a+fe,(ge+le)*y+me,(de-le)*a+fe,(ge+z)*y+me)),z=oe*.4,le=.4,de=.8,ge=.5;var Ee=new go.PathFigure(de*a+fe,(ge-le)*y+me,!0);x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(de+le)*a+fe,ge*y+me,(de+z)*a+fe,(ge-le)*y+me,(de+le)*a+fe,(ge-z)*y+me)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,de*a+fe,(ge+le)*y+me,(de+le)*a+fe,(ge+z)*y+me,(de+z)*a+fe,(ge+le)*y+me)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(de+le-z*.5)*a+fe,ge*y+me,de*a+fe,(ge+le)*y+me,(de+le-z*.5)*a+fe,(ge+z)*y+me)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,de*a+fe,(ge-le)*y+me,(de+le-z*.5)*a+fe,(ge-z)*y+me,de*a+fe,(ge-le)*y+me).close()),z=oe*.8,le=.8,de=1,ge=.5;var _e=new go.PathFigure(de*a+fe,(ge-le)*y+me,!0);return x.add(_e),_e.add(new go.PathSegment(go.PathSegment.Bezier,(de+le)*a+fe,ge*y+me,(de+z)*a+fe,(ge-le)*y+me,(de+le)*a+fe,(ge-z)*y+me)),_e.add(new go.PathSegment(go.PathSegment.Bezier,de*a+fe,(ge+le)*y+me,(de+le)*a+fe,(ge+z)*y+me,(de+z)*a+fe,(ge+le)*y+me)),_e.add(new go.PathSegment(go.PathSegment.Bezier,(de+le-z*.5)*a+fe,ge*y+me,de*a+fe,(ge+le)*y+me,(de+le-z*.5)*a+fe,(ge+z)*y+me)),_e.add(new go.PathSegment(go.PathSegment.Bezier,de*a+fe,(ge-le)*y+me,(de+le-z*.5)*a+fe,(ge-z)*y+me,de*a+fe,(ge-le)*y+me).close()),x}),go.Shape.defineFigureGenerator("Email",function(te,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 ee=new go.PathFigure(0,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Move,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.45*a,.54*y)),ee.add(new go.PathSegment(go.PathSegment.Move,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.54*y)),x}),go.Shape.defineFigureGenerator("Ethernet",function(te,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 ee=new go.PathFigure(.1*a,y,!0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.1*a,y).close());var z=new go.PathFigure(.6*a,y,!0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,y).close());var le=new go.PathFigure(0,.5*y,!1);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),le.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*y)),le.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),le.add(new go.PathSegment(go.PathSegment.Move,.75*a,.5*y)),le.add(new go.PathSegment(go.PathSegment.Line,.75*a,.6*y)),le.add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*y)),le.add(new go.PathSegment(go.PathSegment.Line,.25*a,.6*y)),x}),go.Shape.defineFigureGenerator("Power",function(te,a,y){var x=new go.Geometry,b=oe*.4,ee=.4,z=.5,le=.5,de=ye(),ge=ye(),fe=ye(),me=ye();pe(z,le-ee,z+b,le-ee,z+ee,le-b,z+ee,le,.5,de,de,ge,fe,me);var be=Se(ge.x,ge.y),ve=new go.PathFigure(ge.x*a,ge.y*y,!0);x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,le*y,fe.x*a,fe.y*y,me.x*a,me.y*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le+ee)*y,(z+ee)*a,(le+b)*y,(z+b)*a,(le+ee)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(z-ee)*a,le*y,(z-b)*a,(le+ee)*y,(z-ee)*a,(le+b)*y)),pe(z-ee,le,z-ee,le-b,z-b,le-ee,z,le-ee,.5,fe,me,ge,de,de),ve.add(new go.PathSegment(go.PathSegment.Bezier,ge.x*a,ge.y*y,fe.x*a,fe.y*y,me.x*a,me.y*y)),b=oe*.3,ee=.3,pe(z-ee,le,z-ee,le-b,z-b,le-ee,z,le-ee,.5,fe,me,ge,de,de),ve.add(new go.PathSegment(go.PathSegment.Line,ge.x*a,ge.y*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(z-ee)*a,le*y,me.x*a,me.y*y,fe.x*a,fe.y*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le+ee)*y,(z-ee)*a,(le+b)*y,(z-b)*a,(le+ee)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,le*y,(z+b)*a,(le+ee)*y,(z+ee)*a,(le+b)*y)),pe(z,le-ee,z+b,le-ee,z+ee,le-b,z+ee,le,.5,de,de,ge,fe,me),ve.add(new go.PathSegment(go.PathSegment.Bezier,ge.x*a,ge.y*y,me.x*a,me.y*y,fe.x*a,fe.y*y).close());var ve=new go.PathFigure(.45*a,0,!0);return x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*y)),ve.add(new go.PathSegment(go.PathSegment.Line,.55*a,.5*y)),ve.add(new go.PathSegment(go.PathSegment.Line,.55*a,0).close()),je(de),je(ge),je(fe),je(me),je(be),x.spot1=new go.Spot(.25,.45),x.spot2=new go.Spot(.75,.8),x}),go.Shape.defineFigureGenerator("Fallout",function(te,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 ee(z,le,de){z.add(new go.PathSegment(go.PathSegment.Move,(.3+le)*a,(.8+de)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+le)*a,(.5+de)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.1+le)*a,(.5+de)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.3+le)*a,(.8+de)*y).close())}return ee(b,0,0),ee(b,.4,0),ee(b,.2,-.3),x}),go.Shape.defineFigureGenerator("IrritationHazard",function(te,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(te,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(te,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(te,a,y){var x=new go.Geometry,b=.5,ee=0,z=0,le=b*oe,de=.4*Math.SQRT2/2+.5,ge=.5-.5*Math.SQRT2/2,fe=1,me=.5,be=.5,ve=0,Pe=new go.PathFigure(de*a,(1-ge)*y,!1);return x.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,me*y,fe*a,.7*y,fe*a,me*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(be+ee)*a,(ve+ee)*y,(.5+b+ee)*a,(.5-le+ee)*y,(.5+le+ee)*a,(.5-b+ee)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+ee)*a,(.5+z)*y,(.5-le+ee)*a,(.5-b+z)*y,(.5-b+ee)*a,(.5-le+z)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(.35+ee)*a,.9*y,(.5-b+ee)*a,(.5+le+z)*y,(.5-le+ee)*a,.9*y)),Pe.add(new go.PathSegment(go.PathSegment.Move,(.25+ee)*a,.8*y)),Pe.add(new go.PathSegment(go.PathSegment.Line,(.35+ee)*a,.9*y)),Pe.add(new go.PathSegment(go.PathSegment.Line,(.2+ee)*a,.95*y)),x}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(te,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(te,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(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var ee=new go.PathFigure(a,y,!1);x.add(ee);var z=new go.PathFigure(0,.5*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*y,.2*a,.35*y,.3*a,.35*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.7*a,.65*y,.8*a,.65*y)),x}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(te,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(te,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(te,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 ee=new go.PathFigure(.45*a,.73*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,.73*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.38*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.63*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.31*a,.27*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.56*a,.27*y)),x}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var ee=new go.PathFigure(.335*a,(1-.555)*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.68*y,(1-.12)*a,.46*y,(1-.02)*a,.54*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.68*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.335*a,(1-.555)*y,.02*a,.54*y,.12*a,.46*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.365*a,(1-.595)*y));var z=.5-.285,le=.5,de=z,ge=Math.PI/4,fe=4*(1-Math.cos(ge))/(3*Math.sin(ge)),me=fe*.5,be=z,ve=z,Pe=fe*be,Ee=fe*ve;ee.add(new go.PathSegment(go.PathSegment.Bezier,(le-be)*a,de*y,(le-(Pe+be)/2)*a,(de+(ve+Ee)/2)*y,(le-be)*a,(de+Ee)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(de-ve)*y,(le-be)*a,(de-Ee)*y,(le-Pe)*a,(de-ve)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(le+be)*a,de*y,(le+Pe)*a,(de-ve)*y,(le+be)*a,(de-Ee)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*a,(1-.595)*y,(le+be)*a,(de+Ee)*y,(le+(Pe+be)/2)*a,(de+(ve+Ee)/2)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*a,(1-.595)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y));var _e=new go.PathFigure(.2*a,y,!1);x.add(_e),_e.add(new go.PathSegment(go.PathSegment.Line,.2*a,.8*y));var Ce=new go.PathFigure(.8*a,y,!1);return x.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*y)),x}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(te,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 ee=new go.PathFigure(.2*a,.2*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.2*a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*y)),x}),go.Shape.defineFigureGenerator("BpmnEventError",function(te,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(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var ee=new go.PathFigure(a,y,!1);x.add(ee);var z=new go.PathFigure(.1*a,y,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y).close()),x}),go.Shape.defineFigureGenerator("Caution",function(te,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 ee=.05;return b.add(new go.PathSegment(go.PathSegment.Move,(.5-ee)*a,.875*y)),b.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*a,.875*y,ee*a,ee*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(te,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 ee=new go.PathFigure(.475*a,.2*y,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.225*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.275*a,.175*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.325*a,.05*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.05*y,.35*a,0,.375*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.575*a,.375*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.525*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.75*a,.475*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.85*a,.315*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.32*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,.05*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,0,.65*a,.05*y,.625*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.38*a,.0105*y));var z=new go.PathFigure(.675*a,.575*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.875*a,.525*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.775*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.85*a,.95*y,a,.8*y,a,.85*y)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.95*y)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.85*y)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.725*y)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.775*y)),z.add(new go.PathSegment(go.PathSegment.Line,.7*a,.775*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.775*y)),z.add(new go.PathSegment(go.PathSegment.Move,.675*a,.575*y)),z.add(new go.PathSegment(go.PathSegment.Line,.775*a,.775*y)),x}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(te,a,y){var x=new go.Geometry,b=.5,ee=oe*.5,z=new go.PathFigure(a,b*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,b*a,y,a,(b+ee)*y,(b+ee)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,b*y,(b-ee)*a,y,0,(b+ee)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,b*a,0,0,(b-ee)*y,(b-ee)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,b*y,(b+ee)*a,0,a,(b-ee)*y));var le=new go.PathFigure(b*a,0,!1);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,b*a,.15*y)),le.add(new go.PathSegment(go.PathSegment.Move,b*a,y)),le.add(new go.PathSegment(go.PathSegment.Line,b*a,.85*y)),le.add(new go.PathSegment(go.PathSegment.Move,0,b*y)),le.add(new go.PathSegment(go.PathSegment.Line,.15*a,b*y)),le.add(new go.PathSegment(go.PathSegment.Move,a,b*y)),le.add(new go.PathSegment(go.PathSegment.Line,.85*a,b*y)),le.add(new go.PathSegment(go.PathSegment.Move,b*a,b*y)),le.add(new go.PathSegment(go.PathSegment.Line,.58*a,.1*y)),le.add(new go.PathSegment(go.PathSegment.Move,b*a,b*y)),le.add(new go.PathSegment(go.PathSegment.Line,.78*a,.54*y)),x}),go.Shape.defineFigureGenerator("Package",function(te,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 ee=new go.PathFigure(0,.15*y,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),ee.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(te,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 ee=new go.PathFigure(0,.2*y,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var z=new go.PathFigure(0,.5*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.5*y).close()),x}),go.Shape.defineFigureGenerator("Component",function(te,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 ee=new go.PathFigure(0,.2*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.45*a,.2*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.2*y).close());var z=new go.PathFigure(0,.6*y,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.6*y).close()),x}),go.Shape.defineFigureGenerator("Boat Shipment",function(te,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 ee=new go.PathFigure(.15*a,.6*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),x}),go.Shape.defineFigureGenerator("Customer/Supplier",function(te,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(te,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(te,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(te,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 ee=new go.PathFigure(a,.8*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.8*y).close());var z=.1,le=oe*.1,de=.2,ge=.9,fe=new go.PathFigure((de-z)*a,ge*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge-z)*y,(de-z)*a,(ge-le)*y,(de-le)*a,(ge-z)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(de+z)*a,ge*y,(de+le)*a,(ge-z)*y,(de+z)*a,(ge-le)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge+z)*y,(de+z)*a,(ge+le)*y,(de+le)*a,(ge+z)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(de-z)*a,ge*y,(de-le)*a,(ge+z)*y,(de-z)*a,(ge+le)*y).close()),z=.1,le=oe*.1,de=.8,ge=.9;var me=new go.PathFigure((de-z)*a,ge*y,!0);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge-z)*y,(de-z)*a,(ge-le)*y,(de-le)*a,(ge-z)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(de+z)*a,ge*y,(de+le)*a,(ge-z)*y,(de+z)*a,(ge-le)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge+z)*y,(de+z)*a,(ge+le)*y,(de+le)*a,(ge+z)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(de-z)*a,ge*y,(de-le)*a,(ge+z)*y,(de-z)*a,(ge+le)*y).close()),x}),go.Shape.defineFigureGenerator("KanbanPost",function(te,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(te,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 ee=new go.PathFigure(0,.5*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var z=new go.PathFigure(.5*a,.8*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*y));var le=new go.PathFigure(.5*a,.7*y,!1);x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,a,.7*y));var de=.1,ge=oe*.1,fe=.1,me=.9,be=new go.PathFigure((fe-de)*a,me*y,!0);x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(me-de)*y,(fe-de)*a,(me-ge)*y,(fe-ge)*a,(me-de)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(fe+de)*a,me*y,(fe+ge)*a,(me-de)*y,(fe+de)*a,(me-ge)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(me+de)*y,(fe+de)*a,(me+ge)*y,(fe+ge)*a,(me+de)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(fe-de)*a,me*y,(fe-ge)*a,(me+de)*y,(fe-de)*a,(me+ge)*y)),de=.1,ge=oe*.1,fe=.4,me=.9;var ve=new go.PathFigure((fe-de)*a,me*y,!0);return x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(me-de)*y,(fe-de)*a,(me-ge)*y,(fe-ge)*a,(me-de)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(fe+de)*a,me*y,(fe+ge)*a,(me-de)*y,(fe+de)*a,(me-ge)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(me+de)*y,(fe+de)*a,(me+ge)*y,(fe+ge)*a,(me+de)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(fe-de)*a,me*y,(fe-ge)*a,(me+de)*y,(fe-de)*a,(me+ge)*y)),x}),go.Shape.defineFigureGenerator("RailShipment",function(te,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 ee=new go.PathFigure(.45*a,.7*y,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y));var z=new go.PathFigure(.55*a,.4*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.4*y).close());var fe=.05,me=oe*.05,be=.175,ve=.95,le=new go.PathFigure((be-fe)*a,ve*y,!0);x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,be*a,(ve-fe)*y,(be-fe)*a,(ve-me)*y,(be-me)*a,(ve-fe)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,(be+fe)*a,ve*y,(be+me)*a,(ve-fe)*y,(be+fe)*a,(ve-me)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,be*a,(ve+fe)*y,(be+fe)*a,(ve+me)*y,(be+me)*a,(ve+fe)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,(be-fe)*a,ve*y,(be-me)*a,(ve+fe)*y,(be-fe)*a,(ve+me)*y));var fe=.05,me=oe*.05,be=.375,ve=.95,de=new go.PathFigure((be-fe)*a,ve*y,!0);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,be*a,(ve-fe)*y,(be-fe)*a,(ve-me)*y,(be-me)*a,(ve-fe)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(be+fe)*a,ve*y,(be+me)*a,(ve-fe)*y,(be+fe)*a,(ve-me)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,be*a,(ve+fe)*y,(be+fe)*a,(ve+me)*y,(be+me)*a,(ve+fe)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(be-fe)*a,ve*y,(be-me)*a,(ve+fe)*y,(be-fe)*a,(ve+me)*y));var fe=.05,me=oe*.05,be=.625,ve=.95,ge=new go.PathFigure((be-fe)*a,ve*y,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,be*a,(ve-fe)*y,(be-fe)*a,(ve-me)*y,(be-me)*a,(ve-fe)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(be+fe)*a,ve*y,(be+me)*a,(ve-fe)*y,(be+fe)*a,(ve-me)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,be*a,(ve+fe)*y,(be+fe)*a,(ve+me)*y,(be+me)*a,(ve+fe)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(be-fe)*a,ve*y,(be-me)*a,(ve+fe)*y,(be-fe)*a,(ve+me)*y));var fe=.05,me=oe*.05,be=.825,ve=.95,Pe=new go.PathFigure((be-fe)*a,ve*y,!0);x.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,be*a,(ve-fe)*y,(be-fe)*a,(ve-me)*y,(be-me)*a,(ve-fe)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(be+fe)*a,ve*y,(be+me)*a,(ve-fe)*y,(be+fe)*a,(ve-me)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,be*a,(ve+fe)*y,(be+fe)*a,(ve+me)*y,(be+me)*a,(ve+fe)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(be-fe)*a,ve*y,(be-me)*a,(ve+fe)*y,(be-fe)*a,(ve+me)*y).close());var Ee=new go.PathFigure(0,y,!1);return x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),x}),go.Shape.defineFigureGenerator("Warehouse",function(te,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 ee=new go.PathFigure(0,.2*y,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var z=new go.PathFigure(.15*a,y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.15*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.15*a,y).close());var le=.05,de=oe*.05,ge=.35,fe=.775,me=new go.PathFigure((ge-le)*a,fe*y,!0);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(fe-le)*y,(ge-le)*a,(fe-de)*y,(ge-de)*a,(fe-le)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ge+le)*a,fe*y,(ge+de)*a,(fe-le)*y,(ge+le)*a,(fe-de)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(fe+le)*y,(ge+le)*a,(fe+de)*y,(ge+de)*a,(fe+le)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ge-le)*a,fe*y,(ge-de)*a,(fe+le)*y,(ge-le)*a,(fe+de)*y).close()),x}),go.Shape.defineFigureGenerator("ControlCenter",function(te,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(te,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(te,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(te,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(te,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(te,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(te,a,y){var x=new go.Geometry,b=.3,ee=oe*.3,z=.5,le=.7,de=new go.PathFigure((z-b)*a,le*y,!0);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le-b)*y,(z-b)*a,(le-ee)*y,(z-ee)*a,(le-b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,le*y,(z+ee)*a,(le-b)*y,(z+b)*a,(le-ee)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le+b)*y,(z+b)*a,(le+ee)*y,(z+ee)*a,(le+b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,le*y,(z-ee)*a,(le+b)*y,(z-b)*a,(le+ee)*y));var ge=new go.PathFigure(0,.7*y,!1);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,a,.7*y,0,0,a,0)),x}),go.Shape.defineFigureGenerator("TripleFanBlades",function(te,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(te,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(te,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 ee=new go.PathFigure(0,.6*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Move,0,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),x}),go.Shape.defineFigureGenerator("Delete",function(te,a,y){var x=new go.Geometry,b=.5,ee=oe*.5,z=.5,le=.5,de=new go.PathFigure((z-b)*a,le*y,!0);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le-b)*y,(z-b)*a,(le-ee)*y,(z-ee)*a,(le-b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,le*y,(z+ee)*a,(le-b)*y,(z+b)*a,(le-ee)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le+b)*y,(z+b)*a,(le+ee)*y,(z+ee)*a,(le+b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,le*y,(z-ee)*a,(le+b)*y,(z-b)*a,(le+ee)*y));var ge=new go.PathFigure(.15*a,.5*y,!1);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.85*a,.5*y)),x}),go.Shape.defineFigureGenerator("Flag",function(te,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(te,a,y){var x=new go.Geometry,b=.5,ee=oe*.5,z=.5,le=.5,de=new go.PathFigure((z-b)*a,le*y,!1);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le-b)*y,(z-b)*a,(le-ee)*y,(z-ee)*a,(le-b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,le*y,(z+ee)*a,(le-b)*y,(z+b)*a,(le-ee)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le+b)*y,(z+b)*a,(le+ee)*y,(z+ee)*a,(le+b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,le*y,(z-ee)*a,(le+b)*y,(z-b)*a,(le+ee)*y).close()),b=.05,ee=oe*.05,z=.5,le=.8;var ge=new go.PathFigure((z-b)*a,le*y,!1);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le-b)*y,(z-b)*a,(le-ee)*y,(z-ee)*a,(le-b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,le*y,(z+ee)*a,(le-b)*y,(z+b)*a,(le-ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le+b)*y,(z+b)*a,(le+ee)*y,(z+ee)*a,(le+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,le*y,(z-ee)*a,(le+b)*y,(z-b)*a,(le+ee)*y).close()),ge.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),ge.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,.75*a,.475*y,.75*a,.225*y)),ge.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(te,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(te,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 ee=new go.PathFigure(.2*a,.5*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.3*y)),x}),go.Shape.defineFigureGenerator("Unlocked",function(te,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 ee=new go.PathFigure(.2*a,.5*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.35*y)),x}),go.Shape.defineFigureGenerator("Gear",function(te,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(te,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(te,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(te,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 ee=new go.PathFigure(0,y*.6,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,0).close()),x}),go.Shape.defineFigureGenerator("Pencil",function(te,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(te,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 ee=new go.PathFigure(.126*a,.85*y,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.126*a,.45*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.322*a,.45*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.322*a,.85*y).close());var z=new go.PathFigure(.402*a,.85*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.402*a,.45*y)),z.add(new go.PathSegment(go.PathSegment.Line,.598*a,.45*y)),z.add(new go.PathSegment(go.PathSegment.Line,.598*a,.85*y).close());var le=new go.PathFigure(.678*a,.85*y,!1);x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.678*a,.45*y)),le.add(new go.PathSegment(go.PathSegment.Line,.874*a,.45*y)),le.add(new go.PathSegment(go.PathSegment.Line,.874*a,.85*y).close());var de=new go.PathFigure(.5*a,.1*y,!1);return x.add(de),de.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*a,.3*y)),de.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*a,.3*y).close()),x}),go.Shape.defineFigureGenerator("Staircase",function(te,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(te,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 ee=new go.PathFigure(a*.204,y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.204,y*(1-.184))),ee.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*(1-.184*2))),ee.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*1).close());var z=new go.PathFigure(a*.408,y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.408,y*(1-.184*2))),z.add(new go.PathSegment(go.PathSegment.Line,a*.592,y*(1-.184*3))),z.add(new go.PathSegment(go.PathSegment.Line,a*.592,y*1).close());var le=new go.PathFigure(a*.612,y,!0);x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,a*.612,y*(1-.184*3))),le.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*(1-.184*4))),le.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*1).close());var de=new go.PathFigure(a*.816,y,!0);return x.add(de),de.add(new go.PathSegment(go.PathSegment.Line,a*.816,y*(1-.184*4))),de.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-.184*5))),de.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1).close()),x}),go.Shape.defineFigureGenerator("PC",function(te,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 ee=new go.PathFigure(a*.055,.07*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.07)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.1)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.1).close());var z=new go.PathFigure(a*.055,.13*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.13)),z.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.16)),z.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.16).close());var le=new go.PathFigure(a*.055,.18*y,!0);x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.18)),le.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.21)),le.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.21).close());var de=new go.PathFigure(a*1,0,!0);return x.add(de),de.add(new go.PathSegment(go.PathSegment.Line,a*.4,0)),de.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.65)),de.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.65).close()),x}),go.Shape.defineFigureGenerator("Plane",function(te,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(te,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(te,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 ee=new go.PathFigure(0,0,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*1,y*0)),ee.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*1,a*.3,a*.055)),ee.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1));var z=new go.PathFigure(a*.11,y*.1,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),y*.1)),z.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),y*.8)),z.add(new go.PathSegment(go.PathSegment.Line,a*.11,y*.8).close());var le=new go.PathFigure(a*(.11+.24133333*1+.028*1),y*.1,!1);x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.1)),le.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.8)),le.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*1),y*.8).close());var de=new go.PathFigure(a*(.11+.24133333*2+.028*2),y*.1,!1);return x.add(de),de.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.1)),de.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.8)),de.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*2),y*.8).close()),x}),go.Shape.defineFigureGenerator("FloppyDisk",function(te,a,y){var x=new go.Geometry,b=8,ee=b*oe,z=new go.PathFigure(b,0,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.86,0)),z.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.14)),z.add(new go.PathSegment(go.PathSegment.Line,a,y-b)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,y-ee,a-ee,y)),z.add(new go.PathSegment(go.PathSegment.Line,b,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,ee,y,0,y-ee)),z.add(new go.PathSegment(go.PathSegment.Line,0,b)),z.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,ee,ee,0).close());var le=new go.PathFigure(a*.83,0,!1);x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.3)),le.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.3)),le.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*0).close());var de=new go.PathFigure(a*.83,y*1,!1);x.add(de),de.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.5)),de.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.5)),de.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*1).close());var ge=new go.PathFigure(a*.78,y*.05,!1);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.05)),ge.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.25)),ge.add(new go.PathSegment(go.PathSegment.Line,a*.78,y*.25).close()),x}),go.Shape.defineFigureGenerator("SpeechBubble",function(te,a,y){var x=te?te.parameter1:NaN;(isNaN(x)||x<0)&&(x=15),x=Math.min(x,a/3),x=Math.min(x,y/3);var b=x*oe,ee=y*.8,z=new go.Geometry,le=new go.PathFigure(x,0,!0);return z.add(le),le.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),le.add(new go.PathSegment(go.PathSegment.Bezier,a,x,a-b,0,a,b)),le.add(new go.PathSegment(go.PathSegment.Line,a,ee-x)),le.add(new go.PathSegment(go.PathSegment.Bezier,a-x,ee,a,ee-b,a-b,ee)),le.add(new go.PathSegment(go.PathSegment.Line,a*.7,ee)),le.add(new go.PathSegment(go.PathSegment.Line,a*.7,y)),le.add(new go.PathSegment(go.PathSegment.Line,a*.55,ee)),le.add(new go.PathSegment(go.PathSegment.Line,x,ee)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,ee-x,b,ee,0,ee-b)),le.add(new go.PathSegment(go.PathSegment.Line,0,x)),le.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,b,b,0).close()),b>1?(z.spot1=new go.Spot(0,0,b,b),z.spot2=new go.Spot(1,.8,-b,-b)):(z.spot1=go.Spot.TopLeft,z.spot2=new go.Spot(1,.8)),z}),go.Shape.defineFigureGenerator("Repeat",function(te,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 ee=new go.PathFigure(a*1,y*.55,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*1)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.55)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.55)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.1)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.1)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*0)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.55).close()),x}),go.Shape.defineFigureGenerator("Windows",function(te,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(te,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 ee=new go.PathFigure(a*.1,y*.2,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.25)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.22,y*.285)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.32)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.37)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.32)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.25).close());var z=new go.PathFigure(a*.28,y*.37,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.37)),z.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.41)),z.add(new go.PathSegment(go.PathSegment.Line,a*.28,y*.41).close()),x}),go.Shape.defineFigureGenerator("Beaker",function(te,a,y){var x=new go.Geometry,b=15,ee=b*oe,z=new go.PathFigure(a*.62,y*.475,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,y-b)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,y-ee,a-ee,y)),z.add(new go.PathSegment(go.PathSegment.Line,b,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,ee,y,0,y-ee)),z.add(new go.PathSegment(go.PathSegment.Line,a*.38,y*.475)),z.add(new go.PathSegment(go.PathSegment.Line,a*.38,y*.03)),z.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*0)),z.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*0)),z.add(new go.PathSegment(go.PathSegment.Line,a*.62,y*.03).close()),ee>1?(x.spot1=new go.Spot(0,0,ee,ee),x.spot2=new go.Spot(1,1,-ee,-ee)):(x.spot1=go.Spot.TopLeft,x.spot2=go.Spot.BottomRight),x}),go.Shape.defineFigureGenerator("Download",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);x.add(b);var ee=.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-ee))),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-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-ee))),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-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-ee))),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-ee)).close());var z=new go.PathFigure(a*.4,y*0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.44)),z.add(new go.PathSegment(go.PathSegment.Line,a*.26,y*.44)),z.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.66)),z.add(new go.PathSegment(go.PathSegment.Line,a*(1-.26),y*.44)),z.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.44)),z.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*0).close()),x}),go.Shape.defineFigureGenerator("Bin",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);x.add(b);var ee=.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-ee))),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-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-ee))),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-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-ee))),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-ee)).close()),x}),go.Shape.defineFigureGenerator("Upload",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);x.add(b);var ee=.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-ee))),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-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-ee))),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-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-ee))),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-ee)).close());var z=new go.PathFigure(a*.5,y*0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.26,y*.25)),z.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.25)),z.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.63)),z.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.63)),z.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.25)),z.add(new go.PathSegment(go.PathSegment.Line,a*.74,y*.25).close()),x}),go.Shape.defineFigureGenerator("EmptyDrink",function(te,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(te,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 ee=new go.PathFigure(a*.235,y*.28,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.765,y*.28)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.655,y*.97)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.345,y*.97).close()),x}),go.Shape.defineFigureGenerator("4Arrows",function(te,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")},5559: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 ct={},ot="5.0",Se={},ye=null,je=!1,E=!1,pe=null,he=!1,ce=null,oe=null,ie=0;ie4?parseFloat(Ge):5};ct.setHTML5Codebase=function(Ge,ke){oe=Ge,He(Ge,ke)},ct.setJavaCodebase=ct.setJavaCodebaseVersion=ct.isCompiledInstalled=ct.setPreCompiledScriptPath=ct.setPreCompiledResourcePath=function(){},ct.setHTML5CodebaseVersion=function(Ge,ke){var Ne=parseFloat(Ge);if(Ne!==NaN&&Ne<5){console.log("The GeoGebra HTML5 codebase version "+Ne+" is deprecated. Using version latest instead.");return}ce=Ge,Qe(Ge,ke)},ct.getHTML5CodebaseVersion=function(){return te},ct.getParameters=function(){return Se},ct.setFontsCSSURL=function(Ge){z=Ge},ct.setGiacJSURL=function(Ge){},ct.setJNLPFile=function(Ge){se=Ge},ct.setJNLPBaseDir=function(Ge){},ct.inject=function(){function Ge(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var ke="auto",Ne=Se.id,Ve,Je=!1,rt=0;rt=5)return!0;var Ge=ct.getAppletObject();return Ge&&typeof Ge.recalculateEnvironments=="function"?(Ge.recalculateEnvironments(),!0):!1},ct.startAnimation=function(){var Ge=ct.getAppletObject();return Ge&&typeof Ge.startAnimation=="function"?(Ge.startAnimation(),!0):!1},ct.stopAnimation=function(){var Ge=ct.getAppletObject();return Ge&&typeof Ge.stopAnimation=="function"?(Ge.stopAnimation(),!0):!1},ct.getAppletObject=function(){var Ge=Se.id!==void 0?Se.id:"ggbApplet";return window[Ge]},ct.resize=function(){};var Pe=function(Ge,ke,Ne){var Ve=document.createElement("param");Ve.setAttribute("name",ke),Ve.setAttribute("value",Ne),Ge.appendChild(Ve)},Ee=function(Ge){return Ge&&Ge!=="false"},_e=function(Ge,ke,Ne){de(te)<=4.2&&(Ne=!0);var Ve=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==te||ggbHTML5LoadedCodebaseIsWebSimple&&!y)&&(Ve=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var Je=document.createElement("div");Je.classList.add("appletParameters","notranslate");var rt=ke.width,Ye=ke.height;if(ke.disableAutoScale=ke.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():ke.disableAutoScale,ke.width!==void 0)if(de(te)<=4.4)Ee(ke.showToolBar)&&(ke.height-=7),Ee(ke.showAlgebraInput)&&(ke.height-=37),ke.width<605&&Ee(ke.showToolBar)&&(ke.width=605,rt=605);else{var Ue=100;(Ee(ke.showToolBar)||Ee(ke.showMenuBar))&&(ke.hasOwnProperty("customToolBar")&&(ke.customToolbar=ke.customToolBar),Ue=Ee(ke.showMenuBar)?245:155),rt=5?(ke.appletOnLoad=function($e){var tt=Ge.querySelector(".ggb_preview");tt&&tt.parentNode.removeChild(tt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(Te),window.GGBT_wsf_view&&$(window).trigger("resize"),Ze($e)},We||Te.appendChild(at)):Je.appendChild(at),Te.appendChild(Je),We||Ge.appendChild(Te),setTimeout(function(){ct.resize()},1)}else{var et=document.createElement("div");et.className="applet_scaler",et.style.position="relative",et.style.display="block",et.appendChild(Je),Ge.appendChild(et),ke.appletOnLoad=function($e){ct.resize(),Ze($e)}}function qe($e,tt){tt&&typeof tt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement($e,tt.appletOnLoad):renderGGBElement($e),ze("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",tt)}function Be($e,tt){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:$e,params:tt}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(st){qe(st.article,st.params)}),html5AppletsToProcess=null)},de(te)<5&&($e.className+=" geogebraweb")):qe($e,tt)}if(Ve){scriptLoadStarted=!0;for(var Ae=0;Ae0?(Ie.remove(),Te.attr("id","fullscreencontent").show(),jQuery(Ze).append(Te),window.dispatchEvent(new Event("resize"))):_e(Ie,ke,!1),window.GGBT_wsf_view.launchFullScreen(Ze)}else ne=Ve,_e(Ge,ke,!1);if(!window.GGBT_wsf_view)for(Ye=0;YeGe/4*3&&(Ie=Ge/4*3),Ze=Ie/5.8,Ue.setAttribute("src",b),Ue.setAttribute("width",Ie),Ue.setAttribute("height",Ze);var Te=(Ge-Ie)/2,We=(ke-Ze)/2;Ue.style.left=Te+"px",Ue.style.top=We+"px",Je.appendChild(Ue)}}return Je.appendChild(Ye),Je},Fe=function(Ge){return Ge=Ge.toLowerCase(),Ge==="html5"||Ge==="screenshot"?Ge:"html5"},Le=["web","webSimple","web3d","tablet","tablet3d","phone"],Qe=function(Ge,ke){if(te=Ge,ke){He(te,!0);return}var Ne=!je;if(Ne){var Ve=de(te);!isNaN(Ve)&&Ve<4.4&&(Ne=!1)}var Je,rt;window.location.protocol.substr(0,4)==="http"?Je=window.location.protocol:Je="http:";var Ye=te.indexOf("//");Ye>0?rt=te:Ye===0?rt=Je+te:rt="https://www.geogebra.org/apps/5.2.814.0/";for(var Ue in Le)if(te.slice(Le[Ue].length*-1)===Le[Ue]||te.slice((Le[Ue].length+1)*-1)===Le[Ue]+"/"){He(rt,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Ne&&!ye.is3D&&!ye.AV&&!ye.SV&&!ye.CV&&!ye.EV2&&!ye.CP&&!ye.PC&&!ye.DA&&!ye.FI&&!ye.PV&&!Ee(Se.showToolBar)&&!Ee(Se.showMenuBar)&&!Ee(Se.showAlgebraInput)&&!Ee(Se.enableRightClick)&&(!Se.appName||Se.appName=="classic")?rt+="webSimple/":rt+="web3d/",He(rt,!1)},He=function(Ge,ke){if(Ge.requirejs){ae=Ge;return}Ge.slice(-1)!=="/"&&(Ge+="/"),ae=Ge,ke===null&&(ke=Ge.indexOf("http")===-1),re=ke,a="web.nocache.js",y=!1;var Ne=ae.split("/");Ne.length>1&&(!ke&&Ne[Ne.length-2]==="webSimple"?(a="webSimple.nocache.js",y=!0):Le.indexOf(Ne[Ne.length-2])>=0&&(a=Ne[Ne.length-2]+".nocache.js")),Ne=Ge.split("/"),te=Ne[Ne.length-3],te.substr(0,4)==="test"?te=te.substr(4,1)+"."+te.substr(5,1):(te.substr(0,3)==="war"||te.substr(0,4)==="beta")&&(te="5.0");var Ve=parseFloat(te);Ve!==NaN&&Ve<5&&Ge.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+Ve+" is deprecated. Using version latest instead."),Qe("5.0",ke))},ze=function(Ge,ke){window.console&&window.console.log&&(!ke||typeof ke.showLogging=="undefined"||ke.showLogging&&ke.showLogging!=="false")&&console.log(Ge)};Se.material_id!==void 0?me(Ke):Ke();function Ke(){var Ge=ot;ce!==null?Ge=ce:parseFloat(Ge)<5&&(Ge="5.0"),Qe(Ge,!1),oe!==null&&He(oe,re),he=!0}return ct},GGBAppletUtils=function(){"use strict";function ct(){return window.GGBT_wsf_edit!==void 0}function ot(he,ce){ce!=1?(he.style.transformOrigin="0% 0% 0px",he.style.webkitTransformOrigin="0% 0% 0px",he.style.transform="scale("+ce+","+ce+")",he.style.webkitTransform="scale("+ce+","+ce+")",he.style.maxWidth="initial",he.querySelector(".ggb_preview")!==null&&(he.querySelector(".ggb_preview").style.maxWidth="initial"),he.querySelectorAll(".ggb_preview img")[0]!==void 0&&(he.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),he.querySelectorAll(".ggb_preview img")[1]!==void 0&&(he.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(he.style.transform="none",he.style.webkitTransform="none")}function Se(he,ce,oe,ie,ue,se){var ae=null;if(se!=null&&se!="")for(var re=he.parentNode;re!=null;)if((" "+re.className+" ").indexOf(" "+se+" ")>-1){ae=re;break}else re=re.parentNode;var ne=0,te=0,a=0,y=0,x=0,b=0,ee=0;if(ae)ne=ae.offsetWidth,te=Math.max(ie?ae.offsetWidth:0,ae.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(ne=Math.min(window.innerWidth,document.documentElement.clientWidth),te=Math.min(window.innerHeight,document.documentElement.clientHeight),a=ne):(ne=window.innerWidth,te=window.innerHeight,a=window.innerWidth),he){var z=he.getBoundingClientRect();z.left>0&&z.left<=ne&&(ue===void 0||!ue)&&(document.dir==="rtl"?(x=ne-z.width-z.left,b=a<=480?10:30):(b=z.left,x=a<=480?10:30),y=b+x)}if(he&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var le=he.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(y=40,ee=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(y=0,ee=40)}}return he&&((oe===void 0||!oe)&&ce>0&&ce+y1&&(se=!0)),ce&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(se=!0),!(he.hasOwnProperty("disableAutoScale")&&he.disableAutoScale))ue=ye(he,ce,se,oe,he.scaleContainerClass);else return ie;return se&&(!he.hasOwnProperty("scale")||ie===1)?ue:Math.min(ie,ue)}function E(he){var ce=Math.min(window.innerWidth,document.documentElement.clientWidth),oe=Math.min(window.innerHeight,document.documentElement.clientHeight),ie=he.getBoundingClientRect(),ue=(ce-ie.width)/2,se=(oe-ie.height)/2;se<0&&(se=0),he.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(ue<40?he.style.left="40px":he.style.left=ue+"px",he.style.top=se+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(se<40?he.style.top="40px":he.style.top=se+"px",he.style.left=ue+"px")}function pe(he,ce){var oe=he.querySelector(".appletParameters");if(oe){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(ce.id!==oe.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(he)}if(oe.parentElement&&/fullscreen/.test(oe.parentElement.className))return;var ie=je(ce,he);ct()&&oe.setAttribute("data-param-scale",ie);for(var ue=null,se=0;se=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(ct){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(ct){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(ct){var ot=c[ct];return ot==null?null:ot},r=d,webModule.__errFn=e}function B(){function ct(he){var ce=he.lastIndexOf(rb);ce==-1&&(ce=he.length);var oe=he.indexOf(sb);oe==-1&&(oe=he.length);var ie=he.lastIndexOf(tb,Math.min(oe,ce));return ie>=O?he.substring(O,ie+P):W}function ot(he){if(!he.match(/^\w+:\/\//)){var ce=o.createElement(ub);ce.src=he+vb,he=ct(ce.src)}return he}function Se(){var he=__gwt_getMetaProperty(wb);return he!=null?he:W}function ye(){for(var he=o.getElementsByTagName(_),ce=O;ceO?he[he.length-P].href:W}function E(){var he=o.location;return he.href==he.protocol+zb+he.host+he.pathname+he.search+he.hash}var pe=Se();return pe==W&&(pe=ye()),pe==W&&(pe=je()),pe==W&&E()&&(pe=ct(o.location.href)),pe=ot(pe),pe}function C(ct){return ct.match(/^\//)||ct.match(/^[a-zA-Z]+:\/\//)?ct:webModule.__moduleBase+ct}function D(){var ct=[],ot=O,Se=[],ye=[];function je(he){var ce=ye[he](),oe=Se[he];if(ce in oe)return ce;var ie=[];for(var ue in oe)ie[oe[ue]]=ue;throw r&&r(he,ie,ce),null}if(__gwt_isKnownPropertyValue=function(he,ce){return ce in Se[he]},webModule.__getPropMap=function(){var he={};for(var ce in Se)Se.hasOwnProperty(ce)&&(he[ce]=je(ce));return he},webModule.__computePropValue=je,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var E;try{E=Cb;var pe=E.indexOf(Db);pe!=-1&&(ot=parseInt(E.substring(pe+P),$),E=E.substring(O,pe))}catch(he){}return webModule.__softPermutationId=ot,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})()},49291:function(ct,ot,Se){"use strict";Se.d(ot,{Ax:function(){return pe},Ds:function(){return he},KI:function(){return oe},SI:function(){return E},f1:function(){return je}});var ye=Se(38446);function je(ie){let ue=!0;if(ie.length>0){for(let se=0;seee in b?ce(b,ee,{enumerable:!0,configurable:!0,writable:!0,value:z}):b[ee]=z,ne=(b,ee)=>{for(var z in ee||(ee={}))se.call(ee,z)&&re(b,z,ee[z]);if(ue)for(var z of ue(ee))ae.call(ee,z)&&re(b,z,ee[z]);return b},te=(b,ee)=>oe(b,ie(ee)),a=(b,ee,z)=>new Promise((le,de)=>{var ge=be=>{try{me(z.next(be))}catch(ve){de(ve)}},fe=be=>{try{me(z.throw(be))}catch(ve){de(ve)}},me=be=>be.done?le(be.value):Promise.resolve(be.value).then(ge,fe);me((z=z.apply(b,ee)).next())}),x=({description:b,code:ee,showData:z={},sendParams:le={},allShow:de=!1})=>{const ge=[{img:Se(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:z==null?void 0:z.ai_exam_question,type:1},{img:Se(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:ee,show:z==null?void 0:z.ai_syntax_check,type:5},{img:Se(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:ee,show:z==null?void 0:z.ai_code_diagnosis,type:2},{img:Se(62849),name:"AI\u8F85\u5BFC",des:"\u4E3A\u5B66\u751F\u63D0\u4F9B\u4E2A\u6027\u5316\u667A\u80FD\u5B66\u4E60\u8F85\u5BFC",description:b,query:ee,show:z==null?void 0:z.ai_guidance,type:3}],fe=me=>{const{setChatData:be,setLoading:ve,getData:Pe,clearStatus:Ee,typing:_e}=me;let Ce=ge;return de||(Ce=ge.filter(xe=>xe.show)),ye.createElement("div",{className:`${E.bigTips} mt10`},Ce.map((xe,we)=>ye.createElement("div",{onClick:()=>a(void 0,null,function*(){if(_e){pe.ZP.warning("\u8BF7\u7B49\u5F85\u4EFB\u52A1\u5B8C\u6210");return}const De=Date.now();ve(!0),Ee(),be([{text:xe.query,key:De,sender:"user",show:!1},{loading:!0,key:De,sender:"AI",show:!0}]),Pe("",ne({type:xe.type,description:xe.description,query:xe.query,file_id:"",history:[],is_chat:!1},le))}),key:we,className:E.item},ye.createElement(he.Z,{align:"middle"},ye.createElement("img",{className:"mr10",src:xe.img}),ye.createElement("span",{style:{color:"#232B40",fontSize:16,fontWeight:600}},xe.name)),ye.createElement("div",{className:"mt10",style:{color:"#434D6C"}},xe.des))))};return ye.createElement(je.Z,{title:"\u667A\u80FD\u52A9\u6559",hideInputBox:de?!1:!(z!=null&&z.ai_q_and_a),headFunctionNode:fe,showSwitchingModel:!0,fetchData:te(ne({},le),{is_chat:!0}),topPercentage:(le==null?void 0:le.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"})}},11392:function(ct,ot,Se){"use strict";Se.d(ot,{Z:function(){return xn}});var ye=Se(59301),je=Se(8591),E=Se(54580),pe=Se(43418),he=Se(92832),ce=Se(3113),oe=Se(6848),ie=Se(43428),ue=Se(71418),se=Se(92310),ae=Se.n(se),re=Se(19999),ne=Se(77596),te=Se(66422),a=Se(14179),y=Se(56102),x={answer:"answer___UngkO",codeCopy:"codeCopy___re8vm"},b=Se(35328),ee=Se(30084),z=Se(2878),le=Se(59301),de=Object.defineProperty,ge=Object.getOwnPropertySymbols,fe=Object.prototype.hasOwnProperty,me=Object.prototype.propertyIsEnumerable,be=(Ft,At,bt)=>At in Ft?de(Ft,At,{enumerable:!0,configurable:!0,writable:!0,value:bt}):Ft[At]=bt,ve=(Ft,At)=>{for(var bt in At||(At={}))fe.call(At,bt)&&be(Ft,bt,At[bt]);if(ge)for(var bt of ge(At))me.call(At,bt)&&be(Ft,bt,At[bt]);return Ft},Pe=(Ft,At)=>{var bt={};for(var tn in Ft)fe.call(Ft,tn)&&At.indexOf(tn)<0&&(bt[tn]=Ft[tn]);if(Ft!=null&&ge)for(var tn of ge(Ft))At.indexOf(tn)<0&&me.call(Ft,tn)&&(bt[tn]=Ft[tn]);return bt},Ee=(Ft,At,bt)=>new Promise((tn,Qt)=>{var dn=ft=>{try{dt(bt.next(ft))}catch(gt){Qt(gt)}},mn=ft=>{try{dt(bt.throw(ft))}catch(gt){Qt(gt)}},dt=ft=>ft.done?tn(ft.value):Promise.resolve(ft.value).then(dn,mn);dt((bt=bt.apply(Ft,At)).next())}),Ce=({value:Ft,streamingStatus:At,onFinish:bt,cancelIndex:tn,interval:Qt=20})=>{const[dn,mn]=(0,ye.useState)(""),dt=(0,ye.useRef)(""),ft=(0,ye.useRef)(!0),gt=(0,ye.useRef)(0),Gt=(0,ye.useRef)(null),[un,Kt]=(0,ye.useState)(!1);(0,ye.useEffect)(()=>{ft.current=At},[At]),(0,ye.useEffect)(()=>{dt.current=Ft},[Ft]),(0,ye.useEffect)(()=>(Kt(!0),Gt.current=setInterval(Gn,Qt),()=>{clearInterval(Gt.current)}),[]),(0,ye.useEffect)(()=>{un&&(mn(dt.current),clearInterval(Gt.current),Kt(!1),bt())},[tn]);const Gn=()=>Ee(void 0,null,function*(){const Nn=dt.current[gt.current];Nn!==void 0?(mn(jn=>jn+Nn),gt.current++):ft.current===!1&&(mn(dt.current),clearInterval(Gt.current),Kt(!1),bt())}),hn=(0,ye.useMemo)(()=>dn.split(new RegExp("(```.*?```)","gs")).map(er=>er.startsWith("```")?er:er.replace(/`(\$\$[^`]+?\$\$)`/g,"$1")).join(""),[dn]);return le.createElement("div",{className:`${x.answer} fadeIn animated`},le.createElement(re.U,{remarkPlugins:[ee.Z],rehypePlugins:[b.Z,te.Z],components:{code(Nn){var jn=Nn,{node:er,inline:zt,className:Ot,children:Pt}=jn,Wt=Pe(jn,["node","inline","className","children"]);const Ct=/language-(\w+)/.exec(Ot||"");return!zt&&Ct?le.createElement("div",{className:x.codeCopy},le.createElement(y.CopyToClipboard,{text:String(Pt).replace(/\n$/,""),onCopy:()=>je.ZP.success({content:"\u590D\u5236\u6210\u529F",key:"copy"})},le.createElement("button",null,"\u590D\u5236")),le.createElement(ne.Z,ve({style:a.Z,language:Ct[1],PreTag:"div",showLineNumbers:!0,lineNumberStyle:{minWidth:"40px"}},Wt),String(Pt||"").replace(/\n$/,""))):le.createElement("code",ve({className:Ot},Wt),Pt)}}},`${hn}${un?"__":""}`))},xe={reasoning:"reasoning___S0mKl",btn:"btn____CIJG",content:"content___CIAh9"},we=Se(59301),De=(Ft,At,bt)=>new Promise((tn,Qt)=>{var dn=ft=>{try{dt(bt.next(ft))}catch(gt){Qt(gt)}},mn=ft=>{try{dt(bt.throw(ft))}catch(gt){Qt(gt)}},dt=ft=>ft.done?tn(ft.value):Promise.resolve(ft.value).then(dn,mn);dt((bt=bt.apply(Ft,At)).next())}),Fe=({value:Ft="",streamingStatus:At,onFinish:bt,cancelIndex:tn,time:Qt,interval:dn=70,loading:mn})=>{const[dt,ft]=(0,ye.useState)(""),[gt,Gt]=(0,ye.useState)(!0),un=(0,ye.useRef)(""),Kt=(0,ye.useRef)(!0),Gn=(0,ye.useRef)(0),hn=(0,ye.useRef)(null),[Nn,jn]=(0,ye.useState)(!1);(0,ye.useEffect)(()=>{Kt.current=At},[At]),(0,ye.useEffect)(()=>{un.current=Ft},[Ft]),(0,ye.useEffect)(()=>(jn(!0),hn.current=setInterval(er,dn),()=>{clearInterval(hn.current)}),[]),(0,ye.useEffect)(()=>{Nn&&(ft(un.current),clearInterval(hn.current),jn(!1),bt())},[tn]);const er=()=>De(void 0,null,function*(){const zt=un.current[Gn.current];zt!==void 0?(ft(Ot=>Ot+zt),Gn.current++):Kt.current===!1&&(ft(un.current),clearInterval(hn.current),jn(!1),bt())});return we.createElement("div",{className:`${xe.reasoning} fadeIn animated`},we.createElement("div",{className:xe.btn,onClick:()=>Gt(!gt)},we.createElement("i",{className:"iconfont icon-shendusikao"}),Qt?we.createElement("span",null,"\u5DF2\u6DF1\u5EA6\u601D\u8003\uFF08\u7528\u65F6 ",Qt," \u79D2\uFF09"):we.createElement("span",null,"\u601D\u8003\u4E2D..."),gt?we.createElement("b",{className:"iconfont icon-shouqi6"}):we.createElement("b",{className:"iconfont icon-zhankai6"})),mn&&we.createElement(ue.Z,{spinning:!0,className:"mt20"}),gt&&!mn&&we.createElement("div",{className:xe.content},dt,Nn?we.createElement("span",{className:"aiBlink"},"__"):""))},Le={select:"select___Kt_GE",box:"box___S5_ly",text:"text___dtZDv",itemWrap:"itemWrap___xmw7x",item:"item___io6Bx",active:"active___nHRTI"},Qe=Se(81327),He=Object.defineProperty,ze=Object.getOwnPropertySymbols,Ke=Object.prototype.hasOwnProperty,Ge=Object.prototype.propertyIsEnumerable,ke=(Ft,At,bt)=>At in Ft?He(Ft,At,{enumerable:!0,configurable:!0,writable:!0,value:bt}):Ft[At]=bt,Ne=(Ft,At)=>{for(var bt in At||(At={}))Ke.call(At,bt)&&ke(Ft,bt,At[bt]);if(ze)for(var bt of ze(At))Ge.call(At,bt)&&ke(Ft,bt,At[bt]);return Ft};const Ve=Ft=>React.createElement("svg",Ne({className:"logo1_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:200,height:200},Ft),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 Je="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+PHBhdGggZD0iTTEwMTkuNDA3IDYyMC44IDg5MS44MzQgMzk3Ljc4MSA5NDYuNDkgMjkzLjEyYTI5LjA5OSAyOS4wOTkgMCAwIDAgNi40LTM2LjM5NWwtNzAuMTg3LTEyNi41OTJhMzAuMDggMzAuMDggMCAwIDAtMjQuNTc2LTEzLjY1M0g1OTcuNTE5TDUzOS4xOTQgMTQuNTA3YTI3LjM1IDI3LjM1IDAgMCAwLTIwLjkwNy0xNC41NUgzODAuNjQ0YTI5LjE0MSAyOS4xNDEgMCAwIDAtMjQuNjE4IDE0LjU1djUuNTQ2TDIyNS44MDYgMjQzLjAzSDEwMC45MjNhMjkuMTg0IDI5LjE4NCAwIDAgMC0yNS41MTUgMTMuNjU0TDMuNDI4IDM4NC4wODVhMzIuNzY4IDMyLjc2OCAwIDAgMCAwIDI5LjE4NEwxMzIuODM2IDYzOC4wOCA3NC41MTEgNzQwLjA1M2EzMi43NjggMzIuNzY4IDAgMCAwIDAgMjkuMDU2bDY2LjUxNyAxMTYuNTY2YTI5LjkwNyAyOS45MDcgMCAwIDAgMjUuNTE1IDE0LjUwNkg0MjcuMTVsNjIuODQ4IDEwOS4yMjdBMzAuMDggMzAuMDggMCAwIDAgNTEyLjc4MyAxMDI0SDY2MC40MWEyOS4xNDEgMjkuMTQxIDAgMCAwIDI0LjU3Ni0xNC41NWwxMjguNDY5LTIyNC44NTNoMTE0Ljc3M2EzMS45MTUgMzEuOTE1IDAgMCAwIDI0LjY2Mi0xNS40NDVsNjYuNDc0LTExNy40MTlhMjguMTYgMjguMTYgMCAwIDAgMC0zMC45NzZsLjA0My4wNDN6bS0xNjEuMjggMTQuNTkyTDc5MS42MSA1MTIuNDY5IDUxOC4yODcgOTkzLjk2M2wtNzQuNzUyLTEyMi44OGgtMjczLjI4bDY1LjYyMS0xMTkuMjExaDEzOS4zOTJMMTAxLjg2IDI3Mi4yMTNoMTQzLjA2MkwzODAuNjg3IDMwLjA4bDY4LjM1MiAxMTkuMjUzLTcwLjE4NyAxMjIuODhIOTI1LjU0bC02OS4yMDUgMTIxLjk0MiAxMzcuNiAyNDEuMTk0SDg1OC4xN3oiIGZpbGw9IiM2MDVCRUMiLz48cGF0aCBkPSJtNDk5Ljk4MyA2OTkuMzA3IDE3NC4zNzktMjc0LjczMUgzMjQuNzA4eiIgZmlsbD0iIzYwNUJFQyIvPjwvc3ZnPg==",rt=Object.defineProperty,Ye=Object.getOwnPropertySymbols,Ue=Object.prototype.hasOwnProperty,Ie=Object.prototype.propertyIsEnumerable,Ze=(Ft,At,bt)=>At in Ft?rt(Ft,At,{enumerable:!0,configurable:!0,writable:!0,value:bt}):Ft[At]=bt,Te=(Ft,At)=>{for(var bt in At||(At={}))Ue.call(At,bt)&&Ze(Ft,bt,At[bt]);if(Ye)for(var bt of Ye(At))Ie.call(At,bt)&&Ze(Ft,bt,At[bt]);return Ft};const We=Ft=>React.createElement("svg",Te({className:"logo2_svg__icon",viewBox:"0 0 1417 1024",xmlns:"http://www.w3.org/2000/svg",width:276.758,height:200},Ft),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 at="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDE0MTcgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjc2Lj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AwIDEtNDQuNTA0LTEzLjU0OGMtMTUuMjgyLTEyLjI4OC0yNi4yMy0xOS4xNDEtMzAuNzItNDAuNjQ1YTg5LjE2NyA4OS4xNjcgMCAwIDEgLjc4Ny0zMS40MjljMy45MzktMTcuNDg3LS4zOTMtMjguNzUtMTMuMzEyLTM4LjkxMi0xMC40NzYtOC4zNS0yMy43MS0xMC42MzQtMzguMzYtMTAuNjM0YTMyLjA2IDMyLjA2IDAgMCAxLTE0LjE3OS00LjE3NWMtNi4xNDQtMi45MTQtMTEuMTA2LTEwLjI0LTYuMzAxLTE5LjE0YTYwLjE4IDYwLjE4IDAgMCAxIDEwLjcxMi0xMS4yNjVjMTkuODUtMTAuNzkgNDIuNjkzLTcuMjQ2IDYzLjg4Mi43ODggMTkuNjkzIDcuNzk4IDM0LjUwMSAyMS44OTggNTUuOTI2IDQxLjkwNSAyMS43NCAyNC4xODMgMjUuNjggMzAuOCAzOC4xMjUgNDguOTE2IDkuODQ2IDE0LjE3OSAxOC43NDcgMjguNzUgMjQuODkgNDUuNDUgMy43MDMgMTAuMzk3LTEuMTAyIDE4LjkwNS0xMy45NDEgMjQuMTAzeiIgZmlsbD0iIzRENkJGRSIvPjwvc3ZnPg==",et=Se(59301),Be=({disabled:Ft,value:At,onChange:bt})=>{const[tn,Qt]=(0,ye.useState)(!1),dn=[{name:"\u901A\u4E49\u5343\u95EE",key:"qwen-max",img:Je},{name:"DeepSeek",key:"deepseek-r1",img:at}],mn=dn.find(dt=>dt.key===At);return et.createElement("div",{className:Le.select},et.createElement(Qe.Z,{size:10},et.createElement("span",{className:"c-grey-333 font16"},"\u6A21\u578B"),et.createElement("div",{className:Le.box,onMouseLeave:()=>Qt(!1)},et.createElement("div",{className:Le.text,onClick:()=>Qt(!0)},et.createElement("img",{src:mn.img,width:20}),et.createElement("span",null,mn.name),et.createElement("b",{className:"iconfont icon-zhankai6"})),tn&&et.createElement("div",{className:Le.itemWrap},et.createElement("aside",null,dn.map(dt=>et.createElement("div",{key:dt.key,className:`${Le.item} ${dt.key===At?Le.active:""}`,onClick:ft=>{ft.stopPropagation(),bt(dt.key),Qt(!1)}},et.createElement("img",{src:dt.img,width:20}),et.createElement("span",null,dt.name))))))))},Ae={loading:"loading___UEUk1",dot:"dot___TYXFV","dot-fade":"dot-fade___KWn1a",wrap:"wrap___nU3cS",chatContainer:"chatContainer___PNe3Q",footerContainer:"footerContainer___hQATV",footerContainerSelected:"footerContainerSelected___pGBh3",btnWrp:"btnWrp___mS8l6",inputContainer:"inputContainer___iCQ3u",thinkBtnActive:"thinkBtnActive___Z1xij",full:"full___dZLXo",lineFour:"lineFour___Lhbz5",fullIcon:"fullIcon___YWXTV",uploadBtn:"uploadBtn___OHHJF",sendBtn:"sendBtn___ktaQl",sendBtnDisabled:"sendBtnDisabled___DVncF",cancelBtn:"cancelBtn___bzMDI",uploadFile:"uploadFile___vZolT",li:"li___PjMV3",avatarIcon:"avatarIcon___ztGQ3",img:"img___wZqEA",content:"content___OlYYG",borderBox:"borderBox___tjHwt",text:"text___yWTCV",file:"file___fxAKb",action:"action___I2zGy",disabledInput:"disabledInput___Buork",backBottom:"backBottom___SMuL2"},Me=Se(7660),Re=Se(88230),nt=({src:Ft,onClick:At,topPercentage:bt=.62})=>{const tn=(0,ye.useRef)(null),Qt=(0,ye.useRef)(!1),dn=(0,ye.useRef)(!1),[mn,dt]=(0,ye.useState)(window.innerHeight*bt);return(0,ye.useEffect)(()=>{var ft;if(tn.current){let gt=function(hn){var Nn;Qt.current=!0,Kt=hn.pageY,Gn=(Nn=tn.current.getBoundingClientRect())==null?void 0:Nn.top,(0,Re.kk)("none"),document.onselectstart=function(){return!1}},Gt=function(){!dn.current&&At&&At(),Qt.current=!1,dn.current=!1,(0,Re.kk)("auto"),document.onselectstart=null},un=function(hn){var Nn;if(Qt.current){dn.current=!0;const jn=Kt-hn.pageY;let er=Gn-jn;const zt=window.innerHeight-(((Nn=tn.current)==null?void 0:Nn.offsetHeight)||0)-50,Ot=50;erzt&&(er=zt),dt(er),console.log(Kt,hn.pageY)}};Qt.current=!1;let Kt=0,Gn=0;return(ft=tn.current)==null||ft.addEventListener("mousedown",gt),document.addEventListener("mousemove",un),document.addEventListener("mouseup",Gt),()=>{var hn;(hn=tn.current)==null||hn.removeEventListener("mousedown",gt),document.removeEventListener("mousemove",un),document.removeEventListener("mouseup",Gt)}}},[tn,At]),(0,ye.useEffect)(()=>{const ft=()=>{dt(window.innerHeight*bt)};return window.addEventListener("resize",ft),()=>{window.removeEventListener("resize",ft)}},[]),ye.createElement("div",{style:{position:"fixed",top:mn,right:20,zIndex:100,cursor:Qt.current?"grabbing":"grab",userSelect:"none"},ref:tn},ye.createElement("img",{src:Ft,width:60,style:{pointerEvents:"none"},draggable:"false"}))},$e="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAAAXNSR0IArs4c6QAAIABJREFUeF6VnQmAnGV9/z/vMffeV3azuRMCSUgCSQggiCBFEE9UvFpqW6utFopa71bx6GHRWq31xKtSFS0eqICV+wwSIJKQkDvZJJvsObOzO/d7PH9/z/O+s5sY2/4XhpmdnXln3u/7/f1+39/xPFj8H39Wr742GRaOXaYs65WWnVhtuc58y7Lmh4oWZYFv2fpIgdxZFtg2oZMgdByU7eA7Npbt6L958rttUXMsQtsCyyawLEI5gC0HMMcCpf8193ILIVT6ZoUhlgqxw5BEoLAD87ulAuxQkZC/h4ogDHBCX79eXivHsfShQizkOJQsFR63FMdVGO6yHfWz1s4FD+za9V+N/ws01v/2otVLzuv36tZHwfpDlN1m2w6W62LLiVpyLhahpQixNRiBxkPAE+BcQtvRj+Veyd8dG99x8CyLIOESuC4qlPcJ6BH48lgOHoMnXzIMIAJA7gUQ/VwQ4obgBgGOgBiGOAiIIY4fEqoQFXoazEQIlrwnuhhKLoB8hgZXPlH/IhdsGmV911HpTxwef3Dkf8Lo9wL40hUvTR0uTfxtiHpPYFk527KxQhfLtbGdhAZJoQiEEChC+V1AsS0sR8AU0IS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PC1mtc2/mZv///ojj90punz2WfN/nntvQHFezmRXpPcdP3bIqIL8whGWF6xc+04oL7kqQ2Pfpu5omAZThNY6GWuV4waWOp6xcGg0UDPtuWn/lj/j+X+Lbso4jJUfOwAAAABJRU5ErkJggg==",it=Se(38446),lt=Se(86204),ut=Object.defineProperty,vt=(Ft,At,bt)=>At in Ft?ut(Ft,At,{enumerable:!0,configurable:!0,writable:!0,value:bt}):Ft[At]=bt,pt=(Ft,At,bt)=>vt(Ft,typeof At!="symbol"?At+"":At,bt),mt=(Ft,At,bt)=>new Promise((tn,Qt)=>{var dn=ft=>{try{dt(bt.next(ft))}catch(gt){Qt(gt)}},mn=ft=>{try{dt(bt.throw(ft))}catch(gt){Qt(gt)}},dt=ft=>ft.done?tn(ft.value):Promise.resolve(ft.value).then(dn,mn);dt((bt=bt.apply(Ft,At)).next())});class St extends lt.EventEmitter{constructor(At,bt){super(),pt(this,"url"),pt(this,"body"),pt(this,"fullContent",""),pt(this,"controller",null),this.url=At,this.body=bt}startStream(){return mt(this,null,function*(){this.controller=new AbortController;const{signal:At}=this.controller;try{const bt=yield fetch(this.url,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},credentials:"include",body:JSON.stringify(this.body),signal:At});if(!bt.ok)throw new Error(`\u8BF7\u6C42\u5931\u8D25: ${bt.status}`);const tn=bt.headers.get("content-type");if(!tn||!tn.includes("text/event-stream"))throw new Error("\u54CD\u5E94\u6570\u636E\u683C\u5F0F\u9519\u8BEF");const Qt=bt.body.getReader(),dn=new TextDecoder("utf-8");for(;;){const{done:mn,value:dt}=yield Qt.read();if(mn)break;const gt=dn.decode(dt,{stream:!0}).split(` -`);for(const Gt of gt)if(Gt.startsWith("data:")){const un=Gt.slice(5).trim();if(un==="[DONE]")break;try{const Kt=JSON.parse(un);Kt.data&&this.handleData(Kt.data)}catch(Kt){console.error("\u89E3\u6790 JSON \u5931\u8D25:",Kt)}}}this.emit("done",this.fullContent)}catch(bt){bt.name==="AbortError"?this.emit("cancelled",this.fullContent):this.emit("error",bt.message)}})}handleData(At){At.content&&(this.fullContent+=At.content,this.emit("data",{chunk:At,full:this.fullContent}))}cancelRequest(){var At;(At=this.controller)==null||At.abort()}}var xt=St,Mt=Se(58617),yt=Se(32050),wt=Object.defineProperty,Lt=Object.defineProperties,cn=Object.getOwnPropertyDescriptors,Vt=Object.getOwnPropertySymbols,an=Object.prototype.hasOwnProperty,Zt=Object.prototype.propertyIsEnumerable,$t=(Ft,At,bt)=>At in Ft?wt(Ft,At,{enumerable:!0,configurable:!0,writable:!0,value:bt}):Ft[At]=bt,Ut=(Ft,At)=>{for(var bt in At||(At={}))an.call(At,bt)&&$t(Ft,bt,At[bt]);if(Vt)for(var bt of Vt(At))Zt.call(At,bt)&&$t(Ft,bt,At[bt]);return Ft},rn=(Ft,At)=>Lt(Ft,cn(At)),In=(Ft,At,bt)=>new Promise((tn,Qt)=>{var dn=ft=>{try{dt(bt.next(ft))}catch(gt){Qt(gt)}},mn=ft=>{try{dt(bt.throw(ft))}catch(gt){Qt(gt)}},dt=ft=>ft.done?tn(ft.value):Promise.resolve(ft.value).then(dn,mn);dt((bt=bt.apply(Ft,At)).next())}),xn=({title:Ft="\u5934\u6B4CAI",placeholder:At,hideUpload:bt,hideInputBox:tn,aiIcon:Qt=$e,userIcon:dn=tt,dragIcon:mn=st,children:dt,fetchUrl:ft,fetchData:gt={},extraAnswerAction:Gt,showDefaultTips:un=!0,onOpen:Kt,onClose:Gn,loadingOption:hn,showPreference:Nn=!1,initMessage:jn,initMessageType:er,customRequest:zt,visible:Ot,width:Pt=1200,isCheckRestrictNumber:Wt=!1,headNode:Ct,headFunctionNode:Dt,showRedraw:kt,showEdit:on,promptPropName:sn="prompt",topPercentage:vn,showSwitchingModel:Pn=!1})=>{var wn,yn,Ln,On,It;const[qn,Un]=(0,ye.useState)(!1),[Yn,pn]=(0,ye.useState)("qwen-max"),[_t,Ht]=(0,ye.useState)([]),[gn,Jt]=(0,ye.useState)(!1),[_n,Wn]=(0,ye.useState)(!1),[Bn,zn]=(0,ye.useState)([]),[rr,yr]=(0,ye.useState)(""),[hr,en]=(0,ye.useState)(0),[Ar,_r]=(0,ye.useState)(!1),[xr,ur]=(0,ye.useState)(null),[vr,fr]=(0,ye.useState)(""),ar=(0,ye.useRef)(),Rn=(0,ye.useRef)(null),Kn=(0,ye.useRef)(null),[cr,Xn]=(0,ye.useState)(!1),[dr,or]=(0,ye.useState)(!1),br=(0,ye.useRef)(!1),wr=(0,ye.useRef)(""),[ir,Br]=(0,ye.useState)(0),[Lr,Dr]=(0,ye.useState)(!0),jr=(0,ye.useRef)(!1),ht=rr==null?void 0:rr.split(` -`).length,Tt=Pt-48,Et={maxCount:1,showUploadList:!1,withCredentials:!0,accept:".doc,.docx,.md,.txt,.pdf,.jpg,.png",beforeUpload:Bt=>{var Sn,bn,Xt,kn;const Vn=(kn=(Xt=(bn=(Sn=Bt==null?void 0:Bt.name)==null?void 0:Sn.split("."))==null?void 0:bn.slice(-1))==null?void 0:Xt[0])==null?void 0:kn.toLowerCase(),nr=["doc","docx","md","pdf","txt","jpg","png"].includes(Vn);return Bt.size==0?(je.ZP.warning("\u6587\u4EF6\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A"),E.default.LIST_IGNORE):nr||(je.ZP.warning("\u76EE\u524D\u652F\u6301txt\u3001md\u3001doc\u3001docx\u3001pdf\u3001jpg\u3001png\u6587\u4EF6"),E.default.LIST_IGNORE)},onChange:({file:Bt})=>{Ht([Bt])},action:`${(wn=it.Z)==null?void 0:wn.API_SERVER}/api/intelligent_imports/upload_file.json`};(0,ye.useEffect)(()=>{var Bt;if(cr)return;let Sn;const bn=()=>{clearTimeout(Sn),Sn=setTimeout(()=>{if(ar.current){const{scrollTop:Xt,scrollHeight:kn,clientHeight:Vn}=ar.current,Hn=Xt+Vn>kn-70;Dr(Hn)}},300)};if(ar.current)return bn(),(Bt=ar.current)==null||Bt.addEventListener("scroll",bn),()=>{var Xt;(Xt=ar.current)==null||Xt.removeEventListener("scroll",bn)}},[ar.current,cr]),(0,ye.useEffect)(()=>{if(!Bn.length)return;const Bt=Bn[Bn.length-1];Bt!=null&&Bt.loading&&ar.current.scrollTo({top:ar.current.scrollHeight,behavior:"smooth"})},[Bn.length]),(0,ye.useEffect)(()=>{if(!cr)return;const Bt=ar.current,Sn=Bt.lastElementChild;if(!Sn)return;const bn=new ResizeObserver(()=>{const{scrollTop:Xt,scrollHeight:kn,clientHeight:Vn}=Bt,Hn=Xt+Vn>kn-70;Dr(Hn),Hn&&(Bt.scrollTop=Bt.scrollHeight)});return bn.observe(Sn),()=>{bn.unobserve(Sn)}},[cr]),(0,ye.useEffect)(()=>{typeof Ot=="boolean"&&Un(Ot)},[Ot]),(0,ye.useEffect)(()=>{typeof Ot=="boolean"&&Un(Ot)},[Ot]),(0,ye.useEffect)(()=>{var Bt;if(Rn.current&&xr!==null){Rn.current.focus();const Sn=(Bt=Rn.current.resizableTextArea)==null?void 0:Bt.textArea;Sn&&(Sn.selectionStart=Sn.selectionEnd=Sn.value.length)}},[xr]),(0,ye.useEffect)(()=>{ht<5&&_r(!1)},[ht]),(0,ye.useEffect)(()=>{const Bt=Date.now();qn&&er===1&&(zn([{text:jn,key:Bt,sender:"user",show:!0},{loading:!0,key:Bt,sender:"AI",show:!0}]),Jt(!0),Yt(jn)),qn&&er===2&&jn&&(zn([...Bn,{text:jn,key:Bt,sender:"user",show:!0},{loading:!0,key:Bt,sender:"AI",show:!0}]),Jt(!0),Yt(jn)),qn&&er===3&&(zn([{text:jn,key:Bt,sender:"user",show:!1},{loading:!0,key:Bt,sender:"AI",show:!0}]),Jt(!0),Yt()),qn&&er===4&&(jn||Bn.length===0)&&(zn([...Bn,{text:jn,key:Bt,sender:"user",show:!!Bn.length},{loading:!0,key:Bt,sender:"AI",show:!0}]),Jt(!0),Yt(jn)),qn&&Wt&&qt(),qn||jt()},[qn]);const jt=()=>{var Bt,Sn;fr(""),ur(null),Ht([]),yr(""),(Sn=(Bt=Kn.current)==null?void 0:Bt.cancelRequest)==null||Sn.call(Bt)},Nt=()=>{if(Kt){Kt();return}Un(!0)},Rt=()=>{if(Gn){Gn();return}Un(!1)},ln=()=>{_r(!Ar)},qt=()=>In(void 0,null,function*(){const Bt=yield(0,Me.ZP)("/api/intelligent_imports/check_number.json",{method:"get"});(Bt==null?void 0:Bt.status)===0&&en(Bt==null?void 0:Bt.number)}),nn=()=>{pe.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"))})},fn=Bt=>Bt.reduce((bn,Xt)=>{var kn,Vn;if(Xt.sender==="user"){const Hn=Bt.find(nr=>nr.key===Xt.key&&nr.sender==="AI");Hn&&!((Vn=(kn=Hn==null?void 0:Hn.response)==null?void 0:kn.data)!=null&&Vn.message)&&bn.push({question:Xt.text,answer:Hn.text})}return bn},[]),Yt=(...Bt)=>In(void 0,[...Bt],function*(Sn="",bn={},Xt=Bn){if(zt&&(yield zt({mes:Sn,setChatData:zn,fileList:_t,body:bn,checkNum:qt,setLoading:Jt,bodyChatData:Xt,setTyping:Xn})),!zt){br.current=dr,wr.current=Yn;const kn=_t==null?void 0:_t.map(Qn=>{var pr;return(pr=Qn==null?void 0:Qn.response)==null?void 0:pr.file_id}),Vn=bn.history||fn(Bn),Hn=Ut(Ut({response_mode:"streaming",model:Yn,thinking_enabled:dr,file_id:(kn==null?void 0:kn[0])||"",[sn]:Sn,history:Vn},gt),bn),nr=Object.fromEntries(Object.entries(Hn).filter(([Qn,pr])=>pr!==void 0));Kn.current=new xt(it.Z.API_SERVER+ft,nr),yield new Promise((Qn,pr)=>{let Mr=null,Or=null;Kn.current.on("data",Ir=>{Xn(!0);const{chunk:{content:gr,type:An,created:Zn}}=Ir;An==="thinking"&&(Mr=Mr||Zn,zn(mr=>[...mr].map((Er,Nr)=>Nr===mr.length-1?rn(Ut({},Er),{reasoning:(Er.reasoning||"")+gr,loading:!1,hideAnswer:!0}):Er))),An==="text"&&(Or=Or||Zn,zn(mr=>[...mr].map((Er,Nr)=>Nr===mr.length-1?rn(Ut({},Er),{text:(Er.text||"")+gr,loading:!1,startTime:Mr,endTime:Or}):Er)))}),Kn.current.on("done",()=>{Qn()}),Kn.current.on("error",()=>{const Ir="\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!",gr={status:0,data:{message:Ir}};zn(An=>[...An].map((Zn,mr)=>mr===An.length-1?rn(Ut({},Zn),{text:Ir,loading:!1,response:gr}):Zn)),Qn()}),Kn.current.on("cancelled",()=>{Qn()}),Kn.current.startStream()})}Wt&&qt(),Jt(!1)}),Mn=Bt=>{yr(Bt.target.value)},En=(Bt,Sn)=>{var bn,Xt,kn,Vn;const Hn=Date.now();if(jt(),Jt(!0),Bt==="edit"){const nr=Bn.splice(Sn),{fileList:Qn}=(nr==null?void 0:nr[0])||{},pr=((Xt=(bn=Qn==null?void 0:Qn[0])==null?void 0:bn.response)==null?void 0:Xt.file_id)||"",Mr={history:fn(Bn),file_id:pr};zn([...Bn,{text:vr,key:Hn,sender:"user",fileList:Qn,show:!0},{loading:!0,key:Hn,sender:"AI",show:!0}]),Yt(vr,Mr,Bn)}if(Bt==="redraw"){const nr=Bn.splice(Sn-1),{text:Qn,fileList:pr}=(nr==null?void 0:nr[0])||{},Mr=((Vn=(kn=pr==null?void 0:pr[0])==null?void 0:kn.response)==null?void 0:Vn.file_id)||"",Or={history:fn(Bn),file_id:Mr};zn([...Bn,{text:Qn,key:Hn,sender:"user",fileList:pr,show:!0},{loading:!0,key:Hn,sender:"AI",show:!0}]),Yt(Qn,Or,Bn)}},Fn=()=>{if(rr.trim()!==""){jt();const Bt=Date.now();zn([...Bn,{text:rr,key:Bt,sender:"user",fileList:_t,show:!0},{loading:!0,key:Bt,sender:"AI",show:!0}]),Jt(!0),Yt(rr)}},Dn=Bt=>{if(Bt.shiftKey){if(Bt.key==="Enter")return}else if(Bt.key==="Enter"){if(Bt.preventDefault(),Cr||jr.current)return;Fn()}},$n=(Bt,Sn)=>{var bn,Xt,kn;const Vn=(bn=Bt==null?void 0:Bt.fileList)==null?void 0:bn[0],Hn=Sn===xr;return ye.createElement("div",{className:Ae.li,style:{width:Tt}},ye.createElement("div",{className:Ae.avatarIcon},ye.createElement("img",{className:Ae.img,src:dn})),ye.createElement("div",{className:Ae.content},Vn&&ye.createElement("div",{className:Ae.file},ye.createElement("img",{src:Se(90034)(`./${((kn=(Xt=Vn==null?void 0:Vn.name)==null?void 0:Xt.split("."))==null?void 0:kn.pop())||"txt"}.png`),width:20,className:"mr10"}),ye.createElement("div",{className:"c-black"},ye.createElement("div",null,(0,Re.tP)(Vn==null?void 0:Vn.name,20)),ye.createElement("div",null,(0,Re.RD)(Vn==null?void 0:Vn.size)))),ye.createElement("div",{className:Ae.borderBox},Hn?ye.createElement(he.default.TextArea,{value:vr,ref:Rn,autoSize:!0,placeholder:"\u8BF7\u8F93\u5165",bordered:!1,onChange:nr=>fr(nr.target.value)}):ye.createElement("div",{className:Ae.text},Bt==null?void 0:Bt.text)),Hn?ye.createElement("div",{className:Ae.action},ye.createElement(ce.ZP,{onClick:()=>{fr(""),ur(null)},size:"small"},"\u53D6\u6D88"),ye.createElement(ce.ZP,{disabled:!vr.trim(),onClick:()=>En("edit",Sn),type:"primary",size:"small"},"\u786E\u8BA4")):ye.createElement("div",{className:Ae.action},ye.createElement(y.CopyToClipboard,{text:(Bt==null?void 0:Bt.text)||"",onCopy:()=>je.ZP.success("\u590D\u5236\u6210\u529F")},ye.createElement(oe.Z,{title:"\u590D\u5236"},ye.createElement("i",{className:"iconfont icon-fuzhi8 font13"}))),on&&!gn&&ye.createElement(oe.Z,{title:"\u7F16\u8F91"},ye.createElement("i",{onClick:()=>{ur(Sn),fr((Bt==null?void 0:Bt.text)||"")},className:"iconfont icon-bianji10 font14"})))))},sr=(Bt,Sn)=>ye.createElement("div",{className:Ae.li,style:{width:Tt}},ye.createElement("div",{className:Ae.avatarIcon},ye.createElement("img",{className:Ae.img,src:Qt})),ye.createElement("div",{className:Ae.content},ye.createElement("div",{className:Ae.borderBox},Bt.loading&&!br.current&&ye.createElement("div",null,ye.createElement("div",{className:Ae.loading},ye.createElement("div",{className:Ae.dot}),ye.createElement("div",{className:Ae.dot}),ye.createElement("div",{className:Ae.dot})),ye.createElement("div",{style:{marginTop:10,color:"#9096A3"}},(hn==null?void 0:hn.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")),br.current&&ye.createElement(Fe,{time:Bt==null?void 0:Bt.time,cancelIndex:ir,loading:Bt.loading,streamingStatus:!(Bt!=null&&Bt.text),onFinish:()=>{zn(bn=>[...bn].map((Xt,kn)=>kn===bn.length-1?rn(Ut({},Xt),{hideAnswer:!1,time:Xt.startTime?Xt.endTime-Xt.startTime:null}):Xt))},value:Bt==null?void 0:Bt.reasoning}),!!(Bt!=null&&Bt.text)&&!Bt.hideAnswer&&ye.createElement(Ce,{cancelIndex:ir,interval:wr.current==="deepseek-r1"?70:20,streamingStatus:gn,onFinish:()=>{Xn(!1)},value:Bt==null?void 0:Bt.text})),ye.createElement("div",{className:Ae.action},Gt==null?void 0:Gt(Bt),ye.createElement(y.CopyToClipboard,{text:String((Bt==null?void 0:Bt.text)||""),onCopy:()=>je.ZP.success({content:"\u590D\u5236\u6210\u529F",key:"copy"})},ye.createElement(oe.Z,{title:"\u590D\u5236"},ye.createElement("i",{className:"iconfot icon-fuzhi8 font13"}))),Nn&&ye.createElement(ye.Fragment,null,ye.createElement(oe.Z,{title:"\u559C\u6B22"},ye.createElement("i",{style:Bt!=null&&Bt.like?{color:"#FA8D30"}:{},onClick:()=>Sr("like",!(Bt!=null&&Bt.like),Sn),className:"iconfot icon-yijiejue font15"})),ye.createElement(oe.Z,{title:"\u4E0D\u559C\u6B22"},ye.createElement("i",{style:Bt!=null&&Bt.boring?{color:"#e86d7c"}:{},onClick:()=>Sr("boring",!(Bt!=null&&Bt.boring),Sn),className:"iconfot icon-weijiejuezhengchang font15"}))),kt&&!gn&&ye.createElement(oe.Z,{title:"\u91CD\u65B0\u751F\u6210"},ye.createElement("i",{onClick:()=>En("redraw",Sn),className:"iconfot icon-gengxin-genghuan-tihuan"}))))),Sr=(Bt,Sn,bn)=>{zn(Xt=>(Xt[bn][Bt]=Sn,Sn&&(Xt[bn][Bt==="like"?"boring":"like"]=!1),[...Xt]))},Pr=()=>{var Bt,Sn;Br(bn=>bn+1),(Sn=(Bt=Kn.current)==null?void 0:Bt.cancelRequest)==null||Sn.call(Bt),Jt(!1),Xn(!1)},tr=hr>9,lr=bt||_t.length>0,Cr=!!(_t!=null&&_t.length)&&((yn=_t==null?void 0:_t[0])==null?void 0:yn.status)!=="done"||gn||cr;return console.log(_t,"fileList"),ye.createElement("div",null,dt?ye.createElement("div",{onClick:Nt},dt):ye.createElement(nt,{src:mn,onClick:Nt,topPercentage:vn}),ye.createElement(ie.Z,{open:qn,width:Pt,extra:Pn&&ye.createElement(Be,{disabled:Cr,value:Yn,onChange:Bt=>{or(!1),pn(Bt)}}),title:ye.createElement("span",{className:"c-grey-333 font16"},Ft),onClose:Rt,bodyStyle:{paddingRight:4}},ye.createElement("div",{className:ae()(Ae.wrap,qn&&"body-overflow-hidden")},ye.createElement("div",{ref:ar,className:Ae.chatContainer},un&&ye.createElement("div",{className:`${Ae.li} mb20`,style:{width:Tt}},ye.createElement("div",{className:Ae.avatarIcon},ye.createElement("img",{className:Ae.img,src:Qt})),ye.createElement("div",{className:Ae.content},ye.createElement("div",{className:Ae.borderBox},Ct,Dt==null?void 0:Dt({isDisabledNum:tr,checkNumModal:nn,checkNum:qt,onClose:Rt,setChatData:zn,setLoading:Jt,getData:Yt,clearStatus:jt,typing:cr})))),Bn==null?void 0:Bn.map((Bt,Sn)=>ye.createElement(ye.Fragment,{key:Bt.key+Sn},Bt.show&&ye.createElement(ye.Fragment,null,Bt.sender==="user"&&$n(Bt,Sn),Bt.sender==="AI"&&sr(Bt,Sn)))),!Lr&&ye.createElement("div",{className:Ae.backBottom,onClick:()=>{ar.current.scrollTo({top:ar.current.scrollHeight,behavior:"smooth"})}},ye.createElement("i",{className:"iconfont icon-huidaodibu"}))),!tn&&ye.createElement("div",{className:ae()(Ae.footerContainer,Ar&&Ae.full,(dr||!!_t.length)&&Ae.footerContainerSelected)},(Yn==="deepseek-r1"||!!_t.length)&&ye.createElement("div",{className:Ae.btnWrp},!!_t.length&&ye.createElement("div",{className:Ae.uploadFile},((Ln=_t==null?void 0:_t[0])==null?void 0:Ln.status)==="uploading"&&ye.createElement(ue.Z,{indicator:ye.createElement(Mt.Z,{spin:!0}),className:"mr10",size:"small",spinning:!0}),ye.createElement("span",{title:(On=_t==null?void 0:_t[0])==null?void 0:On.name,className:"mr10"},(0,Re.tP)((It=_t==null?void 0:_t[0])==null?void 0:It.name,40)),ye.createElement("i",{onClick:()=>Ht([]),className:"iconfont current icon-shanchu15 delete-hover c-red-ee4 font14"})),Yn==="deepseek-r1"&&ye.createElement("div",{onClick:()=>or(!dr),className:ae()(Ae.thinkBtn,dr&&Ae.thinkBtnActive)},ye.createElement("i",{className:"iconfont icon-shendusikao mr10"}),"\u6DF1\u5EA6\u601D\u8003\uFF08R1\uFF09")),ye.createElement(oe.Z,{title:tr&&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:ae()(Ae.inputContainer,ht>4&&Ae.lineFour,!!_t.length&&"pb40",tr&&Ae.disabledInput)},ye.createElement(E.default,rn(Ut({},Et),{className:`${lr&&"hide"}`}),ye.createElement(ce.ZP,{className:Ae.uploadBtn,icon:ye.createElement(yt.Z,{style:{fontSize:18,color:"#FFF"}})})),ye.createElement(he.default.TextArea,{rows:ht>4?4:ht,placeholder:At||"\u5728\u8FD9\u91CC\u8F93\u5165\u4F60\u95EE\u9898\u5427,Shift+Enter\u6362\u884C\uFF5E",value:rr,bordered:!1,style:lr?{paddingLeft:0,marginLeft:0}:{},onChange:Mn,onPressEnter:Dn,onCompositionStart:()=>{jr.current=!0},onCompositionEnd:()=>{jr.current=!1}}),cr?ye.createElement("div",{className:`iconfont icon-tingzhihuida ${Ae.cancelBtn}`,onClick:Pr}):ye.createElement(ce.ZP,{className:(rr==null?void 0:rr.trim())===""?Ae.sendBtnDisabled:Ae.sendBtn,icon:ye.createElement("i",{className:"iconfont icon-fasong2 c-white"}),disabled:Cr,onClick:Fn}),ht>4&&ye.createElement("span",{className:Ae.fullIcon,onClick:ln},Ar&&ye.createElement("span",{className:"iconfont icon-shousuo"}),!Ar&&ye.createElement("span",{className:"iconfont icon-zhankai"}))))))))}},71400:function(ct,ot,Se){"use strict";Se.d(ot,{Z:function(){return Ee},U:function(){return be}});var ye=Se(59301),je=Se(31797),E=Se(43418),pe=Se(1710),he=Se(20736),ce=Se(30897),oe=Se(61186),ie=Se.n(oe),ue={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"},se="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJwAAACwCAYAAAD61gcAAAAAAXNSR0IArs4c6QAAIABJREFUeF7tnQd4XHeZ7n9/zUgzkkZdsiX3XmM7xWlONYE0AsuyEMizwAKbDcuFAMvCXvbuEpwsZeksBNilLZBLKIGQUC+EVEKSTYN0O8W9W26SrK4593nP+X/jvyd2LCeOZMbR88gjz5w59T3v933vV47jpZ+XzsAIngE3gtsqiU3tiaJxFYNMzufZk6ngEZyLSuLARuggXgLcME90FN2aHST34fTQjDeQqplOfqibsp4/QOqjztXcMczVHPWLvQS4g0IgclH0eDm7HvsBmca/pBvI5/OUVZRRXQ9l1bupqHq9c+NvOuiqXlqAlwA3DBBEe655J71lX2F3T0Q64yjLQFkVuHREqttRXfkYVa2nO3fcrmGs7qhe5CXAHeTyR7eSpmHJvQxWH0dqLJSPgXQjpFuIgTe4ISLT42ia8XKXe+vNRzWahnHwLwHuYID7ERWkWUk540k7yNZDZi6kp0OqHIa2RFT1OSa+/H2u7kP/MYxzflQv8hLgDga4X5Ghi6epYAJpIAtk5kB6JpRlIWqPqBp0THrlP7v6D/37UY2mYRz8S4A7KOBmZNjzdAK4lACXhuwCKJ8KzgOuetAx5cJ/drkPvAS4g5zPlwB3MMA9NSPDQ08/TbkxXAYyx0L55MSHi7ZF5Jxj8nn/4qrf9/Fh3ORH9SIvAe5ggLv17Czttz9FJvIMl4XssZCelAAu3x5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UNrxIE6TkwoL/8d0321TbvzKSI5Z4CW8Gpzby/NrFk89H0N9C9S6shR23b9dUsq+oSKaJcyg7Wl/tXjVLachi+/gIhz/gBjfH0lKftjF+DBZypz5n7yNYnrZGlVAOWpXpfqt+5XVHVlOOXzYLaes6cp7lsT0KLM6h/2lnqtw8RX/QYumE+Y7XXy6xth/8if6ImB6BgJdpDQ2ujdGnOonKuwunsf2//79VZiDt+futsxb/2re3v1fPQ1TTTant/5lqvbvcZ3dWg/99cOe54/O2Ptf31b2/83OetvD93rpmxapp/vuPXJp9c98j23mXcU3cgy23lQ6qdgowgNPwCCYtZKRJmPlKmFd/M4C19WyTQWCXw/2FPRE8ZCmprAAAAAElFTkSuQmCC",re=Se(88230),ne=Se(24459),te=Se(3404),a=Se(59301),y=Object.defineProperty,x=Object.defineProperties,b=Object.getOwnPropertyDescriptors,ee=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,le=Object.prototype.propertyIsEnumerable,de=(_e,Ce,xe)=>Ce in _e?y(_e,Ce,{enumerable:!0,configurable:!0,writable:!0,value:xe}):_e[Ce]=xe,ge=(_e,Ce)=>{for(var xe in Ce||(Ce={}))z.call(Ce,xe)&&de(_e,xe,Ce[xe]);if(ee)for(var xe of ee(Ce))le.call(Ce,xe)&&de(_e,xe,Ce[xe]);return _e},fe=(_e,Ce)=>x(_e,b(Ce)),me=(_e,Ce,xe)=>new Promise((we,De)=>{var Oe=Qe=>{try{Le(xe.next(Qe))}catch(He){De(He)}},Fe=Qe=>{try{Le(xe.throw(Qe))}catch(He){De(He)}},Le=Qe=>Qe.done?we(Qe.value):Promise.resolve(Qe.value).then(Oe,Fe);Le((xe=xe.apply(_e,Ce)).next())});const be=["fullscreenchange","msfullscreenchange","webkitfullscreenchange","mozfullscreenchange"],{Countdown:ve}=je.default,Pe=({exercise:_e,socket:Ce,dispatch:xe,onStartScreenshot:we,onCloseScreenshot:De,handleToDetail:Oe})=>{const[Fe,Le]=E.default.useModal(),Qe=(0,ye.useRef)(),[He,ze]=(0,ye.useState)(!0),Ke=(0,ye.useRef)(!1),Ge=(0,ne.useParams)();(0,ye.useEffect)(()=>{var Me,Re,Xe;if(document.addEventListener((0,he.gH)(),Be,!1),window.addEventListener("blur",et,!1),(Me=_e.exerciseUserInfo)!=null&&Me.screen_open&&(0,he.vp)()&&ze(!1),(Re=_e.exerciseUserInfo)!=null&&Re.screen_open&&!(0,he.vp)()){(0,re.RG)(" ",!0);const nt=document.domain==="kepukehuan.educoder.net"?30:localStorage.getItem("Refresh")==="1"?_e.exerciseUserInfo.screen_sec+3:_e.exerciseUserInfo.screen_sec+10+1;Qe.current=E.default.info({icon:null,centered:!0,width:444,title:(0,te._V)(te.CP.recordScreen1),keyboard:!1,content:a.createElement("div",null,(0,te._V)(te.CP.recordScreen2),a.createElement("span",{style:{color:"#FF9849"}},_e.exerciseUserInfo.screen_num-_e.exerciseUserInfo.used_screen_num),(0,te._V)(te.CP.recordScreen3)),okText:a.createElement("span",null,(0,te._V)(te.CP.recordScreen4),"\uFF08",a.createElement("span",{style:{display:"inline-block"}},a.createElement(ve,{onFinish:()=>me(void 0,null,function*(){var $e;const tt=yield qe();($e=Qe.current)==null||$e.destroy(),tt.used_screen_num&&Te(tt.used_screen_num+1)}),valueStyle:{fontSize:14,lineHeight:1.4,color:"#FFF",display:"inline-block"},format:"ss",value:Date.now()+nt*1e3})),"S\uFF09"),onOk:()=>{var $e;(0,re.RG)(" ",!0),($e=Qe.current)==null||$e.destroy(),ze(!1),(0,he.Dj)(document.body),document.getElementById("root").addEventListener("click",Ne,!1)}})}return(Xe=_e.exerciseUserInfo)!=null&&Xe.screen_open&&!(0,he.vp)()||document.getElementById("root").addEventListener("click",Ne,!1),()=>{document.getElementById("root").removeEventListener("click",Ne,!1),document.removeEventListener((0,he.gH)(),Be,!1),window.removeEventListener("blur",et,!1)}},[]),(0,ye.useEffect)(()=>{setTimeout(()=>{_e.actionTabs.removeEventListenerExitScreen&&(document.getElementById("root").removeEventListener("click",Ne,!1),document.removeEventListener((0,he.gH)(),Be,!1))},500),Ve()},[_e.actionTabs]),(0,ye.useEffect)(()=>{setTimeout(()=>{_e.exerciseUserInfo.used_screen_num>_e.exerciseUserInfo.screen_num&&We()},500)},[_e.exerciseUserInfo]);const ke=()=>me(void 0,null,function*(){const Me=yield qe();setTimeout(()=>{var Re,Xe;(Re=Qe.current)==null||Re.destroy(),Qe.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"},Me.used_screen_num),"\u6B21\uFF0C\u5207\u5C4F\u8D85\u8FC7",a.createElement("span",{className:"c-red"},(Xe=_e.exerciseUserInfo)==null?void 0:Xe.screen_num),"\u6B21\u5C06\u5F3A\u5236\u4EA4\u5377"),onOk:()=>me(void 0,null,function*(){(0,he.Dj)(document.body)})})},1e3)}),Ne=Me=>{!(0,he.vp)()&&Me.target.nodeName!=="A"&&Me.target.nodeName!=="BUTTON"&&Me.target.innerHTML!=="\u786E \u5B9A"&&(0,he.Dj)(document.body)},Ve=()=>me(void 0,null,function*(){const Me=yield xe({type:"exercise/getExerciseUserInfo",payload:ge({},Ge)});return Me==null?void 0:Me.data}),Je=Me=>me(void 0,null,function*(){var Re;if((Re=_e.exerciseUserInfo)!=null&&Re.screen_at){const nt=yield(0,ce.ck)(fe(ge({},Ge),{reset:!0}));if((nt==null?void 0:nt.status)===-6)return}const Xe=yield(0,ce.oy)({id:Ge.categoryId});if(Xe!=null&&Xe.is_commit){E.default.destroyAll(),yield rt(),at(!0);return}else Te(Me+1)}),rt=()=>me(void 0,null,function*(){var Me;const Re=ie()(),Xe=_e.exerciseUserInfo.screen_sec;if(Ie.current.length>0){const nt=Re.format("YYYY-MM-DD HH:mm:ss");let $e=Math.floor(Re.diff(ie()(Ie.current[0].start))/1e3);const tt=Ie.current.length;$e/Xe>>0>tt&&($e=(tt+1)*Xe-1),yield(0,ce.P8)(Ge.categoryId,{exercise_user_id:(Me=_e.exerciseUserInfo)==null?void 0:Me.exercise_user_id,time:nt,time_long:$e,count:tt})}Ie.current=[]}),Ye=(0,ye.useRef)(0),Ue=(0,ye.useRef)(0),Ie=(0,ye.useRef)([]),Ze=(0,ye.useRef)(!1),Te=Me=>me(void 0,null,function*(){var Re;Ke.current||(we(),E.default.destroyAll(),Ye.current=ie()().valueOf(),Ze.current=!0,Qe.current=E.default.info({icon:null,maskClosable:!1,width:1080,keyboard:!1,centered:!0,className:ue.exitFullScreenModalWrapper,okText:a.createElement("span",null,(0,te._V)(te.CP.recordScreen8)),content:a.createElement("div",{className:ue.exitFullScreenModal},a.createElement("img",{src:se,alt:"",className:ue.warningIcon}),a.createElement("div",{className:ue.warningText,style:{marginBottom:50,fontWeight:500}},(0,te._V)(te.CP.recordScreen9)),a.createElement("div",{style:{marginBottom:40}},(0,te._V)(te.CP.recordScreen10)),a.createElement("div",{style:{marginBottom:40}},(0,te._V)(te.CP.recordScreen11),a.createElement("span",{className:ue.warningText},((Re=_e.exerciseUserInfo)==null?void 0:Re.screen_num)+1),(0,te._V)(te.CP.recordScreen12),a.createElement("span",{className:ue.warningText,style:{fontWeight:600}},(0,te._V)(te.CP.recordScreen13)),",",(0,te._V)(te.CP.recordScreen14),a.createElement("span",{className:ue.warningText},Me-1),(0,te._V)(te.CP.recordScreen15)),a.createElement("div",null,a.createElement("span",null,a.createElement(ve,{className:ue.countdownWrapper,onFinish:()=>{Ue.current=ie()().valueOf(),Ie.current.push({start:Ye.current,end:Ue.current}),Je(Me)},valueStyle:{fontSize:30,color:"#165DFF"},format:"ss",value:Date.now()+(_e.exerciseUserInfo.screen_sec+1)*1e3}),(0,te._V)(te.CP.recordScreen25)),(0,te._V)(te.CP.recordScreen16))),onOk:()=>{(0,re.RG)(" ",!0),rt(),(0,he.Dj)(document.body),De(),Qe.current.destroy(),Ze.current=!1}}))}),We=()=>me(void 0,null,function*(){E.default.destroyAll(),(yield(0,ce.VL)({categoryId:Ge.categoryId,commit_method:1}))&&at()}),at=(Me=!1)=>me(void 0,null,function*(){var Re,Xe;if(document.removeEventListener((0,he.gH)(),Be,!1),(0,he.BU)(),E.default.destroyAll(),Ke.current=!0,Me){const nt=yield(0,ce.Yu)(Ge.categoryId,{exercise_user_id:(Re=_e.exerciseUserInfo)==null?void 0:Re.exercise_user_id});Fe.confirm({icon:null,closable:!1,maskClosable:!1,okText:"\u7533\u8BF7\u7EE7\u7EED\u8003\u8BD5",cancelText:"\u8FD4\u56DE",width:616,className:ue.forcedModalWrapper,centered:!0,content:a.createElement("div",{className:ue.forcedModalContent},a.createElement("img",{src:ae,alt:""}),a.createElement("div",{className:ue.forcedText},(0,te._V)(te.CP.recordScreen17)),a.createElement("div",{className:ue.screenNumText},(0,te._V)(te.CP.recordScreen18),(Xe=_e.exerciseUserInfo)==null?void 0:Xe.screen_num,(0,te._V)(te.CP.recordScreen19)),a.createElement(pe.default,{dataSource:nt==null?void 0:nt.data,pagination:!1,rowKey:"time",bordered:!0,columns:[{title:(0,te._V)(te.CP.recordScreen20),align:"center",dataIndex:"time"},{title:(0,te._V)(te.CP.recordScreen21),align:"center",dataIndex:"time_long"},{title:(0,te._V)(te.CP.recordScreen22),align:"center",dataIndex:"count"}]})),onCancel:()=>{De(),Oe()},onOk:()=>{ne.history.push(`/classrooms/${Ge.coursesId}/exercisenotice/${Ge.categoryId}/users/${Ge.login}?isShowApply=true`)}})}else Fe.info({content:a.createElement("div",{className:"tc font16"},(0,te._V)(te.CP.recordScreen23),a.createElement("br",null),(0,te._V)(te.CP.recordScreen24)),onOk:()=>{Oe()}})}),et=Me=>{(0,he.vp)()&&document.getElementById("iframeShixuns").style.display=="none"&&!Ze.current&&(0,he.BU)()},qe=()=>me(void 0,null,function*(){var Me;if((Me=_e.exerciseUserInfo)!=null&&Me.screen_at){const nt=yield(0,ce.ck)(fe(ge({},Ge),{reset:!0}));if((nt==null?void 0:nt.status)===-6)return}const Re=yield(0,ce.oy)({id:Ge.categoryId});if(Re!=null&&Re.is_commit){at();return}return yield Ve()}),Be=()=>me(void 0,null,function*(){var Me;if((0,re.RG)(" ",!0),(0,he.vp)()){if((Me=_e.exerciseUserInfo)!=null&&Me.screen_at){var Re=yield(0,ce.ck)(fe(ge({},Ge),{reset:!0}));if((Re==null?void 0:Re.status)===-6)return}}else if(!Ze.current){var Re=yield(0,ce.ck)(ge({},Ge));if((Re==null?void 0:Re.status)===-6)return;const nt=yield Ve();Te(nt.used_screen_num+1),window.frames.length!=parent.frames.length&&window.parent.postMessage("backExercise","*")}}),Ae=()=>me(void 0,null,function*(){(0,ce.ck)(ge({},Ge));const Me=yield Ve();Te(Me.used_screen_num+1),window.frames.length!=parent.frames.length&&window.parent.postMessage("backExercise","*")});return a.createElement("div",null,Le)};var Ee=(0,ne.connect)(({exercise:_e,globalSetting:Ce})=>({globalSetting:Ce,exercise:_e}))(Pe)},48569:function(ct,ot,Se){"use strict";Se.d(ot,{X:function(){return pe},y:function(){return E}});var ye=Se(59301),je=Se(8591);const E=he=>{(0,ye.useEffect)(()=>{if(he){const ce=ie=>{ie.key==="F12"&&(ie.preventDefault(),console.log("F12\u88AB\u7981\u7528"))},oe=ie=>{ie.preventDefault()};return document.addEventListener("keydown",ce),document.addEventListener("contextmenu",oe),()=>{document.removeEventListener("keydown",ce),document.removeEventListener("contextmenu",oe)}}},[he])},pe=()=>{const[he,ce]=(0,ye.useState)(!1),oe=ie=>{const{keyCode:ue,ctrlKey:se,metaKey:ae,type:re}=ie;(re==="paste"||(ue===67||ue===86)&&(ae||se))&&(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)(()=>(he&&(window.addEventListener("keydown",oe,!0),window.addEventListener("paste",oe,!0)),()=>{window.removeEventListener("keydown",oe,!0),window.removeEventListener("paste",oe,!0)}),[he]),{setOpenDisableCopyAndPaste:ce,disableCopyAndPaste:he}}},14573:function(ct,ot,Se){"use strict";Se.d(ot,{Z:function(){return ae}});var ye=Se(59301),je={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},E=Se(92310),pe=Se.n(E),he=Se(71418),ce=Se(2859),oe=Se(7660),ie=Se(88230),ue=(re,ne,te)=>new Promise((a,y)=>{var x=z=>{try{ee(te.next(z))}catch(le){y(le)}},b=z=>{try{ee(te.throw(z))}catch(le){y(le)}},ee=z=>z.done?a(z.value):Promise.resolve(z.value).then(x,b);ee((te=te.apply(re,ne)).next())}),ae=({data:re,className:ne,fullWidth:te,style:a={},onClose:y,onOk:x,showFullTools:b,noAssociationId:ee})=>{const z=(0,ye.useRef)(null),le=(0,ye.useRef)(null),de=(0,ye.useRef)(null),ge=(0,ye.useRef)(null),[fe,me]=(0,ye.useState)(!1),[be,ve]=(0,ye.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,ye.useEffect)(()=>{de.current||(de.current=document.createElement("style"),document.head.appendChild(de.current)),re!=null&&re.visible?(document.body.setAttribute("data-custom","y-hidden"),de.current.innerHTML=" html { overflow-y: hidden; }",re!=null&&re.src&&Pe()):(document.body.removeAttribute("data-custom"),de.current&&(document.head.removeChild(de.current),de.current=null))},[re==null?void 0:re.visible]);const Pe=()=>ue(void 0,null,function*(){me(!0),ve("\u6B63\u5728\u52A0\u8F7D\u4E2D");const xe=yield(0,ie.ZJ)(re==null?void 0:re.src);z.current.src="",z.current.src=xe,z.current.onload=function(){Ce()},me(!1),ve("")}),Ee=xe=>ue(void 0,null,function*(){me(!0),ve("\u6B63\u5728\u4FDD\u5B58\u4E2D");const we=yield(0,oe.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:re.title,file:xe.dataUrl}});we!=null&&we.id&&!ee?(yield(0,oe.ZP)(`/api/attachments/${re.id}/add_subitem.json`,{method:"post",body:{subitem_id:we==null?void 0:we.id,settings:JSON.stringify(xe.state)}})).status===0&&x():we!=null&&we.id&&x(we),me(!1),ve("")}),_e=()=>{const xe=document.querySelector('a[href="https://markerjs.com/"]');xe&&xe.parentNode&&(xe.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(De=>{const Oe=document.querySelector(De.name);Oe&&Oe.setAttribute("title",De.title)})},Ce=()=>{le.current=new ce.hP(z.current),le.current.targetRoot=ge.current,le.current.addEventListener("render",Ee),le.current.addEventListener("beforeclose",y),b&&(le.current.availableMarkerTypes=le.current.ALL_MARKER_TYPES,le.current.uiStyleSettings.redoButtonVisible=!0,le.current.uiStyleSettings.notesButtonVisible=!0,le.current.uiStyleSettings.zoomButtonVisible=!0,le.current.uiStyleSettings.zoomOutButtonVisible=!0,le.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=le.current.uiStyleSettings,le.current.show(),re!=null&&re.snapshotData&&le.current.restoreState(re.snapshotData),setTimeout(()=>{window.scrollTo(0,0),_e()},300)};return ye.createElement(ye.Fragment,null,(re==null?void 0:re.visible)&&ye.createElement(he.Z,{spinning:fe,tip:be,style:{position:"absolute"}},ye.createElement("div",{ref:ge,className:pe()(je.imageDimensions,ne,te?je.fullWidth:""),style:a},ye.createElement("img",{className:je.img,ref:z}))))}},72714:function(ct,ot,Se){"use strict";var ye=Se(59301),je=Se(11570),E=Se(48136),pe=Se(46531),he=Se(43418),ce=Se(59301);const oe=(0,ye.forwardRef)(({callback:ie,width:ue,onChange:se,disabled:ae,readOnly:re,type:ne="",value:te="",style:a={}},y)=>{const x=(0,ye.useRef)(),b=(0,ye.useRef)(),[ee,z]=(0,ye.useState)(0),[le,de]=(0,ye.useState)(0),[ge,fe]=(0,ye.useState)(!1),me=()=>{var Ee=document.createElement("div");Ee.innerHTML=x.current.getValue();var _e=Ee.innerText;return ie&&ie(_e),_e};(0,ye.useImperativeHandle)(y,()=>({getData:me}));const be=Ee=>{Ee.preventDefault();const _e=Ee.clientX-ee,Ce=Ee.clientY-le;document.body.onmousemove=xe=>{let we=xe.clientX-_e,De=xe.clientY-Ce;const Oe=document.getElementsByClassName("markdown-popup-form")[0],Fe=window.innerWidth-Oe.offsetWidth,Le=window.innerHeight-Oe.offsetHeight;we=Math.max(0,Math.min(we,Fe)),De=Math.max(0,Math.min(De,Le)),ve(xe.clientX,xe.clientY,_e,Ce)&&(z(we),de(De))},document.body.onmouseup=function(){document.body.onmousemove=null}},ve=(Ee,_e,Ce,xe)=>{const we=document.body.clientHeight,De=document.body.clientWidth;return Ee<20&&Ce>Ee||Ee>De-20&&Ce_e||_e>we-20&&xe<_e?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};(0,ye.useEffect)(()=>{ge&&setTimeout(()=>{const Ee=document.getElementsByClassName("markdown-popup-form")[0],_e=window.innerWidth/2-Ee.offsetWidth/2,Ce=window.innerHeight/2-Ee.offsetHeight/2;z(_e),de(Ce)},0)},[ge]);const Pe=()=>{ae||re||fe(!0)};return ce.createElement("div",{style:a},ce.createElement("div",{style:{width:ue||"100%",position:"relative"},className:`${je.Z.mathFillWrap} ${ae||re?"cursorDefault":""}`,onClick:()=>Pe()},ce.createElement("math-field",{disabled:ae,locale:"zh_cn",class:`${je.Z.mathField} ${ne}`,readOnly:re,placeholder:"\u8BF7\u8F93\u5165\u516C\u5F0F",ref:x,style:{width:"100%",fontSize:te?18:14},value:te||""})),ce.createElement(he.default,{maskClosable:!1,centered:!0,width:860,style:{position:"absolute",left:ee,top:le},title:ce.createElement("div",{style:{cursor:"move"},onMouseDown:be},"\u8F93\u5165\u516C\u5F0F"),open:ge,onOk:()=>{const Ee=b.current.getData();x.current.setValue(Ee),se(Ee),fe(!1)},onCancel:()=>{fe(!1)},destroyOnClose:!0,className:"markdown-popup-form"},ce.createElement(pe.Z,{value:te,ref:b,onChange:se,showSaveButton:!1})))});ot.Z=oe},46531:function(ct,ot,Se){"use strict";var ye=Se(59301),je=Se(95237),E=Se(43604),pe=Se(99313),he=Se(3113),ce=Se(99325),oe=Se(11570),ie=Se(48136),ue=Se(59301);const se=(0,ye.forwardRef)(({callback:ae,showSaveButton:re,value:ne=""},te)=>{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 +(self.webpackChunk=self.webpackChunk||[]).push([[9410],{87169:function(ct,ot,Se){"use strict";Se.d(ot,{Z:function(){return ie}});var ye=Se(92413),je=Se(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"},pe=E,he=Se(7657),ce=function(se,ae){return je.createElement(he.Z,(0,ye.Z)({},se,{ref:ae,icon:pe}))},oe=je.forwardRef(ce),ie=oe},11570:function(ct,ot){"use strict";ot.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},7850:function(ct,ot){"use strict";ot.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"}},43219:function(ct,ot){"use strict";ot.Z={modalContent:"modalContent___UXmJC",modalContentLeft:"modalContentLeft___JOFgX",green:"green___rI_w_",textArea:"textArea___OTapv",red:"red___cDswv",row:"row___CE3Y7",html:"html___u9n4r",line:"line___Lh9Lb"}},58323:function(){"use strict"},54318:function(ct,ot,Se){"use strict";var ye=Se(59301),je=Object.defineProperty,E=Object.getOwnPropertySymbols,pe=Object.prototype.hasOwnProperty,he=Object.prototype.propertyIsEnumerable,ce=(ue,se,ae)=>se in ue?je(ue,se,{enumerable:!0,configurable:!0,writable:!0,value:ae}):ue[se]=ae,oe=(ue,se)=>{for(var ae in se||(se={}))pe.call(se,ae)&&ce(ue,ae,se[ae]);if(E)for(var ae of E(se))he.call(se,ae)&&ce(ue,ae,se[ae]);return ue};const ie=ue=>React.createElement("svg",oe({width:30,height:30,xmlns:"http://www.w3.org/2000/svg"},ue),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"})));ot.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzAiIGhlaWdodD0iMzAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBmaWxsLW9wYWNpdHk9Ii4wMSIgZmlsbD0iI0ZGRiIgZD0iTTAgMGgzMHYzMEgweiIvPjxwYXRoIGQ9Ik02Ljg2NiAyNi45MjhoLTEuMjhhMi41NjEgMi41NjEgMCAwIDEtMi41NjItMi41NjFWNS41ODVhMi41NjEgMi41NjEgMCAwIDEgMi41NjEtMi41NmgxLjI4djQuMjY4YTIuNTYxIDIuNTYxIDAgMCAwIDIuNTYyIDIuNTZoMy44NDJhMi41NjEgMi41NjEgMCAwIDAgMi41Ni0yLjU2VjMuMDI0aDIuOTE1bDguMTg0IDguMTg0djEzLjE1OWEyLjU2MSAyLjU2MSAwIDAgMS0yLjU2MSAyLjU2MWgtMS4yOHYtNS45NzZjMC0uOTQzLS43NjUtMS43MDctMS43MDgtMS43MDdIOC41NzNjLS45NDMgMC0xLjcwNy43NjQtMS43MDcgMS43MDd2NS45NzZaIiBmaWxsPSIjQjZEMEZDIi8+PHBhdGggZD0iTTguNTczIDMuMDI0aDUuNTV2NC4yNjlhLjg1NC44NTQgMCAwIDEtLjg1NC44NTNIOS40MjdhLjg1NC44NTQgMCAwIDEtLjg1NC0uODUzVjMuMDI0Wk04LjU3MyAyNi45Mjh2LTUuOTc2SDIxLjM4djUuOTc2eiIgZmlsbD0iIzE4OTBGRiIvPjwvZz48L3N2Zz4="},71302:function(ct,ot,Se){"use strict";var ye=Se(59301),je=Object.defineProperty,E=Object.getOwnPropertySymbols,pe=Object.prototype.hasOwnProperty,he=Object.prototype.propertyIsEnumerable,ce=(ue,se,ae)=>se in ue?je(ue,se,{enumerable:!0,configurable:!0,writable:!0,value:ae}):ue[se]=ae,oe=(ue,se)=>{for(var ae in se||(se={}))pe.call(se,ae)&&ce(ue,ae,se[ae]);if(E)for(var ae of E(se))he.call(se,ae)&&ce(ue,ae,se[ae]);return ue};const ie=ue=>React.createElement("svg",oe({width:30,height:30,xmlns:"http://www.w3.org/2000/svg"},ue),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"})));ot.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzAiIGhlaWdodD0iMzAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBkPSJNMzAgMTVjMCA4LjI4NC02LjcxNiAxNS0xNSAxNS04LjI4NCAwLTE1LTYuNzE2LTE1LTE1QzAgNi43MTYgNi43MTYgMCAxNSAwYzguMjg0IDAgMTUgNi43MTYgMTUgMTVaIiBmaWxsPSIjQkFGRkYwIi8+PHBhdGggZD0iTTI1LjUgMTVjMCA1LjgtNC43IDEwLjUtMTAuNSAxMC41UzQuNSAyMC44IDQuNSAxNSA5LjIgNC41IDE1IDQuNSAyNS41IDkuMiAyNS41IDE1WiIgZmlsbD0iIzQ0RDdCNiIvPjxwYXRoIGQ9Ik0xMy41IDlhMS41IDEuNSAwIDAgMSAxLjUgMS41djQuMzc5bDMuNTYgMy41NmExLjUgMS41IDAgMCAxLTIuMTIgMi4xMjJsLTQtNEExLjUgMS41IDAgMCAxIDEyIDE1LjV2LTVBMS41IDEuNSAwIDAgMSAxMy41IDlaIiBmaWxsPSIjRkZGIi8+PC9nPjwvc3ZnPg=="},29277:function(){"use strict";function ct(te,a,y,x){y===void 0&&(y=0),x===void 0&&(x=1/0),this._name=te,this._defaultValue=a,this._minimum=y,this._maximum=x}Object.defineProperty(ct.prototype,"name",{get:function(){return this._name},set:function(te){if(typeof te!="string"||te==="")throw new Error("Shape name must be a valid string.");this._name=te}}),Object.defineProperty(ct.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(te){if(typeof te!="number"||isNaN(te))throw new Error("The default value must be a real number, not: "+te);this._defaultValue=te}}),Object.defineProperty(ct.prototype,"minimum",{get:function(){return this._minimum},set:function(te){if(typeof te!="number"||isNaN(te))throw new Error("Minimum must be a real number, not: "+te);this._minimum=te}}),Object.defineProperty(ct.prototype,"maximum",{get:function(){return this._maximum},set:function(te){if(typeof te!="number"||isNaN(te))throw new Error("Maximum must be a real number, not: "+te);this._maximum=te}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(te,a){var y=go.Shape._FigureParameters[te];return y?y[a]:null},go.Shape.setFigureParameter=function(te,a,y){if(!(y instanceof ct))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[te];x||(x=[],go.Shape._FigureParameters[te]=x),x[a]=y};var ot=[];function Se(te,a){var y=ot.pop();return y===void 0?new go.Point(te,a):(y.x=te,y.y=a,y)}function ye(){var te=ot.pop();return te===void 0?new go.Point:te}function je(te){ot.push(te)}function E(te,a,y,x,b,ee,z,le,de){de||(de=new go.Point);var ge=te-y,fe=b-z,me=NaN,be=NaN;if(ge===0)if(fe===0)te===y&&(me=te,be=a);else{var ve=(ee-le)/fe,Pe=ee-ve*b;me=te,be=ve*me+Pe}else if(fe===0){var Ee=(a-x)/ge,_e=a-Ee*te;me=b,be=Ee*me+_e}else{var Ee=(a-x)/ge,ve=(ee-le)/fe,_e=a-Ee*te,Pe=ee-ve*b;me=(Pe-_e)/(Ee-ve),be=Ee*me+_e}return de.x=me,de.y=be,de}function pe(te,a,y,x,b,ee,z,le,de,ge,fe,me,be,ve){var Pe=1-de,Ee=de,_e=te*Pe+y*Ee,Ce=a*Pe+x*Ee,xe=y*Pe+b*Ee,we=x*Pe+ee*Ee,De=b*Pe+z*Ee,Oe=ee*Pe+le*Ee,Fe=_e*Pe+xe*Ee,Le=Ce*Pe+we*Ee,Qe=xe*Pe+De*Ee,He=we*Pe+Oe*Ee,ze=Fe*Pe+Qe*Ee,Ke=Le*Pe+He*Ee;ge.x=_e,ge.y=Ce,fe.x=Fe,fe.y=Le,me.x=ze,me.y=Ke,be.x=Qe,be.y=He,ve.x=De,ve.y=Oe}var he=new go.Spot(.156,.156),ce=new go.Spot(.844,.844),oe=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new ct("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(te,a,y){var x=te?te.parameter1:NaN;(isNaN(x)||x<0)&&(x=5),x=Math.min(x,a/3),x=Math.min(x,y/3);var b=x*oe,ee=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&&(ee.spot1=new go.Spot(0,0,b,b),ee.spot2=new go.Spot(1,1,-b,-b)),ee}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(te,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(te,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(te,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(te,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(te,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(te,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(te,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(te,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(te,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(te,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(te,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(te,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(te,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(te,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(te,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=he,b.spot2=ce,b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Line1",function(te,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(te,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(te,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,y,oe*a,0,a,(1-oe)*y)))}),go.Shape.defineFigureGenerator("Curve2",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,y,0,oe*y,(1-oe)*a,y)))}),go.Shape.defineFigureGenerator("Curve3",function(te,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,oe*y,oe*a,y)))}),go.Shape.defineFigureGenerator("Curve4",function(te,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,y,(1-oe)*a,0,0,(1-oe)*y)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(te,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(te,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(te,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(te,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 ct("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)?x=.1:x<-1?x=-1:x>1&&(x=1);var b=Math.abs(x)*a;if(x===0){var ee=new go.Geometry(go.Geometry.Rectangle);return ee.startX=0,ee.startY=0,ee.endX=a,ee.endY=y,ee}else{var ee=new go.Geometry;return x>0?ee.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())):ee.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 ee=new go.Geometry(go.Geometry.Rectangle);return ee.startX=0,ee.startY=0,ee.endX=a,ee.endY=y,ee}else{var ee=new go.Geometry;return x>0?ee.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())):ee.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 ee=new go.Geometry(go.Geometry.Rectangle);return ee.startX=0,ee.startY=0,ee.endX=a,ee.endY=y,ee}else{var ee=new go.Geometry;return x>0?ee.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())):ee.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 ee=new go.Geometry(go.Geometry.Rectangle);return ee.startX=0,ee.startY=0,ee.endX=a,ee.endY=y,ee}else{var ee=new go.Geometry;return x>0?ee.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())):ee.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 ee=new go.Geometry(go.Geometry.Rectangle);return ee.startX=0,ee.startY=0,ee.endX=a,ee.endY=y,ee}else{var ee=new go.Geometry;return x>0?ee.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())):ee.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&&(z.add(new go.PathSegment(go.PathSegment.Move,a/2+le,a/2)),z.add(new go.PathSegment(go.PathSegment.Arc,0,-360,b,b,le,le).close())),ee.spot1=he,ee.spot2=ce,ee.defaultStretch=go.GraphObject.Uniform,ee}),go.Shape.defineFigureGenerator("Cloud",function(te,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(te,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 ct("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new ct("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(te,a,y){var x=te?te.parameter1:NaN,b=te?te.parameter2:NaN;isNaN(x)&&(x=0),isNaN(b)&&(b=315);var ee=x%360;ee<0&&(ee+=360);var z=b%360,le=Math.min(a,y)/2;return new go.Geometry().add(new go.PathFigure(le,le).add(new go.PathSegment(go.PathSegment.Arc,ee,z,le,le,le,le).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(te,a,y){var x=oe/Math.SQRT2*.5,b=Math.SQRT2/2,ee=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(a,y,!0).add(new go.PathSegment(go.PathSegment.Bezier,b*a,ee*y,a,(1-x)*y,(b+x)*a,(ee+x)*y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close()))}),go.Shape.setFigureParameter("ThickCross",0,new ct("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(te,a,y){var x=te?te.parameter1:NaN;(isNaN(x)||x<0)&&(x=30);var b=Math.min(x,a)/2,ee=a/2,z=y/2;return new go.Geometry().add(new go.PathFigure(ee-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,ee+b,0)).add(new go.PathSegment(go.PathSegment.Line,ee+b,z-b)).add(new go.PathSegment(go.PathSegment.Line,a,z-b)).add(new go.PathSegment(go.PathSegment.Line,a,z+b)).add(new go.PathSegment(go.PathSegment.Line,ee+b,z+b)).add(new go.PathSegment(go.PathSegment.Line,ee+b,y)).add(new go.PathSegment(go.PathSegment.Line,ee-b,y)).add(new go.PathSegment(go.PathSegment.Line,ee-b,z+b)).add(new go.PathSegment(go.PathSegment.Line,0,z+b)).add(new go.PathSegment(go.PathSegment.Line,0,z-b)).add(new go.PathSegment(go.PathSegment.Line,ee-b,z-b).close()))}),go.Shape.setFigureParameter("ThinCross",0,new ct("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(te,a,y){var x=te?te.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var b=Math.min(x,a)/2,ee=a/2,z=y/2;return new go.Geometry().add(new go.PathFigure(ee-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,ee+b,0)).add(new go.PathSegment(go.PathSegment.Line,ee+b,z-b)).add(new go.PathSegment(go.PathSegment.Line,a,z-b)).add(new go.PathSegment(go.PathSegment.Line,a,z+b)).add(new go.PathSegment(go.PathSegment.Line,ee+b,z+b)).add(new go.PathSegment(go.PathSegment.Line,ee+b,y)).add(new go.PathSegment(go.PathSegment.Line,ee-b,y)).add(new go.PathSegment(go.PathSegment.Line,ee-b,z+b)).add(new go.PathSegment(go.PathSegment.Line,0,z+b)).add(new go.PathSegment(go.PathSegment.Line,0,z-b)).add(new go.PathSegment(go.PathSegment.Line,ee-b,z-b).close()))}),go.Shape.setFigureParameter("ThickX",0,new ct("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(te,a,y){var x=te?te.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 ee=a/2,z=y/2,le=Math.atan2(y,a),de=x-Math.min(Math.cos(le)*x/2,ee),ge=x-Math.min(Math.sin(le)*x/2,z),b=new go.Geometry,fe=new go.PathFigure(de,0,!0);return b.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,ee,.2*y)),fe.add(new go.PathSegment(go.PathSegment.Line,a-de,0)),fe.add(new go.PathSegment(go.PathSegment.Line,a,ge)),fe.add(new go.PathSegment(go.PathSegment.Line,.8*a,z)),fe.add(new go.PathSegment(go.PathSegment.Line,a,y-ge)),fe.add(new go.PathSegment(go.PathSegment.Line,a-de,y)),fe.add(new go.PathSegment(go.PathSegment.Line,ee,.8*y)),fe.add(new go.PathSegment(go.PathSegment.Line,de,y)),fe.add(new go.PathSegment(go.PathSegment.Line,0,y-ge)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),fe.add(new go.PathSegment(go.PathSegment.Line,0,ge).close()),b}}),go.Shape.setFigureParameter("ThinX",0,new ct("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(te,a,y){var x=te?te.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var b=new go.Geometry,ee=new go.PathFigure(.1*a,0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.1*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.1*y).close()),b}),go.Shape.setFigureParameter("SquareIBeam",0,new ct("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=.2);var b=new go.Geometry,ee=new go.PathFigure(0,0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,x*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*a,x*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*a,(1-x)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,(1-x)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*a,(1-x)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*a,x*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,x*y).close()),b}),go.Shape.setFigureParameter("RoundedIBeam",0,new ct("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=.5);var b=new go.Geometry,ee=new go.PathFigure(0,0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,y,Math.abs(1-x)*a,.25*y,Math.abs(1-x)*a,.75*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*a,.75*y,x*a,.25*y).close()),b}),go.Shape.defineFigureGenerator("HalfEllipse",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,oe*a,0,a,(.5-oe/2)*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,(.5+oe/2)*y,oe*a,y).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(te,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(te,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(te,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(te,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 ee=.2,z=.3,le=0,de=ee*oe;return b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5+ee+le)*y,(.5-ee+z)*a,(.5+de+le)*y,(.5-de+z)*a,(.5+ee+le)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+ee+z)*a,(.5+le)*y,(.5+de+z)*a,(.5+ee+le)*y,(.5+ee+z)*a,(.5+de+le)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-ee+le)*y,(1-.5+ee+z)*a,(.5-de+le)*y,(.5+de+z)*a,(.5-ee+le)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.65*a,.36771243*y,(.5-de+z)*a,(.5-ee+le)*y,(.5-ee+z+.05)*a,(.5-de+le-.02)*y)),ee=.2,z=0,le=-.3,de=ee*oe,b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+ee+z)*a,(.5+le)*y,(.5+de+z)*a,(.5+ee+le)*y,(.5+ee+z)*a,(.5+de+le)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-ee+le)*y,(1-.5+ee+z)*a,(.5-de+le)*y,(.5+de+z)*a,(.5-ee+le)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ee+z)*a,(.5+le)*y,(.5-de+z)*a,(.5-ee+le)*y,(.5-ee+z)*a,(.5-de+le)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-de+z)*a,(.5+ee+le)*y,(.5-ee+z)*a,(.5+de+le)*y,(.5-de+z)*a,(.5+ee+le)*y)),ee=.2,z=-.3,le=0,de=ee*oe,b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-ee+le)*y,(1-.5+ee+z-.05)*a,(.5-de+le-.02)*y,(.5+de+z)*a,(.5-ee+le)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ee+z)*a,(.5+le)*y,(.5-de+z)*a,(.5-ee+le)*y,(.5-ee+z)*a,(.5-de+le)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5+ee+le)*y,(.5-ee+z)*a,(.5+de+le)*y,(.5-de+z)*a,(.5+ee+le)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.6*y,(.5+de+z)*a,(.5+ee+le)*y,(.5+ee+z)*a,(.5+de+le)*y).close()),x.setSpots(.06,.33,.93,.68),x}),go.Shape.defineFigureGenerator("YinYang",function(te,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 ee=.1,z=.5,le=.25;return b.add(new go.PathSegment(go.PathSegment.Move,(z+ee)*a,le*y)),b.add(new go.PathSegment(go.PathSegment.Arc,0,-360,a*z,y*le,ee*a,ee*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)),le=.75,b=new go.PathFigure((z+ee)*a,le*y,!0),x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,0,360,a*z,y*le,ee*a,ee*a).close()),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Peace",function(te,a,y){var x=.8535533905932737,b=.5*a,ee=.5*y;return new go.Geometry().add(new go.PathFigure(b,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,b,ee,b,ee)).add(new go.PathSegment(go.PathSegment.Line,b,y)).add(new go.PathSegment(go.PathSegment.Move,b,ee)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,x*y)).add(new go.PathSegment(go.PathSegment.Move,b,ee)).add(new go.PathSegment(go.PathSegment.Line,x*a,x*y)))}),go.Shape.defineFigureGenerator("NotAllowed",function(te,a,y){var x=new go.Geometry,b=oe*.5,ee=.5,z=.5,le=.5,de=new go.PathFigure(z*a,(le-ee)*y);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,(z-ee)*a,le*y,(z-b)*a,(le-ee)*y,(z-ee)*a,(le-b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le+ee)*y,(z-ee)*a,(le+b)*y,(z-b)*a,(le+ee)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,le*y,(z+b)*a,(le+ee)*y,(z+ee)*a,(le+b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le-ee)*y,(z+ee)*a,(le-b)*y,(z+b)*a,(le-ee)*y)),ee=.4,b=oe*.4;var ge=ye(),fe=ye(),me=ye(),be=ye();pe(z,le-ee,z+b,le-ee,z+ee,le-b,z+ee,le,.42,ge,fe,me,be,be);var ve=ye(),Pe=ye(),Ee=ye();pe(z,le-ee,z+b,le-ee,z+ee,le-b,z+ee,le,.58,be,be,Ee,ve,Pe);var _e=ye(),Ce=ye(),xe=ye();pe(z,le+ee,z-b,le+ee,z-ee,le+b,z-ee,le,.42,_e,Ce,xe,be,be);var we=ye(),De=ye(),Oe=ye();return pe(z,le+ee,z-b,le+ee,z-ee,le+b,z-ee,le,.58,be,be,Oe,we,De),de.add(new go.PathSegment(go.PathSegment.Move,Oe.x*a,Oe.y*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z-ee)*a,le*y,we.x*a,we.y*y,De.x*a,De.y*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le-ee)*y,(z-ee)*a,(le-b)*y,(z-b)*a,(le-ee)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,me.x*a,me.y*y,ge.x*a,ge.y*y,fe.x*a,fe.y*y)),de.add(new go.PathSegment(go.PathSegment.Line,Oe.x*a,Oe.y*y).close()),de.add(new go.PathSegment(go.PathSegment.Move,xe.x*a,xe.y*y)),de.add(new go.PathSegment(go.PathSegment.Line,Ee.x*a,Ee.y*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,le*y,ve.x*a,ve.y*y,Pe.x*a,Pe.y*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le+ee)*y,(z+ee)*a,(le+b)*y,(z+b)*a,(le+ee)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,xe.x*a,xe.y*y,_e.x*a,_e.y*y,Ce.x*a,Ce.y*y).close()),je(ge),je(fe),je(me),je(be),je(ve),je(Pe),je(Ee),je(_e),je(Ce),je(xe),je(we),je(De),je(Oe),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Fragile",function(te,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 ct("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(te,a,y){var x=te?te.parameter1:NaN;(isNaN(x)||x<0)&&(x=30),x>a&&(x=a);var b=(a-x)/2,ee=b+x;return new go.Geometry().add(new go.PathFigure(ee,.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(te,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(te,a,y){var x=new go.Geometry,b=oe*.4,ee=.4,z=.5,le=.5,de=ye(),ge=ye(),fe=ye(),me=ye(),be=new go.PathFigure((z-ee)*a,le*y,!1);x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le-ee)*y,(z-ee)*a,(le-b)*y,(z-b)*a,(le-ee)*y)),pe(z,le-ee,z+b,le-ee,z+ee,le-b,z+ee,le,.44,fe,me,ge,de,de),be.add(new go.PathSegment(go.PathSegment.Bezier,ge.x*a,ge.y*y,fe.x*a,fe.y*y,me.x*a,me.y*y));var ve=Se(ge.x,ge.y);pe(z,le-ee,z+b,le-ee,z+ee,le-b,z+ee,le,.56,de,de,ge,fe,me);var Pe=Se(ge.x,ge.y);be.add(new go.PathSegment(go.PathSegment.Line,(ve.x*.1+.95*.9)*a,ve.y*.1*y)),be.add(new go.PathSegment(go.PathSegment.Line,.85*a,ve.y*.1*y)),be.add(new go.PathSegment(go.PathSegment.Line,.85*a,0)),be.add(new go.PathSegment(go.PathSegment.Line,a,0)),be.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),be.add(new go.PathSegment(go.PathSegment.Line,(Pe.x*.1+.9)*a,.15*y)),be.add(new go.PathSegment(go.PathSegment.Line,(Pe.x*.1+.9)*a,(Pe.y*.1+.05*.9)*y)),be.add(new go.PathSegment(go.PathSegment.Line,Pe.x*a,Pe.y*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,le*y,fe.x*a,fe.y*y,me.x*a,me.y*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le+ee)*y,(z+ee)*a,(le+b)*y,(z+b)*a,(le+ee)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(z-ee)*a,le*y,(z-b)*a,(le+ee)*y,(z-ee)*a,(le+b)*y)),ee=.35,b=oe*.35;var Ee=new go.PathFigure(z*a,(le-ee)*y,!1);x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(z-ee)*a,le*y,(z-b)*a,(le-ee)*y,(z-ee)*a,(le-b)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le+ee)*y,(z-ee)*a,(le+b)*y,(z-b)*a,(le+ee)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,le*y,(z+b)*a,(le+ee)*y,(z+ee)*a,(le+b)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le-ee)*y,(z+ee)*a,(le-b)*y,(z+b)*a,(le-ee)*y));var _e=new go.PathFigure((z-ee)*a,le*y,!1);return x.add(_e),je(de),je(ge),je(fe),je(me),je(ve),je(Pe),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(te,a,y){var x=new go.Geometry,b=.375,ee=0,z=-.125,le=b*oe,de=new go.PathFigure((.525+ee)*a,(.5+b+z)*y,!1);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+ee)*a,(.5+z)*y,(.5+le+ee)*a,(.5+b+z)*y,(.5+b+ee)*a,(.5+le+z)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-b+z)*y,(1-.5+b+ee)*a,(.5-le+z)*y,(.5+le+ee)*a,(.5-b+z)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+ee)*a,(.5+z)*y,(.5-le+ee)*a,(.5-b+z)*y,(.5-b+ee)*a,(.5-le+z)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(.475+ee)*a,(.5+b+z)*y,(.5-b+ee)*a,(.5+le+z)*y,(.5-le+ee)*a,(.5+b+z)*y)),de.add(new go.PathSegment(go.PathSegment.Line,.475*a,.85*y)),de.add(new go.PathSegment(go.PathSegment.Line,.425*a,.85*y)),de.add(new go.PathSegment(go.PathSegment.Line,.425*a,.9*y)),de.add(new go.PathSegment(go.PathSegment.Line,.475*a,.9*y)),de.add(new go.PathSegment(go.PathSegment.Line,.475*a,y)),de.add(new go.PathSegment(go.PathSegment.Line,.525*a,y)),de.add(new go.PathSegment(go.PathSegment.Line,.525*a,.9*y)),de.add(new go.PathSegment(go.PathSegment.Line,.575*a,.9*y)),de.add(new go.PathSegment(go.PathSegment.Line,.575*a,.85*y)),de.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*y).close()),b=.325,ee=0,z=-.125,le=b*oe;var de=new go.PathFigure((1-.5+b+ee)*a,(.5+z)*y,!1);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5+b+z)*y,(.5+b+ee)*a,(.5+le+z)*y,(.5+le+ee)*a,(.5+b+z)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+ee)*a,(.5+z)*y,(.5-le+ee)*a,(.5+b+z)*y,(.5-b+ee)*a,(.5+le+z)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-b+z)*y,(.5-b+ee)*a,(.5-le+z)*y,(.5-le+ee)*a,(.5-b+z)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+ee)*a,(.5+z)*y,(.5+le+ee)*a,(.5-b+z)*y,(1-.5+b+ee)*a,(.5-le+z)*y));var de=new go.PathFigure((.525+ee)*a,(.5+b+z)*y,!1);return x.add(de),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(te,a,y){var x=te?te.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(te,a,y){var x=te?te.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(te,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(te,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(te,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(te,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(te,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(te,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(te,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(te,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(te,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(te,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(te,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 ct("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new ct("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=.3);var b=te?te.parameter2:NaN;isNaN(b)&&(b=.3);var ee=(1-x)*a,z=(.5-b/2)*y,le=(.5+b/2)*y,de=new go.Geometry,ge=new go.PathFigure(0,z,!0);de.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,ee,z)),ge.add(new go.PathSegment(go.PathSegment.Line,ee,0)),ge.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ge.add(new go.PathSegment(go.PathSegment.Line,ee,y)),ge.add(new go.PathSegment(go.PathSegment.Line,ee,le)),ge.add(new go.PathSegment(go.PathSegment.Line,0,le).close()),de.spot1=new go.Spot(0,z/y);var fe=E(0,le/y,1,le/y,ee/a,1,1,.5,ye());return de.spot2=new go.Spot(fe.x,fe.y),je(fe),de}),go.Shape.setFigureParameter("Arrow2",0,new ct("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new ct("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=30),x>a&&(x=a);var b=te?te.parameter2:NaN;isNaN(b)&&(b=30),b=Math.min(b,y/2);var ee=a-x,z=(y-b)/2,le=z+b,de=new go.Geometry,ge=new go.PathFigure(0,z,!0);de.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,ee,z)),ge.add(new go.PathSegment(go.PathSegment.Line,ee,0)),ge.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ge.add(new go.PathSegment(go.PathSegment.Line,ee,y)),ge.add(new go.PathSegment(go.PathSegment.Line,ee,le)),ge.add(new go.PathSegment(go.PathSegment.Line,0,le).close()),de.spot1=new go.Spot(0,z/y);var fe=E(0,le/y,1,le/y,ee/a,1,1,.5,ye());return de.spot2=new go.Spot(fe.x,fe.y),je(fe),de}),go.Shape.defineFigureGenerator("Chevron",function(te,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(te,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 ct("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=.3);var b=(.5-x/2)*y,ee=(.5+x/2)*y,z=new go.Geometry,le=new go.PathFigure(a,.5*y,!0);z.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),le.add(new go.PathSegment(go.PathSegment.Line,.3*a,ee)),le.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),le.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),le.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),le.add(new go.PathSegment(go.PathSegment.Line,.3*a,b)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close());var de=E(0,.5,.3,0,0,b/y,.1,b/y,ye());return z.spot1=new go.Spot(de.x,de.y),de=E(.7,1,1,.5,0,ee/y,1,ee/y,de),z.spot2=new go.Spot(de.x,de.y),je(de),z}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new ct("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new ct("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=40);var b=te?te.parameter2:NaN;isNaN(b)&&(b=100);var ee=(y-x)/2,z=ee+x,le=(y-b)/2,de=le+b;(x>y||b>y)&&(b>x?(x=x*y/b,ee=(y-x)/2,z=ee+x,le=0,de=y):(ee=0,z=y,le=0,de=y));var ge=new go.Geometry,fe=new go.PathFigure(a,.5*y,!0);ge.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,de)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),fe.add(new go.PathSegment(go.PathSegment.Line,.3*a,z)),fe.add(new go.PathSegment(go.PathSegment.Line,.3*a,de)),fe.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.3*a,le)),fe.add(new go.PathSegment(go.PathSegment.Line,.3*a,ee)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,le).close());var me=E(0,.5,.3,le/y,0,ee/y,1,ee/y,ye());return ge.spot1=new go.Spot(me.x,me.y),me=E(.7,de/y,1,.5,0,z/y,1,z/y,me),ge.spot2=new go.Spot(me.x,me.y),je(me),ge}),go.Shape.setFigureParameter("IBeamArrow",0,new ct("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=.3);var b=(.5-x/2)*y,ee=(.5+x/2)*y,z=new go.Geometry,le=new go.PathFigure(a,.5*y,!0);z.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),le.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),le.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),le.add(new go.PathSegment(go.PathSegment.Line,0,y)),le.add(new go.PathSegment(go.PathSegment.Line,0,0)),le.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),le.add(new go.PathSegment(go.PathSegment.Line,.2*a,b)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),z.spot1=new go.Spot(0,b/y);var de=E(.7,1,1,.5,0,ee/y,1,ee/y,ye());return z.spot2=new go.Spot(de.x,de.y),je(de),z}),go.Shape.setFigureParameter("IBeamArrow2",0,new ct("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new ct("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=40);var b=te?te.parameter2:NaN;isNaN(b)&&(b=100);var ee=(y-x)/2,z=ee+x,le=(y-b)/2,de=le+b;(x>y||b>y)&&(b>x?(x=x*y/b,ee=(y-x)/2,z=ee+x,le=0,de=y):(ee=0,z=y,le=0,de=y));var ge=new go.Geometry,fe=new go.PathFigure(a,.5*y,!0);ge.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,de)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*a,de)),fe.add(new go.PathSegment(go.PathSegment.Line,0,de)),fe.add(new go.PathSegment(go.PathSegment.Line,0,le)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*a,le)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,le).close()),ge.spot1=new go.Spot(0,ee/y);var me=E(.7,de/y,1,.5,0,z/y,1,z/y,ye());return ge.spot2=new go.Spot(me.x,me.y),je(me),ge}),go.Shape.setFigureParameter("Pointer",0,new ct("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=.1);var b=new go.Geometry,ee=new go.PathFigure(a,.5*y,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,x*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),b.spot1=new go.Spot(x,.35);var z=E(.2,.65,1,.65,0,1,1,.5,ye());return b.spot2=new go.Spot(z.x,z.y),je(z),b}),go.Shape.setFigureParameter("RoundedPointer",0,new ct("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=.3);var b=new go.Geometry,ee=new go.PathFigure(a,.5*y,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.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 z=E(0,.65,1,.65,0,1,1,.5,ye());return b.spot2=new go.Spot(z.x,z.y),je(z),b}),go.Shape.setFigureParameter("SplitEndArrow",0,new ct("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=.4);var b=(.5-x/2)*y,ee=(.5+x/2)*y,z=new go.Geometry,le=new go.PathFigure(a,.5*y,!0);z.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),le.add(new go.PathSegment(go.PathSegment.Line,0,ee)),le.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),le.add(new go.PathSegment(go.PathSegment.Line,0,b)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),z.spot1=new go.Spot(.2,.3);var de=E(.7,1,1,.5,0,ee/y,1,ee/y,ye());return z.spot2=new go.Spot(de.x,de.y),je(de),z}),go.Shape.setFigureParameter("SplitEndArrow2",0,new ct("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=50);var b=(y-x)/2,ee=b+x;x>y&&(b=0,ee=y);var z=new go.Geometry,le=new go.PathFigure(a,.5*y,!0);z.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),le.add(new go.PathSegment(go.PathSegment.Line,0,ee)),le.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),le.add(new go.PathSegment(go.PathSegment.Line,0,b)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),z.spot1=new go.Spot(.2,b/y);var de=E(.7,1,1,.5,0,ee/y,1,ee/y,ye());return z.spot2=new go.Spot(de.x,de.y),je(de),z}),go.Shape.setFigureParameter("SquareArrow",0,new ct("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=.7);var b=new go.Geometry,ee=new go.PathFigure(a,.5*y,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,x*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,0)),ee.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(te,a,y){var x=new go.Geometry,b=oe*.5,ee=oe*.1,z=new go.PathFigure(0,.9*y,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+ee)*y,(.5+b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+ee)*y).close()),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.97),x}),go.Shape.defineFigureGenerator("Cone2",function(te,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 ee=new go.PathFigure(0,.9*y,!1);return x.add(ee),ee.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(te,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 ee=new go.PathFigure(.5*a,y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.15*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.5*a,.3*y)),ee.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(te,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 ee=new go.PathFigure(0,.3*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Move,.7*a,.3*y)),ee.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(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,y/3);var b=new go.Geometry,ee=oe*.5,z=new go.PathFigure(0,x,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,oe*x,(.5-ee)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,1*a,x,(.5+ee)*a,0,1*a,oe*x)),z.add(new go.PathSegment(go.PathSegment.Line,a,y-x)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,1*y,1*a,y-oe*x,(.5+ee)*a,1*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,(.5-ee)*a,1*y,0,y-oe*x)),z.add(new go.PathSegment(go.PathSegment.Line,0,x));var le=new go.PathFigure(a,x,!1);return b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,2*x,1*a,2*x-oe*x,(.5+ee)*a,2*x)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,x,(.5-ee)*a,2*x,0,2*x-oe*x)),b.spot1=new go.Spot(0,0,0,2*x),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Cylinder2",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,y/3);var b=new go.Geometry,ee=oe*.5,z=new go.PathFigure(0,y-x,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,x)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,oe*x,(.5-ee)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,x,(.5+ee)*a,0,a,oe*x)),z.add(new go.PathSegment(go.PathSegment.Line,a,y-x)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,y-oe*x,(.5+ee)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,(.5-ee)*a,y,0,y-oe*x));var le=new go.PathFigure(0,y-x,!1);return b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y-2*x,0,y-x-oe*x,(.5-ee)*a,y-2*x)),le.add(new go.PathSegment(go.PathSegment.Bezier,a,y-x,(.5+ee)*a,y-2*x,a,y-x-oe*x)),b.spot1=new go.Spot(0,0),b.spot2=new go.Spot(1,1,0,-2*x),b}),go.Shape.defineFigureGenerator("Cylinder3",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var b=new go.Geometry,ee=oe*.5,z=new go.PathFigure(x,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-oe*x,0,a,(.5-ee)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,(.5+ee)*y,a-oe*x,y)),z.add(new go.PathSegment(go.PathSegment.Line,x,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,oe*x,y,0,(.5+ee)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-ee)*y,oe*x,0));var le=new go.PathFigure(x,0,!1);return b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,2*x,.5*y,x+oe*x,0,2*x,(.5-ee)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,x,y,2*x,(.5+ee)*y,x+oe*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(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var b=new go.Geometry,ee=oe*.5,z=new go.PathFigure(a-x,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-oe*x,0,a,(.5-ee)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,(.5+ee)*y,a-oe*x,y)),z.add(new go.PathSegment(go.PathSegment.Line,x,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,oe*x,y,0,(.5+ee)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-ee)*y,oe*x,0)),z.add(new go.PathSegment(go.PathSegment.Line,a-x,0));var le=new go.PathFigure(a-x,0,!1);return b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,a-2*x,.5*y,a-x-oe*x,0,a-2*x,(.5-ee)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a-2*x,(.5+ee)*y,a-x-oe*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(te,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 ee=new go.PathFigure(.25*a,.25*y,!1);return x.add(ee),ee.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(te,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 ee=new go.PathFigure(0,y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),ee.add(new go.PathSegment(go.PathSegment.Move,0,.25*y)),ee.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(te,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 ee=new go.PathFigure(.5*a,0,!1);return x.add(ee),ee.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(te,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 ee=new go.PathFigure(.5*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.85*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),ee.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(te,a,y){var x=new go.Geometry,b=.2,ee=.1,z=oe*b,le=oe*ee,de=.5,ge=.1,fe=new go.PathFigure(de*a,(ge+ee)*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,(de-b)*a,ge*y,(de-z)*a,(ge+ee)*y,(de-b)*a,(ge+le)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge-ee)*y,(de-b)*a,(ge-le)*y,(de-z)*a,(ge-ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(de+b)*a,ge*y,(de+z)*a,(ge-ee)*y,(de+b)*a,(ge-le)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge+ee)*y,(de+b)*a,(ge+le)*y,(de+z)*a,(ge+ee)*y));var me=.05,be=oe*me;de=.05,ge=.25;var ve=new go.PathFigure(.5*a,.2*y,!0);return x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,.95*a,.2*y)),de=.95,ge=.25,ve.add(new go.PathSegment(go.PathSegment.Bezier,(de+me)*a,ge*y,(de+be)*a,(ge-me)*y,(de+me)*a,(ge-be)*y)),ve.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),ve.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),ve.add(new go.PathSegment(go.PathSegment.Line,.85*a,.35*y)),me=.025,be=oe*me,de=.825,ge=.35,ve.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge-me)*y,(de+me)*a,(ge-be)*y,(de+be)*a,(ge-me)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(de-me)*a,ge*y,(de-be)*a,(ge-me)*y,(de-me)*a,(ge-be)*y)),ve.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),ve.add(new go.PathSegment(go.PathSegment.Line,.55*a,y)),ve.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y)),me=.05,be=oe*me,de=.5,ge=.7,ve.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge-me)*y,(de+me)*a,(ge-be)*y,(de+be)*a,(ge-me)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(de-me)*a,ge*y,(de-be)*a,(ge-me)*y,(de-me)*a,(ge-be)*y)),ve.add(new go.PathSegment(go.PathSegment.Line,.45*a,y)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*a,.35*y)),me=.025,be=oe*me,de=.175,ge=.35,ve.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge-me)*y,(de+me)*a,(ge-be)*y,(de+be)*a,(ge-me)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(de-me)*a,ge*y,(de-be)*a,(ge-me)*y,(de-me)*a,(ge-be)*y)),ve.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y)),ve.add(new go.PathSegment(go.PathSegment.Line,0,.6*y)),ve.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),me=.05,be=oe*me,de=.05,ge=.25,ve.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge-me)*y,(de-me)*a,(ge-be)*y,(de-be)*a,(ge-me)*y)),ve.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 ct("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=.2);var b=new go.Geometry,ee=new go.PathFigure(a,0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,x*y)),ee.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(te,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 ee=new go.PathFigure(.5*a,.5*y,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.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(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN;isNaN(b)&&(b=.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 z=new go.PathFigure(0,b*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),z.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*y)),x}),go.Shape.defineFigureGenerator("Database",function(te,a,y){var x=new go.Geometry,b=oe*.5,ee=oe*.1,z=new go.PathFigure(a,.1*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+ee)*y,(.5+b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+ee)*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-ee)*y,(.5-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+b)*a,0,a,(.1-ee)*y));var le=new go.PathFigure(a,.1*y,!1);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+ee)*y,(.5+b)*a,.2*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-b)*a,.2*y,0,(.1+ee)*y)),le.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+ee)*y,(.5+b)*a,.3*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-b)*a,.3*y,0,(.2+ee)*y)),le.add(new go.PathSegment(go.PathSegment.Move,a,.3*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.4*y,a,(.3+ee)*y,(.5+b)*a,.4*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*y,(.5-b)*a,.4*y,0,(.3+ee)*y)),x.spot1=new go.Spot(0,.4),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("DataStorage",function(te,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(te,a,y){var x=new go.Geometry,b=oe*.5,ee=oe*.1,z=new go.PathFigure(a,.1*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+ee)*y,(.5+b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+ee)*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-ee)*y,(.5-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+b)*a,0,a,(.1-ee)*y));var le=new go.PathFigure(a,.1*y,!1);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+ee)*y,(.5+b)*a,.2*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-b)*a,.2*y,0,(.1+ee)*y)),le.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+ee)*y,(.5+b)*a,.3*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-b)*a,.3*y,0,(.2+ee)*y)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("Display",function(te,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(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN;isNaN(b)?b=.2:b<.15&&(b=.15);var ee=oe*.2,z=new go.PathFigure(0,.2*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,0,(.2-ee)*y,(.2-ee)*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.2*y,(.8+ee)*a,0,a,(.2-ee)*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,y,a,(.8+ee)*y,(.8+ee)*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*y,(.2-ee)*a,y,0,(.8+ee)*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.2*y));var le=new go.PathFigure(0,b*y,!1);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),x}),go.Shape.defineFigureGenerator("DividedProcess",function(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN;(isNaN(b)||b<.1)&&(b=.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 z=new go.PathFigure(0,b*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),x}),go.Shape.defineFigureGenerator("Document",function(te,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(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN;(isNaN(b)||b<.2)&&(b=.2);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 z=new go.PathFigure(b*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,b*y)),z.add(new go.PathSegment(go.PathSegment.Move,a,b*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*y)),z.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),z.add(new go.PathSegment(go.PathSegment.Move,(1-b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*y)),x}),go.Shape.defineFigureGenerator("ExternalProcess",function(te,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 ee=new go.PathFigure(.1*a,.4*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.9*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.6*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.4*a,.9*y)),ee.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(te,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 ee=new go.PathFigure(.75*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*y)),ee.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(te,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 ee=new go.PathFigure(a,.5*y,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,y));var z=new go.PathFigure(a,.5*y,!1);return x.add(z),z.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(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN,ee=te?te.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(ee)&&(ee=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var le=new go.PathFigure(b*a,0,!1);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),le.add(new go.PathSegment(go.PathSegment.Move,0,ee*y)),le.add(new go.PathSegment(go.PathSegment.Line,a,ee*y)),x}),go.Shape.defineFigureGenerator("Junction",function(te,a,y){var x=new go.Geometry,b=1/Math.SQRT2,ee=(1-1/Math.SQRT2)/2,z=oe*.5,le=.5,de=new go.PathFigure(a,le*y,!0);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,le*a,y,a,(le+z)*y,(le+z)*a,y)),de.add(new go.PathSegment(go.PathSegment.Bezier,0,le*y,(le-z)*a,y,0,(le+z)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,le*a,0,0,(le-z)*y,(le-z)*a,0)),de.add(new go.PathSegment(go.PathSegment.Bezier,a,le*y,(le+z)*a,0,a,(le-z)*y));var ge=new go.PathFigure((ee+b)*a,(ee+b)*y,!1);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,ee*a,ee*y)),ge.add(new go.PathSegment(go.PathSegment.Move,ee*a,(ee+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Line,(ee+b)*a,ee*y)),x}),go.Shape.defineFigureGenerator("LinedDocument",function(te,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 ee=new go.PathFigure(.1*a,0,!1);return x.add(ee),ee.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(te,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(te,a,y){var x=new go.Geometry,b=oe*.5,ee=.5,z=new go.PathFigure(.5*a,y,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,0,ee*y,(ee-b)*a,y,0,(ee+b)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,0,0,(ee-b)*y,(ee-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,ee*y,(ee+b)*a,0,a,(ee-b)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,(ee+.1)*a,.9*y,a,(ee+b)*y,(ee+b)*a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.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(te,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(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN;isNaN(b)&&(b=.7);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,b*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.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("MicroformProcessing",function(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN;isNaN(b)&&(b=.25);var ee=new go.PathFigure(0,0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,b*y)),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,.5*a,(1-b)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("MicroformRecording",function(te,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(te,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 ee=new go.PathFigure(.1*a,.2*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.54*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),ee.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(te,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 ee=new go.PathFigure(.2*a,.1*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.1*a,.2*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),ee.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(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN;isNaN(b)&&(b=.1);var ee=1-b,z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close());var le=new go.PathFigure(.5*b*a,b*y,!1);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,(1-.5*b)*a,b*y)),x}),go.Shape.defineFigureGenerator("OffPageConnector",function(te,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(te,a,y){var x=new go.Geometry,b=oe*.5,ee=.5,z=new go.PathFigure(a,ee*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,y,a,(ee+b)*y,(ee+b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,ee*y,(ee-b)*a,y,0,(ee+b)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,0,0,(ee-b)*y,(ee-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,ee*y,(ee+b)*a,0,a,(ee-b)*y));var le=new go.PathFigure(a,.5*y,!1);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),le.add(new go.PathSegment(go.PathSegment.Move,.5*a,y)),le.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),x}),go.Shape.defineFigureGenerator("PaperTape",function(te,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(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN,ee=te?te.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(ee)&&(ee=.3);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,(1-ee)*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN,ee=te?te.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(ee)&&(ee=.3);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,(1-ee)*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-ee)*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("Procedure",function(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN;isNaN(b)&&(b=.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 z=new go.PathFigure((1-b)*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Move,b*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),x}),go.Shape.defineFigureGenerator("Process",function(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN;isNaN(b)&&(b=.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 z=new go.PathFigure(b*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Sort",function(te,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 ee=new go.PathFigure(0,.5*y,!1);return x.add(ee),ee.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(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN;isNaN(b)&&(b=.25);var ee=new go.PathFigure(b*a,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*y,.25*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*y,.25*a,.5*y));var z=new go.PathFigure(b*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),z.add(new go.PathSegment(go.PathSegment.Move,(1-b)*a,0)),z.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(te,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(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN;isNaN(b)&&(b=.1);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,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.75*a,(1-b)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,(1-b)*y).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("AndGate",function(te,a,y){var x=new go.Geometry,b=oe*.5,ee=new go.PathFigure(0,0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(.5+b)*a,0,a,(.5-b)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.5+b)*y,(.5+b)*a,y)),ee.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(te,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(te,a,y){var x=new go.Geometry,b=oe*.5,ee=.5,z=new go.PathFigure(a,ee*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,y,a,(ee+b)*y,(ee+b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,ee*y,(ee-b)*a,y,0,(ee+b)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,0,0,(ee-b)*y,(ee-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,ee*y,(ee+b)*a,0,a,(ee-b)*y));var le=new go.PathFigure(a,ee*y,!1);x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,a,ee*y));var de=new go.PathFigure(.8*a,.75*y,!1);return x.add(de),de.add(new go.PathSegment(go.PathSegment.Line,.8*a,.25*y)),de.add(new go.PathSegment(go.PathSegment.Line,.6*a,.25*y)),de.add(new go.PathSegment(go.PathSegment.Line,.6*a,.75*y)),de.add(new go.PathSegment(go.PathSegment.Line,.4*a,.75*y)),de.add(new go.PathSegment(go.PathSegment.Line,.4*a,.25*y)),de.add(new go.PathSegment(go.PathSegment.Line,.2*a,.25*y)),de.add(new go.PathSegment(go.PathSegment.Line,.2*a,.75*y)),x}),go.Shape.defineFigureGenerator("Ground",function(te,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(te,a,y){var x=new go.Geometry,b=oe*.1,ee=.1,z=.9,le=.5,de=new go.PathFigure(.8*a,.5*y,!0);x.add(de),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,.8*a,.5*y));var ge=new go.PathFigure((z+ee)*a,le*y,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le+ee)*y,(z+ee)*a,(le+b)*y,(z+b)*a,(le+ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z-ee)*a,le*y,(z-b)*a,(le+ee)*y,(z-ee)*a,(le+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le-ee)*y,(z-ee)*a,(le-b)*y,(z-b)*a,(le-ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,le*y,(z+b)*a,(le-ee)*y,(z+ee)*a,(le-b)*y)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.4,.75),x}),go.Shape.defineFigureGenerator("NandGate",function(te,a,y){var x=new go.Geometry,b=oe*.5,ee=oe*.4,z=oe*.1,le=.1,de=.9,ge=.5,fe=new go.PathFigure(.8*a,.5*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,y,.8*a,(.5+ee)*y,(.4+b)*a,y)),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,.4*a,0)),fe.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(.4+b)*a,0,.8*a,(.5-ee)*y));var me=new go.PathFigure((de+le)*a,ge*y,!0);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge+le)*y,(de+le)*a,(ge+z)*y,(de+z)*a,(ge+le)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(de-le)*a,ge*y,(de-z)*a,(ge+le)*y,(de-le)*a,(ge+z)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge-le)*y,(de-le)*a,(ge-z)*y,(de-z)*a,(ge-le)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(de+le)*a,ge*y,(de+z)*a,(ge-le)*y,(de+le)*a,(ge-z)*y)),x.spot1=new go.Spot(0,.05),x.spot2=new go.Spot(.55,.95),x}),go.Shape.defineFigureGenerator("NorGate",function(te,a,y){var x=new go.Geometry,b=.5,ee=oe*b,z=0,le=.5,de=new go.PathFigure(.8*a,.5*y,!0);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.7*a,(le+ee)*y,(z+ee)*a,(le+b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*y,.25*a,.25*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(z+ee)*a,(le-b)*y,.7*a,(le-ee)*y)),b=.1,ee=oe*.1,z=.9,le=.5;var ge=new go.PathFigure((z-b)*a,le*y,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le-b)*y,(z-b)*a,(le-ee)*y,(z-ee)*a,(le-b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,le*y,(z+ee)*a,(le-b)*y,(z+b)*a,(le-ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le+b)*y,(z+b)*a,(le+ee)*y,(z+ee)*a,(le+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,le*y,(z-ee)*a,(le+b)*y,(z-b)*a,(le+ee)*y)),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.6,.75),x}),go.Shape.defineFigureGenerator("OrGate",function(te,a,y){var x=new go.Geometry,b=.5,ee=oe*b,z=0,le=.5,de=new go.PathFigure(0,0,!0);return x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(z+ee+ee)*a,(le-b)*y,.8*a,(le-ee)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.8*a,(le+ee)*y,(z+ee+ee)*a,(le+b)*y)),de.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(te,a,y){var x=new go.Geometry,b=.5,ee=oe*b,z=.2,le=.5,de=new go.PathFigure(.1*a,0,!1);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var ge=new go.PathFigure(.8*a,.5*y,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.7*a,(le+ee)*y,(z+ee)*a,(le+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*y,.45*a,.25*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(z+ee)*a,(le-b)*y,.7*a,(le-ee)*y)),b=.1,ee=oe*.1,z=.9,le=.5;var fe=new go.PathFigure((z-b)*a,le*y,!0);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le-b)*y,(z-b)*a,(le-ee)*y,(z-ee)*a,(le-b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,le*y,(z+ee)*a,(le-b)*y,(z+b)*a,(le-ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le+b)*y,(z+b)*a,(le+ee)*y,(z+ee)*a,(le+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,le*y,(z-ee)*a,(le+b)*y,(z-b)*a,(le+ee)*y)),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.65,.75),x}),go.Shape.defineFigureGenerator("XorGate",function(te,a,y){var x=new go.Geometry,b=.5,ee=oe*b,z=.2,le=.5,de=new go.PathFigure(.1*a,0,!1);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var ge=new go.PathFigure(.2*a,0,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(z+ee)*a,(le-b)*y,.9*a,(le-ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.9*a,(le+ee)*y,(z+ee)*a,(le+b)*y)),ge.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(te,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(te,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(te,a,y){var x=new go.Geometry,b=oe*.1,ee=.1,z=.1,le=.5,de=new go.PathFigure((z-b*.5)*a,y,!1);return x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,0,(z-b)*a,y,(z-ee)*a,0)),z=.3,de.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,(z+ee)*a,0,(z+b)*a,y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,0,(z-b)*a,y,(z-ee)*a,0)),z=.5,de.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,(z+ee)*a,0,(z+b)*a,y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,0,(z-b)*a,y,(z-ee)*a,0)),z=.7,de.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,(z+ee)*a,0,(z+b)*a,y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,0,(z-b)*a,y,(z-ee)*a,0)),z=.9,de.add(new go.PathSegment(go.PathSegment.Bezier,(z+b*.5)*a,y,(z+ee)*a,0,(z+b)*a,y)),x}),go.Shape.defineFigureGenerator("ACvoltageSource",function(te,a,y){var x=new go.Geometry,b=oe*.5,ee=.5,z=.5,le=.5,de=new go.PathFigure((z-ee)*a,le*y,!1);return x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le-ee)*y,(z-ee)*a,(le-b)*y,(z-b)*a,(le-ee)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,le*y,(z+b)*a,(le-ee)*y,(z+ee)*a,(le-b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le+ee)*y,(z+ee)*a,(le+b)*y,(z+b)*a,(le+ee)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z-ee)*a,le*y,(z-b)*a,(le+ee)*y,(z-ee)*a,(le+b)*y)),de.add(new go.PathSegment(go.PathSegment.Move,(z-ee+.1)*a,le*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee-.1)*a,le*y,z*a,(le-ee)*y,z*a,(le+ee)*y)),x}),go.Shape.defineFigureGenerator("DCvoltageSource",function(te,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(te,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(te,a,y){var x=new go.Geometry,b=a,ee=y;a=a*.38,y=y*.6;var z=oe*.8,le=.8,de=0,ge=.5,fe=(b-a)/2,me=(ee-y)/2,be=new go.PathFigure(de*a+fe,(ge+le)*y+me,!0);x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,(de-le)*a+fe,ge*y+me,(de-z)*a+fe,(ge+le)*y+me,(de-le)*a+fe,(ge+z)*y+me)),be.add(new go.PathSegment(go.PathSegment.Bezier,de*a+fe,(ge-le)*y+me,(de-le)*a+fe,(ge-z)*y+me,(de-z)*a+fe,(ge-le)*y+me)),be.add(new go.PathSegment(go.PathSegment.Bezier,(de-le+z*.5)*a+fe,ge*y+me,de*a+fe,(ge-le)*y+me,(de-le+z*.5)*a+fe,(ge-z)*y+me)),be.add(new go.PathSegment(go.PathSegment.Bezier,de*a+fe,(ge+le)*y+me,(de-le+z*.5)*a+fe,(ge+z)*y+me,de*a+fe,(ge+le)*y+me).close()),z=oe*.4,le=.4,de=.2,ge=.5;var ve=new go.PathFigure(de*a+fe,(ge+le)*y+me,!0);x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,(de-le)*a+fe,ge*y+me,(de-z)*a+fe,(ge+le)*y+me,(de-le)*a+fe,(ge+z)*y+me)),ve.add(new go.PathSegment(go.PathSegment.Bezier,de*a+fe,(ge-le)*y+me,(de-le)*a+fe,(ge-z)*y+me,(de-z)*a+fe,(ge-le)*y+me)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(de-le+z*.5)*a+fe,ge*y+me,de*a+fe,(ge-le)*y+me,(de-le+z*.5)*a+fe,(ge-z)*y+me)),ve.add(new go.PathSegment(go.PathSegment.Bezier,de*a+fe,(ge+le)*y+me,(de-le+z*.5)*a+fe,(ge+z)*y+me,de*a+fe,(ge+le)*y+me).close()),z=oe*.2,le=.2,de=.5,ge=.5;var Pe=new go.PathFigure((de-le)*a+fe,ge*y+me,!0);x.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,de*a+fe,(ge-le)*y+me,(de-le)*a+fe,(ge-z)*y+me,(de-z)*a+fe,(ge-le)*y+me)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(de+le)*a+fe,ge*y+me,(de+z)*a+fe,(ge-le)*y+me,(de+le)*a+fe,(ge-z)*y+me)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,de*a+fe,(ge+le)*y+me,(de+le)*a+fe,(ge+z)*y+me,(de+z)*a+fe,(ge+le)*y+me)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(de-le)*a+fe,ge*y+me,(de-z)*a+fe,(ge+le)*y+me,(de-le)*a+fe,(ge+z)*y+me)),z=oe*.4,le=.4,de=.8,ge=.5;var Ee=new go.PathFigure(de*a+fe,(ge-le)*y+me,!0);x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(de+le)*a+fe,ge*y+me,(de+z)*a+fe,(ge-le)*y+me,(de+le)*a+fe,(ge-z)*y+me)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,de*a+fe,(ge+le)*y+me,(de+le)*a+fe,(ge+z)*y+me,(de+z)*a+fe,(ge+le)*y+me)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(de+le-z*.5)*a+fe,ge*y+me,de*a+fe,(ge+le)*y+me,(de+le-z*.5)*a+fe,(ge+z)*y+me)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,de*a+fe,(ge-le)*y+me,(de+le-z*.5)*a+fe,(ge-z)*y+me,de*a+fe,(ge-le)*y+me).close()),z=oe*.8,le=.8,de=1,ge=.5;var _e=new go.PathFigure(de*a+fe,(ge-le)*y+me,!0);return x.add(_e),_e.add(new go.PathSegment(go.PathSegment.Bezier,(de+le)*a+fe,ge*y+me,(de+z)*a+fe,(ge-le)*y+me,(de+le)*a+fe,(ge-z)*y+me)),_e.add(new go.PathSegment(go.PathSegment.Bezier,de*a+fe,(ge+le)*y+me,(de+le)*a+fe,(ge+z)*y+me,(de+z)*a+fe,(ge+le)*y+me)),_e.add(new go.PathSegment(go.PathSegment.Bezier,(de+le-z*.5)*a+fe,ge*y+me,de*a+fe,(ge+le)*y+me,(de+le-z*.5)*a+fe,(ge+z)*y+me)),_e.add(new go.PathSegment(go.PathSegment.Bezier,de*a+fe,(ge-le)*y+me,(de+le-z*.5)*a+fe,(ge-z)*y+me,de*a+fe,(ge-le)*y+me).close()),x}),go.Shape.defineFigureGenerator("Email",function(te,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 ee=new go.PathFigure(0,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Move,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.45*a,.54*y)),ee.add(new go.PathSegment(go.PathSegment.Move,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.54*y)),x}),go.Shape.defineFigureGenerator("Ethernet",function(te,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 ee=new go.PathFigure(.1*a,y,!0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.1*a,y).close());var z=new go.PathFigure(.6*a,y,!0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,y).close());var le=new go.PathFigure(0,.5*y,!1);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),le.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*y)),le.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),le.add(new go.PathSegment(go.PathSegment.Move,.75*a,.5*y)),le.add(new go.PathSegment(go.PathSegment.Line,.75*a,.6*y)),le.add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*y)),le.add(new go.PathSegment(go.PathSegment.Line,.25*a,.6*y)),x}),go.Shape.defineFigureGenerator("Power",function(te,a,y){var x=new go.Geometry,b=oe*.4,ee=.4,z=.5,le=.5,de=ye(),ge=ye(),fe=ye(),me=ye();pe(z,le-ee,z+b,le-ee,z+ee,le-b,z+ee,le,.5,de,de,ge,fe,me);var be=Se(ge.x,ge.y),ve=new go.PathFigure(ge.x*a,ge.y*y,!0);x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,le*y,fe.x*a,fe.y*y,me.x*a,me.y*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le+ee)*y,(z+ee)*a,(le+b)*y,(z+b)*a,(le+ee)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(z-ee)*a,le*y,(z-b)*a,(le+ee)*y,(z-ee)*a,(le+b)*y)),pe(z-ee,le,z-ee,le-b,z-b,le-ee,z,le-ee,.5,fe,me,ge,de,de),ve.add(new go.PathSegment(go.PathSegment.Bezier,ge.x*a,ge.y*y,fe.x*a,fe.y*y,me.x*a,me.y*y)),b=oe*.3,ee=.3,pe(z-ee,le,z-ee,le-b,z-b,le-ee,z,le-ee,.5,fe,me,ge,de,de),ve.add(new go.PathSegment(go.PathSegment.Line,ge.x*a,ge.y*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(z-ee)*a,le*y,me.x*a,me.y*y,fe.x*a,fe.y*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le+ee)*y,(z-ee)*a,(le+b)*y,(z-b)*a,(le+ee)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,le*y,(z+b)*a,(le+ee)*y,(z+ee)*a,(le+b)*y)),pe(z,le-ee,z+b,le-ee,z+ee,le-b,z+ee,le,.5,de,de,ge,fe,me),ve.add(new go.PathSegment(go.PathSegment.Bezier,ge.x*a,ge.y*y,me.x*a,me.y*y,fe.x*a,fe.y*y).close());var ve=new go.PathFigure(.45*a,0,!0);return x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*y)),ve.add(new go.PathSegment(go.PathSegment.Line,.55*a,.5*y)),ve.add(new go.PathSegment(go.PathSegment.Line,.55*a,0).close()),je(de),je(ge),je(fe),je(me),je(be),x.spot1=new go.Spot(.25,.45),x.spot2=new go.Spot(.75,.8),x}),go.Shape.defineFigureGenerator("Fallout",function(te,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 ee(z,le,de){z.add(new go.PathSegment(go.PathSegment.Move,(.3+le)*a,(.8+de)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+le)*a,(.5+de)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.1+le)*a,(.5+de)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.3+le)*a,(.8+de)*y).close())}return ee(b,0,0),ee(b,.4,0),ee(b,.2,-.3),x}),go.Shape.defineFigureGenerator("IrritationHazard",function(te,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(te,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(te,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(te,a,y){var x=new go.Geometry,b=.5,ee=0,z=0,le=b*oe,de=.4*Math.SQRT2/2+.5,ge=.5-.5*Math.SQRT2/2,fe=1,me=.5,be=.5,ve=0,Pe=new go.PathFigure(de*a,(1-ge)*y,!1);return x.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,me*y,fe*a,.7*y,fe*a,me*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(be+ee)*a,(ve+ee)*y,(.5+b+ee)*a,(.5-le+ee)*y,(.5+le+ee)*a,(.5-b+ee)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+ee)*a,(.5+z)*y,(.5-le+ee)*a,(.5-b+z)*y,(.5-b+ee)*a,(.5-le+z)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(.35+ee)*a,.9*y,(.5-b+ee)*a,(.5+le+z)*y,(.5-le+ee)*a,.9*y)),Pe.add(new go.PathSegment(go.PathSegment.Move,(.25+ee)*a,.8*y)),Pe.add(new go.PathSegment(go.PathSegment.Line,(.35+ee)*a,.9*y)),Pe.add(new go.PathSegment(go.PathSegment.Line,(.2+ee)*a,.95*y)),x}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(te,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(te,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(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var ee=new go.PathFigure(a,y,!1);x.add(ee);var z=new go.PathFigure(0,.5*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*y,.2*a,.35*y,.3*a,.35*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.7*a,.65*y,.8*a,.65*y)),x}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(te,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(te,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(te,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 ee=new go.PathFigure(.45*a,.73*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,.73*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.38*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.63*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.31*a,.27*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.56*a,.27*y)),x}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var ee=new go.PathFigure(.335*a,(1-.555)*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.68*y,(1-.12)*a,.46*y,(1-.02)*a,.54*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.68*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.335*a,(1-.555)*y,.02*a,.54*y,.12*a,.46*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.365*a,(1-.595)*y));var z=.5-.285,le=.5,de=z,ge=Math.PI/4,fe=4*(1-Math.cos(ge))/(3*Math.sin(ge)),me=fe*.5,be=z,ve=z,Pe=fe*be,Ee=fe*ve;ee.add(new go.PathSegment(go.PathSegment.Bezier,(le-be)*a,de*y,(le-(Pe+be)/2)*a,(de+(ve+Ee)/2)*y,(le-be)*a,(de+Ee)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(de-ve)*y,(le-be)*a,(de-Ee)*y,(le-Pe)*a,(de-ve)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(le+be)*a,de*y,(le+Pe)*a,(de-ve)*y,(le+be)*a,(de-Ee)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*a,(1-.595)*y,(le+be)*a,(de+Ee)*y,(le+(Pe+be)/2)*a,(de+(ve+Ee)/2)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*a,(1-.595)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y));var _e=new go.PathFigure(.2*a,y,!1);x.add(_e),_e.add(new go.PathSegment(go.PathSegment.Line,.2*a,.8*y));var Ce=new go.PathFigure(.8*a,y,!1);return x.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*y)),x}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(te,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 ee=new go.PathFigure(.2*a,.2*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.2*a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*y)),x}),go.Shape.defineFigureGenerator("BpmnEventError",function(te,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(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var ee=new go.PathFigure(a,y,!1);x.add(ee);var z=new go.PathFigure(.1*a,y,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y).close()),x}),go.Shape.defineFigureGenerator("Caution",function(te,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 ee=.05;return b.add(new go.PathSegment(go.PathSegment.Move,(.5-ee)*a,.875*y)),b.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*a,.875*y,ee*a,ee*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(te,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 ee=new go.PathFigure(.475*a,.2*y,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.225*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.275*a,.175*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.325*a,.05*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.05*y,.35*a,0,.375*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.575*a,.375*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.525*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.75*a,.475*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.85*a,.315*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.32*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,.05*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,0,.65*a,.05*y,.625*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.38*a,.0105*y));var z=new go.PathFigure(.675*a,.575*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.875*a,.525*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.775*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.85*a,.95*y,a,.8*y,a,.85*y)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.95*y)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.85*y)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.725*y)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.775*y)),z.add(new go.PathSegment(go.PathSegment.Line,.7*a,.775*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.775*y)),z.add(new go.PathSegment(go.PathSegment.Move,.675*a,.575*y)),z.add(new go.PathSegment(go.PathSegment.Line,.775*a,.775*y)),x}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(te,a,y){var x=new go.Geometry,b=.5,ee=oe*.5,z=new go.PathFigure(a,b*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,b*a,y,a,(b+ee)*y,(b+ee)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,b*y,(b-ee)*a,y,0,(b+ee)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,b*a,0,0,(b-ee)*y,(b-ee)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,b*y,(b+ee)*a,0,a,(b-ee)*y));var le=new go.PathFigure(b*a,0,!1);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,b*a,.15*y)),le.add(new go.PathSegment(go.PathSegment.Move,b*a,y)),le.add(new go.PathSegment(go.PathSegment.Line,b*a,.85*y)),le.add(new go.PathSegment(go.PathSegment.Move,0,b*y)),le.add(new go.PathSegment(go.PathSegment.Line,.15*a,b*y)),le.add(new go.PathSegment(go.PathSegment.Move,a,b*y)),le.add(new go.PathSegment(go.PathSegment.Line,.85*a,b*y)),le.add(new go.PathSegment(go.PathSegment.Move,b*a,b*y)),le.add(new go.PathSegment(go.PathSegment.Line,.58*a,.1*y)),le.add(new go.PathSegment(go.PathSegment.Move,b*a,b*y)),le.add(new go.PathSegment(go.PathSegment.Line,.78*a,.54*y)),x}),go.Shape.defineFigureGenerator("Package",function(te,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 ee=new go.PathFigure(0,.15*y,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),ee.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(te,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 ee=new go.PathFigure(0,.2*y,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var z=new go.PathFigure(0,.5*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.5*y).close()),x}),go.Shape.defineFigureGenerator("Component",function(te,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 ee=new go.PathFigure(0,.2*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.45*a,.2*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.2*y).close());var z=new go.PathFigure(0,.6*y,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.6*y).close()),x}),go.Shape.defineFigureGenerator("Boat Shipment",function(te,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 ee=new go.PathFigure(.15*a,.6*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),x}),go.Shape.defineFigureGenerator("Customer/Supplier",function(te,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(te,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(te,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(te,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 ee=new go.PathFigure(a,.8*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.8*y).close());var z=.1,le=oe*.1,de=.2,ge=.9,fe=new go.PathFigure((de-z)*a,ge*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge-z)*y,(de-z)*a,(ge-le)*y,(de-le)*a,(ge-z)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(de+z)*a,ge*y,(de+le)*a,(ge-z)*y,(de+z)*a,(ge-le)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge+z)*y,(de+z)*a,(ge+le)*y,(de+le)*a,(ge+z)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(de-z)*a,ge*y,(de-le)*a,(ge+z)*y,(de-z)*a,(ge+le)*y).close()),z=.1,le=oe*.1,de=.8,ge=.9;var me=new go.PathFigure((de-z)*a,ge*y,!0);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge-z)*y,(de-z)*a,(ge-le)*y,(de-le)*a,(ge-z)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(de+z)*a,ge*y,(de+le)*a,(ge-z)*y,(de+z)*a,(ge-le)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge+z)*y,(de+z)*a,(ge+le)*y,(de+le)*a,(ge+z)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(de-z)*a,ge*y,(de-le)*a,(ge+z)*y,(de-z)*a,(ge+le)*y).close()),x}),go.Shape.defineFigureGenerator("KanbanPost",function(te,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(te,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 ee=new go.PathFigure(0,.5*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var z=new go.PathFigure(.5*a,.8*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*y));var le=new go.PathFigure(.5*a,.7*y,!1);x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,a,.7*y));var de=.1,ge=oe*.1,fe=.1,me=.9,be=new go.PathFigure((fe-de)*a,me*y,!0);x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(me-de)*y,(fe-de)*a,(me-ge)*y,(fe-ge)*a,(me-de)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(fe+de)*a,me*y,(fe+ge)*a,(me-de)*y,(fe+de)*a,(me-ge)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(me+de)*y,(fe+de)*a,(me+ge)*y,(fe+ge)*a,(me+de)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(fe-de)*a,me*y,(fe-ge)*a,(me+de)*y,(fe-de)*a,(me+ge)*y)),de=.1,ge=oe*.1,fe=.4,me=.9;var ve=new go.PathFigure((fe-de)*a,me*y,!0);return x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(me-de)*y,(fe-de)*a,(me-ge)*y,(fe-ge)*a,(me-de)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(fe+de)*a,me*y,(fe+ge)*a,(me-de)*y,(fe+de)*a,(me-ge)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(me+de)*y,(fe+de)*a,(me+ge)*y,(fe+ge)*a,(me+de)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(fe-de)*a,me*y,(fe-ge)*a,(me+de)*y,(fe-de)*a,(me+ge)*y)),x}),go.Shape.defineFigureGenerator("RailShipment",function(te,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 ee=new go.PathFigure(.45*a,.7*y,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y));var z=new go.PathFigure(.55*a,.4*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.4*y).close());var fe=.05,me=oe*.05,be=.175,ve=.95,le=new go.PathFigure((be-fe)*a,ve*y,!0);x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,be*a,(ve-fe)*y,(be-fe)*a,(ve-me)*y,(be-me)*a,(ve-fe)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,(be+fe)*a,ve*y,(be+me)*a,(ve-fe)*y,(be+fe)*a,(ve-me)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,be*a,(ve+fe)*y,(be+fe)*a,(ve+me)*y,(be+me)*a,(ve+fe)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,(be-fe)*a,ve*y,(be-me)*a,(ve+fe)*y,(be-fe)*a,(ve+me)*y));var fe=.05,me=oe*.05,be=.375,ve=.95,de=new go.PathFigure((be-fe)*a,ve*y,!0);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,be*a,(ve-fe)*y,(be-fe)*a,(ve-me)*y,(be-me)*a,(ve-fe)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(be+fe)*a,ve*y,(be+me)*a,(ve-fe)*y,(be+fe)*a,(ve-me)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,be*a,(ve+fe)*y,(be+fe)*a,(ve+me)*y,(be+me)*a,(ve+fe)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(be-fe)*a,ve*y,(be-me)*a,(ve+fe)*y,(be-fe)*a,(ve+me)*y));var fe=.05,me=oe*.05,be=.625,ve=.95,ge=new go.PathFigure((be-fe)*a,ve*y,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,be*a,(ve-fe)*y,(be-fe)*a,(ve-me)*y,(be-me)*a,(ve-fe)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(be+fe)*a,ve*y,(be+me)*a,(ve-fe)*y,(be+fe)*a,(ve-me)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,be*a,(ve+fe)*y,(be+fe)*a,(ve+me)*y,(be+me)*a,(ve+fe)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(be-fe)*a,ve*y,(be-me)*a,(ve+fe)*y,(be-fe)*a,(ve+me)*y));var fe=.05,me=oe*.05,be=.825,ve=.95,Pe=new go.PathFigure((be-fe)*a,ve*y,!0);x.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,be*a,(ve-fe)*y,(be-fe)*a,(ve-me)*y,(be-me)*a,(ve-fe)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(be+fe)*a,ve*y,(be+me)*a,(ve-fe)*y,(be+fe)*a,(ve-me)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,be*a,(ve+fe)*y,(be+fe)*a,(ve+me)*y,(be+me)*a,(ve+fe)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(be-fe)*a,ve*y,(be-me)*a,(ve+fe)*y,(be-fe)*a,(ve+me)*y).close());var Ee=new go.PathFigure(0,y,!1);return x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),x}),go.Shape.defineFigureGenerator("Warehouse",function(te,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 ee=new go.PathFigure(0,.2*y,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var z=new go.PathFigure(.15*a,y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.15*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.15*a,y).close());var le=.05,de=oe*.05,ge=.35,fe=.775,me=new go.PathFigure((ge-le)*a,fe*y,!0);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(fe-le)*y,(ge-le)*a,(fe-de)*y,(ge-de)*a,(fe-le)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ge+le)*a,fe*y,(ge+de)*a,(fe-le)*y,(ge+le)*a,(fe-de)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(fe+le)*y,(ge+le)*a,(fe+de)*y,(ge+de)*a,(fe+le)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ge-le)*a,fe*y,(ge-de)*a,(fe+le)*y,(ge-le)*a,(fe+de)*y).close()),x}),go.Shape.defineFigureGenerator("ControlCenter",function(te,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(te,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(te,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(te,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(te,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(te,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(te,a,y){var x=new go.Geometry,b=.3,ee=oe*.3,z=.5,le=.7,de=new go.PathFigure((z-b)*a,le*y,!0);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le-b)*y,(z-b)*a,(le-ee)*y,(z-ee)*a,(le-b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,le*y,(z+ee)*a,(le-b)*y,(z+b)*a,(le-ee)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le+b)*y,(z+b)*a,(le+ee)*y,(z+ee)*a,(le+b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,le*y,(z-ee)*a,(le+b)*y,(z-b)*a,(le+ee)*y));var ge=new go.PathFigure(0,.7*y,!1);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,a,.7*y,0,0,a,0)),x}),go.Shape.defineFigureGenerator("TripleFanBlades",function(te,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(te,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(te,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 ee=new go.PathFigure(0,.6*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Move,0,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),x}),go.Shape.defineFigureGenerator("Delete",function(te,a,y){var x=new go.Geometry,b=.5,ee=oe*.5,z=.5,le=.5,de=new go.PathFigure((z-b)*a,le*y,!0);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le-b)*y,(z-b)*a,(le-ee)*y,(z-ee)*a,(le-b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,le*y,(z+ee)*a,(le-b)*y,(z+b)*a,(le-ee)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le+b)*y,(z+b)*a,(le+ee)*y,(z+ee)*a,(le+b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,le*y,(z-ee)*a,(le+b)*y,(z-b)*a,(le+ee)*y));var ge=new go.PathFigure(.15*a,.5*y,!1);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.85*a,.5*y)),x}),go.Shape.defineFigureGenerator("Flag",function(te,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(te,a,y){var x=new go.Geometry,b=.5,ee=oe*.5,z=.5,le=.5,de=new go.PathFigure((z-b)*a,le*y,!1);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le-b)*y,(z-b)*a,(le-ee)*y,(z-ee)*a,(le-b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,le*y,(z+ee)*a,(le-b)*y,(z+b)*a,(le-ee)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le+b)*y,(z+b)*a,(le+ee)*y,(z+ee)*a,(le+b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,le*y,(z-ee)*a,(le+b)*y,(z-b)*a,(le+ee)*y).close()),b=.05,ee=oe*.05,z=.5,le=.8;var ge=new go.PathFigure((z-b)*a,le*y,!1);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le-b)*y,(z-b)*a,(le-ee)*y,(z-ee)*a,(le-b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,le*y,(z+ee)*a,(le-b)*y,(z+b)*a,(le-ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le+b)*y,(z+b)*a,(le+ee)*y,(z+ee)*a,(le+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,le*y,(z-ee)*a,(le+b)*y,(z-b)*a,(le+ee)*y).close()),ge.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),ge.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,.75*a,.475*y,.75*a,.225*y)),ge.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(te,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(te,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 ee=new go.PathFigure(.2*a,.5*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.3*y)),x}),go.Shape.defineFigureGenerator("Unlocked",function(te,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 ee=new go.PathFigure(.2*a,.5*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.35*y)),x}),go.Shape.defineFigureGenerator("Gear",function(te,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(te,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(te,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(te,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 ee=new go.PathFigure(0,y*.6,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,0).close()),x}),go.Shape.defineFigureGenerator("Pencil",function(te,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(te,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 ee=new go.PathFigure(.126*a,.85*y,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.126*a,.45*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.322*a,.45*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.322*a,.85*y).close());var z=new go.PathFigure(.402*a,.85*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.402*a,.45*y)),z.add(new go.PathSegment(go.PathSegment.Line,.598*a,.45*y)),z.add(new go.PathSegment(go.PathSegment.Line,.598*a,.85*y).close());var le=new go.PathFigure(.678*a,.85*y,!1);x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.678*a,.45*y)),le.add(new go.PathSegment(go.PathSegment.Line,.874*a,.45*y)),le.add(new go.PathSegment(go.PathSegment.Line,.874*a,.85*y).close());var de=new go.PathFigure(.5*a,.1*y,!1);return x.add(de),de.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*a,.3*y)),de.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*a,.3*y).close()),x}),go.Shape.defineFigureGenerator("Staircase",function(te,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(te,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 ee=new go.PathFigure(a*.204,y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.204,y*(1-.184))),ee.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*(1-.184*2))),ee.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*1).close());var z=new go.PathFigure(a*.408,y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.408,y*(1-.184*2))),z.add(new go.PathSegment(go.PathSegment.Line,a*.592,y*(1-.184*3))),z.add(new go.PathSegment(go.PathSegment.Line,a*.592,y*1).close());var le=new go.PathFigure(a*.612,y,!0);x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,a*.612,y*(1-.184*3))),le.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*(1-.184*4))),le.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*1).close());var de=new go.PathFigure(a*.816,y,!0);return x.add(de),de.add(new go.PathSegment(go.PathSegment.Line,a*.816,y*(1-.184*4))),de.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-.184*5))),de.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1).close()),x}),go.Shape.defineFigureGenerator("PC",function(te,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 ee=new go.PathFigure(a*.055,.07*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.07)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.1)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.1).close());var z=new go.PathFigure(a*.055,.13*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.13)),z.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.16)),z.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.16).close());var le=new go.PathFigure(a*.055,.18*y,!0);x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.18)),le.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.21)),le.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.21).close());var de=new go.PathFigure(a*1,0,!0);return x.add(de),de.add(new go.PathSegment(go.PathSegment.Line,a*.4,0)),de.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.65)),de.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.65).close()),x}),go.Shape.defineFigureGenerator("Plane",function(te,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(te,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(te,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 ee=new go.PathFigure(0,0,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*1,y*0)),ee.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*1,a*.3,a*.055)),ee.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1));var z=new go.PathFigure(a*.11,y*.1,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),y*.1)),z.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),y*.8)),z.add(new go.PathSegment(go.PathSegment.Line,a*.11,y*.8).close());var le=new go.PathFigure(a*(.11+.24133333*1+.028*1),y*.1,!1);x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.1)),le.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.8)),le.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*1),y*.8).close());var de=new go.PathFigure(a*(.11+.24133333*2+.028*2),y*.1,!1);return x.add(de),de.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.1)),de.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.8)),de.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*2),y*.8).close()),x}),go.Shape.defineFigureGenerator("FloppyDisk",function(te,a,y){var x=new go.Geometry,b=8,ee=b*oe,z=new go.PathFigure(b,0,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.86,0)),z.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.14)),z.add(new go.PathSegment(go.PathSegment.Line,a,y-b)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,y-ee,a-ee,y)),z.add(new go.PathSegment(go.PathSegment.Line,b,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,ee,y,0,y-ee)),z.add(new go.PathSegment(go.PathSegment.Line,0,b)),z.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,ee,ee,0).close());var le=new go.PathFigure(a*.83,0,!1);x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.3)),le.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.3)),le.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*0).close());var de=new go.PathFigure(a*.83,y*1,!1);x.add(de),de.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.5)),de.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.5)),de.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*1).close());var ge=new go.PathFigure(a*.78,y*.05,!1);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.05)),ge.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.25)),ge.add(new go.PathSegment(go.PathSegment.Line,a*.78,y*.25).close()),x}),go.Shape.defineFigureGenerator("SpeechBubble",function(te,a,y){var x=te?te.parameter1:NaN;(isNaN(x)||x<0)&&(x=15),x=Math.min(x,a/3),x=Math.min(x,y/3);var b=x*oe,ee=y*.8,z=new go.Geometry,le=new go.PathFigure(x,0,!0);return z.add(le),le.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),le.add(new go.PathSegment(go.PathSegment.Bezier,a,x,a-b,0,a,b)),le.add(new go.PathSegment(go.PathSegment.Line,a,ee-x)),le.add(new go.PathSegment(go.PathSegment.Bezier,a-x,ee,a,ee-b,a-b,ee)),le.add(new go.PathSegment(go.PathSegment.Line,a*.7,ee)),le.add(new go.PathSegment(go.PathSegment.Line,a*.7,y)),le.add(new go.PathSegment(go.PathSegment.Line,a*.55,ee)),le.add(new go.PathSegment(go.PathSegment.Line,x,ee)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,ee-x,b,ee,0,ee-b)),le.add(new go.PathSegment(go.PathSegment.Line,0,x)),le.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,b,b,0).close()),b>1?(z.spot1=new go.Spot(0,0,b,b),z.spot2=new go.Spot(1,.8,-b,-b)):(z.spot1=go.Spot.TopLeft,z.spot2=new go.Spot(1,.8)),z}),go.Shape.defineFigureGenerator("Repeat",function(te,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 ee=new go.PathFigure(a*1,y*.55,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*1)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.55)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.55)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.1)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.1)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*0)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.55).close()),x}),go.Shape.defineFigureGenerator("Windows",function(te,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(te,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 ee=new go.PathFigure(a*.1,y*.2,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.25)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.22,y*.285)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.32)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.37)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.32)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.25).close());var z=new go.PathFigure(a*.28,y*.37,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.37)),z.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.41)),z.add(new go.PathSegment(go.PathSegment.Line,a*.28,y*.41).close()),x}),go.Shape.defineFigureGenerator("Beaker",function(te,a,y){var x=new go.Geometry,b=15,ee=b*oe,z=new go.PathFigure(a*.62,y*.475,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,y-b)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,y-ee,a-ee,y)),z.add(new go.PathSegment(go.PathSegment.Line,b,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,ee,y,0,y-ee)),z.add(new go.PathSegment(go.PathSegment.Line,a*.38,y*.475)),z.add(new go.PathSegment(go.PathSegment.Line,a*.38,y*.03)),z.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*0)),z.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*0)),z.add(new go.PathSegment(go.PathSegment.Line,a*.62,y*.03).close()),ee>1?(x.spot1=new go.Spot(0,0,ee,ee),x.spot2=new go.Spot(1,1,-ee,-ee)):(x.spot1=go.Spot.TopLeft,x.spot2=go.Spot.BottomRight),x}),go.Shape.defineFigureGenerator("Download",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);x.add(b);var ee=.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-ee))),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-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-ee))),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-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-ee))),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-ee)).close());var z=new go.PathFigure(a*.4,y*0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.44)),z.add(new go.PathSegment(go.PathSegment.Line,a*.26,y*.44)),z.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.66)),z.add(new go.PathSegment(go.PathSegment.Line,a*(1-.26),y*.44)),z.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.44)),z.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*0).close()),x}),go.Shape.defineFigureGenerator("Bin",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);x.add(b);var ee=.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-ee))),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-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-ee))),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-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-ee))),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-ee)).close()),x}),go.Shape.defineFigureGenerator("Upload",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);x.add(b);var ee=.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-ee))),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-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-ee))),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-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-ee))),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-ee)).close());var z=new go.PathFigure(a*.5,y*0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.26,y*.25)),z.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.25)),z.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.63)),z.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.63)),z.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.25)),z.add(new go.PathSegment(go.PathSegment.Line,a*.74,y*.25).close()),x}),go.Shape.defineFigureGenerator("EmptyDrink",function(te,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(te,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 ee=new go.PathFigure(a*.235,y*.28,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.765,y*.28)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.655,y*.97)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.345,y*.97).close()),x}),go.Shape.defineFigureGenerator("4Arrows",function(te,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")},5559: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 ct={},ot="5.0",Se={},ye=null,je=!1,E=!1,pe=null,he=!1,ce=null,oe=null,ie=0;ie4?parseFloat(Ge):5};ct.setHTML5Codebase=function(Ge,ke){oe=Ge,He(Ge,ke)},ct.setJavaCodebase=ct.setJavaCodebaseVersion=ct.isCompiledInstalled=ct.setPreCompiledScriptPath=ct.setPreCompiledResourcePath=function(){},ct.setHTML5CodebaseVersion=function(Ge,ke){var Ne=parseFloat(Ge);if(Ne!==NaN&&Ne<5){console.log("The GeoGebra HTML5 codebase version "+Ne+" is deprecated. Using version latest instead.");return}ce=Ge,Qe(Ge,ke)},ct.getHTML5CodebaseVersion=function(){return te},ct.getParameters=function(){return Se},ct.setFontsCSSURL=function(Ge){z=Ge},ct.setGiacJSURL=function(Ge){},ct.setJNLPFile=function(Ge){se=Ge},ct.setJNLPBaseDir=function(Ge){},ct.inject=function(){function Ge(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var ke="auto",Ne=Se.id,Ve,Je=!1,rt=0;rt=5)return!0;var Ge=ct.getAppletObject();return Ge&&typeof Ge.recalculateEnvironments=="function"?(Ge.recalculateEnvironments(),!0):!1},ct.startAnimation=function(){var Ge=ct.getAppletObject();return Ge&&typeof Ge.startAnimation=="function"?(Ge.startAnimation(),!0):!1},ct.stopAnimation=function(){var Ge=ct.getAppletObject();return Ge&&typeof Ge.stopAnimation=="function"?(Ge.stopAnimation(),!0):!1},ct.getAppletObject=function(){var Ge=Se.id!==void 0?Se.id:"ggbApplet";return window[Ge]},ct.resize=function(){};var Pe=function(Ge,ke,Ne){var Ve=document.createElement("param");Ve.setAttribute("name",ke),Ve.setAttribute("value",Ne),Ge.appendChild(Ve)},Ee=function(Ge){return Ge&&Ge!=="false"},_e=function(Ge,ke,Ne){de(te)<=4.2&&(Ne=!0);var Ve=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==te||ggbHTML5LoadedCodebaseIsWebSimple&&!y)&&(Ve=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var Je=document.createElement("div");Je.classList.add("appletParameters","notranslate");var rt=ke.width,Ye=ke.height;if(ke.disableAutoScale=ke.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():ke.disableAutoScale,ke.width!==void 0)if(de(te)<=4.4)Ee(ke.showToolBar)&&(ke.height-=7),Ee(ke.showAlgebraInput)&&(ke.height-=37),ke.width<605&&Ee(ke.showToolBar)&&(ke.width=605,rt=605);else{var Ue=100;(Ee(ke.showToolBar)||Ee(ke.showMenuBar))&&(ke.hasOwnProperty("customToolBar")&&(ke.customToolbar=ke.customToolBar),Ue=Ee(ke.showMenuBar)?245:155),rt=5?(ke.appletOnLoad=function($e){var tt=Ge.querySelector(".ggb_preview");tt&&tt.parentNode.removeChild(tt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(Te),window.GGBT_wsf_view&&$(window).trigger("resize"),Ze($e)},We||Te.appendChild(at)):Je.appendChild(at),Te.appendChild(Je),We||Ge.appendChild(Te),setTimeout(function(){ct.resize()},1)}else{var et=document.createElement("div");et.className="applet_scaler",et.style.position="relative",et.style.display="block",et.appendChild(Je),Ge.appendChild(et),ke.appletOnLoad=function($e){ct.resize(),Ze($e)}}function qe($e,tt){tt&&typeof tt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement($e,tt.appletOnLoad):renderGGBElement($e),ze("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",tt)}function Be($e,tt){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:$e,params:tt}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(st){qe(st.article,st.params)}),html5AppletsToProcess=null)},de(te)<5&&($e.className+=" geogebraweb")):qe($e,tt)}if(Ve){scriptLoadStarted=!0;for(var Ae=0;Ae0?(Ie.remove(),Te.attr("id","fullscreencontent").show(),jQuery(Ze).append(Te),window.dispatchEvent(new Event("resize"))):_e(Ie,ke,!1),window.GGBT_wsf_view.launchFullScreen(Ze)}else ne=Ve,_e(Ge,ke,!1);if(!window.GGBT_wsf_view)for(Ye=0;YeGe/4*3&&(Ie=Ge/4*3),Ze=Ie/5.8,Ue.setAttribute("src",b),Ue.setAttribute("width",Ie),Ue.setAttribute("height",Ze);var Te=(Ge-Ie)/2,We=(ke-Ze)/2;Ue.style.left=Te+"px",Ue.style.top=We+"px",Je.appendChild(Ue)}}return Je.appendChild(Ye),Je},Fe=function(Ge){return Ge=Ge.toLowerCase(),Ge==="html5"||Ge==="screenshot"?Ge:"html5"},Le=["web","webSimple","web3d","tablet","tablet3d","phone"],Qe=function(Ge,ke){if(te=Ge,ke){He(te,!0);return}var Ne=!je;if(Ne){var Ve=de(te);!isNaN(Ve)&&Ve<4.4&&(Ne=!1)}var Je,rt;window.location.protocol.substr(0,4)==="http"?Je=window.location.protocol:Je="http:";var Ye=te.indexOf("//");Ye>0?rt=te:Ye===0?rt=Je+te:rt="https://www.geogebra.org/apps/5.2.814.0/";for(var Ue in Le)if(te.slice(Le[Ue].length*-1)===Le[Ue]||te.slice((Le[Ue].length+1)*-1)===Le[Ue]+"/"){He(rt,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Ne&&!ye.is3D&&!ye.AV&&!ye.SV&&!ye.CV&&!ye.EV2&&!ye.CP&&!ye.PC&&!ye.DA&&!ye.FI&&!ye.PV&&!Ee(Se.showToolBar)&&!Ee(Se.showMenuBar)&&!Ee(Se.showAlgebraInput)&&!Ee(Se.enableRightClick)&&(!Se.appName||Se.appName=="classic")?rt+="webSimple/":rt+="web3d/",He(rt,!1)},He=function(Ge,ke){if(Ge.requirejs){ae=Ge;return}Ge.slice(-1)!=="/"&&(Ge+="/"),ae=Ge,ke===null&&(ke=Ge.indexOf("http")===-1),re=ke,a="web.nocache.js",y=!1;var Ne=ae.split("/");Ne.length>1&&(!ke&&Ne[Ne.length-2]==="webSimple"?(a="webSimple.nocache.js",y=!0):Le.indexOf(Ne[Ne.length-2])>=0&&(a=Ne[Ne.length-2]+".nocache.js")),Ne=Ge.split("/"),te=Ne[Ne.length-3],te.substr(0,4)==="test"?te=te.substr(4,1)+"."+te.substr(5,1):(te.substr(0,3)==="war"||te.substr(0,4)==="beta")&&(te="5.0");var Ve=parseFloat(te);Ve!==NaN&&Ve<5&&Ge.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+Ve+" is deprecated. Using version latest instead."),Qe("5.0",ke))},ze=function(Ge,ke){window.console&&window.console.log&&(!ke||typeof ke.showLogging=="undefined"||ke.showLogging&&ke.showLogging!=="false")&&console.log(Ge)};Se.material_id!==void 0?me(Ke):Ke();function Ke(){var Ge=ot;ce!==null?Ge=ce:parseFloat(Ge)<5&&(Ge="5.0"),Qe(Ge,!1),oe!==null&&He(oe,re),he=!0}return ct},GGBAppletUtils=function(){"use strict";function ct(){return window.GGBT_wsf_edit!==void 0}function ot(he,ce){ce!=1?(he.style.transformOrigin="0% 0% 0px",he.style.webkitTransformOrigin="0% 0% 0px",he.style.transform="scale("+ce+","+ce+")",he.style.webkitTransform="scale("+ce+","+ce+")",he.style.maxWidth="initial",he.querySelector(".ggb_preview")!==null&&(he.querySelector(".ggb_preview").style.maxWidth="initial"),he.querySelectorAll(".ggb_preview img")[0]!==void 0&&(he.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),he.querySelectorAll(".ggb_preview img")[1]!==void 0&&(he.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(he.style.transform="none",he.style.webkitTransform="none")}function Se(he,ce,oe,ie,ue,se){var ae=null;if(se!=null&&se!="")for(var re=he.parentNode;re!=null;)if((" "+re.className+" ").indexOf(" "+se+" ")>-1){ae=re;break}else re=re.parentNode;var ne=0,te=0,a=0,y=0,x=0,b=0,ee=0;if(ae)ne=ae.offsetWidth,te=Math.max(ie?ae.offsetWidth:0,ae.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(ne=Math.min(window.innerWidth,document.documentElement.clientWidth),te=Math.min(window.innerHeight,document.documentElement.clientHeight),a=ne):(ne=window.innerWidth,te=window.innerHeight,a=window.innerWidth),he){var z=he.getBoundingClientRect();z.left>0&&z.left<=ne&&(ue===void 0||!ue)&&(document.dir==="rtl"?(x=ne-z.width-z.left,b=a<=480?10:30):(b=z.left,x=a<=480?10:30),y=b+x)}if(he&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var le=he.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(y=40,ee=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(y=0,ee=40)}}return he&&((oe===void 0||!oe)&&ce>0&&ce+y1&&(se=!0)),ce&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(se=!0),!(he.hasOwnProperty("disableAutoScale")&&he.disableAutoScale))ue=ye(he,ce,se,oe,he.scaleContainerClass);else return ie;return se&&(!he.hasOwnProperty("scale")||ie===1)?ue:Math.min(ie,ue)}function E(he){var ce=Math.min(window.innerWidth,document.documentElement.clientWidth),oe=Math.min(window.innerHeight,document.documentElement.clientHeight),ie=he.getBoundingClientRect(),ue=(ce-ie.width)/2,se=(oe-ie.height)/2;se<0&&(se=0),he.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(ue<40?he.style.left="40px":he.style.left=ue+"px",he.style.top=se+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(se<40?he.style.top="40px":he.style.top=se+"px",he.style.left=ue+"px")}function pe(he,ce){var oe=he.querySelector(".appletParameters");if(oe){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(ce.id!==oe.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(he)}if(oe.parentElement&&/fullscreen/.test(oe.parentElement.className))return;var ie=je(ce,he);ct()&&oe.setAttribute("data-param-scale",ie);for(var ue=null,se=0;se=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(ct){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(ct){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(ct){var ot=c[ct];return ot==null?null:ot},r=d,webModule.__errFn=e}function B(){function ct(he){var ce=he.lastIndexOf(rb);ce==-1&&(ce=he.length);var oe=he.indexOf(sb);oe==-1&&(oe=he.length);var ie=he.lastIndexOf(tb,Math.min(oe,ce));return ie>=O?he.substring(O,ie+P):W}function ot(he){if(!he.match(/^\w+:\/\//)){var ce=o.createElement(ub);ce.src=he+vb,he=ct(ce.src)}return he}function Se(){var he=__gwt_getMetaProperty(wb);return he!=null?he:W}function ye(){for(var he=o.getElementsByTagName(_),ce=O;ceO?he[he.length-P].href:W}function E(){var he=o.location;return he.href==he.protocol+zb+he.host+he.pathname+he.search+he.hash}var pe=Se();return pe==W&&(pe=ye()),pe==W&&(pe=je()),pe==W&&E()&&(pe=ct(o.location.href)),pe=ot(pe),pe}function C(ct){return ct.match(/^\//)||ct.match(/^[a-zA-Z]+:\/\//)?ct:webModule.__moduleBase+ct}function D(){var ct=[],ot=O,Se=[],ye=[];function je(he){var ce=ye[he](),oe=Se[he];if(ce in oe)return ce;var ie=[];for(var ue in oe)ie[oe[ue]]=ue;throw r&&r(he,ie,ce),null}if(__gwt_isKnownPropertyValue=function(he,ce){return ce in Se[he]},webModule.__getPropMap=function(){var he={};for(var ce in Se)Se.hasOwnProperty(ce)&&(he[ce]=je(ce));return he},webModule.__computePropValue=je,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var E;try{E=Cb;var pe=E.indexOf(Db);pe!=-1&&(ot=parseInt(E.substring(pe+P),$),E=E.substring(O,pe))}catch(he){}return webModule.__softPermutationId=ot,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})()},49291:function(ct,ot,Se){"use strict";Se.d(ot,{Ax:function(){return pe},Ds:function(){return he},KI:function(){return oe},SI:function(){return E},f1:function(){return je}});var ye=Se(38446);function je(ie){let ue=!0;if(ie.length>0){for(let se=0;seee in b?ce(b,ee,{enumerable:!0,configurable:!0,writable:!0,value:z}):b[ee]=z,ne=(b,ee)=>{for(var z in ee||(ee={}))se.call(ee,z)&&re(b,z,ee[z]);if(ue)for(var z of ue(ee))ae.call(ee,z)&&re(b,z,ee[z]);return b},te=(b,ee)=>oe(b,ie(ee)),a=(b,ee,z)=>new Promise((le,de)=>{var ge=be=>{try{me(z.next(be))}catch(ve){de(ve)}},fe=be=>{try{me(z.throw(be))}catch(ve){de(ve)}},me=be=>be.done?le(be.value):Promise.resolve(be.value).then(ge,fe);me((z=z.apply(b,ee)).next())}),x=({description:b,code:ee,showData:z={},sendParams:le={},allShow:de=!1})=>{const ge=[{img:Se(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:z==null?void 0:z.ai_exam_question,type:1},{img:Se(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:ee,show:z==null?void 0:z.ai_syntax_check,type:5},{img:Se(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:ee,show:z==null?void 0:z.ai_code_diagnosis,type:2},{img:Se(62849),name:"AI\u8F85\u5BFC",des:"\u4E3A\u5B66\u751F\u63D0\u4F9B\u4E2A\u6027\u5316\u667A\u80FD\u5B66\u4E60\u8F85\u5BFC",description:b,query:ee,show:z==null?void 0:z.ai_guidance,type:3}],fe=me=>{const{setChatData:be,setLoading:ve,getData:Pe,clearStatus:Ee,typing:_e}=me;let Ce=ge;return de||(Ce=ge.filter(xe=>xe.show)),ye.createElement("div",{className:`${E.bigTips} mt10`},Ce.map((xe,we)=>ye.createElement("div",{onClick:()=>a(void 0,null,function*(){if(_e){pe.ZP.warning("\u8BF7\u7B49\u5F85\u4EFB\u52A1\u5B8C\u6210");return}const De=Date.now();ve(!0),Ee(),be([{text:xe.query,key:De,sender:"user",show:!1},{loading:!0,key:De,sender:"AI",show:!0}]),Pe("",ne({type:xe.type,description:xe.description,query:xe.query,file_id:"",history:[],is_chat:!1},le))}),key:we,className:E.item},ye.createElement(he.Z,{align:"middle"},ye.createElement("img",{className:"mr10",src:xe.img}),ye.createElement("span",{style:{color:"#232B40",fontSize:16,fontWeight:600}},xe.name)),ye.createElement("div",{className:"mt10",style:{color:"#434D6C"}},xe.des))))};return ye.createElement(je.Z,{title:"\u667A\u80FD\u52A9\u6559",hideInputBox:de?!1:!(z!=null&&z.ai_q_and_a),headFunctionNode:fe,showSwitchingModel:!0,fetchData:te(ne({},le),{is_chat:!0}),topPercentage:(le==null?void 0:le.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"})}},11392:function(ct,ot,Se){"use strict";Se.d(ot,{Z:function(){return Ln}});var ye=Se(59301),je=Se(8591),E=Se(54580),pe=Se(43418),he=Se(92832),ce=Se(3113),oe=Se(6848),ie=Se(43428),ue=Se(71418),se=Se(92310),ae=Se.n(se),re=Se(19999),ne=Se(77596),te=Se(66422),a=Se(14179),y=Se(56102),x={answer:"answer___UngkO",codeCopy:"codeCopy___re8vm"},b=Se(35328),ee=Se(30084),z=Se(2878),le=Se(59301),de=Object.defineProperty,ge=Object.getOwnPropertySymbols,fe=Object.prototype.hasOwnProperty,me=Object.prototype.propertyIsEnumerable,be=(Ft,At,bt)=>At in Ft?de(Ft,At,{enumerable:!0,configurable:!0,writable:!0,value:bt}):Ft[At]=bt,ve=(Ft,At)=>{for(var bt in At||(At={}))fe.call(At,bt)&&be(Ft,bt,At[bt]);if(ge)for(var bt of ge(At))me.call(At,bt)&&be(Ft,bt,At[bt]);return Ft},Pe=(Ft,At)=>{var bt={};for(var sn in Ft)fe.call(Ft,sn)&&At.indexOf(sn)<0&&(bt[sn]=Ft[sn]);if(Ft!=null&&ge)for(var sn of ge(Ft))At.indexOf(sn)<0&&me.call(Ft,sn)&&(bt[sn]=Ft[sn]);return bt},Ee=(Ft,At,bt)=>new Promise((sn,qt)=>{var dn=ft=>{try{dt(bt.next(ft))}catch(gt){qt(gt)}},hn=ft=>{try{dt(bt.throw(ft))}catch(gt){qt(gt)}},dt=ft=>ft.done?sn(ft.value):Promise.resolve(ft.value).then(dn,hn);dt((bt=bt.apply(Ft,At)).next())}),Ce=({value:Ft,streamingStatus:At,onFinish:bt,cancelIndex:sn,interval:qt=20})=>{const[dn,hn]=(0,ye.useState)(""),dt=(0,ye.useRef)(""),ft=(0,ye.useRef)(!0),gt=(0,ye.useRef)(0),Gt=(0,ye.useRef)(null),[un,$t]=(0,ye.useState)(!1);(0,ye.useEffect)(()=>{ft.current=At},[At]),(0,ye.useEffect)(()=>{dt.current=Ft},[Ft]),(0,ye.useEffect)(()=>($t(!0),Gt.current=setInterval(zn,qt),()=>{clearInterval(Gt.current)}),[]),(0,ye.useEffect)(()=>{un&&(hn(dt.current),clearInterval(Gt.current),$t(!1),bt())},[sn]);const zn=()=>Ee(void 0,null,function*(){const Gn=dt.current[gt.current];Gn!==void 0?(hn(An=>An+Gn),gt.current++):ft.current===!1&&(hn(dt.current),clearInterval(Gt.current),$t(!1),bt())}),mn=(0,ye.useMemo)(()=>dn.split(new RegExp("(```.*?```)","gs")).map(rr=>rr.startsWith("```")?rr:rr.replace(/`(\$\$[^`]+?\$\$)`/g,"$1")).join(""),[dn]);return le.createElement("div",{className:`${x.answer} fadeIn animated`},le.createElement(re.U,{remarkPlugins:[ee.Z],rehypePlugins:[b.Z,te.Z],components:{code(Gn){var An=Gn,{node:rr,inline:Wt,className:Dt,children:Pt}=An,Nt=Pe(An,["node","inline","className","children"]);const Ct=/language-(\w+)/.exec(Dt||"");return!Wt&&Ct?le.createElement("div",{className:x.codeCopy},le.createElement(y.CopyToClipboard,{text:String(Pt).replace(/\n$/,""),onCopy:()=>je.ZP.success({content:"\u590D\u5236\u6210\u529F",key:"copy"})},le.createElement("button",null,"\u590D\u5236")),le.createElement(ne.Z,ve({style:a.Z,language:Ct[1],PreTag:"div",showLineNumbers:!0,lineNumberStyle:{minWidth:"40px"}},Nt),String(Pt||"").replace(/\n$/,""))):le.createElement("code",ve({className:Dt},Nt),Pt)}}},`${mn}${un?"__":""}`))},xe={reasoning:"reasoning___S0mKl",btn:"btn____CIJG",content:"content___CIAh9"},we=Se(59301),De=(Ft,At,bt)=>new Promise((sn,qt)=>{var dn=ft=>{try{dt(bt.next(ft))}catch(gt){qt(gt)}},hn=ft=>{try{dt(bt.throw(ft))}catch(gt){qt(gt)}},dt=ft=>ft.done?sn(ft.value):Promise.resolve(ft.value).then(dn,hn);dt((bt=bt.apply(Ft,At)).next())}),Fe=({value:Ft="",streamingStatus:At,onFinish:bt,cancelIndex:sn,time:qt,interval:dn=70,loading:hn})=>{const[dt,ft]=(0,ye.useState)(""),[gt,Gt]=(0,ye.useState)(!0),un=(0,ye.useRef)(""),$t=(0,ye.useRef)(!0),zn=(0,ye.useRef)(0),mn=(0,ye.useRef)(null),[Gn,An]=(0,ye.useState)(!1);(0,ye.useEffect)(()=>{$t.current=At},[At]),(0,ye.useEffect)(()=>{un.current=Ft},[Ft]),(0,ye.useEffect)(()=>(An(!0),mn.current=setInterval(rr,dn),()=>{clearInterval(mn.current)}),[]),(0,ye.useEffect)(()=>{Gn&&(ft(un.current),clearInterval(mn.current),An(!1),bt())},[sn]);const rr=()=>De(void 0,null,function*(){const Wt=un.current[zn.current];Wt!==void 0?(ft(Dt=>Dt+Wt),zn.current++):$t.current===!1&&(ft(un.current),clearInterval(mn.current),An(!1),bt())});return we.createElement("div",{className:`${xe.reasoning} fadeIn animated`},we.createElement("div",{className:xe.btn,onClick:()=>Gt(!gt)},we.createElement("i",{className:"iconfont icon-shendusikao"}),qt?we.createElement("span",null,"\u5DF2\u6DF1\u5EA6\u601D\u8003\uFF08\u7528\u65F6 ",qt," \u79D2\uFF09"):we.createElement("span",null,"\u601D\u8003\u4E2D..."),gt?we.createElement("b",{className:"iconfont icon-shouqi6"}):we.createElement("b",{className:"iconfont icon-zhankai6"})),hn&&we.createElement(ue.Z,{spinning:!0,className:"mt20"}),gt&&!hn&&we.createElement("div",{className:xe.content},dt,Gn?we.createElement("span",{className:"aiBlink"},"__"):""))},Le={select:"select___Kt_GE",box:"box___S5_ly",text:"text___dtZDv",itemWrap:"itemWrap___xmw7x",item:"item___io6Bx",active:"active___nHRTI"},Qe=Se(81327),He=Object.defineProperty,ze=Object.getOwnPropertySymbols,Ke=Object.prototype.hasOwnProperty,Ge=Object.prototype.propertyIsEnumerable,ke=(Ft,At,bt)=>At in Ft?He(Ft,At,{enumerable:!0,configurable:!0,writable:!0,value:bt}):Ft[At]=bt,Ne=(Ft,At)=>{for(var bt in At||(At={}))Ke.call(At,bt)&&ke(Ft,bt,At[bt]);if(ze)for(var bt of ze(At))Ge.call(At,bt)&&ke(Ft,bt,At[bt]);return Ft};const Ve=Ft=>React.createElement("svg",Ne({className:"logo1_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:200,height:200},Ft),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 Je="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+PHBhdGggZD0iTTEwMTkuNDA3IDYyMC44IDg5MS44MzQgMzk3Ljc4MSA5NDYuNDkgMjkzLjEyYTI5LjA5OSAyOS4wOTkgMCAwIDAgNi40LTM2LjM5NWwtNzAuMTg3LTEyNi41OTJhMzAuMDggMzAuMDggMCAwIDAtMjQuNTc2LTEzLjY1M0g1OTcuNTE5TDUzOS4xOTQgMTQuNTA3YTI3LjM1IDI3LjM1IDAgMCAwLTIwLjkwNy0xNC41NUgzODAuNjQ0YTI5LjE0MSAyOS4xNDEgMCAwIDAtMjQuNjE4IDE0LjU1djUuNTQ2TDIyNS44MDYgMjQzLjAzSDEwMC45MjNhMjkuMTg0IDI5LjE4NCAwIDAgMC0yNS41MTUgMTMuNjU0TDMuNDI4IDM4NC4wODVhMzIuNzY4IDMyLjc2OCAwIDAgMCAwIDI5LjE4NEwxMzIuODM2IDYzOC4wOCA3NC41MTEgNzQwLjA1M2EzMi43NjggMzIuNzY4IDAgMCAwIDAgMjkuMDU2bDY2LjUxNyAxMTYuNTY2YTI5LjkwNyAyOS45MDcgMCAwIDAgMjUuNTE1IDE0LjUwNkg0MjcuMTVsNjIuODQ4IDEwOS4yMjdBMzAuMDggMzAuMDggMCAwIDAgNTEyLjc4MyAxMDI0SDY2MC40MWEyOS4xNDEgMjkuMTQxIDAgMCAwIDI0LjU3Ni0xNC41NWwxMjguNDY5LTIyNC44NTNoMTE0Ljc3M2EzMS45MTUgMzEuOTE1IDAgMCAwIDI0LjY2Mi0xNS40NDVsNjYuNDc0LTExNy40MTlhMjguMTYgMjguMTYgMCAwIDAgMC0zMC45NzZsLjA0My4wNDN6bS0xNjEuMjggMTQuNTkyTDc5MS42MSA1MTIuNDY5IDUxOC4yODcgOTkzLjk2M2wtNzQuNzUyLTEyMi44OGgtMjczLjI4bDY1LjYyMS0xMTkuMjExaDEzOS4zOTJMMTAxLjg2IDI3Mi4yMTNoMTQzLjA2MkwzODAuNjg3IDMwLjA4bDY4LjM1MiAxMTkuMjUzLTcwLjE4NyAxMjIuODhIOTI1LjU0bC02OS4yMDUgMTIxLjk0MiAxMzcuNiAyNDEuMTk0SDg1OC4xN3oiIGZpbGw9IiM2MDVCRUMiLz48cGF0aCBkPSJtNDk5Ljk4MyA2OTkuMzA3IDE3NC4zNzktMjc0LjczMUgzMjQuNzA4eiIgZmlsbD0iIzYwNUJFQyIvPjwvc3ZnPg==",rt=Object.defineProperty,Ye=Object.getOwnPropertySymbols,Ue=Object.prototype.hasOwnProperty,Ie=Object.prototype.propertyIsEnumerable,Ze=(Ft,At,bt)=>At in Ft?rt(Ft,At,{enumerable:!0,configurable:!0,writable:!0,value:bt}):Ft[At]=bt,Te=(Ft,At)=>{for(var bt in At||(At={}))Ue.call(At,bt)&&Ze(Ft,bt,At[bt]);if(Ye)for(var bt of Ye(At))Ie.call(At,bt)&&Ze(Ft,bt,At[bt]);return Ft};const We=Ft=>React.createElement("svg",Te({className:"logo2_svg__icon",viewBox:"0 0 1417 1024",xmlns:"http://www.w3.org/2000/svg",width:276.758,height:200},Ft),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 at="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDE0MTcgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjc2Ljc1OCIgaGVpZ2h0PSIyMDAiPjxwYXRoIGQ9Ik0xMzY0LjQ0IDExOC43MDVjLTE0LjE3OC02LjY5NS0yMC4zMjIgNi4wNjUtMjguNTkzIDEyLjUyNS0yLjkxNCAyLjA0OC01LjI3NyA0LjcyNi03LjY0IDcuMjQ2LTIwLjcxNyAyMS4yNjgtNDQuODk5IDM1LjIxLTc2LjY0MyAzMy41NTZhMTUyLjU3NiAxNTIuNTc2IDAgMCAwLTEyMC42NzQgNDUuMzcxYy03LjQwNC00MS44MjYtMzIuMDYtNjYuODc1LTY5LjU1My04Mi44NjUtMTkuNjkzLTguMzUtMzkuNTQzLTE2LjctNTMuMjQ4LTM0LjczNy05LjYxLTEyLjkxOS0xMi4yODgtMjcuMzMzLTE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43ODggMTkuNjkzIDcuNzk4IDM0LjUwMSAyMS44OTggNTUuOTI2IDQxLjkwNSAyMS43NCAyNC4xODMgMjUuNjggMzAuOCAzOC4xMjUgNDguOTE2IDkuODQ2IDE0LjE3OSAxOC43NDcgMjguNzUgMjQuODkgNDUuNDUgMy43MDMgMTAuMzk3LTEuMTAyIDE4LjkwNS0xMy45NDEgMjQuMTAzeiIgZmlsbD0iIzRENkJGRSIvPjwvc3ZnPg==",et=Se(59301),Be=({disabled:Ft,value:At,onChange:bt})=>{const[sn,qt]=(0,ye.useState)(!1),dn=[{name:"\u901A\u4E49\u5343\u95EE",key:"qwen-max",img:Je},{name:"DeepSeek",key:"deepseek-r1",img:at}],hn=dn.find(dt=>dt.key===At);return et.createElement("div",{className:Le.select},et.createElement(Qe.Z,{size:10},et.createElement("span",{className:"c-grey-333 font16"},"\u6A21\u578B"),et.createElement("div",{className:Le.box,onMouseLeave:()=>qt(!1)},et.createElement("div",{className:Le.text,onClick:()=>qt(!0)},et.createElement("img",{src:hn.img,width:20}),et.createElement("span",null,hn.name),et.createElement("b",{className:"iconfont icon-zhankai6"})),sn&&et.createElement("div",{className:Le.itemWrap},et.createElement("aside",null,dn.map(dt=>et.createElement("div",{key:dt.key,className:`${Le.item} ${dt.key===At?Le.active:""}`,onClick:ft=>{ft.stopPropagation(),bt(dt.key),qt(!1)}},et.createElement("img",{src:dt.img,width:20}),et.createElement("span",null,dt.name))))))))},Ae={loading:"loading___UEUk1",dot:"dot___TYXFV","dot-fade":"dot-fade___KWn1a",wrap:"wrap___nU3cS",chatContainer:"chatContainer___PNe3Q",footerContainer:"footerContainer___hQATV",footerContainerSelected:"footerContainerSelected___pGBh3",btnWrp:"btnWrp___mS8l6",inputContainer:"inputContainer___iCQ3u",thinkBtnActive:"thinkBtnActive___Z1xij",full:"full___dZLXo",lineFour:"lineFour___Lhbz5",fullIcon:"fullIcon___YWXTV",uploadBtn:"uploadBtn___OHHJF",sendBtn:"sendBtn___ktaQl",sendBtnDisabled:"sendBtnDisabled___DVncF",cancelBtn:"cancelBtn___bzMDI",uploadFile:"uploadFile___vZolT",li:"li___PjMV3",avatarIcon:"avatarIcon___ztGQ3",img:"img___wZqEA",content:"content___OlYYG",borderBox:"borderBox___tjHwt",text:"text___yWTCV",file:"file___fxAKb",action:"action___I2zGy",disabledInput:"disabledInput___Buork",backBottom:"backBottom___SMuL2"},Me=Se(7660),Re=Se(88230),nt=({src:Ft,onClick:At,topPercentage:bt=.62})=>{const sn=(0,ye.useRef)(null),[qt,dn]=(0,ye.useState)(!1),[hn,dt]=(0,ye.useState)({x:20,y:window.innerHeight*bt}),[ft,gt]=(0,ye.useState)({x:20,y:window.innerHeight*bt}),[Gt,un]=(0,ye.useState)({x:20,y:window.innerHeight*bt}),[$t,zn]=(0,ye.useState)(!1);(0,ye.useEffect)(()=>{const An=()=>{dt({x:20,y:window.innerHeight*bt})};return window.addEventListener("resize",An),()=>{window.removeEventListener("resize",An)}},[]),(0,ye.useEffect)(()=>{const An=Wt=>{var Dt;if(qt){const Pt=Wt.clientY-Gt.y;let Nt=ft.y+Pt;const Ct=window.innerHeight-(((Dt=sn.current)==null?void 0:Dt.offsetHeight)||0)-50,Tt=50;NtCt&&(Nt=Ct),requestAnimationFrame(()=>{dt({x:20,y:Nt})}),zn(!0)}},rr=()=>{dn(!1)};return document.addEventListener("mousemove",An),document.addEventListener("mouseup",rr),()=>{document.removeEventListener("mousemove",An),document.removeEventListener("mouseup",rr)}},[qt,Gt,ft]);const mn=An=>{dn(!0),un({x:An.clientX,y:An.clientY}),gt(hn),zn(!1)},Gn=An=>{dn(!1),!$t&&At&&At(An)};return ye.createElement("div",{style:{position:"fixed",top:hn.y,right:hn.x,zIndex:100,cursor:qt?"grabbing":"grab"},onMouseDown:mn,onMouseUp:Gn,ref:sn},ye.createElement("img",{src:Ft,width:60,draggable:"false"}))},$e="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAAAXNSR0IArs4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FWCFgrjhPGLDB5MYFIWQg0gGKJq/kVC6AzfWTaqpmf+IdDNuRF66ra3r19fcf+2dnzeT9VWs9B4FINP89sSP3lz1UHtd16SVK9vZvDlNLGaQJ4p0cfzZJa9g6Wk8Q89nnHjYQC754dGYwTBVQ/vw3D83MG/hZmQmiekFsHOjLN+cwczvy6rD9sfOyaO0O8E+bz1NjimYNLIUy1FDb8bCwr6hS39298++tfHhXiKsePbm4CdrzP9csyp+3dat6f52xiKfPqRthzmr5hK3u5CeIJxjcPbUcZx07HcIRMKU9S1iyRsp1s0V1CXqWd6xgWGFVSxoa6cqL6BbO6VFebpNU5IfYvnqFFPLv1PXUb7qDoPOx25+7uZvf0B8e9bfdd5/5aza6E5vaU5evk/JyLHddlysaVrOmoZqDAJUlORy/eXHU1FaSCg3gkhFWT3bZM7y1azt3ki/gjJC0RysYIa059LeGaeqJJ94Ii6H9Kv8NNcovk+uKXvqF8un/N/+CcBu5N24Yb8H9pfF6XOW1M+bUtNYP6yoIGRccPphjBrZT7dBcosjtC2PsnRBnNUNDdiik5I+BeREQnpsMZm2VQt7vcR+PRoJPC1mtc2/mZv///ojj90punz2WfN/nntvQHFezmRXpPcdP3bIqIL8whGWF6xc+04oL7kqQ2Pfpu5omAZThNY6GWuV4waWOp6xcGg0UDPtuWn/lj/j+X+Lbso4jJUfOwAAAABJRU5ErkJggg==",it=Se(38446),lt=Se(86204),ut=Object.defineProperty,vt=(Ft,At,bt)=>At in Ft?ut(Ft,At,{enumerable:!0,configurable:!0,writable:!0,value:bt}):Ft[At]=bt,pt=(Ft,At,bt)=>vt(Ft,typeof At!="symbol"?At+"":At,bt),mt=(Ft,At,bt)=>new Promise((sn,qt)=>{var dn=ft=>{try{dt(bt.next(ft))}catch(gt){qt(gt)}},hn=ft=>{try{dt(bt.throw(ft))}catch(gt){qt(gt)}},dt=ft=>ft.done?sn(ft.value):Promise.resolve(ft.value).then(dn,hn);dt((bt=bt.apply(Ft,At)).next())});class St extends lt.EventEmitter{constructor(At,bt){super(),pt(this,"url"),pt(this,"body"),pt(this,"fullContent",""),pt(this,"controller",null),this.url=At,this.body=bt}startStream(){return mt(this,null,function*(){this.controller=new AbortController;const{signal:At}=this.controller;try{const bt=yield fetch(this.url,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},credentials:"include",body:JSON.stringify(this.body),signal:At});if(!bt.ok)throw new Error(`\u8BF7\u6C42\u5931\u8D25: ${bt.status}`);const sn=bt.headers.get("content-type");if(!sn||!sn.includes("text/event-stream"))throw new Error("\u54CD\u5E94\u6570\u636E\u683C\u5F0F\u9519\u8BEF");const qt=bt.body.getReader(),dn=new TextDecoder("utf-8");for(;;){const{done:hn,value:dt}=yield qt.read();if(hn)break;const gt=dn.decode(dt,{stream:!0}).split(` +`);for(const Gt of gt)if(Gt.startsWith("data:")){const un=Gt.slice(5).trim();if(un==="[DONE]")break;try{const $t=JSON.parse(un);$t.data&&this.handleData($t.data)}catch($t){console.error("\u89E3\u6790 JSON \u5931\u8D25:",$t)}}}this.emit("done",this.fullContent)}catch(bt){bt.name==="AbortError"?this.emit("cancelled",this.fullContent):this.emit("error",bt.message)}})}handleData(At){At.content&&(this.fullContent+=At.content,this.emit("data",{chunk:At,full:this.fullContent}))}cancelRequest(){var At;(At=this.controller)==null||At.abort()}}var xt=St,Mt=Se(58617),yt=Se(32050),wt=Object.defineProperty,Lt=Object.defineProperties,cn=Object.getOwnPropertyDescriptors,Vt=Object.getOwnPropertySymbols,rn=Object.prototype.hasOwnProperty,Zt=Object.prototype.propertyIsEnumerable,Jt=(Ft,At,bt)=>At in Ft?wt(Ft,At,{enumerable:!0,configurable:!0,writable:!0,value:bt}):Ft[At]=bt,zt=(Ft,At)=>{for(var bt in At||(At={}))rn.call(At,bt)&&Jt(Ft,bt,At[bt]);if(Vt)for(var bt of Vt(At))Zt.call(At,bt)&&Jt(Ft,bt,At[bt]);return Ft},nn=(Ft,At)=>Lt(Ft,cn(At)),jn=(Ft,At,bt)=>new Promise((sn,qt)=>{var dn=ft=>{try{dt(bt.next(ft))}catch(gt){qt(gt)}},hn=ft=>{try{dt(bt.throw(ft))}catch(gt){qt(gt)}},dt=ft=>ft.done?sn(ft.value):Promise.resolve(ft.value).then(dn,hn);dt((bt=bt.apply(Ft,At)).next())}),Ln=({title:Ft="\u5934\u6B4CAI",placeholder:At,hideUpload:bt,hideInputBox:sn,aiIcon:qt=$e,userIcon:dn=tt,dragIcon:hn=st,children:dt,fetchUrl:ft,fetchData:gt={},extraAnswerAction:Gt,showDefaultTips:un=!0,onOpen:$t,onClose:zn,loadingOption:mn,showPreference:Gn=!1,initMessage:An,initMessageType:rr,customRequest:Wt,visible:Dt,width:Pt=1200,isCheckRestrictNumber:Nt=!1,headNode:Ct,headFunctionNode:Tt,showRedraw:kt,showEdit:an,promptPropName:on="prompt",topPercentage:vn,showSwitchingModel:Pn=!1})=>{var wn,yn,Tn,Dn,It;const[qn,Nn]=(0,ye.useState)(!1),[Yn,pn]=(0,ye.useState)("qwen-max"),[_t,Ht]=(0,ye.useState)([]),[gn,Kt]=(0,ye.useState)(!1),[xn,Wn]=(0,ye.useState)(!1),[In,Un]=(0,ye.useState)([]),[nr,yr]=(0,ye.useState)(""),[hr,en]=(0,ye.useState)(0),[Ar,_r]=(0,ye.useState)(!1),[xr,ur]=(0,ye.useState)(null),[vr,fr]=(0,ye.useState)(""),ar=(0,ye.useRef)(),Rn=(0,ye.useRef)(null),Kn=(0,ye.useRef)(null),[cr,Xn]=(0,ye.useState)(!1),[dr,or]=(0,ye.useState)(!1),br=(0,ye.useRef)(!1),wr=(0,ye.useRef)(""),[ir,Br]=(0,ye.useState)(0),[Lr,Dr]=(0,ye.useState)(!0),jr=(0,ye.useRef)(!1),ht=nr==null?void 0:nr.split(` +`).length,Ot=Pt-48,Et={maxCount:1,showUploadList:!1,withCredentials:!0,accept:".doc,.docx,.md,.txt,.pdf,.jpg,.png",beforeUpload:Bt=>{var Sn,bn,Qt,kn;const Vn=(kn=(Qt=(bn=(Sn=Bt==null?void 0:Bt.name)==null?void 0:Sn.split("."))==null?void 0:bn.slice(-1))==null?void 0:Qt[0])==null?void 0:kn.toLowerCase(),tr=["doc","docx","md","pdf","txt","jpg","png"].includes(Vn);return Bt.size==0?(je.ZP.warning("\u6587\u4EF6\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A"),E.default.LIST_IGNORE):tr||(je.ZP.warning("\u76EE\u524D\u652F\u6301txt\u3001md\u3001doc\u3001docx\u3001pdf\u3001jpg\u3001png\u6587\u4EF6"),E.default.LIST_IGNORE)},onChange:({file:Bt})=>{Ht([Bt])},action:`${(wn=it.Z)==null?void 0:wn.API_SERVER}/api/intelligent_imports/upload_file.json`};(0,ye.useEffect)(()=>{var Bt;if(cr)return;let Sn;const bn=()=>{clearTimeout(Sn),Sn=setTimeout(()=>{if(ar.current){const{scrollTop:Qt,scrollHeight:kn,clientHeight:Vn}=ar.current,Hn=Qt+Vn>kn-70;Dr(Hn)}},300)};if(ar.current)return bn(),(Bt=ar.current)==null||Bt.addEventListener("scroll",bn),()=>{var Qt;(Qt=ar.current)==null||Qt.removeEventListener("scroll",bn)}},[ar.current,cr]),(0,ye.useEffect)(()=>{if(!In.length)return;const Bt=In[In.length-1];Bt!=null&&Bt.loading&&ar.current.scrollTo({top:ar.current.scrollHeight,behavior:"smooth"})},[In.length]),(0,ye.useEffect)(()=>{if(!cr)return;const Bt=ar.current,Sn=Bt.lastElementChild;if(!Sn)return;const bn=new ResizeObserver(()=>{const{scrollTop:Qt,scrollHeight:kn,clientHeight:Vn}=Bt,Hn=Qt+Vn>kn-70;Dr(Hn),Hn&&(Bt.scrollTop=Bt.scrollHeight)});return bn.observe(Sn),()=>{bn.unobserve(Sn)}},[cr]),(0,ye.useEffect)(()=>{typeof Dt=="boolean"&&Nn(Dt)},[Dt]),(0,ye.useEffect)(()=>{typeof Dt=="boolean"&&Nn(Dt)},[Dt]),(0,ye.useEffect)(()=>{var Bt;if(Rn.current&&xr!==null){Rn.current.focus();const Sn=(Bt=Rn.current.resizableTextArea)==null?void 0:Bt.textArea;Sn&&(Sn.selectionStart=Sn.selectionEnd=Sn.value.length)}},[xr]),(0,ye.useEffect)(()=>{ht<5&&_r(!1)},[ht]),(0,ye.useEffect)(()=>{const Bt=Date.now();qn&&rr===1&&(Un([{text:An,key:Bt,sender:"user",show:!0},{loading:!0,key:Bt,sender:"AI",show:!0}]),Kt(!0),Yt(An)),qn&&rr===2&&An&&(Un([...In,{text:An,key:Bt,sender:"user",show:!0},{loading:!0,key:Bt,sender:"AI",show:!0}]),Kt(!0),Yt(An)),qn&&rr===3&&(Un([{text:An,key:Bt,sender:"user",show:!1},{loading:!0,key:Bt,sender:"AI",show:!0}]),Kt(!0),Yt()),qn&&rr===4&&(An||In.length===0)&&(Un([...In,{text:An,key:Bt,sender:"user",show:!!In.length},{loading:!0,key:Bt,sender:"AI",show:!0}]),Kt(!0),Yt(An)),qn&&Nt&&Xt(),qn||jt()},[qn]);const jt=()=>{var Bt,Sn;fr(""),ur(null),Ht([]),yr(""),(Sn=(Bt=Kn.current)==null?void 0:Bt.cancelRequest)==null||Sn.call(Bt)},Ut=()=>{if($t){$t();return}Nn(!0)},Rt=()=>{if(zn){zn();return}Nn(!1)},ln=()=>{_r(!Ar)},Xt=()=>jn(void 0,null,function*(){const Bt=yield(0,Me.ZP)("/api/intelligent_imports/check_number.json",{method:"get"});(Bt==null?void 0:Bt.status)===0&&en(Bt==null?void 0:Bt.number)}),tn=()=>{pe.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"))})},fn=Bt=>Bt.reduce((bn,Qt)=>{var kn,Vn;if(Qt.sender==="user"){const Hn=Bt.find(tr=>tr.key===Qt.key&&tr.sender==="AI");Hn&&!((Vn=(kn=Hn==null?void 0:Hn.response)==null?void 0:kn.data)!=null&&Vn.message)&&bn.push({question:Qt.text,answer:Hn.text})}return bn},[]),Yt=(...Bt)=>jn(void 0,[...Bt],function*(Sn="",bn={},Qt=In){if(Wt&&(yield Wt({mes:Sn,setChatData:Un,fileList:_t,body:bn,checkNum:Xt,setLoading:Kt,bodyChatData:Qt,setTyping:Xn})),!Wt){br.current=dr,wr.current=Yn;const kn=_t==null?void 0:_t.map(Qn=>{var pr;return(pr=Qn==null?void 0:Qn.response)==null?void 0:pr.file_id}),Vn=bn.history||fn(In),Hn=zt(zt({response_mode:"streaming",model:Yn,thinking_enabled:dr,file_id:(kn==null?void 0:kn[0])||"",[on]:Sn,history:Vn},gt),bn),tr=Object.fromEntries(Object.entries(Hn).filter(([Qn,pr])=>pr!==void 0));Kn.current=new xt(it.Z.API_SERVER+ft,tr),yield new Promise((Qn,pr)=>{let Mr=null,Or=null;Kn.current.on("data",Ir=>{Xn(!0);const{chunk:{content:gr,type:_n,created:Zn}}=Ir;_n==="thinking"&&(Mr=Mr||Zn,Un(mr=>[...mr].map((Er,Nr)=>Nr===mr.length-1?nn(zt({},Er),{reasoning:(Er.reasoning||"")+gr,loading:!1,hideAnswer:!0}):Er))),_n==="text"&&(Or=Or||Zn,Un(mr=>[...mr].map((Er,Nr)=>Nr===mr.length-1?nn(zt({},Er),{text:(Er.text||"")+gr,loading:!1,startTime:Mr,endTime:Or}):Er)))}),Kn.current.on("done",()=>{Qn()}),Kn.current.on("error",()=>{const Ir="\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!",gr={status:0,data:{message:Ir}};Un(_n=>[..._n].map((Zn,mr)=>mr===_n.length-1?nn(zt({},Zn),{text:Ir,loading:!1,response:gr}):Zn)),Qn()}),Kn.current.on("cancelled",()=>{Qn()}),Kn.current.startStream()})}Nt&&Xt(),Kt(!1)}),Bn=Bt=>{yr(Bt.target.value)},En=(Bt,Sn)=>{var bn,Qt,kn,Vn;const Hn=Date.now();if(jt(),Kt(!0),Bt==="edit"){const tr=In.splice(Sn),{fileList:Qn}=(tr==null?void 0:tr[0])||{},pr=((Qt=(bn=Qn==null?void 0:Qn[0])==null?void 0:bn.response)==null?void 0:Qt.file_id)||"",Mr={history:fn(In),file_id:pr};Un([...In,{text:vr,key:Hn,sender:"user",fileList:Qn,show:!0},{loading:!0,key:Hn,sender:"AI",show:!0}]),Yt(vr,Mr,In)}if(Bt==="redraw"){const tr=In.splice(Sn-1),{text:Qn,fileList:pr}=(tr==null?void 0:tr[0])||{},Mr=((Vn=(kn=pr==null?void 0:pr[0])==null?void 0:kn.response)==null?void 0:Vn.file_id)||"",Or={history:fn(In),file_id:Mr};Un([...In,{text:Qn,key:Hn,sender:"user",fileList:pr,show:!0},{loading:!0,key:Hn,sender:"AI",show:!0}]),Yt(Qn,Or,In)}},Fn=()=>{if(nr.trim()!==""){jt();const Bt=Date.now();Un([...In,{text:nr,key:Bt,sender:"user",fileList:_t,show:!0},{loading:!0,key:Bt,sender:"AI",show:!0}]),Kt(!0),Yt(nr)}},Mn=Bt=>{if(Bt.shiftKey){if(Bt.key==="Enter")return}else if(Bt.key==="Enter"){if(Bt.preventDefault(),Cr||jr.current)return;Fn()}},$n=(Bt,Sn)=>{var bn,Qt,kn;const Vn=(bn=Bt==null?void 0:Bt.fileList)==null?void 0:bn[0],Hn=Sn===xr;return ye.createElement("div",{className:Ae.li,style:{width:Ot}},ye.createElement("div",{className:Ae.avatarIcon},ye.createElement("img",{className:Ae.img,src:dn})),ye.createElement("div",{className:Ae.content},Vn&&ye.createElement("div",{className:Ae.file},ye.createElement("img",{src:Se(90034)(`./${((kn=(Qt=Vn==null?void 0:Vn.name)==null?void 0:Qt.split("."))==null?void 0:kn.pop())||"txt"}.png`),width:20,className:"mr10"}),ye.createElement("div",{className:"c-black"},ye.createElement("div",null,(0,Re.tP)(Vn==null?void 0:Vn.name,20)),ye.createElement("div",null,(0,Re.RD)(Vn==null?void 0:Vn.size)))),ye.createElement("div",{className:Ae.borderBox},Hn?ye.createElement(he.default.TextArea,{value:vr,ref:Rn,autoSize:!0,placeholder:"\u8BF7\u8F93\u5165",bordered:!1,onChange:tr=>fr(tr.target.value)}):ye.createElement("div",{className:Ae.text},Bt==null?void 0:Bt.text)),Hn?ye.createElement("div",{className:Ae.action},ye.createElement(ce.ZP,{onClick:()=>{fr(""),ur(null)},size:"small"},"\u53D6\u6D88"),ye.createElement(ce.ZP,{disabled:!vr.trim(),onClick:()=>En("edit",Sn),type:"primary",size:"small"},"\u786E\u8BA4")):ye.createElement("div",{className:Ae.action},ye.createElement(y.CopyToClipboard,{text:(Bt==null?void 0:Bt.text)||"",onCopy:()=>je.ZP.success("\u590D\u5236\u6210\u529F")},ye.createElement(oe.Z,{title:"\u590D\u5236"},ye.createElement("i",{className:"iconfont icon-fuzhi8 font13"}))),an&&!gn&&ye.createElement(oe.Z,{title:"\u7F16\u8F91"},ye.createElement("i",{onClick:()=>{ur(Sn),fr((Bt==null?void 0:Bt.text)||"")},className:"iconfont icon-bianji10 font14"})))))},sr=(Bt,Sn)=>ye.createElement("div",{className:Ae.li,style:{width:Ot}},ye.createElement("div",{className:Ae.avatarIcon},ye.createElement("img",{className:Ae.img,src:qt})),ye.createElement("div",{className:Ae.content},ye.createElement("div",{className:Ae.borderBox},Bt.loading&&!br.current&&ye.createElement("div",null,ye.createElement("div",{className:Ae.loading},ye.createElement("div",{className:Ae.dot}),ye.createElement("div",{className:Ae.dot}),ye.createElement("div",{className:Ae.dot})),ye.createElement("div",{style:{marginTop:10,color:"#9096A3"}},(mn==null?void 0:mn.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")),br.current&&ye.createElement(Fe,{time:Bt==null?void 0:Bt.time,cancelIndex:ir,loading:Bt.loading,streamingStatus:!(Bt!=null&&Bt.text),onFinish:()=>{Un(bn=>[...bn].map((Qt,kn)=>kn===bn.length-1?nn(zt({},Qt),{hideAnswer:!1,time:Qt.startTime?Qt.endTime-Qt.startTime:null}):Qt))},value:Bt==null?void 0:Bt.reasoning}),!!(Bt!=null&&Bt.text)&&!Bt.hideAnswer&&ye.createElement(Ce,{cancelIndex:ir,interval:wr.current==="deepseek-r1"?70:20,streamingStatus:gn,onFinish:()=>{Xn(!1)},value:Bt==null?void 0:Bt.text})),ye.createElement("div",{className:Ae.action},Gt==null?void 0:Gt(Bt),ye.createElement(y.CopyToClipboard,{text:String((Bt==null?void 0:Bt.text)||""),onCopy:()=>je.ZP.success({content:"\u590D\u5236\u6210\u529F",key:"copy"})},ye.createElement(oe.Z,{title:"\u590D\u5236"},ye.createElement("i",{className:"iconfot icon-fuzhi8 font13"}))),Gn&&ye.createElement(ye.Fragment,null,ye.createElement(oe.Z,{title:"\u559C\u6B22"},ye.createElement("i",{style:Bt!=null&&Bt.like?{color:"#FA8D30"}:{},onClick:()=>Sr("like",!(Bt!=null&&Bt.like),Sn),className:"iconfot icon-yijiejue font15"})),ye.createElement(oe.Z,{title:"\u4E0D\u559C\u6B22"},ye.createElement("i",{style:Bt!=null&&Bt.boring?{color:"#e86d7c"}:{},onClick:()=>Sr("boring",!(Bt!=null&&Bt.boring),Sn),className:"iconfot icon-weijiejuezhengchang font15"}))),kt&&!gn&&ye.createElement(oe.Z,{title:"\u91CD\u65B0\u751F\u6210"},ye.createElement("i",{onClick:()=>En("redraw",Sn),className:"iconfot icon-gengxin-genghuan-tihuan"}))))),Sr=(Bt,Sn,bn)=>{Un(Qt=>(Qt[bn][Bt]=Sn,Sn&&(Qt[bn][Bt==="like"?"boring":"like"]=!1),[...Qt]))},Pr=()=>{var Bt,Sn;Br(bn=>bn+1),(Sn=(Bt=Kn.current)==null?void 0:Bt.cancelRequest)==null||Sn.call(Bt),Kt(!1),Xn(!1)},er=hr>9,lr=bt||_t.length>0,Cr=!!(_t!=null&&_t.length)&&((yn=_t==null?void 0:_t[0])==null?void 0:yn.status)!=="done"||gn||cr;return console.log(_t,"fileList"),ye.createElement("div",null,dt?ye.createElement("div",{onClick:Ut},dt):ye.createElement(nt,{src:hn,onClick:Ut,topPercentage:vn}),ye.createElement(ie.Z,{open:qn,width:Pt,extra:Pn&&ye.createElement(Be,{disabled:Cr,value:Yn,onChange:Bt=>{or(!1),pn(Bt)}}),title:ye.createElement("span",{className:"c-grey-333 font16"},Ft),onClose:Rt,bodyStyle:{paddingRight:4}},ye.createElement("div",{className:ae()(Ae.wrap,qn&&"body-overflow-hidden")},ye.createElement("div",{ref:ar,className:Ae.chatContainer},un&&ye.createElement("div",{className:`${Ae.li} mb20`,style:{width:Ot}},ye.createElement("div",{className:Ae.avatarIcon},ye.createElement("img",{className:Ae.img,src:qt})),ye.createElement("div",{className:Ae.content},ye.createElement("div",{className:Ae.borderBox},Ct,Tt==null?void 0:Tt({isDisabledNum:er,checkNumModal:tn,checkNum:Xt,onClose:Rt,setChatData:Un,setLoading:Kt,getData:Yt,clearStatus:jt,typing:cr})))),In==null?void 0:In.map((Bt,Sn)=>ye.createElement(ye.Fragment,{key:Bt.key+Sn},Bt.show&&ye.createElement(ye.Fragment,null,Bt.sender==="user"&&$n(Bt,Sn),Bt.sender==="AI"&&sr(Bt,Sn)))),!Lr&&ye.createElement("div",{className:Ae.backBottom,onClick:()=>{ar.current.scrollTo({top:ar.current.scrollHeight,behavior:"smooth"})}},ye.createElement("i",{className:"iconfont icon-huidaodibu"}))),!sn&&ye.createElement("div",{className:ae()(Ae.footerContainer,Ar&&Ae.full,(dr||!!_t.length)&&Ae.footerContainerSelected)},(Yn==="deepseek-r1"||!!_t.length)&&ye.createElement("div",{className:Ae.btnWrp},!!_t.length&&ye.createElement("div",{className:Ae.uploadFile},((Tn=_t==null?void 0:_t[0])==null?void 0:Tn.status)==="uploading"&&ye.createElement(ue.Z,{indicator:ye.createElement(Mt.Z,{spin:!0}),className:"mr10",size:"small",spinning:!0}),ye.createElement("span",{title:(Dn=_t==null?void 0:_t[0])==null?void 0:Dn.name,className:"mr10"},(0,Re.tP)((It=_t==null?void 0:_t[0])==null?void 0:It.name,40)),ye.createElement("i",{onClick:()=>Ht([]),className:"iconfont current icon-shanchu15 delete-hover c-red-ee4 font14"})),Yn==="deepseek-r1"&&ye.createElement("div",{onClick:()=>or(!dr),className:ae()(Ae.thinkBtn,dr&&Ae.thinkBtnActive)},ye.createElement("i",{className:"iconfont icon-shendusikao mr10"}),"\u6DF1\u5EA6\u601D\u8003\uFF08R1\uFF09")),ye.createElement(oe.Z,{title:er&&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:ae()(Ae.inputContainer,ht>4&&Ae.lineFour,!!_t.length&&"pb40",er&&Ae.disabledInput)},ye.createElement(E.default,nn(zt({},Et),{className:`${lr&&"hide"}`}),ye.createElement(ce.ZP,{className:Ae.uploadBtn,icon:ye.createElement(yt.Z,{style:{fontSize:18,color:"#FFF"}})})),ye.createElement(he.default.TextArea,{rows:ht>4?4:ht,placeholder:At||"\u5728\u8FD9\u91CC\u8F93\u5165\u4F60\u95EE\u9898\u5427,Shift+Enter\u6362\u884C\uFF5E",value:nr,bordered:!1,style:lr?{paddingLeft:0,marginLeft:0}:{},onChange:Bn,onPressEnter:Mn,onCompositionStart:()=>{jr.current=!0},onCompositionEnd:()=>{jr.current=!1}}),cr?ye.createElement("div",{className:`iconfont icon-tingzhihuida ${Ae.cancelBtn}`,onClick:Pr}):ye.createElement(ce.ZP,{className:(nr==null?void 0:nr.trim())===""?Ae.sendBtnDisabled:Ae.sendBtn,icon:ye.createElement("i",{className:"iconfont icon-fasong2 c-white"}),disabled:Cr,onClick:Fn}),ht>4&&ye.createElement("span",{className:Ae.fullIcon,onClick:ln},Ar&&ye.createElement("span",{className:"iconfont icon-shousuo"}),!Ar&&ye.createElement("span",{className:"iconfont icon-zhankai"}))))))))}},71400:function(ct,ot,Se){"use strict";Se.d(ot,{Z:function(){return Ee},U:function(){return be}});var ye=Se(59301),je=Se(31797),E=Se(43418),pe=Se(1710),he=Se(20736),ce=Se(30897),oe=Se(61186),ie=Se.n(oe),ue={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"},se="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJwAAACwCAYAAAD61gcAAAAAAXNSR0IArs4c6QAAIABJREFUeF7tnQd4XHeZ7n9/zUgzkkZdsiX3XmM7xWlONYE0AsuyEMizwAKbDcuFAMvCXvbuEpwsZeksBNilLZBLKIGQUC+EVEKSTYN0O8W9W26SrK4593nP+X/jvyd2LCeOZMbR88gjz5w59T3v933vV47jpZ+X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OY6WJBzIT2zr1cIlvqFY85A6p6jkP0ksAvh2SejsQjDAsXWPHihUMFX9IqArYoBKomv7HIoqzjiXVMlwzkoCupHr5Z1ElskhFpz05Dtw3hY5t03ASN08m1TA32MS8gPuMONKLf8Y+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=Se(88230),ne=Se(24459),te=Se(3404),a=Se(59301),y=Object.defineProperty,x=Object.defineProperties,b=Object.getOwnPropertyDescriptors,ee=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,le=Object.prototype.propertyIsEnumerable,de=(_e,Ce,xe)=>Ce in _e?y(_e,Ce,{enumerable:!0,configurable:!0,writable:!0,value:xe}):_e[Ce]=xe,ge=(_e,Ce)=>{for(var xe in Ce||(Ce={}))z.call(Ce,xe)&&de(_e,xe,Ce[xe]);if(ee)for(var xe of ee(Ce))le.call(Ce,xe)&&de(_e,xe,Ce[xe]);return _e},fe=(_e,Ce)=>x(_e,b(Ce)),me=(_e,Ce,xe)=>new Promise((we,De)=>{var Oe=Qe=>{try{Le(xe.next(Qe))}catch(He){De(He)}},Fe=Qe=>{try{Le(xe.throw(Qe))}catch(He){De(He)}},Le=Qe=>Qe.done?we(Qe.value):Promise.resolve(Qe.value).then(Oe,Fe);Le((xe=xe.apply(_e,Ce)).next())});const be=["fullscreenchange","msfullscreenchange","webkitfullscreenchange","mozfullscreenchange"],{Countdown:ve}=je.default,Pe=({exercise:_e,socket:Ce,dispatch:xe,onStartScreenshot:we,onCloseScreenshot:De,handleToDetail:Oe})=>{const[Fe,Le]=E.default.useModal(),Qe=(0,ye.useRef)(),[He,ze]=(0,ye.useState)(!0),Ke=(0,ye.useRef)(!1),Ge=(0,ne.useParams)();(0,ye.useEffect)(()=>{var Me,Re,Xe;if(document.addEventListener((0,he.gH)(),Be,!1),window.addEventListener("blur",et,!1),(Me=_e.exerciseUserInfo)!=null&&Me.screen_open&&(0,he.vp)()&&ze(!1),(Re=_e.exerciseUserInfo)!=null&&Re.screen_open&&!(0,he.vp)()){(0,re.RG)(" ",!0);const nt=document.domain==="kepukehuan.educoder.net"?30:localStorage.getItem("Refresh")==="1"?_e.exerciseUserInfo.screen_sec+3:_e.exerciseUserInfo.screen_sec+10+1;Qe.current=E.default.info({icon:null,centered:!0,width:444,title:(0,te._V)(te.CP.recordScreen1),keyboard:!1,content:a.createElement("div",null,(0,te._V)(te.CP.recordScreen2),a.createElement("span",{style:{color:"#FF9849"}},_e.exerciseUserInfo.screen_num-_e.exerciseUserInfo.used_screen_num),(0,te._V)(te.CP.recordScreen3)),okText:a.createElement("span",null,(0,te._V)(te.CP.recordScreen4),"\uFF08",a.createElement("span",{style:{display:"inline-block"}},a.createElement(ve,{onFinish:()=>me(void 0,null,function*(){var $e;const tt=yield qe();($e=Qe.current)==null||$e.destroy(),tt.used_screen_num&&Te(tt.used_screen_num+1)}),valueStyle:{fontSize:14,lineHeight:1.4,color:"#FFF",display:"inline-block"},format:"ss",value:Date.now()+nt*1e3})),"S\uFF09"),onOk:()=>{var $e;(0,re.RG)(" ",!0),($e=Qe.current)==null||$e.destroy(),ze(!1),(0,he.Dj)(document.body),document.getElementById("root").addEventListener("click",Ne,!1)}})}return(Xe=_e.exerciseUserInfo)!=null&&Xe.screen_open&&!(0,he.vp)()||document.getElementById("root").addEventListener("click",Ne,!1),()=>{document.getElementById("root").removeEventListener("click",Ne,!1),document.removeEventListener((0,he.gH)(),Be,!1),window.removeEventListener("blur",et,!1)}},[]),(0,ye.useEffect)(()=>{setTimeout(()=>{_e.actionTabs.removeEventListenerExitScreen&&(document.getElementById("root").removeEventListener("click",Ne,!1),document.removeEventListener((0,he.gH)(),Be,!1))},500),Ve()},[_e.actionTabs]),(0,ye.useEffect)(()=>{setTimeout(()=>{_e.exerciseUserInfo.used_screen_num>_e.exerciseUserInfo.screen_num&&We()},500)},[_e.exerciseUserInfo]);const ke=()=>me(void 0,null,function*(){const Me=yield qe();setTimeout(()=>{var Re,Xe;(Re=Qe.current)==null||Re.destroy(),Qe.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"},Me.used_screen_num),"\u6B21\uFF0C\u5207\u5C4F\u8D85\u8FC7",a.createElement("span",{className:"c-red"},(Xe=_e.exerciseUserInfo)==null?void 0:Xe.screen_num),"\u6B21\u5C06\u5F3A\u5236\u4EA4\u5377"),onOk:()=>me(void 0,null,function*(){(0,he.Dj)(document.body)})})},1e3)}),Ne=Me=>{!(0,he.vp)()&&Me.target.nodeName!=="A"&&Me.target.nodeName!=="BUTTON"&&Me.target.innerHTML!=="\u786E \u5B9A"&&(0,he.Dj)(document.body)},Ve=()=>me(void 0,null,function*(){const Me=yield xe({type:"exercise/getExerciseUserInfo",payload:ge({},Ge)});return Me==null?void 0:Me.data}),Je=Me=>me(void 0,null,function*(){var Re;if((Re=_e.exerciseUserInfo)!=null&&Re.screen_at){const nt=yield(0,ce.ck)(fe(ge({},Ge),{reset:!0}));if((nt==null?void 0:nt.status)===-6)return}const Xe=yield(0,ce.oy)({id:Ge.categoryId});if(Xe!=null&&Xe.is_commit){E.default.destroyAll(),yield rt(),at(!0);return}else Te(Me+1)}),rt=()=>me(void 0,null,function*(){var Me;const Re=ie()(),Xe=_e.exerciseUserInfo.screen_sec;if(Ie.current.length>0){const nt=Re.format("YYYY-MM-DD HH:mm:ss");let $e=Math.floor(Re.diff(ie()(Ie.current[0].start))/1e3);const tt=Ie.current.length;$e/Xe>>0>tt&&($e=(tt+1)*Xe-1),yield(0,ce.P8)(Ge.categoryId,{exercise_user_id:(Me=_e.exerciseUserInfo)==null?void 0:Me.exercise_user_id,time:nt,time_long:$e,count:tt})}Ie.current=[]}),Ye=(0,ye.useRef)(0),Ue=(0,ye.useRef)(0),Ie=(0,ye.useRef)([]),Ze=(0,ye.useRef)(!1),Te=Me=>me(void 0,null,function*(){var Re;Ke.current||(we(),E.default.destroyAll(),Ye.current=ie()().valueOf(),Ze.current=!0,Qe.current=E.default.info({icon:null,maskClosable:!1,width:1080,keyboard:!1,centered:!0,className:ue.exitFullScreenModalWrapper,okText:a.createElement("span",null,(0,te._V)(te.CP.recordScreen8)),content:a.createElement("div",{className:ue.exitFullScreenModal},a.createElement("img",{src:se,alt:"",className:ue.warningIcon}),a.createElement("div",{className:ue.warningText,style:{marginBottom:50,fontWeight:500}},(0,te._V)(te.CP.recordScreen9)),a.createElement("div",{style:{marginBottom:40}},(0,te._V)(te.CP.recordScreen10)),a.createElement("div",{style:{marginBottom:40}},(0,te._V)(te.CP.recordScreen11),a.createElement("span",{className:ue.warningText},((Re=_e.exerciseUserInfo)==null?void 0:Re.screen_num)+1),(0,te._V)(te.CP.recordScreen12),a.createElement("span",{className:ue.warningText,style:{fontWeight:600}},(0,te._V)(te.CP.recordScreen13)),",",(0,te._V)(te.CP.recordScreen14),a.createElement("span",{className:ue.warningText},Me-1),(0,te._V)(te.CP.recordScreen15)),a.createElement("div",null,a.createElement("span",null,a.createElement(ve,{className:ue.countdownWrapper,onFinish:()=>{Ue.current=ie()().valueOf(),Ie.current.push({start:Ye.current,end:Ue.current}),Je(Me)},valueStyle:{fontSize:30,color:"#165DFF"},format:"ss",value:Date.now()+(_e.exerciseUserInfo.screen_sec+1)*1e3}),(0,te._V)(te.CP.recordScreen25)),(0,te._V)(te.CP.recordScreen16))),onOk:()=>{(0,re.RG)(" ",!0),rt(),(0,he.Dj)(document.body),De(),Qe.current.destroy(),Ze.current=!1}}))}),We=()=>me(void 0,null,function*(){E.default.destroyAll(),(yield(0,ce.VL)({categoryId:Ge.categoryId,commit_method:1}))&&at()}),at=(Me=!1)=>me(void 0,null,function*(){var Re,Xe;if(document.removeEventListener((0,he.gH)(),Be,!1),(0,he.BU)(),E.default.destroyAll(),Ke.current=!0,Me){const nt=yield(0,ce.Yu)(Ge.categoryId,{exercise_user_id:(Re=_e.exerciseUserInfo)==null?void 0:Re.exercise_user_id});Fe.confirm({icon:null,closable:!1,maskClosable:!1,okText:"\u7533\u8BF7\u7EE7\u7EED\u8003\u8BD5",cancelText:"\u8FD4\u56DE",width:616,className:ue.forcedModalWrapper,centered:!0,content:a.createElement("div",{className:ue.forcedModalContent},a.createElement("img",{src:ae,alt:""}),a.createElement("div",{className:ue.forcedText},(0,te._V)(te.CP.recordScreen17)),a.createElement("div",{className:ue.screenNumText},(0,te._V)(te.CP.recordScreen18),(Xe=_e.exerciseUserInfo)==null?void 0:Xe.screen_num,(0,te._V)(te.CP.recordScreen19)),a.createElement(pe.default,{dataSource:nt==null?void 0:nt.data,pagination:!1,rowKey:"time",bordered:!0,columns:[{title:(0,te._V)(te.CP.recordScreen20),align:"center",dataIndex:"time"},{title:(0,te._V)(te.CP.recordScreen21),align:"center",dataIndex:"time_long"},{title:(0,te._V)(te.CP.recordScreen22),align:"center",dataIndex:"count"}]})),onCancel:()=>{De(),Oe()},onOk:()=>{ne.history.push(`/classrooms/${Ge.coursesId}/exercisenotice/${Ge.categoryId}/users/${Ge.login}?isShowApply=true`)}})}else Fe.info({content:a.createElement("div",{className:"tc font16"},(0,te._V)(te.CP.recordScreen23),a.createElement("br",null),(0,te._V)(te.CP.recordScreen24)),onOk:()=>{Oe()}})}),et=Me=>{(0,he.vp)()&&document.getElementById("iframeShixuns").style.display=="none"&&!Ze.current&&(0,he.BU)()},qe=()=>me(void 0,null,function*(){var Me;if((Me=_e.exerciseUserInfo)!=null&&Me.screen_at){const nt=yield(0,ce.ck)(fe(ge({},Ge),{reset:!0}));if((nt==null?void 0:nt.status)===-6)return}const Re=yield(0,ce.oy)({id:Ge.categoryId});if(Re!=null&&Re.is_commit){at();return}return yield Ve()}),Be=()=>me(void 0,null,function*(){var Me;if((0,re.RG)(" ",!0),(0,he.vp)()){if((Me=_e.exerciseUserInfo)!=null&&Me.screen_at){var Re=yield(0,ce.ck)(fe(ge({},Ge),{reset:!0}));if((Re==null?void 0:Re.status)===-6)return}}else if(!Ze.current){var Re=yield(0,ce.ck)(ge({},Ge));if((Re==null?void 0:Re.status)===-6)return;const nt=yield Ve();Te(nt.used_screen_num+1),window.frames.length!=parent.frames.length&&window.parent.postMessage("backExercise","*")}}),Ae=()=>me(void 0,null,function*(){(0,ce.ck)(ge({},Ge));const Me=yield Ve();Te(Me.used_screen_num+1),window.frames.length!=parent.frames.length&&window.parent.postMessage("backExercise","*")});return a.createElement("div",null,Le)};var Ee=(0,ne.connect)(({exercise:_e,globalSetting:Ce})=>({globalSetting:Ce,exercise:_e}))(Pe)},48569:function(ct,ot,Se){"use strict";Se.d(ot,{X:function(){return pe},y:function(){return E}});var ye=Se(59301),je=Se(8591);const E=he=>{(0,ye.useEffect)(()=>{if(he){const ce=ie=>{ie.key==="F12"&&(ie.preventDefault(),console.log("F12\u88AB\u7981\u7528"))},oe=ie=>{ie.preventDefault()};return document.addEventListener("keydown",ce),document.addEventListener("contextmenu",oe),()=>{document.removeEventListener("keydown",ce),document.removeEventListener("contextmenu",oe)}}},[he])},pe=()=>{const[he,ce]=(0,ye.useState)(!1),oe=ie=>{const{keyCode:ue,ctrlKey:se,metaKey:ae,type:re}=ie;(re==="paste"||(ue===67||ue===86)&&(ae||se))&&(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)(()=>(he&&(window.addEventListener("keydown",oe,!0),window.addEventListener("paste",oe,!0)),()=>{window.removeEventListener("keydown",oe,!0),window.removeEventListener("paste",oe,!0)}),[he]),{setOpenDisableCopyAndPaste:ce,disableCopyAndPaste:he}}},14573:function(ct,ot,Se){"use strict";Se.d(ot,{Z:function(){return ae}});var ye=Se(59301),je={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},E=Se(92310),pe=Se.n(E),he=Se(71418),ce=Se(2859),oe=Se(7660),ie=Se(88230),ue=(re,ne,te)=>new Promise((a,y)=>{var x=z=>{try{ee(te.next(z))}catch(le){y(le)}},b=z=>{try{ee(te.throw(z))}catch(le){y(le)}},ee=z=>z.done?a(z.value):Promise.resolve(z.value).then(x,b);ee((te=te.apply(re,ne)).next())}),ae=({data:re,className:ne,fullWidth:te,style:a={},onClose:y,onOk:x,showFullTools:b,noAssociationId:ee})=>{const z=(0,ye.useRef)(null),le=(0,ye.useRef)(null),de=(0,ye.useRef)(null),ge=(0,ye.useRef)(null),[fe,me]=(0,ye.useState)(!1),[be,ve]=(0,ye.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,ye.useEffect)(()=>{de.current||(de.current=document.createElement("style"),document.head.appendChild(de.current)),re!=null&&re.visible?(document.body.setAttribute("data-custom","y-hidden"),de.current.innerHTML=" html { overflow-y: hidden; }",re!=null&&re.src&&Pe()):(document.body.removeAttribute("data-custom"),de.current&&(document.head.removeChild(de.current),de.current=null))},[re==null?void 0:re.visible]);const Pe=()=>ue(void 0,null,function*(){me(!0),ve("\u6B63\u5728\u52A0\u8F7D\u4E2D");const xe=yield(0,ie.ZJ)(re==null?void 0:re.src);z.current.src="",z.current.src=xe,z.current.onload=function(){Ce()},me(!1),ve("")}),Ee=xe=>ue(void 0,null,function*(){me(!0),ve("\u6B63\u5728\u4FDD\u5B58\u4E2D");const we=yield(0,oe.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:re.title,file:xe.dataUrl}});we!=null&&we.id&&!ee?(yield(0,oe.ZP)(`/api/attachments/${re.id}/add_subitem.json`,{method:"post",body:{subitem_id:we==null?void 0:we.id,settings:JSON.stringify(xe.state)}})).status===0&&x():we!=null&&we.id&&x(we),me(!1),ve("")}),_e=()=>{const xe=document.querySelector('a[href="https://markerjs.com/"]');xe&&xe.parentNode&&(xe.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(De=>{const Oe=document.querySelector(De.name);Oe&&Oe.setAttribute("title",De.title)})},Ce=()=>{le.current=new ce.hP(z.current),le.current.targetRoot=ge.current,le.current.addEventListener("render",Ee),le.current.addEventListener("beforeclose",y),b&&(le.current.availableMarkerTypes=le.current.ALL_MARKER_TYPES,le.current.uiStyleSettings.redoButtonVisible=!0,le.current.uiStyleSettings.notesButtonVisible=!0,le.current.uiStyleSettings.zoomButtonVisible=!0,le.current.uiStyleSettings.zoomOutButtonVisible=!0,le.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=le.current.uiStyleSettings,le.current.show(),re!=null&&re.snapshotData&&le.current.restoreState(re.snapshotData),setTimeout(()=>{window.scrollTo(0,0),_e()},300)};return ye.createElement(ye.Fragment,null,(re==null?void 0:re.visible)&&ye.createElement(he.Z,{spinning:fe,tip:be,style:{position:"absolute"}},ye.createElement("div",{ref:ge,className:pe()(je.imageDimensions,ne,te?je.fullWidth:""),style:a},ye.createElement("img",{className:je.img,ref:z}))))}},72714:function(ct,ot,Se){"use strict";var ye=Se(59301),je=Se(11570),E=Se(48136),pe=Se(46531),he=Se(43418),ce=Se(59301);const oe=(0,ye.forwardRef)(({callback:ie,width:ue,onChange:se,disabled:ae,readOnly:re,type:ne="",value:te="",style:a={}},y)=>{const x=(0,ye.useRef)(),b=(0,ye.useRef)(),[ee,z]=(0,ye.useState)(0),[le,de]=(0,ye.useState)(0),[ge,fe]=(0,ye.useState)(!1),me=()=>{var Ee=document.createElement("div");Ee.innerHTML=x.current.getValue();var _e=Ee.innerText;return ie&&ie(_e),_e};(0,ye.useImperativeHandle)(y,()=>({getData:me}));const be=Ee=>{Ee.preventDefault();const _e=Ee.clientX-ee,Ce=Ee.clientY-le;document.body.onmousemove=xe=>{let we=xe.clientX-_e,De=xe.clientY-Ce;const Oe=document.getElementsByClassName("markdown-popup-form")[0],Fe=window.innerWidth-Oe.offsetWidth,Le=window.innerHeight-Oe.offsetHeight;we=Math.max(0,Math.min(we,Fe)),De=Math.max(0,Math.min(De,Le)),ve(xe.clientX,xe.clientY,_e,Ce)&&(z(we),de(De))},document.body.onmouseup=function(){document.body.onmousemove=null}},ve=(Ee,_e,Ce,xe)=>{const we=document.body.clientHeight,De=document.body.clientWidth;return Ee<20&&Ce>Ee||Ee>De-20&&Ce_e||_e>we-20&&xe<_e?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};(0,ye.useEffect)(()=>{ge&&setTimeout(()=>{const Ee=document.getElementsByClassName("markdown-popup-form")[0],_e=window.innerWidth/2-Ee.offsetWidth/2,Ce=window.innerHeight/2-Ee.offsetHeight/2;z(_e),de(Ce)},0)},[ge]);const Pe=()=>{ae||re||fe(!0)};return ce.createElement("div",{style:a},ce.createElement("div",{style:{width:ue||"100%",position:"relative"},className:`${je.Z.mathFillWrap} ${ae||re?"cursorDefault":""}`,onClick:()=>Pe()},ce.createElement("math-field",{disabled:ae,locale:"zh_cn",class:`${je.Z.mathField} ${ne}`,readOnly:re,placeholder:"\u8BF7\u8F93\u5165\u516C\u5F0F",ref:x,style:{width:"100%",fontSize:te?18:14},value:te||""})),ce.createElement(he.default,{maskClosable:!1,centered:!0,width:860,style:{position:"absolute",left:ee,top:le},title:ce.createElement("div",{style:{cursor:"move"},onMouseDown:be},"\u8F93\u5165\u516C\u5F0F"),open:ge,onOk:()=>{const Ee=b.current.getData();x.current.setValue(Ee),se(Ee),fe(!1)},onCancel:()=>{fe(!1)},destroyOnClose:!0,className:"markdown-popup-form"},ce.createElement(pe.Z,{value:te,ref:b,onChange:se,showSaveButton:!1})))});ot.Z=oe},46531:function(ct,ot,Se){"use strict";var ye=Se(59301),je=Se(95237),E=Se(43604),pe=Se(99313),he=Se(3113),ce=Se(99325),oe=Se(11570),ie=Se(48136),ue=Se(59301);const se=(0,ye.forwardRef)(({callback:ae,showSaveButton:re,value:ne=""},te)=>{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 @@ -917,7 +917,7 @@ margin-bottom: 16px; }`;return(0,ye.useEffect)(()=>{const _e=ve.current.attachShadow({mode:"open"});Pe.current=document.createElement("div"),Pe.current.className="markdown-body",Pe.current.innerHTML=be,_e.appendChild(Pe.current);const Ce=document.createElement("style");return Ce.textContent=Ee,_e.appendChild(Ce),()=>{_e.innerHTML=""}},[]),(0,ye.useEffect)(()=>{Pe.current&&(Pe.current.innerHTML=be)},[be]),ae.createElement("div",{ref:ve})},te=Object.defineProperty,a=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,b=(be,ve,Pe)=>ve in be?te(be,ve,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):be[ve]=Pe,ee=(be,ve)=>{for(var Pe in ve||(ve={}))y.call(ve,Pe)&&b(be,Pe,ve[Pe]);if(a)for(var Pe of a(ve))x.call(ve,Pe)&&b(be,Pe,ve[Pe]);return be};const z="@\u2581\u2581@",le="@\u2581@",de=/]*>/g;function ge(be){let ve=document.createElement("div");return ve.innerHTML=be,ve.childNodes.length===0?"":ve.childNodes[0].nodeValue}const fe=(be,ve)=>{be=be||"";const Pe=/(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?\)|(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,Ee=/\"(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,_e=/\(\s+(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,Ce=/(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g;return ve?be.replaceAll("https://www.educoder.net","").replaceAll("https://www-cdn.educoder.net","").replaceAll("//api/attachments","/api/attachments").replace(Pe,(xe,we,De,Oe,Fe,Le,Qe)=>{const He=we||Oe||Le,ze=De||Fe||Qe||"?";return ce.Z.API_SERVER+"/api/attachments/"+He+ze+"&t="+(0,oe.Jn)(He,Date.now())+(xe.indexOf(")")>-1?")":"&")}).replaceAll('src="(','src="').replaceAll("src='(",'src="'):(be=be.replace(Ce,(xe,we,De,Oe,Fe,Le,Qe)=>{const He=we||Oe||Le,ze=De||Fe||Qe||"?";return ce.Z.API_SERVER+"/attachments/download/"+He+ze+"&t="+(0,oe.Jn)(He,Date.now())+(xe.indexOf(")")>-1?")":"&")}).replace(Pe,(xe,we,De,Oe,Fe,Le,Qe)=>{const He=we||Oe||Le,ze=De||Fe||Qe||"?";return ce.Z.API_SERVER+"/api/attachments/"+He+ze+"&t="+(0,oe.Jn)(He,Date.now())+(xe.indexOf(")")>-1?")":"&")}).replace(Ee,(xe,we,De,Oe,Fe)=>{const Le=we||Oe,Qe=De||Fe||"";return'"'+ce.Z.API_SERVER+"/api/attachments/"+Le+Qe+Le+Qe+"&t="+(0,oe.Jn)(Le,Date.now())}).replace(_e,(xe,we,De,Oe,Fe)=>{const Le=we||Oe,Qe=De||Fe||"";return"("+ce.Z.API_SERVER+"/files/uploads/"+Le+Qe+Le+Qe+"&t="+(0,oe.Jn)(Le,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,` `),be)};var me=({value:be="",className:ve,showTextOnly:Pe,showLines:Ee,style:_e={},stylesPrev:Ce={},highlightKeywords:xe,showProgramFill:we,isProgramFill:De,disabledFill:Oe=!1,programFillValue:Fe,onFillChange:Le=ze=>{},onFillBlur:Qe=()=>{},onFillFocus:He=()=>{}})=>{let ze=String(be);const[Ke,Ge]=(0,ye.useState)(""),[ke,Ne]=(0,ye.useState)("office"),[Ve,Je]=(0,ye.useState)([]),rt=(0,ye.useRef)("a"+(0,ue.Z)()),Ye={},Ue=(Xe,nt,$e)=>{const tt=document.createElement(Xe===le?"input":"textarea");tt.style.width="100%",tt.style.height=Xe===le?"40px":"151px",tt.rows=5,tt.spellcheck=!1,tt.name="edu-program-fill",tt.placeholder="\u8BF7\u8F93\u5165",tt.dataset.id=nt;const st=Object.keys(Ye).length;return Ye[st]=tt,`${tt.outerHTML}`};function Ie(Xe){return Xe=Xe.replace(/!\[.*?\]\(.*?\)/g,""),Xe=Xe.replace(/\[.*?\]\(.*?\)/g,""),Xe=Xe.replace(new RegExp("","gs"),""),Xe=Xe.replace(//g,""),Xe=Xe.replace(//g,""),Xe=Xe.replace(new RegExp(".*?<\\/video>","gs"),""),Xe=Xe.replace(new RegExp(".*?<\\/audio>","gs"),""),Xe=Xe.replace(new RegExp(".*?<\\/style>","gs"),""),Xe=Xe.replace(new RegExp(".*?<\\/script>","gs"),""),Xe}const Ze=Xe=>Xe.replace(/([\s\S]+?)<\/style>/gim,function(nt,$e){let tt=$e.replace(/(\n|\r)/g,"").split("}"),st=[];return tt.map(it=>{it!=""&&st.push(`.${rt.current} ${it}`)}),``}),Te=(0,ye.useMemo)(()=>{try{const tt=/\(\s+\/api\/attachments\/|\(\/api\/attachments\//g,st=/\"\/api\/attachments\/|\"\/attachments\/download\//g,it=/\(\s+\/files\/uploads\/|\"\/files\/uploads\//g,lt=/\(\/attachments\/download\//g;ze=ze.replace(lt,"("+ce.Z.API_SERVER+"/attachments/download/").replace(tt,"("+ce.Z.API_SERVER+"/api/attachments/").replace(st,'"'+ce.Z.API_SERVER+"/api/attachments/").replace(it,'"'+ce.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(tt){}if(we){let tt=-1;return ze=ze.replaceAll("<","<").replaceAll(">",">").replace(/(@▁▁@|@▁@)/g,function(st,it,lt){var ut;return++tt,Ue(st,tt,(ut=Fe==null?void 0:Fe[tt])==null?void 0:ut.value.replaceAll("<","<").replaceAll(">",">"))}),`
${Ze(ze||"")}
`}let Xe=Ze(ze);Xe=(0,E.ZP)(Xe);const nt=(0,E.ez)();ze.match(/\[TOC\]/)&&(Xe=Xe.replace("

[TOC]

",(0,E.Qv)()),(0,E.Iy)()),Xe=Xe.replace(/(__special_katext_id_\d+__)/g,(tt,st)=>{const{type:it,expression:lt}=nt[st];return(0,ie.renderToString)(ge(lt)||"",{displayMode:it==="block",throwOnError:!1,output:"html"})}),Xe=Xe.replace(/▁/g,"\u2581\u2581\u2581\u2581\u2581"),(0,E.AL)();const $e=document.createElement("div");if($e.innerHTML=Xe,Pe)return $e.innerText;if(xe){const tt=xe.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return qe($e,tt),$e.innerHTML}return setTimeout(()=>Me(),500),$e.innerHTML},[ze,xe]);(0,ye.useEffect)(()=>{Be.current&&Be.current.querySelectorAll(["input","textarea"]).forEach(nt=>{nt.oninput=We,nt.onblur=at,nt.onfocus=et})},[Ve]),(0,ye.useEffect)(()=>{var Xe,nt,$e,tt,st;if(Fe!=null&&Fe.length)try{const it=Be.current.querySelectorAll(".edu-program-fill-score"),lt=Be.current.querySelectorAll('[name="edu-program-fill"]');for(const[ut,vt]of lt.entries())vt.value=((Xe=Fe==null?void 0:Fe[ut])==null?void 0:Xe.value)||"",((nt=Fe==null?void 0:Fe[ut])==null?void 0:nt.type)==="warning"?vt.className="program-fill-warning":(($e=Fe==null?void 0:Fe[ut])==null?void 0:$e.type)==="success"?vt.className="program-fill-success":vt.className="";for(const[ut,vt]of it.entries())vt.innerHTML=(tt=Fe==null?void 0:Fe[ut])!=null&&tt.score?`${(st=Fe==null?void 0:Fe[ut])==null?void 0:st.score}\u5206`:"";Je(Fe)}catch(it){console.log(it,"error")}},[Fe]);const We=Xe=>{Ve[Xe.target.dataset.id]=Ve[Xe.target.dataset.id]||{},Ve[Xe.target.dataset.id].value=Xe.target.value,Je([...Ve]),Le(Ve,Xe.target.dataset.id)},at=Xe=>{Ve[Xe.target.dataset.id]=Ve[Xe.target.dataset.id]||{},Ve[Xe.target.dataset.id].value=Xe.target.value,Je([...Ve]),Qe(Ve,Xe.target.dataset.id)},et=Xe=>{Ve[Xe.target.dataset.id]=Ve[Xe.target.dataset.id]||{},Ve[Xe.target.dataset.id].value=Xe.target.value,Je([...Ve]),He(Ve,Xe.target.dataset.id)};function qe(Xe,nt){return Xe.childNodes.forEach($e=>{var tt;if($e.childNodes.length>0)qe($e,nt);else if($e.nodeName!=="IMG")if($e.innerHTML)$e.innerHTML=(tt=$e.innerHTML)==null?void 0:tt.replace(new RegExp(nt,"gi"),'$&');else{const st=document.createElement("span");st.innerHTML=$e.textContent.replace(new RegExp(nt,"gi"),'$&'),$e.replaceWith(st)}})}const Be=(0,ye.useRef)();E.jb.WebkitLineClamp=Ee,Ee&&(_e=ee(ee({},_e),E.jb));function Ae(Xe){let nt=Xe.target;if(nt.tagName.toUpperCase()==="A"){let $e=nt.getAttribute("href");if($e.indexOf("office")>-1)Xe.preventDefault(),Ge($e),Ne("office");else if($e.indexOf("application/pdf")>-1)Xe.preventDefault(),Ge($e),Ne("pdf");else if($e.indexOf("text/html")>-1)Xe.preventDefault(),Ge($e),Ne("html");else if($e.startsWith("#")){Xe.preventDefault();let tt=document.getElementById($e.replace("#",""));tt&&tt.scrollIntoView(!0)}}}const Me=()=>{var Xe;const nt=(Xe=Be.current)==null?void 0:Xe.querySelectorAll("video");nt==null||nt.forEach($e=>{if($e.oncontextmenu=()=>!1,$e.src.indexOf(".m3u8")>-1&&!$e.canPlayType("application/vnd.apple.mpegurl")){if(he.ZP.isSupported()){var tt=new he.ZP;tt.loadSource($e.src),tt.attachMedia($e)}}})};(0,ye.useEffect)(()=>{if(Be.current&&Te&&Te.match(de)&&window.PR.prettyPrint(),Be.current)return Be.current.addEventListener("click",Ae),()=>{var Xe;(Xe=Be.current)==null||Xe.removeEventListener("click",Ae),(0,E.AL)(),(0,E.Iy)()}},[Te,Be.current,Ae]),(0,ye.useEffect)(()=>{var Xe;const nt=$e=>{$e.preventDefault(),$e.clipboardData.setData("text",window.getSelection().toString())};return(Xe=Be.current)==null||Xe.addEventListener("copy",nt),()=>{var $e;($e=Be.current)==null||$e.removeEventListener("copy",nt)}},[Be.current]);const Re=Xe=>//i.test(Xe||"");return ye.createElement(ye.Fragment,null,Pe&&ye.createElement("div",{ref:Be},Te),!Pe&&!Re(Te)&&ye.createElement("div",{ref:Be,style:ee({},_e),className:`${ve||""} ${Oe?"disabled-fill":""} markdown-body ${rt.current}`,dangerouslySetInnerHTML:{__html:Te}}),!Pe&&Re(Te)&&ye.createElement(ne,{html:Te}),ye.createElement(se.Z,{close:!0,data:Ke,type:Ke!=null&&Ke.length?ke:"",style:ee({},Ce),onClose:()=>Ge("")}))}},7651:function(ct,ot,Se){"use strict";Se.d(ot,{Z:function(){return pe}});var ye=Se(24459),je={ldsRing:"ldsRing___mpBZC",idsRingWrapper:"idsRingWrapper___Of9_n",ldsring:"ldsring___o0w2t"},E=Se(59301),pe=({message:he,className:ce,children:oe,style:ie={}})=>E.createElement("div",{className:`custom-spinner ${je.idsRingWrapper} ${ce}`},E.createElement("div",{className:je.ldsRing},E.createElement("div",null),E.createElement("div",null),E.createElement("div",null),E.createElement("div",null)),he?E.createElement("p",{style:ie},he):null,oe,E.createElement(ye.Outlet,null))},31582:function(ct,ot,Se){"use strict";Se.d(ot,{Z:function(){return pe}});var ye=Se(59301),je=Se(50484),E=Se(59301),pe=({defaultX:he="40%",leftChild:ce,rightChild:oe,className:ie,hideResize:ue=!1})=>{const[se,ae]=(0,ye.useState)(he),re=(0,ye.useRef)();function ne(){re.current=!0}(0,ye.useEffect)(()=>{function y(b){re.current&&(je.Z.publish("resize-move-bar",b),ae(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 te=typeof se=="number"&&se!==.01?`${se}px`:he,a=`calc(100% - ${ue?"0px":"4px"} - ${te})`;return E.createElement("div",{className:`split-panel-container ${ie}`},E.createElement("section",{style:{width:te,display:se===.01?"none":""}},ce),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}},oe))}},75618:function(ct,ot,Se){"use strict";Se.d(ot,{Z:function(){return ce}});var ye=Se(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=Se(92310),pe=Se.n(E),ce=({className:oe,style:ie={},leftNode:ue,leftTitle:se="\u81EA\u6D4B\u8F93\u5165",rightNode:ae,rightTitle:re="\u8FD0\u884C\u7ED3\u679C"})=>ye.createElement("div",{className:pe()(je.result,oe),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,se)),ye.createElement("div",{className:je.leftNode},ue)),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},ae)))},46942:function(ct,ot,Se){"use strict";var ye=Se(59301);const je=pe=>String(pe).length===1?`0${pe}`:pe,E=({className:pe="",onChange:he,defaultValue:ce=0})=>{const[oe,ie]=(0,ye.useState)(ce);(0,ye.useEffect)(()=>{const re=setTimeout(()=>{ie(oe+1e3)},1e3);return he(oe+1e3),()=>{clearInterval(re)}},[oe]);const ue=parseInt(oe/(60*6e4))||"00",se=parseInt(oe%(60*6e4)/6e4)||"00",ae=parseInt(oe%6e4/1e3)||"00";return ye.createElement("div",{className:pe},je(ue),":",je(se),":",je(ae))};ot.Z=E},49894:function(ct,ot,Se){"use strict";Se.d(ot,{cT:function(){return be},pe:function(){return ge}});var ye=Se(59301),je=Se(54580),E=Se(8591),pe=Se(7660),he=Se(28209),ce=Se.n(he),oe=Se(1012),ie=Se(24459),ue=Se(47257),se=Se.n(ue),ae=Object.defineProperty,re=Object.defineProperties,ne=Object.getOwnPropertyDescriptors,te=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable,x=(Pe,Ee,_e)=>Ee in Pe?ae(Pe,Ee,{enumerable:!0,configurable:!0,writable:!0,value:_e}):Pe[Ee]=_e,b=(Pe,Ee)=>{for(var _e in Ee||(Ee={}))a.call(Ee,_e)&&x(Pe,_e,Ee[_e]);if(te)for(var _e of te(Ee))y.call(Ee,_e)&&x(Pe,_e,Ee[_e]);return Pe},ee=(Pe,Ee)=>re(Pe,ne(Ee)),z=(Pe,Ee)=>{var _e={};for(var Ce in Pe)a.call(Pe,Ce)&&Ee.indexOf(Ce)<0&&(_e[Ce]=Pe[Ce]);if(Pe!=null&&te)for(var Ce of te(Pe))Ee.indexOf(Ce)<0&&y.call(Pe,Ce)&&(_e[Ce]=Pe[Ce]);return _e},le=(Pe,Ee,_e)=>new Promise((Ce,xe)=>{var we=Fe=>{try{Oe(_e.next(Fe))}catch(Le){xe(Le)}},De=Fe=>{try{Oe(_e.throw(Fe))}catch(Le){xe(Le)}},Oe=Fe=>Fe.done?Ce(Fe.value):Promise.resolve(Fe.value).then(we,De);Oe((_e=_e.apply(Pe,Ee)).next())});const{Dragger:de}=je.default,ge=Pe=>{const Ee="bf3c199c2470cb477d907b1e0917c17b",_e="5183666c72eec9e4";var Ce=ce().enc.Utf8.parse(Ee);let xe=ce().enc.Utf8.parse(_e);var we=ce().AES.decrypt(Pe,Ce,{iv:xe,mode:ce().mode.CBC});return we.toString(ce().enc.Utf8)};let fe;const me=Pe=>le(void 0,[Pe],function*({identifier:Ee,oldFilename:_e,newFilename:Ce}){var xe,we,De,Oe,Fe,Le;const Qe=yield Fetch("/api/buckets/get_upload_token_for_big_files.json",{method:"get"});Qe.data=JSON.parse(ge(Qe.data));const He=new OSS({endpoint:(xe=Qe==null?void 0:Qe.data)==null?void 0:xe.end_point,region:(we=Qe==null?void 0:Qe.data)==null?void 0:we.region,accessKeyId:(De=Qe==null?void 0:Qe.data)==null?void 0:De.access_key_id,accessKeySecret:(Oe=Qe==null?void 0:Qe.data)==null?void 0:Oe.access_key_secret,bucket:(Fe=Qe==null?void 0:Qe.data)==null?void 0:Fe.bucket,stsToken:(Le=Qe==null?void 0:Qe.data)==null?void 0:Le.security_token});return new Promise((ze,Ke)=>{console.log(11111,`${Ee}/${_e}`,`${Ee}/${Ce}`,Qe.data),He.copy(`/${Ee}/${_e}`,`/${Ee}/${Ce}`).then(Ge=>{console.log("\u62F7\u8D1D\u6210\u529F",Ge)}).catch(Ge=>{console.log(Ge)})})}),be=(Pe,Ee,_e)=>le(void 0,null,function*(){var Ce,xe,we,De,Oe,Fe;Ee.file_name=Pe.name;const Le=yield(0,pe.ZP)("/api/buckets/get_upload_token.json",{method:"get"});console.log("decrypt(res.data):",ge(Le.data)),Le.data=JSON.parse(ge(Le.data));const Qe=Pe.name.split(".");Qe.pop();const He=Ee.realFileName?Qe.join(""):(0,oe.Z)(),ze=new(se())({endpoint:(Ce=Le==null?void 0:Le.data)==null?void 0:Ce.end_point,region:(xe=Le==null?void 0:Le.data)==null?void 0:xe.region,accessKeyId:(we=Le==null?void 0:Le.data)==null?void 0:we.access_key_id,accessKeySecret:(De=Le==null?void 0:Le.data)==null?void 0:De.access_key_secret,bucket:(Oe=Le==null?void 0:Le.data)==null?void 0:Oe.bucket,stsToken:(Fe=Le==null?void 0:Le.data)==null?void 0:Fe.security_token});return new Promise((Ke,Ge)=>{var ke;ze.multipartUpload(`${He}`,new Blob([Pe],{type:Pe.type}),ee(b({timeout:200*1e3,partSize:102400},_e),{callback:{url:(ke=Le==null?void 0:Le.data)==null?void 0:ke.callback_url,host:Le==null?void 0:Le.data.bucket_host,body:"bucket=${bucket}&object=${object}&etag=${etag}&size=${size}&mimeType=${mimeType}&my_var=${x:my_var}&"+(0,pe.rz)(Ee)}})).then(function(Ne){var Ve;Pe.response=(Ve=Ne.data)==null?void 0:Ve.data,Ke(Ne==null?void 0:Ne.data)}).catch(function(Ne){Ge(Ne),console.log("err:",Ne)})})}),ve=Pe=>{var Ee=Pe,{user:_e,cancelUpload:Ce}=Ee,xe=z(Ee,["user","cancelUpload"]);const[we,De]=(0,ye.useState)([]);let[Oe,Fe]=(0,ye.useState)();const Le={onRemove:He=>{De([...we.filter(ze=>ze.name!==He.name)]),xe.onChange(we.filter(ze=>ze.name!==He.name))},disabled:xe.disabled,multiple:!0,fileList:we==null?void 0:we.map(He=>He.file),customRequest:()=>{},beforeUpload:He=>le(void 0,null,function*(){let ze=xe.maxSize||1073741824;if(we.filter(Ke=>Ke.name===He.name).length){E.ZP.info(`${He.name}\u5DF2\u5B58\u5728\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9`);return}return(He==null?void 0:He.size)>ze?(E.ZP.info(`\u6587\u4EF6\u8D85\u8FC7${ze/1024/1024/1024}GB\uFF0C\u4E0D\u7B26\u5408\u4E0A\u4F20\u8981\u6C42`),!1):(we.push({name:He.name,file:He}),De([...we]),xe.onChange(we),!1)})},Qe=(He,ze)=>le(void 0,null,function*(){var Ke,Ge,ke,Ne,Ve,Je;ze.file_name=He.name;const rt=He.name,Ye=yield(0,pe.ZP)("/api/buckets/get_upload_token_for_big_files.json",{method:"get"});if(Ye.data=JSON.parse(ge(Ye.data)),(Ye==null?void 0:Ye.status)!==0){we[we.findIndex(Ze=>Ze.name===rt)].status="error",we[we.findIndex(Ze=>Ze.name===rt)].file.status="error",xe.onChange(we),E.ZP.warning("\u4E0A\u4F20\u5931\u8D25\uFF0C\u8BF7\u91CD\u65B0\u5C1D\u8BD5");return}Oe=new(se())({endpoint:(Ke=Ye==null?void 0:Ye.data)==null?void 0:Ke.end_point,region:(Ge=Ye==null?void 0:Ye.data)==null?void 0:Ge.region,accessKeyId:(ke=Ye==null?void 0:Ye.data)==null?void 0:ke.access_key_id,accessKeySecret:(Ne=Ye==null?void 0:Ye.data)==null?void 0:Ne.access_key_secret,bucket:(Ve=Ye==null?void 0:Ye.data)==null?void 0:Ve.bucket,stsToken:(Je=Ye==null?void 0:Ye.data)==null?void 0:Je.security_token}),console.log(He,"file"),Fe(Oe);const Ue=He.name.split(".");Ue.pop();const Ie=rt.indexOf(".")>-1?ze.realFileName?Ue.join("."):(0,oe.Z)():rt;return new Promise((Ze,Te)=>{var We;try{Oe.multipartUpload(`${xe.identifier}/${Ie}${rt.indexOf(".")>-1?"."+rt.split(".").pop():""}`,new Blob([He.file],{type:He.file.type}),{timeout:3600*1e3,partSize:1002400,progress:(at,et,qe)=>{try{console.log("\u8FDB\u5EA6",at,et,qe);const Be=we.findIndex(Ae=>Ae.name===rt);we[Be].file.percent=at*100,we[Be].tempCheckpoint=et,De([...we])}catch(Be){}},checkpoint:we[we.findIndex(at=>at.name===rt)].tempCheckpoint,callback:{customValue:{id:rt+""},url:(We=Ye==null?void 0:Ye.data)==null?void 0:We.callback_url,host:Ye==null?void 0:Ye.data.bucket_host,body:"bucket=${bucket}&object=${object}&etag=${etag}&size=${size}&mimeType=${mimeType}&my_var=${x:my_var}&"+(0,pe.rz)(ze)}}).then(function(at){var et,qe,Be;const Ae=we.findIndex(Re=>Re.name===rt);let Me="done";if(((et=at.data)==null?void 0:et.status)===0){He.response=(qe=at.data)==null?void 0:qe.data;const Re=we.findIndex(Xe=>Xe.name===rt);we[Re].status="done",we[Re].file.status="done"}else E.ZP.warning((Be=at.data)==null?void 0:Be.message),Me="error";we[Ae].status=Me,we[Ae].file.status=Me,xe.onChange(we),Ze(at==null?void 0:at.data)}).catch(function(at){we[we.findIndex(et=>et.name===rt)].status="error",we[we.findIndex(et=>et.name===rt)].file.status="error",E.ZP.warning("\u4E0A\u4F20\u5931\u8D25\uFF0C\u8BF7\u91CD\u65B0\u5C1D\u8BD5"),De([...we]),xe.onChange(we),Te(at),console.log("err:",at)})}catch(at){}})});return(0,ye.useEffect)(()=>{we.every(He=>He==="done"||He==="error")&&xe.onComplete(we)},[we]),(0,ye.useEffect)(()=>{Ce&&(Oe==null||Oe.cancel())},[Ce]),(0,ye.useEffect)(()=>{xe.uploading&&we.map(He=>le(void 0,null,function*(){var ze;if((!He.status||He.status==="error")&&!Ce){He.status="uploading",He.file.status="uploading";const Ke=yield Qe(He,{login:(ze=_e==null?void 0:_e.userInfo)==null?void 0:ze.login,container_type:xe.container_type,container_id:xe.container_id,description:xe.description,realFileName:xe.realFileName})}}))},[xe.uploading]),ye.createElement(de,ee(b({},Le),{height:xe.height,className:xe.className}),ye.createElement("p",{className:"ant-upload-hint"},xe.text||"\u62D6\u62FD\u6587\u4EF6\u6216\u8005\u70B9\u51FB\u4E0A\u4F20"))};ot.ZP=(0,ie.connect)(({loading:Pe,globalSetting:Ee,user:_e})=>({globalSetting:Ee,loading:Pe.models.competitions,user:_e}))(ve)},85469:function(ct,ot,Se){"use strict";Se.d(ot,{Z:function(){return zt}});var ye=Se(59301),je=Se(50484),E=Se(15277),pe=Se(92310),he=Se.n(pe),ce=Se(92413),oe=Se(33708),ie=Se(400),ue=Se(33606),se=Se(39559),ae=Se(37061),re=Se(55468),ne=Se(18929),te=["crossOrigin","decoding","draggable","loading","referrerPolicy","sizes","srcSet","useMap","alt"],a=ye.createContext(null),y=0;function x(Ot,Pt){var Wt=ye.useState(function(){return y+=1,String(y)}),Ct=(0,ue.Z)(Wt,1),Dt=Ct[0],kt=ye.useContext(a),on={data:Pt,canPreview:Ot};return ye.useEffect(function(){if(kt)return kt.register(Dt,on)},[]),ye.useEffect(function(){kt&&kt.register(Dt,on)},[Ot,Pt]),Dt}function b(Ot){return new Promise(function(Pt){var Wt=document.createElement("img");Wt.onerror=function(){return Pt(!1)},Wt.onload=function(){return Pt(!0)},Wt.src=Ot})}function ee(Ot){var Pt=Ot.src,Wt=Ot.isCustomPlaceholder,Ct=Ot.fallback,Dt=(0,ye.useState)(Wt?"loading":"normal"),kt=(0,ue.Z)(Dt,2),on=kt[0],sn=kt[1],vn=(0,ye.useRef)(!1),Pn=on==="error";(0,ye.useEffect)(function(){b(Pt).then(function(On){On||sn("error")})},[Pt]),(0,ye.useEffect)(function(){Wt&&!vn.current?sn("loading"):Pn&&sn("normal")},[Pt]);var wn=function(){sn("normal")},yn=function(It){vn.current=!1,on==="loading"&&It!=null&&It.complete&&(It.naturalWidth||It.naturalHeight)&&(vn.current=!0,wn())},Ln=Pn&&Ct?{src:Ct}:{onLoad:wn,src:Pt};return[yn,Ln,on]}var z=Se(86923),le=Se(8224),de=Se(10228),ge=Se(48736);function fe(Ot,Pt,Wt,Ct){var Dt=Pt+Wt,kt=(Wt-Ct)/2;if(Wt>Ct){if(Pt>0)return(0,ie.Z)({},Ot,kt);if(Pt<0&&DtCt)return(0,ie.Z)({},Ot,Pt<0?kt:-kt);return{}}function me(Ot,Pt,Wt,Ct){var Dt=(0,re.g1)(),kt=Dt.width,on=Dt.height,sn=null;return Ot<=kt&&Pt<=on?sn={x:0,y:0}:(Ot>kt||Pt>on)&&(sn=(0,oe.Z)((0,oe.Z)({},fe("x",Wt,Ot,kt)),fe("y",Ct,Pt,on))),sn}var be=Se(13697),ve=Se(16089),Pe={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1};function Ee(Ot,Pt,Wt,Ct){var Dt=(0,ye.useRef)(null),kt=(0,ye.useRef)([]),on=(0,ye.useState)(Pe),sn=(0,ue.Z)(on,2),vn=sn[0],Pn=sn[1],wn=function(It){Pn(Pe),Ct&&!(0,be.Z)(Pe,vn)&&Ct({transform:Pe,action:It})},yn=function(It,qn){Dt.current===null&&(kt.current=[],Dt.current=(0,ve.Z)(function(){Pn(function(Un){var Yn=Un;return kt.current.forEach(function(pn){Yn=(0,oe.Z)((0,oe.Z)({},Yn),pn)}),Dt.current=null,Ct==null||Ct({transform:Yn,action:qn}),Yn})})),kt.current.push((0,oe.Z)((0,oe.Z)({},vn),It))},Ln=function(It,qn,Un,Yn){var pn=Ot.current,_t=pn.width,Ht=pn.height,gn=pn.offsetWidth,Jt=pn.offsetHeight,_n=pn.offsetLeft,Wn=pn.offsetTop,Bn=It,zn=vn.scale*It;zn>Wt?(Bn=Wt/vn.scale,zn=Wt):zn1,br=dr&&pn>=1,wr=Ee(fr,_n,Bn,xr),ir=wr.transform,Br=wr.resetTransform,Lr=wr.updateTransform,Dr=wr.dispatchZoomChange,jr=(0,ye.useState)(!0),ht=(0,ue.Z)(jr,2),Tt=ht[0],Et=ht[1],jt=ir.rotate,Nt=ir.scale,Rt=ir.x,ln=ir.y,qt=he()((0,ie.Z)({},"".concat(Wt,"-moving"),cr));(0,ye.useEffect)(function(){Tt||Et(!0)},[Tt]);var nn=function(){Br("close")},fn=function(){Dr(De+gn,"zoomIn")},Yt=function(){Dr(De/(De+gn),"zoomOut")},Mn=function(){Lr({rotate:jt+90},"rotateRight")},En=function(){Lr({rotate:jt-90},"rotateLeft")},Fn=function(){Lr({flipX:!ir.flipX},"flipX")},Dn=function(){Lr({flipY:!ir.flipY},"flipY")},$n=function(Xt){Xt==null||Xt.preventDefault(),Xt==null||Xt.stopPropagation(),Un>0&&(Et(!1),Br("prev"),ur==null||ur(Un-1,Un))},sr=function(Xt){Xt==null||Xt.preventDefault(),Xt==null||Xt.stopPropagation(),Un0&&(Hn=De/Hn),Dr(Hn,"wheel",Xt.clientX,Xt.clientY)}},Cr=function(Xt){!Pn||!or||(Xt.keyCode===de.Z.LEFT?$n():Xt.keyCode===de.Z.RIGHT&&sr())},Bt=function(Xt){Pn&&(Nt!==1?Lr({x:0,y:0,scale:1},"doubleClick"):Dr(De+gn,"doubleClick",Xt.clientX,Xt.clientY))};(0,ye.useEffect)(function(){var bn,Xt,kn,Vn;if(sn){kn=(0,le.Z)(window,"mouseup",Sr,!1),Vn=(0,le.Z)(window,"mousemove",tr,!1);try{window.top!==window.self&&(bn=(0,le.Z)(window.top,"mouseup",Sr,!1),Xt=(0,le.Z)(window.top,"mousemove",tr,!1))}catch(Hn){(0,ge.Kp)(!1,"[rc-image] ".concat(Hn))}}return function(){var Hn,nr,Qn,pr;(Hn=kn)===null||Hn===void 0||Hn.remove(),(nr=Vn)===null||nr===void 0||nr.remove(),(Qn=bn)===null||Qn===void 0||Qn.remove(),(pr=Xt)===null||pr===void 0||pr.remove()}},[Pn,cr,Rt,ln,jt,sn]),(0,ye.useEffect)(function(){var bn=(0,le.Z)(window,"keydown",Cr,!1);return function(){bn.remove()}},[Pn,or,Un]);var Sn=ye.createElement(Qe,(0,ce.Z)({},Ar,{width:Pt.width,height:Pt.height,imgRef:fr,className:"".concat(Wt,"-img"),alt:Dt,style:{transform:"translate3d(".concat(ir.x,"px, ").concat(ir.y,"px, 0) scale3d(").concat(ir.flipX?"-":"").concat(Nt,", ").concat(ir.flipY?"-":"").concat(Nt,", 1) rotate(").concat(jt,"deg)"),transitionDuration:!Tt&&"0s"},fallback:kt,src:Ct,onWheel:lr,onMouseDown:Pr,onDoubleClick:Bt}));return ye.createElement(ye.Fragment,null,ye.createElement(z.Z,(0,ce.Z)({transitionName:rr,maskTransitionName:hr,closable:!1,keyboard:!0,prefixCls:Wt,onClose:vn,visible:Pn,wrapClassName:qt,rootClassName:Ln,getContainer:It},vr,{afterClose:nn}),ye.createElement("div",{className:"".concat(Wt,"-img-wrapper")},en?en(Sn,(0,oe.Z)({transform:ir},dr?{current:Un}:{})):Sn)),ye.createElement(we,{visible:Pn,transform:ir,maskTransitionName:hr,closeIcon:On,getContainer:It,prefixCls:Wt,rootClassName:Ln,icons:yn,countRender:_t,showSwitch:or,showProgress:br,current:Un,count:pn,scale:Nt,minScale:_n,maxScale:Bn,toolbarRender:_r,onSwitchLeft:$n,onSwitchRight:sr,onZoomIn:fn,onZoomOut:Yt,onRotateRight:Mn,onRotateLeft:En,onFlipX:Fn,onFlipY:Dn,onClose:vn}))},ze=He,Ke=Se(26407);function Ge(Ot){var Pt=ye.useState({}),Wt=(0,ue.Z)(Pt,2),Ct=Wt[0],Dt=Wt[1],kt=ye.useCallback(function(sn,vn){return Dt(function(Pn){return(0,oe.Z)((0,oe.Z)({},Pn),{},(0,ie.Z)({},sn,vn))}),function(){Dt(function(Pn){var wn=(0,oe.Z)({},Pn);return delete wn[sn],wn})}},[]),on=ye.useMemo(function(){return Ot?Ot.map(function(sn){if(typeof sn=="string")return{data:{src:sn}};var vn={};return Object.keys(sn).forEach(function(Pn){["src"].concat((0,Ke.Z)(te)).includes(Pn)&&(vn[Pn]=sn[Pn])}),{data:vn}}):Object.keys(Ct).reduce(function(sn,vn){var Pn=Ct[vn],wn=Pn.canPreview,yn=Pn.data;return wn&&sn.push({data:yn,id:vn}),sn},[])},[Ot,Ct]);return[on,kt]}var ke=["visible","onVisibleChange","getContainer","current","movable","minScale","maxScale","countRender","closeIcon","onChange","onTransform","toolbarRender","imageRender"],Ne=["src"],Ve=function(Pt){var Wt,Ct=Pt.previewPrefixCls,Dt=Ct===void 0?"rc-image-preview":Ct,kt=Pt.children,on=Pt.icons,sn=on===void 0?{}:on,vn=Pt.items,Pn=Pt.preview,wn=Pt.fallback,yn=(0,se.Z)(Pn)==="object"?Pn:{},Ln=yn.visible,On=yn.onVisibleChange,It=yn.getContainer,qn=yn.current,Un=yn.movable,Yn=yn.minScale,pn=yn.maxScale,_t=yn.countRender,Ht=yn.closeIcon,gn=yn.onChange,Jt=yn.onTransform,_n=yn.toolbarRender,Wn=yn.imageRender,Bn=(0,ae.Z)(yn,ke),zn=Ge(vn),rr=(0,ue.Z)(zn,2),yr=rr[0],hr=rr[1],en=(0,ne.Z)(0,{value:qn}),Ar=(0,ue.Z)(en,2),_r=Ar[0],xr=Ar[1],ur=(0,ye.useState)(!1),vr=(0,ue.Z)(ur,2),fr=vr[0],ar=vr[1],Rn=((Wt=yr[_r])===null||Wt===void 0?void 0:Wt.data)||{},Kn=Rn.src,cr=(0,ae.Z)(Rn,Ne),Xn=(0,ne.Z)(!!Ln,{value:Ln,onChange:function(jt,Nt){On==null||On(jt,Nt,_r)}}),dr=(0,ue.Z)(Xn,2),or=dr[0],br=dr[1],wr=(0,ye.useState)(null),ir=(0,ue.Z)(wr,2),Br=ir[0],Lr=ir[1],Dr=ye.useCallback(function(Et,jt,Nt){var Rt=yr.findIndex(function(ln){return ln.id===Et});br(!0),Lr({x:jt,y:Nt}),xr(Rt<0?0:Rt),ar(!0)},[yr]);ye.useEffect(function(){or?fr||xr(0):ar(!1)},[or]);var jr=function(jt,Nt){xr(jt),gn==null||gn(jt,Nt)},ht=function(){br(!1),Lr(null)},Tt=ye.useMemo(function(){return{register:hr,onPreview:Dr}},[hr,Dr]);return ye.createElement(a.Provider,{value:Tt},kt,ye.createElement(ze,(0,ce.Z)({"aria-hidden":!or,movable:Un,visible:or,prefixCls:Dt,closeIcon:Ht,onClose:ht,mousePosition:Br,imgCommonProps:cr,src:Kn,fallback:wn,icons:sn,minScale:Yn,maxScale:pn,getContainer:It,current:_r,count:yr.length,countRender:_t,onTransform:Jt,toolbarRender:_n,imageRender:Wn,onChange:jr},Bn)))},Je=Ve,rt=["src","alt","onPreviewClose","prefixCls","previewPrefixCls","placeholder","fallback","width","height","style","preview","className","onClick","onError","wrapperClassName","wrapperStyle","rootClassName"],Ye=["src","visible","onVisibleChange","getContainer","mask","maskClassName","movable","icons","scaleStep","minScale","maxScale","imageRender","toolbarRender"],Ue=function(Pt){var Wt=Pt.src,Ct=Pt.alt,Dt=Pt.onPreviewClose,kt=Pt.prefixCls,on=kt===void 0?"rc-image":kt,sn=Pt.previewPrefixCls,vn=sn===void 0?"".concat(on,"-preview"):sn,Pn=Pt.placeholder,wn=Pt.fallback,yn=Pt.width,Ln=Pt.height,On=Pt.style,It=Pt.preview,qn=It===void 0?!0:It,Un=Pt.className,Yn=Pt.onClick,pn=Pt.onError,_t=Pt.wrapperClassName,Ht=Pt.wrapperStyle,gn=Pt.rootClassName,Jt=(0,ae.Z)(Pt,rt),_n=Pn&&Pn!==!0,Wn=(0,se.Z)(qn)==="object"?qn:{},Bn=Wn.src,zn=Wn.visible,rr=zn===void 0?void 0:zn,yr=Wn.onVisibleChange,hr=yr===void 0?Dt:yr,en=Wn.getContainer,Ar=en===void 0?void 0:en,_r=Wn.mask,xr=Wn.maskClassName,ur=Wn.movable,vr=Wn.icons,fr=Wn.scaleStep,ar=Wn.minScale,Rn=Wn.maxScale,Kn=Wn.imageRender,cr=Wn.toolbarRender,Xn=(0,ae.Z)(Wn,Ye),dr=Bn!=null?Bn:Wt,or=(0,ne.Z)(!!rr,{value:rr,onChange:hr}),br=(0,ue.Z)(or,2),wr=br[0],ir=br[1],Br=ee({src:Wt,isCustomPlaceholder:_n,fallback:wn}),Lr=(0,ue.Z)(Br,3),Dr=Lr[0],jr=Lr[1],ht=Lr[2],Tt=(0,ye.useState)(null),Et=(0,ue.Z)(Tt,2),jt=Et[0],Nt=Et[1],Rt=(0,ye.useContext)(a),ln=!!qn,qt=function(){ir(!1),Nt(null)},nn=he()(on,_t,gn,(0,ie.Z)({},"".concat(on,"-error"),ht==="error")),fn=(0,ye.useMemo)(function(){var Fn={};return te.forEach(function(Dn){Pt[Dn]!==void 0&&(Fn[Dn]=Pt[Dn])}),Fn},te.map(function(Fn){return Pt[Fn]})),Yt=(0,ye.useMemo)(function(){return(0,oe.Z)((0,oe.Z)({},fn),{},{src:dr})},[dr,fn]),Mn=x(ln,Yt),En=function(Dn){var $n=(0,re.os)(Dn.target),sr=$n.left,Sr=$n.top;Rt?Rt.onPreview(Mn,sr,Sr):(Nt({x:sr,y:Sr}),ir(!0)),Yn==null||Yn(Dn)};return ye.createElement(ye.Fragment,null,ye.createElement("div",(0,ce.Z)({},Jt,{className:nn,onClick:ln?En:Yn,style:(0,oe.Z)({width:yn,height:Ln},Ht)}),ye.createElement("img",(0,ce.Z)({},fn,{className:he()("".concat(on,"-img"),(0,ie.Z)({},"".concat(on,"-img-placeholder"),Pn===!0),Un),style:(0,oe.Z)({height:Ln},On),ref:Dr},jr,{width:yn,height:Ln,onError:pn})),ht==="loading"&&ye.createElement("div",{"aria-hidden":"true",className:"".concat(on,"-placeholder")},Pn),_r&&ln&&ye.createElement("div",{className:he()("".concat(on,"-mask"),xr),style:{display:(On==null?void 0:On.display)==="none"?"none":void 0}},_r)),!Rt&&ln&&ye.createElement(ze,(0,ce.Z)({"aria-hidden":!wr,visible:wr,prefixCls:vn,onClose:qt,mousePosition:jt,src:dr,alt:Ct,fallback:wn,getContainer:Ar,icons:vr,movable:ur,scaleStep:fr,minScale:ar,maxScale:Rn,rootClassName:gn,imageRender:Kn,imgCommonProps:fn,toolbarRender:cr},Xn)))};Ue.PreviewGroup=Je,Ue.displayName="Image";var Ie=Ue,Ze=Ie,Te=Se(62892),We=Se(36355),at=Se(31724),et=Se(99267),qe=Se(33853),Be=Se(38819),Ae={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M672 418H144c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H188V494h440v326z"}},{tag:"path",attrs:{d:"M819.3 328.5c-78.8-100.7-196-153.6-314.6-154.2l-.2-64c0-6.5-7.6-10.1-12.6-6.1l-128 101c-4 3.1-3.9 9.1 0 12.3L492 318.6c5.1 4 12.7.4 12.6-6.1v-63.9c12.9.1 25.9.9 38.8 2.5 42.1 5.2 82.1 18.2 119 38.7 38.1 21.2 71.2 49.7 98.4 84.3 27.1 34.7 46.7 73.7 58.1 115.8a325.95 325.95 0 016.5 140.9h74.9c14.8-103.6-11.3-213-81-302.3z"}}]},name:"rotate-left",theme:"outlined"},Me=Ae,Re=Se(7657),Xe=function(Pt,Wt){return ye.createElement(Re.Z,(0,ce.Z)({},Pt,{ref:Wt,icon:Me}))},nt=ye.forwardRef(Xe),$e=nt,tt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M480.5 251.2c13-1.6 25.9-2.4 38.8-2.5v63.9c0 6.5 7.5 10.1 12.6 6.1L660 217.6c4-3.2 4-9.2 0-12.3l-128-101c-5.1-4-12.6-.4-12.6 6.1l-.2 64c-118.6.5-235.8 53.4-314.6 154.2A399.75 399.75 0 00123.5 631h74.9c-.9-5.3-1.7-10.7-2.4-16.1-5.1-42.1-2.1-84.1 8.9-124.8 11.4-42.2 31-81.1 58.1-115.8 27.2-34.7 60.3-63.2 98.4-84.3 37-20.6 76.9-33.6 119.1-38.8z"}},{tag:"path",attrs:{d:"M880 418H352c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H396V494h440v326z"}}]},name:"rotate-right",theme:"outlined"},st=tt,it=function(Pt,Wt){return ye.createElement(Re.Z,(0,ce.Z)({},Pt,{ref:Wt,icon:st}))},lt=ye.forwardRef(it),ut=lt,vt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},pt=vt,mt=function(Pt,Wt){return ye.createElement(Re.Z,(0,ce.Z)({},Pt,{ref:Wt,icon:pt}))},St=ye.forwardRef(mt),xt=St,Mt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H519V309c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v134H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h118v134c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V519h118c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-in",theme:"outlined"},yt=Mt,wt=function(Pt,Wt){return ye.createElement(Re.Z,(0,ce.Z)({},Pt,{ref:Wt,icon:yt}))},Lt=ye.forwardRef(wt),cn=Lt,Vt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-out",theme:"outlined"},an=Vt,Zt=function(Pt,Wt){return ye.createElement(Re.Z,(0,ce.Z)({},Pt,{ref:Wt,icon:an}))},$t=ye.forwardRef(Zt),Ut=$t,rn=Se(64993),In=Se(73819),Cn=Se(17313),xn=Se(29878),Ft=Se(1950),At=Se(83116),bt=Se(37613);const tn=Ot=>({position:Ot||"absolute",inset:0}),Qt=Ot=>{const{iconCls:Pt,motionDurationSlow:Wt,paddingXXS:Ct,marginXXS:Dt,prefixCls:kt,colorTextLightSolid:on}=Ot;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:on,background:new rn.C("#000").setAlpha(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${Wt}`,[`.${kt}-mask-info`]:Object.assign(Object.assign({},Cn.vS),{padding:`0 ${Ct}px`,[Pt]:{marginInlineEnd:Dt,svg:{verticalAlign:"baseline"}}})}},dn=Ot=>{const{previewCls:Pt,modalMaskBg:Wt,paddingSM:Ct,marginXL:Dt,margin:kt,paddingLG:on,previewOperationColorDisabled:sn,previewOperationHoverColor:vn,motionDurationSlow:Pn,iconCls:wn,colorTextLightSolid:yn}=Ot,Ln=new rn.C(Wt).setAlpha(.1),On=Ln.clone().setAlpha(.2);return{[`${Pt}-footer`]:{position:"fixed",bottom:Dt,left:{_skip_check_:!0,value:0},width:"100%",display:"flex",flexDirection:"column",alignItems:"center",color:Ot.previewOperationColor},[`${Pt}-progress`]:{marginBottom:kt},[`${Pt}-close`]:{position:"fixed",top:Dt,right:{_skip_check_:!0,value:Dt},display:"flex",color:yn,backgroundColor:Ln.toRgbString(),borderRadius:"50%",padding:Ct,outline:0,border:0,cursor:"pointer",transition:`all ${Pn}`,"&:hover":{backgroundColor:On.toRgbString()},[`& > ${wn}`]:{fontSize:Ot.previewOperationSize}},[`${Pt}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${on}px`,backgroundColor:Ln.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:Ct,padding:Ct,cursor:"pointer",transition:`all ${Pn}`,userSelect:"none",[`&:not(${Pt}-operations-operation-disabled):hover > ${wn}`]:{color:vn},"&-disabled":{color:sn,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${wn}`]:{fontSize:Ot.previewOperationSize}}}}},mn=Ot=>{const{modalMaskBg:Pt,iconCls:Wt,previewOperationColorDisabled:Ct,previewCls:Dt,zIndexPopup:kt,motionDurationSlow:on}=Ot,sn=new rn.C(Pt).setAlpha(.1),vn=sn.clone().setAlpha(.2);return{[`${Dt}-switch-left, ${Dt}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:kt+1,display:"flex",alignItems:"center",justifyContent:"center",width:Ot.imagePreviewSwitchSize,height:Ot.imagePreviewSwitchSize,marginTop:-Ot.imagePreviewSwitchSize/2,color:Ot.previewOperationColor,background:sn.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${on}`,userSelect:"none","&:hover":{background:vn.toRgbString()},"&-disabled":{"&, &:hover":{color:Ct,background:"transparent",cursor:"not-allowed",[`> ${Wt}`]:{cursor:"not-allowed"}}},[`> ${Wt}`]:{fontSize:Ot.previewOperationSize}},[`${Dt}-switch-left`]:{insetInlineStart:Ot.marginSM},[`${Dt}-switch-right`]:{insetInlineEnd:Ot.marginSM}}},dt=Ot=>{const{motionEaseOut:Pt,previewCls:Wt,motionDurationSlow:Ct,componentCls:Dt}=Ot;return[{[`${Dt}-preview-root`]:{[Wt]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${Wt}-body`]:Object.assign(Object.assign({},tn()),{overflow:"hidden"}),[`${Wt}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${Ct} ${Pt} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},tn()),{transition:`transform ${Ct} ${Pt} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${Wt}-moving`]:{[`${Wt}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${Dt}-preview-root`]:{[`${Wt}-wrap`]:{zIndex:Ot.zIndexPopup}}},{[`${Dt}-preview-operations-wrapper`]:{position:"fixed",zIndex:Ot.zIndexPopup+1},"&":[dn(Ot),mn(Ot)]}]},ft=Ot=>{const{componentCls:Pt}=Ot;return{[Pt]:{position:"relative",display:"inline-block",[`${Pt}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${Pt}-img-placeholder`]:{backgroundColor:Ot.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${Pt}-mask`]:Object.assign({},Qt(Ot)),[`${Pt}-mask:hover`]:{opacity:1},[`${Pt}-placeholder`]:Object.assign({},tn())}}},gt=Ot=>{const{previewCls:Pt}=Ot;return{[`${Pt}-root`]:(0,xn._y)(Ot,"zoom"),"&":(0,Ft.J$)(Ot,!0)}};var Gt=(0,At.Z)("Image",Ot=>{const Pt=`${Ot.componentCls}-preview`,Wt=(0,bt.TS)(Ot,{previewCls:Pt,modalMaskBg:new rn.C("#000").setAlpha(.45).toRgbString(),imagePreviewSwitchSize:Ot.controlHeightLG});return[ft(Wt),dt(Wt),(0,In.QA)((0,bt.TS)(Wt,{componentCls:Pt})),gt(Wt)]},Ot=>({zIndexPopup:Ot.zIndexPopupBase+80,previewOperationColor:new rn.C(Ot.colorTextLightSolid).setAlpha(.65).toRgbString(),previewOperationHoverColor:new rn.C(Ot.colorTextLightSolid).setAlpha(.85).toRgbString(),previewOperationColorDisabled:new rn.C(Ot.colorTextLightSolid).setAlpha(.25).toRgbString(),previewOperationSize:Ot.fontSizeIcon*1.5})),un=function(Ot,Pt){var Wt={};for(var Ct in Ot)Object.prototype.hasOwnProperty.call(Ot,Ct)&&Pt.indexOf(Ct)<0&&(Wt[Ct]=Ot[Ct]);if(Ot!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Dt=0,Ct=Object.getOwnPropertySymbols(Ot);Dt{var{previewPrefixCls:Pt,preview:Wt}=Ot,Ct=un(Ot,["previewPrefixCls","preview"]);const{getPrefixCls:Dt}=ye.useContext(We.E_),kt=Dt("image",Pt),on=`${kt}-preview`,sn=Dt(),[vn,Pn]=Gt(kt),wn=ye.useMemo(()=>{var yn;if(Wt===!1)return Wt;const Ln=typeof Wt=="object"?Wt:{},On=he()(Pn,(yn=Ln.rootClassName)!==null&&yn!==void 0?yn:"");return Object.assign(Object.assign({},Ln),{transitionName:(0,Te.m)(sn,"zoom",Ln.transitionName),maskTransitionName:(0,Te.m)(sn,"fade",Ln.maskTransitionName),rootClassName:On})},[Wt]);return vn(ye.createElement(Ze.PreviewGroup,Object.assign({preview:wn,previewPrefixCls:on,icons:Kt},Ct)))},Nn=function(Ot,Pt){var Wt={};for(var Ct in Ot)Object.prototype.hasOwnProperty.call(Ot,Ct)&&Pt.indexOf(Ct)<0&&(Wt[Ct]=Ot[Ct]);if(Ot!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Dt=0,Ct=Object.getOwnPropertySymbols(Ot);Dt{const{prefixCls:Pt,preview:Wt,className:Ct,rootClassName:Dt,style:kt}=Ot,on=Nn(Ot,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:sn,locale:vn=at.Z,getPopupContainer:Pn,image:wn}=ye.useContext(We.E_),yn=sn("image",Pt),Ln=sn(),On=vn.Image||at.Z.Image,[It,qn]=Gt(yn),Un=he()(Dt,qn),Yn=he()(Ct,qn,wn==null?void 0:wn.className),pn=ye.useMemo(()=>{if(Wt===!1)return Wt;const Ht=typeof Wt=="object"?Wt:{},{getContainer:gn}=Ht,Jt=Nn(Ht,["getContainer"]);return Object.assign(Object.assign({mask:ye.createElement("div",{className:`${yn}-mask-info`},ye.createElement(E.Z,null),On==null?void 0:On.preview),icons:Kt},Jt),{getContainer:gn||Pn,transitionName:(0,Te.m)(Ln,"zoom",Ht.transitionName),maskTransitionName:(0,Te.m)(Ln,"fade",Ht.maskTransitionName)})},[Wt,On]),_t=Object.assign(Object.assign({},wn==null?void 0:wn.style),kt);return It(ye.createElement(Ze,Object.assign({prefixCls:yn,preview:pn,rootClassName:Un,className:Yn,style:_t},on)))};jn.PreviewGroup=hn;var er=jn,zt=()=>{const[Ot,Pt]=(0,ye.useState)(""),[Wt,Ct]=(0,ye.useState)(0);let[Dt,kt]=(0,ye.useState)(),[on,sn]=(0,ye.useState)();const[vn,Pn]=(0,ye.useState)(!1),wn=(0,ye.useRef)("");(0,ye.useEffect)(()=>je.Z.subscribe("preview-image",gn=>{Pt(gn),console.log(pn.current),document.body.style.overflow="hidden"}),[]),(0,ye.useEffect)(()=>(document.addEventListener("keydown",yn),()=>{document.removeEventListener("keydown",yn)}),[]),(0,ye.useEffect)(()=>{wn.current=Ot},[Ot]);function yn(Ht){Ht.keyCode==27&&wn.current&&Ln()}function Ln(){document.body.style.overflow="auto",kt(void 0),sn(void 0),Ct(0),Pt("")}function On(){Ct(Wt+90)}function It(){Dt=pn.current.width*1.1,on=pn.current.height*1.1,sn(on),kt(Dt)}function qn(){Dt=pn.current.width/1.1,on=pn.current.height/1.1,sn(on),kt(Dt)}const Un=(0,ye.useRef)(),Yn=(0,ye.useRef)(),pn=(0,ye.useRef)(),_t=Ht=>{(Ht.nativeEvent.target===Un.current||Ht.nativeEvent.target===Yn.current)&&Ln()};return ye.createElement(ye.Fragment,null,Ot?ye.createElement("div",null,ye.createElement("div",{className:"preview-wrp-group",ref:Yn},ye.createElement(er,{className:"image-preview",src:Ot,style:{display:"none"},preview:{visible:!0,src:Ot,movable:!1,onVisibleChange:Ht=>{Pt("")}},alt:"\u9884\u89C8\u5927\u56FE"}))):null)}},73278:function(ct,ot,Se){"use strict";Se.d(ot,{h:function(){return le}});var ye=Se(59301),je=Se(57809),E=Se(78241),pe=Se(3113),he=Se(89780),ce=Se.n(he),oe=Se(78780),ie=Se(19136),ue=Object.defineProperty,se=Object.defineProperties,ae=Object.getOwnPropertyDescriptors,re=Object.getOwnPropertySymbols,ne=Object.prototype.hasOwnProperty,te=Object.prototype.propertyIsEnumerable,a=(de,ge,fe)=>ge in de?ue(de,ge,{enumerable:!0,configurable:!0,writable:!0,value:fe}):de[ge]=fe,y=(de,ge)=>{for(var fe in ge||(ge={}))ne.call(ge,fe)&&a(de,fe,ge[fe]);if(re)for(var fe of re(ge))te.call(ge,fe)&&a(de,fe,ge[fe]);return de},x=(de,ge)=>se(de,ae(ge));const b=je.default.Option,ee={labelCol:{span:4},wrapperCol:{span:20}},z={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"]};ot.Z=({callback:de,onCancel:ge})=>{const[fe,me]=(0,ye.useState)("python");function be(Pe){me(z[Pe][1])}function ve(Pe){de(Pe)}return ye.createElement(E.default,x(y({},ee),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:ve,style:{width:500}}),ye.createElement(E.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},ye.createElement(je.default,{getPopupContainer:Pe=>Pe.parentNode,onChange:be},Object.keys(z).map(Pe=>ye.createElement(b,{key:Pe,value:Pe},z[Pe][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(le,{mode:fe})),ye.createElement("div",{className:"flex-container flex-end"},ye.createElement(pe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ye.createElement(pe.ZP,{type:"ghost",onClick:ge},"\u53D6\u6D88")))};function le({value:de,onChange:ge,mode:fe,options:me={}}){const be=(0,ye.useRef)(),[ve,Pe]=(0,ye.useState)();return(0,ye.useEffect)(()=>{if(ve){let Ee=function(_e){const Ce=_e.getValue();ge&&ge(Ce)};return ve.on("change",Ee),()=>{ve.off("change",Ee)}}},[ve,ge]),(0,ye.useEffect)(()=>{ve&&ve.setOption("mode",fe)},[ve,fe]),(0,ye.useEffect)(()=>{ve&&(de!==ve.getValue()||de==="")&&setTimeout(()=>{ve.setValue(de||"")},300)},[ve,de]),(0,ye.useEffect)(()=>{if(be.current&&!ve){const Ee=ce().fromTextArea(be.current,y({mode:fe,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},me));Pe(Ee)}},[be.current,ve]),ye.createElement("div",{className:"my-codemirror-container"},ye.createElement("textarea",{ref:be}))}},64726:function(ct,ot,Se){"use strict";Se.d(ot,{Z:function(){return mn}});var ye=Se(59301),je=Se(89780),E=Se.n(je),pe=Se(76374),he=Se(78780),ce=Se(6313),oe=Se(25717),ie=Se(99498),ue=Se(25419),se=Se(67549),ae=Se(99325),re=({value:dt="",className:ft,showTextOnly:gt,showLines:Gt,style:un={}})=>{const Kt=(0,ye.useMemo)(()=>"",[dt]);return ye.createElement(ye.Fragment,null,ye.createElement("div",{dangerouslySetInnerHTML:{__html:Kt}}))},ne=Se(59301),te=Object.defineProperty,a=Object.defineProperties,y=Object.getOwnPropertyDescriptors,x=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,ee=Object.prototype.propertyIsEnumerable,z=(dt,ft,gt)=>ft in dt?te(dt,ft,{enumerable:!0,configurable:!0,writable:!0,value:gt}):dt[ft]=gt,le=(dt,ft)=>{for(var gt in ft||(ft={}))b.call(ft,gt)&&z(dt,gt,ft[gt]);if(x)for(var gt of x(ft))ee.call(ft,gt)&&z(dt,gt,ft[gt]);return dt},de=(dt,ft)=>a(dt,y(ft));let ge=[{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 fe({onActionCallback:dt,title:ft,icon:gt,actionName:Gt,className:un="",children:Kt}){function Gn(){dt(Gt)}return ne.createElement("a",{title:ft,className:un,onClick:Gn},ne.createElement("i",{className:`${gt}`}),Kt)}var me=({watch:dt,showNullButton:ft,showNullProgramButton:gt,onActionCallback:Gt,fullScreen:un,insertTemp:Kt,hidetoolBar:Gn,extraUse:hn})=>{const Nn=[...ge,{title:`${dt?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${dt?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return ne.createElement("ul",{className:"markdown-toolbar-container"},!Gn&&Nn.map((jn,er)=>ne.createElement("li",{key:er},jn.actionName?ne.createElement(fe,de(le({},jn),{onActionCallback:Gt})):ne.createElement("span",{className:"v-line"}))),ft?ne.createElement("li",null,ne.createElement(fe,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:Gt},ne.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,gt?ne.createElement(ne.Fragment,null,ne.createElement("li",null,ne.createElement(fe,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:Gt},ne.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),ne.createElement("li",null,ne.createElement(fe,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:Gt},ne.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,Kt&&ne.createElement("li",null,ne.createElement(fe,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${Kt}`,onActionCallback:Gt},ne.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),hn&&ne.createElement("li",null,hn),ne.createElement("li",{className:"btn-full-screen"},ne.createElement(fe,{icon:`${un?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:un?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:Gt})))},be=Se(19647),ve=Se(78241),Pe=Se(92832),Ee=Se(3113),_e=Object.defineProperty,Ce=Object.defineProperties,xe=Object.getOwnPropertyDescriptors,we=Object.getOwnPropertySymbols,De=Object.prototype.hasOwnProperty,Oe=Object.prototype.propertyIsEnumerable,Fe=(dt,ft,gt)=>ft in dt?_e(dt,ft,{enumerable:!0,configurable:!0,writable:!0,value:gt}):dt[ft]=gt,Le=(dt,ft)=>{for(var gt in ft||(ft={}))De.call(ft,gt)&&Fe(dt,gt,ft[gt]);if(we)for(var gt of we(ft))Oe.call(ft,gt)&&Fe(dt,gt,ft[gt]);return dt},Qe=(dt,ft)=>Ce(dt,xe(ft));const He={labelCol:{span:4},wrapperCol:{span:20}};var ze=({callback:dt,onCancel:ft})=>{function gt(Gt){dt(Gt)}return ye.createElement(ve.default,Qe(Le({},He),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:gt,style:{width:500}}),ye.createElement(ve.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},ye.createElement(Pe.default,null)),ye.createElement(ve.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},ye.createElement(Pe.default,null)),ye.createElement("div",{className:"flex-container flex-end"},ye.createElement(Ee.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ye.createElement(Ee.ZP,{type:"ghost",onClick:ft},"\u53D6\u6D88")))},Ke=Se(73278),Ge=Se(56030),ke=Se(43418),Ne=Se(95237),Ve=Se(14573),Je=Se(59301),rt=({callback:dt,onCancel:ft})=>{const gt=document.createElement("canvas"),Gt=gt.getContext("2d");gt.width=1e3,gt.height=800,Gt.fillStyle="#ffffff",Gt.fillRect(0,0,gt.width,gt.height);const un=gt.toDataURL("image/png");return Je.createElement(ke.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},Je.createElement(Ne.Z,{style:{height:"100vh"}},Je.createElement(Ve.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:un,visible:!0,title:String(Date.now())},onOk:Kt=>{dt({src:Kt.url})},onClose:ft})))},Ye=Se(12378);function Ue(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(Ue,go.CommandHandler),Ue.prototype.canAlignSelection=function(){var dt=this.diagram;return!(dt===null||dt.isReadOnly||dt.isModelReadOnly||dt.selection.count<2)},Ue.prototype.alignLeft=function(){var dt=this.diagram;dt.startTransaction("aligning left");var ft=1/0;dt.selection.each(function(gt){gt instanceof go.Link||(ft=Math.min(gt.position.x,ft))}),dt.selection.each(function(gt){gt instanceof go.Link||gt.move(new go.Point(ft,gt.position.y))}),dt.commitTransaction("aligning left")},Ue.prototype.alignRight=function(){var dt=this.diagram;dt.startTransaction("aligning right");var ft=-1/0;dt.selection.each(function(gt){if(!(gt instanceof go.Link)){var Gt=gt.actualBounds.x+gt.actualBounds.width;ft=Math.max(Gt,ft)}}),dt.selection.each(function(gt){gt instanceof go.Link||gt.move(new go.Point(ft-gt.actualBounds.width,gt.position.y))}),dt.commitTransaction("aligning right")},Ue.prototype.alignTop=function(){var dt=this.diagram;dt.startTransaction("alignTop");var ft=1/0;dt.selection.each(function(gt){gt instanceof go.Link||(ft=Math.min(gt.position.y,ft))}),dt.selection.each(function(gt){gt instanceof go.Link||gt.move(new go.Point(gt.position.x,ft))}),dt.commitTransaction("alignTop")},Ue.prototype.alignBottom=function(){var dt=this.diagram;dt.startTransaction("aligning bottom");var ft=-1/0;dt.selection.each(function(gt){if(!(gt instanceof go.Link)){var Gt=gt.actualBounds.y+gt.actualBounds.height;ft=Math.max(Gt,ft)}}),dt.selection.each(function(gt){gt instanceof go.Link||gt.move(new go.Point(gt.actualBounds.x,ft-gt.actualBounds.height))}),dt.commitTransaction("aligning bottom")},Ue.prototype.alignCenterX=function(){var dt=this.diagram,ft=dt.selection.first();if(ft){dt.startTransaction("aligning Center X");var gt=ft.actualBounds.x+ft.actualBounds.width/2;dt.selection.each(function(Gt){Gt instanceof go.Link||Gt.move(new go.Point(gt-Gt.actualBounds.width/2,Gt.actualBounds.y))}),dt.commitTransaction("aligning Center X")}},Ue.prototype.alignCenterY=function(){var dt=this.diagram,ft=dt.selection.first();if(ft){dt.startTransaction("aligning Center Y");var gt=ft.actualBounds.y+ft.actualBounds.height/2;dt.selection.each(function(Gt){Gt instanceof go.Link||Gt.move(new go.Point(Gt.actualBounds.x,gt-Gt.actualBounds.height/2))}),dt.commitTransaction("aligning Center Y")}},Ue.prototype.alignColumn=function(dt){var ft=this.diagram;ft.startTransaction("align Column"),dt===void 0&&(dt=0),dt=parseFloat(dt);var gt=new Array;ft.selection.each(function(hn){hn instanceof go.Link||gt.push(hn)});for(var Gt=0;Gt0){for(var hn=Kt.elt(Gn-1);hn!==null&&hn.isTreeExpanded&&!hn.isTreeLeaf;){var Nn=this._sortTreeChildrenByY(hn);hn=Nn.last()}hn!==null&&dt.select(hn)}else dt.select(un)}}else if(gt.key==="Down")if(ft.isTreeExpanded&&!ft.isTreeLeaf){var Gt=this._sortTreeChildrenByY(ft).first();Gt!==null&&dt.select(Gt)}else for(;ft!==null;){var un=ft.findTreeParentNode();if(un===null)break;var Kt=this._sortTreeChildrenByY(un),Gn=Kt.indexOf(ft);if(GnKt.y?1:un.xKt.x?1:0}),ft},Ue.prototype.copyToClipboard=function(dt){go.CommandHandler.prototype.copyToClipboard.call(this,dt),this._lastPasteOffset.set(this.pasteOffset)},Ue.prototype.pasteFromClipboard=function(){var dt=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(dt,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),dt},Object.defineProperty(Ue.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(dt){if(dt!=="move"&&dt!=="select"&&dt!=="scroll"&&dt!=="tree"&&dt!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+dt);this._arrowKeyBehavior=dt}}),Object.defineProperty(Ue.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(dt){if(!(dt instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+dt);this._pasteOffset.set(dt)}});var Ie=Ue,Ze=Se(29277),Te=Se(43604),We=Se(7660),at={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},et=Se(59301),qe=(dt,ft,gt)=>new Promise((Gt,un)=>{var Kt=Nn=>{try{hn(gt.next(Nn))}catch(jn){un(jn)}},Gn=Nn=>{try{hn(gt.throw(Nn))}catch(jn){un(jn)}},hn=Nn=>Nn.done?Gt(Nn.value):Promise.resolve(Nn.value).then(Kt,Gn);hn((gt=gt.apply(dt,ft)).next())});function Be({onCancel:dt,callback:ft}){let gt=(0,ye.useRef)(),Gt=(0,ye.useRef)(),un=(0,ye.useRef)(),Kt=(0,ye.useRef)(!1);const Gn=(0,ye.useRef)(!1),[hn,Nn]=(0,ye.useState)(0);function jn(){const zt=Ye.bx.make,Ot={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"};gt.current=new Ye.S0(Gt.current,{padding:20,grid:zt(Ye.s_,"Grid",zt(Ye.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),zt(Ye.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:_t=>{var Ht=_t.diagram.commandHandler.addTopLevelParts(_t.diagram.selection,!0);Ht||_t.diagram.currentTool.doCancel()},commandHandler:zt(Ie),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:_t=>{var Ht=_t.subject;Ht.location=Ht.location.copy().snapToGridPoint(_t.diagram.grid.gridOrigin,_t.diagram.grid.gridCellSize),setTimeout(()=>{_t.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:_t=>{var Ht=_t.subject;setTimeout(()=>{_t.diagram.commandHandler.editTextBlock()})},LinkRelinked:_t=>{var Ht=_t.parameter.part;Ht.invalidateConnectedLinks();var gn=_t.subject;_t.diagram.toolManager.linkingTool.isForwards?gn.toNode.invalidateConnectedLinks():gn.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),gt.current.nodeTemplate=zt(Ye.NB,"Auto",{locationSpot:Ye.z6.Center,locationObjectName:"SHAPE",desiredSize:new Ye.$u(120,60),minSize:new Ye.$u(40,40),resizable:!0,resizeCellSize:new Ye.$u(10,10),rotatable:!0},new Ye.KX("location","loc",Ye.E9.parse).makeTwoWay(Ye.E9.stringify),new Ye.KX("desiredSize","size",Ye.$u.parse).makeTwoWay(Ye.$u.stringify),zt(Ye.bn,{name:"SHAPE",fill:Ot.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Ye.z6.AllSides,toSpot:Ye.z6.AllSides},new Ye.KX("figure"),new Ye.KX("fill"),new Ye.KX("stroke","borderColor"),new Ye.KX("strokeWidth","thickness"),new Ye.KX("strokeDashArray","dash")),zt(Ye.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),zt(Ye.al,{margin:1,textAlign:"center",overflow:Ye.al.OverflowEllipsis,editable:!0},new Ye.KX("text").makeTwoWay(),new Ye.KX("stroke","color"))),gt.current.nodeTemplate.toolTip=zt("ToolTip",zt(Ye.s_,"Vertical",{maxSize:new Ye.$u(200,NaN)},zt(Ye.al,{font:"bold 10pt sans-serif",textAlign:"center"},new Ye.KX("text")),zt(Ye.al,{font:"10pt sans-serif",textAlign:"center"},new Ye.KX("text","details"))));function Pt(_t,Ht){var gn=(Jt,_n)=>{Jt.handled=!0,Jt.diagram.model.commit(Wn=>{var Bn=_n.part.adornedPart,zn=new Ye.E9().setRectSpot(Bn.actualBounds,_t);zn.subtract(Bn.location),zn.scale(2,2),zn.x+=Math.sign(zn.x)*130,zn.y+=Math.sign(zn.y)*130,zn.add(Bn.location),zn.snapToGridPoint(Jt.diagram.grid.gridOrigin,Jt.diagram.grid.gridCellSize);var rr=Wn.copyNodeData(Bn.data);Wn.setGroupKeyForNodeData(rr,Wn.getGroupKeyForNodeData(Bn.data)),Wn.addNodeData(rr);var yr={from:Bn.key,to:Wn.getKeyForNodeData(rr)};Wn.addLinkData(yr);var hr=Jt.diagram.findNodeForData(rr);hr.location=zn,Jt.diagram.select(hr),setTimeout(()=>{Jt.diagram.commandHandler.editTextBlock()},20)})};return zt(Ye.bn,{figure:Ht,alignment:_t,alignmentFocus:_t.opposite(),width:_t.equals(Ye.z6.Top)||_t.equals(Ye.z6.Bottom)?25:18,height:_t.equals(Ye.z6.Top)||_t.equals(Ye.z6.Bottom)?18:25,fill:"orange",stroke:Ot.white,strokeWidth:4,mouseEnter:(Jt,_n)=>_n.fill="dodgerblue",mouseLeave:(Jt,_n)=>_n.fill="orange",isActionable:!0,click:gn,contextClick:gn})}function Wt(_t){return zt(Ye.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:(Ht,gn)=>gn.fill="dodgerblue",mouseLeave:(Ht,gn)=>gn.fill="orange",click:(Ht,gn)=>{Ht.diagram.commandHandler.showContextMenu(gn.part.adornedPart)}},_t||{})}gt.current.nodeTemplate.selectionAdornmentTemplate=zt(Ye.uz,"Spot",zt(Ye.Vm,{padding:10}),Pt(Ye.z6.Top,"TriangleUp"),Pt(Ye.z6.Left,"TriangleLeft"),Pt(Ye.z6.Right,"TriangleRight"),Pt(Ye.z6.Bottom,"TriangleDown"),Wt({alignment:new Ye.z6(.75,0)}));function Ct(_t,Ht){return(gn,Jt)=>{gn.handled=!0,gn.diagram.model.commit(_n=>{_n.set(Jt.part.adornedPart.data,_t,Ht)})}}function Dt(_t,Ht){return Ht||(Ht="color"),zt(Ye.bn,{width:16,height:16,stroke:"lightgray",fill:_t,margin:1,background:"transparent",mouseEnter:(gn,Jt)=>Jt.stroke="dodgerblue",mouseLeave:(gn,Jt)=>Jt.stroke="lightgray",click:Ct(Ht,_t),contextClick:Ct(Ht,_t)})}function kt(){return[zt("ContextMenuButton",zt(Ye.s_,"Horizontal",Dt(Ot.white,"fill"),Dt(Ot.beige,"fill"),Dt(Ot.extralightblue,"fill"),Dt(Ot.extralightred,"fill"))),zt("ContextMenuButton",zt(Ye.s_,"Horizontal",Dt(Ot.lightgray,"fill"),Dt(Ot.lightgreen,"fill"),Dt(Ot.lightblue,"fill"),Dt(Ot.lightred,"fill")))]}function on(){return[zt("ContextMenuButton",zt(Ye.s_,"Horizontal",Dt(Ot.black),Dt(Ot.green),Dt(Ot.blue),Dt(Ot.red))),zt("ContextMenuButton",zt(Ye.s_,"Horizontal",Dt(Ot.white),Dt(Ot.magenta),Dt(Ot.purple),Dt(Ot.orange)))]}function sn(_t,Ht){return Ht||(Ht="thickness"),zt(Ye.bn,"LineH",{width:16,height:16,strokeWidth:_t,margin:1,background:"transparent",mouseEnter:(gn,Jt)=>Jt.background="dodgerblue",mouseLeave:(gn,Jt)=>Jt.background="transparent",click:Ct(Ht,_t),contextClick:Ct(Ht,_t)})}function vn(_t,Ht){return Ht||(Ht="dash"),zt(Ye.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:_t,margin:1,background:"transparent",mouseEnter:(gn,Jt)=>Jt.background="dodgerblue",mouseLeave:(gn,Jt)=>Jt.background="transparent",click:Ct(Ht,_t),contextClick:Ct(Ht,_t)})}function Pn(){return[zt("ContextMenuButton",zt(Ye.s_,"Horizontal",sn(1),sn(2),sn(3),sn(4))),zt("ContextMenuButton",zt(Ye.s_,"Horizontal",vn(null),vn([2,4]),vn([4,4])))]}function wn(_t,Ht){return Ht||(Ht="figure"),zt(Ye.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:_t,margin:1,background:"transparent",mouseEnter:(gn,Jt)=>Jt.fill="dodgerblue",mouseLeave:(gn,Jt)=>Jt.fill="lightgray",click:Ct(Ht,_t),contextClick:Ct(Ht,_t)})}gt.current.nodeTemplate.contextMenu=zt("ContextMenu",zt("ContextMenuButton",zt(Ye.s_,"Horizontal",wn("Rectangle"),wn("RoundedRectangle"),wn("Ellipse"),wn("Diamond"))),zt("ContextMenuButton",zt(Ye.s_,"Horizontal",wn("Parallelogram2"),wn("ManualOperation"),wn("Procedure"),wn("Cylinder1"))),zt("ContextMenuButton",zt(Ye.s_,"Horizontal",wn("Terminator"),wn("CreateRequest"),wn("Document"),wn("TriangleDown"))),kt(),on(),Pn()),gt.current.groupTemplate=zt(Ye.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:Ye.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(_t,Ht)=>{var gn=Ht.addMembers(Ht.diagram.selection,!0);gn||Ht.diagram.currentTool.doCancel()},avoidable:!1},new Ye.KX("location","loc",Ye.E9.parse).makeTwoWay(Ye.E9.stringify),zt(Ye.s_,"Auto",{name:"BODY"},zt(Ye.bn,{parameter1:10,fill:Ot.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Ye.z6.AllSides,toSpot:Ye.z6.AllSides},new Ye.KX("fill"),new Ye.KX("stroke","color"),new Ye.KX("strokeWidth","thickness"),new Ye.KX("strokeDashArray","dash")),zt(Ye.Vm,{background:"transparent",margin:20})),zt(Ye.al,{alignment:Ye.z6.Top,alignmentFocus:Ye.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new Ye.KX("text"),new Ye.KX("stroke","color"))),gt.current.groupTemplate.selectionAdornmentTemplate=zt(Ye.uz,"Spot",zt(Ye.s_,"Auto",zt(Ye.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),zt(Ye.Vm,{margin:1.5})),Wt({alignment:Ye.z6.TopRight,alignmentFocus:Ye.z6.BottomRight})),gt.current.groupTemplate.contextMenu=zt("ContextMenu",kt(),on(),Pn()),gt.current.linkTemplate=zt(Ye.rU,{layerName:"Foreground",routing:Ye.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new Ye.KX("fromSpot","fromSpot",Ye.z6.parse),new Ye.KX("toSpot","toSpot",Ye.z6.parse),new Ye.KX("fromShortLength","dir",_t=>_t>=1?10:0),new Ye.KX("toShortLength","dir",_t=>_t>=1?10:0),new Ye.KX("points").makeTwoWay(),zt(Ye.bn,{strokeWidth:2},new Ye.KX("stroke","color"),new Ye.KX("strokeWidth","thickness"),new Ye.KX("strokeDashArray","dash")),zt(Ye.bn,{segmentIndex:0,segmentOffset:new Ye.E9(15,0),segmentOrientation:Ye.rU.OrientAlong,alignmentFocus:Ye.z6.Right,figure:"circle",width:10,strokeWidth:0},new Ye.KX("fill","color"),new Ye.KX("visible","dir",_t=>_t===1)),zt(Ye.bn,{segmentIndex:-1,segmentOffset:new Ye.E9(-10,6),segmentOrientation:Ye.rU.OrientPlus90,alignmentFocus:Ye.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Ye.KX("fill","color"),new Ye.KX("visible","dir",_t=>_t>=1),new Ye.KX("width","thickness",_t=>7+3*_t),new Ye.KX("height","thickness",_t=>7+3*_t),new Ye.KX("segmentOffset","thickness",_t=>new Ye.E9(-15,4+1.5*_t))),zt(Ye.bn,{segmentIndex:0,segmentOffset:new Ye.E9(15,-6),segmentOrientation:Ye.rU.OrientMinus90,alignmentFocus:Ye.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Ye.KX("fill","color"),new Ye.KX("visible","dir",_t=>_t===2),new Ye.KX("width","thickness",_t=>7+3*_t),new Ye.KX("height","thickness",_t=>7+3*_t),new Ye.KX("segmentOffset","thickness",_t=>new Ye.E9(-15,4+1.5*_t))),zt(Ye.al,{alignmentFocus:new Ye.z6(0,1,-4,0),editable:!0},new Ye.KX("text").makeTwoWay(),new Ye.KX("stroke","color"))),gt.current.linkTemplate.selectionAdornmentTemplate=zt(Ye.uz,zt(Ye.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:yn(2)},new Ye.KX("pathPattern","thickness",yn)),Wt({alignmentFocus:new Ye.z6(0,0,-6,-4)}));function yn(_t){return zt(Ye.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(_t+4).toString()+" H3"})}function Ln(_t){var Ht="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return _t===0?Ht="M0 0 M16 16 M0 8 L16 8":_t===2&&(Ht="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),zt(Ye.bn,{geometryString:Ht,margin:2,background:"transparent",mouseEnter:(gn,Jt)=>Jt.background="dodgerblue",mouseLeave:(gn,Jt)=>Jt.background="transparent",click:Ct("dir",_t),contextClick:Ct("dir",_t)})}function On(_t){var Ht=(gn,Jt)=>{gn.handled=!0,gn.diagram.model.commit(_n=>{var Wn=Jt.part.adornedPart;_n.set(Wn.data,_t?"toSpot":"fromSpot",Ye.z6.stringify(Ye.z6.AllSides)),(_t?Wn.toNode:Wn.fromNode).invalidateConnectedLinks()})};return zt(Ye.bn,{width:12,height:12,fill:"transparent",mouseEnter:(gn,Jt)=>Jt.background="dodgerblue",mouseLeave:(gn,Jt)=>Jt.background="transparent",click:Ht,contextClick:Ht})}function It(_t,Ht){var gn=0,Jt=Ye.z6.RightSide;_t.equals(Ye.z6.Top)?(gn=270,Jt=Ye.z6.TopSide):_t.equals(Ye.z6.Left)?(gn=180,Jt=Ye.z6.LeftSide):_t.equals(Ye.z6.Bottom)&&(gn=90,Jt=Ye.z6.BottomSide),Ht||(gn-=180);var _n=(Wn,Bn)=>{Wn.handled=!0,Wn.diagram.model.commit(zn=>{var rr=Bn.part.adornedPart;zn.set(rr.data,Ht?"toSpot":"fromSpot",Ye.z6.stringify(Jt)),(Ht?rr.toNode:rr.fromNode).invalidateConnectedLinks()})};return zt(Ye.bn,{alignment:_t,alignmentFocus:_t.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:gn,background:"transparent",mouseEnter:(Wn,Bn)=>Bn.background="dodgerblue",mouseLeave:(Wn,Bn)=>Bn.background="transparent",click:_n,contextClick:_n})}gt.current.linkTemplate.contextMenu=zt("ContextMenu",on(),Pn(),zt("ContextMenuButton",zt(Ye.s_,"Horizontal",Ln(0),Ln(1),Ln(2))),zt("ContextMenuButton",zt(Ye.s_,"Horizontal",zt(Ye.s_,"Spot",On(!1),It(Ye.z6.Top,!1),It(Ye.z6.Left,!1),It(Ye.z6.Right,!1),It(Ye.z6.Bottom,!1)),zt(Ye.s_,"Spot",{margin:new Ye.Zt(0,0,0,2)},On(!0),It(Ye.z6.Top,!0),It(Ye.z6.Left,!0),It(Ye.z6.Right,!0),It(Ye.z6.Bottom,!0)))));const qn=`{ "class": "GraphLinksModel", +`)}catch(tt){}if(we){let tt=-1;return ze=ze.replaceAll("<","<").replaceAll(">",">").replace(/(@▁▁@|@▁@)/g,function(st,it,lt){var ut;return++tt,Ue(st,tt,(ut=Fe==null?void 0:Fe[tt])==null?void 0:ut.value.replaceAll("<","<").replaceAll(">",">"))}),`
${Ze(ze||"")}
`}let Xe=Ze(ze);Xe=(0,E.ZP)(Xe);const nt=(0,E.ez)();ze.match(/\[TOC\]/)&&(Xe=Xe.replace("

[TOC]

",(0,E.Qv)()),(0,E.Iy)()),Xe=Xe.replace(/(__special_katext_id_\d+__)/g,(tt,st)=>{const{type:it,expression:lt}=nt[st];return(0,ie.renderToString)(ge(lt)||"",{displayMode:it==="block",throwOnError:!1,output:"html"})}),Xe=Xe.replace(/▁/g,"\u2581\u2581\u2581\u2581\u2581"),(0,E.AL)();const $e=document.createElement("div");if($e.innerHTML=Xe,Pe)return $e.innerText;if(xe){const tt=xe.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return qe($e,tt),$e.innerHTML}return setTimeout(()=>Me(),500),$e.innerHTML},[ze,xe]);(0,ye.useEffect)(()=>{Be.current&&Be.current.querySelectorAll(["input","textarea"]).forEach(nt=>{nt.oninput=We,nt.onblur=at,nt.onfocus=et})},[Ve]),(0,ye.useEffect)(()=>{var Xe,nt,$e,tt,st;if(Fe!=null&&Fe.length)try{const it=Be.current.querySelectorAll(".edu-program-fill-score"),lt=Be.current.querySelectorAll('[name="edu-program-fill"]');for(const[ut,vt]of lt.entries())vt.value=((Xe=Fe==null?void 0:Fe[ut])==null?void 0:Xe.value)||"",((nt=Fe==null?void 0:Fe[ut])==null?void 0:nt.type)==="warning"?vt.className="program-fill-warning":(($e=Fe==null?void 0:Fe[ut])==null?void 0:$e.type)==="success"?vt.className="program-fill-success":vt.className="";for(const[ut,vt]of it.entries())vt.innerHTML=(tt=Fe==null?void 0:Fe[ut])!=null&&tt.score?`${(st=Fe==null?void 0:Fe[ut])==null?void 0:st.score}\u5206`:"";Je(Fe)}catch(it){console.log(it,"error")}},[Fe]);const We=Xe=>{Ve[Xe.target.dataset.id]=Ve[Xe.target.dataset.id]||{},Ve[Xe.target.dataset.id].value=Xe.target.value,Je([...Ve]),Le(Ve,Xe.target.dataset.id)},at=Xe=>{Ve[Xe.target.dataset.id]=Ve[Xe.target.dataset.id]||{},Ve[Xe.target.dataset.id].value=Xe.target.value,Je([...Ve]),Qe(Ve,Xe.target.dataset.id)},et=Xe=>{Ve[Xe.target.dataset.id]=Ve[Xe.target.dataset.id]||{},Ve[Xe.target.dataset.id].value=Xe.target.value,Je([...Ve]),He(Ve,Xe.target.dataset.id)};function qe(Xe,nt){return Xe.childNodes.forEach($e=>{var tt;if($e.childNodes.length>0)qe($e,nt);else if($e.nodeName!=="IMG")if($e.innerHTML)$e.innerHTML=(tt=$e.innerHTML)==null?void 0:tt.replace(new RegExp(nt,"gi"),'$&');else{const st=document.createElement("span");st.innerHTML=$e.textContent.replace(new RegExp(nt,"gi"),'$&'),$e.replaceWith(st)}})}const Be=(0,ye.useRef)();E.jb.WebkitLineClamp=Ee,Ee&&(_e=ee(ee({},_e),E.jb));function Ae(Xe){let nt=Xe.target;if(nt.tagName.toUpperCase()==="A"){let $e=nt.getAttribute("href");if($e.indexOf("office")>-1)Xe.preventDefault(),Ge($e),Ne("office");else if($e.indexOf("application/pdf")>-1)Xe.preventDefault(),Ge($e),Ne("pdf");else if($e.indexOf("text/html")>-1)Xe.preventDefault(),Ge($e),Ne("html");else if($e.startsWith("#")){Xe.preventDefault();let tt=document.getElementById($e.replace("#",""));tt&&tt.scrollIntoView(!0)}}}const Me=()=>{var Xe;const nt=(Xe=Be.current)==null?void 0:Xe.querySelectorAll("video");nt==null||nt.forEach($e=>{if($e.oncontextmenu=()=>!1,$e.src.indexOf(".m3u8")>-1&&!$e.canPlayType("application/vnd.apple.mpegurl")){if(he.ZP.isSupported()){var tt=new he.ZP;tt.loadSource($e.src),tt.attachMedia($e)}}})};(0,ye.useEffect)(()=>{if(Be.current&&Te&&Te.match(de)&&window.PR.prettyPrint(),Be.current)return Be.current.addEventListener("click",Ae),()=>{var Xe;(Xe=Be.current)==null||Xe.removeEventListener("click",Ae),(0,E.AL)(),(0,E.Iy)()}},[Te,Be.current,Ae]),(0,ye.useEffect)(()=>{var Xe;const nt=$e=>{$e.preventDefault(),$e.clipboardData.setData("text",window.getSelection().toString())};return(Xe=Be.current)==null||Xe.addEventListener("copy",nt),()=>{var $e;($e=Be.current)==null||$e.removeEventListener("copy",nt)}},[Be.current]);const Re=Xe=>//i.test(Xe||"");return ye.createElement(ye.Fragment,null,Pe&&ye.createElement("div",{ref:Be},Te),!Pe&&!Re(Te)&&ye.createElement("div",{ref:Be,style:ee({},_e),className:`${ve||""} ${Oe?"disabled-fill":""} markdown-body ${rt.current}`,dangerouslySetInnerHTML:{__html:Te}}),!Pe&&Re(Te)&&ye.createElement(ne,{html:Te}),ye.createElement(se.Z,{close:!0,data:Ke,type:Ke!=null&&Ke.length?ke:"",style:ee({},Ce),onClose:()=>Ge("")}))}},7651:function(ct,ot,Se){"use strict";Se.d(ot,{Z:function(){return pe}});var ye=Se(24459),je={ldsRing:"ldsRing___mpBZC",idsRingWrapper:"idsRingWrapper___Of9_n",ldsring:"ldsring___o0w2t"},E=Se(59301),pe=({message:he,className:ce,children:oe,style:ie={}})=>E.createElement("div",{className:`custom-spinner ${je.idsRingWrapper} ${ce}`},E.createElement("div",{className:je.ldsRing},E.createElement("div",null),E.createElement("div",null),E.createElement("div",null),E.createElement("div",null)),he?E.createElement("p",{style:ie},he):null,oe,E.createElement(ye.Outlet,null))},31582:function(ct,ot,Se){"use strict";Se.d(ot,{Z:function(){return pe}});var ye=Se(59301),je=Se(50484),E=Se(59301),pe=({defaultX:he="40%",leftChild:ce,rightChild:oe,className:ie,hideResize:ue=!1})=>{const[se,ae]=(0,ye.useState)(he),re=(0,ye.useRef)();function ne(){re.current=!0}(0,ye.useEffect)(()=>{function y(b){re.current&&(je.Z.publish("resize-move-bar",b),ae(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 te=typeof se=="number"&&se!==.01?`${se}px`:he,a=`calc(100% - ${ue?"0px":"4px"} - ${te})`;return E.createElement("div",{className:`split-panel-container ${ie}`},E.createElement("section",{style:{width:te,display:se===.01?"none":""}},ce),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}},oe))}},75618:function(ct,ot,Se){"use strict";Se.d(ot,{Z:function(){return ce}});var ye=Se(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=Se(92310),pe=Se.n(E),ce=({className:oe,style:ie={},leftNode:ue,leftTitle:se="\u81EA\u6D4B\u8F93\u5165",rightNode:ae,rightTitle:re="\u8FD0\u884C\u7ED3\u679C"})=>ye.createElement("div",{className:pe()(je.result,oe),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,se)),ye.createElement("div",{className:je.leftNode},ue)),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},ae)))},46942:function(ct,ot,Se){"use strict";var ye=Se(59301);const je=pe=>String(pe).length===1?`0${pe}`:pe,E=({className:pe="",onChange:he,defaultValue:ce=0})=>{const[oe,ie]=(0,ye.useState)(ce);(0,ye.useEffect)(()=>{const re=setTimeout(()=>{ie(oe+1e3)},1e3);return he(oe+1e3),()=>{clearInterval(re)}},[oe]);const ue=parseInt(oe/(60*6e4))||"00",se=parseInt(oe%(60*6e4)/6e4)||"00",ae=parseInt(oe%6e4/1e3)||"00";return ye.createElement("div",{className:pe},je(ue),":",je(se),":",je(ae))};ot.Z=E},49894:function(ct,ot,Se){"use strict";Se.d(ot,{cT:function(){return be},pe:function(){return ge}});var ye=Se(59301),je=Se(54580),E=Se(8591),pe=Se(7660),he=Se(28209),ce=Se.n(he),oe=Se(1012),ie=Se(24459),ue=Se(47257),se=Se.n(ue),ae=Object.defineProperty,re=Object.defineProperties,ne=Object.getOwnPropertyDescriptors,te=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable,x=(Pe,Ee,_e)=>Ee in Pe?ae(Pe,Ee,{enumerable:!0,configurable:!0,writable:!0,value:_e}):Pe[Ee]=_e,b=(Pe,Ee)=>{for(var _e in Ee||(Ee={}))a.call(Ee,_e)&&x(Pe,_e,Ee[_e]);if(te)for(var _e of te(Ee))y.call(Ee,_e)&&x(Pe,_e,Ee[_e]);return Pe},ee=(Pe,Ee)=>re(Pe,ne(Ee)),z=(Pe,Ee)=>{var _e={};for(var Ce in Pe)a.call(Pe,Ce)&&Ee.indexOf(Ce)<0&&(_e[Ce]=Pe[Ce]);if(Pe!=null&&te)for(var Ce of te(Pe))Ee.indexOf(Ce)<0&&y.call(Pe,Ce)&&(_e[Ce]=Pe[Ce]);return _e},le=(Pe,Ee,_e)=>new Promise((Ce,xe)=>{var we=Fe=>{try{Oe(_e.next(Fe))}catch(Le){xe(Le)}},De=Fe=>{try{Oe(_e.throw(Fe))}catch(Le){xe(Le)}},Oe=Fe=>Fe.done?Ce(Fe.value):Promise.resolve(Fe.value).then(we,De);Oe((_e=_e.apply(Pe,Ee)).next())});const{Dragger:de}=je.default,ge=Pe=>{const Ee="bf3c199c2470cb477d907b1e0917c17b",_e="5183666c72eec9e4";var Ce=ce().enc.Utf8.parse(Ee);let xe=ce().enc.Utf8.parse(_e);var we=ce().AES.decrypt(Pe,Ce,{iv:xe,mode:ce().mode.CBC});return we.toString(ce().enc.Utf8)};let fe;const me=Pe=>le(void 0,[Pe],function*({identifier:Ee,oldFilename:_e,newFilename:Ce}){var xe,we,De,Oe,Fe,Le;const Qe=yield Fetch("/api/buckets/get_upload_token_for_big_files.json",{method:"get"});Qe.data=JSON.parse(ge(Qe.data));const He=new OSS({endpoint:(xe=Qe==null?void 0:Qe.data)==null?void 0:xe.end_point,region:(we=Qe==null?void 0:Qe.data)==null?void 0:we.region,accessKeyId:(De=Qe==null?void 0:Qe.data)==null?void 0:De.access_key_id,accessKeySecret:(Oe=Qe==null?void 0:Qe.data)==null?void 0:Oe.access_key_secret,bucket:(Fe=Qe==null?void 0:Qe.data)==null?void 0:Fe.bucket,stsToken:(Le=Qe==null?void 0:Qe.data)==null?void 0:Le.security_token});return new Promise((ze,Ke)=>{console.log(11111,`${Ee}/${_e}`,`${Ee}/${Ce}`,Qe.data),He.copy(`/${Ee}/${_e}`,`/${Ee}/${Ce}`).then(Ge=>{console.log("\u62F7\u8D1D\u6210\u529F",Ge)}).catch(Ge=>{console.log(Ge)})})}),be=(Pe,Ee,_e)=>le(void 0,null,function*(){var Ce,xe,we,De,Oe,Fe;Ee.file_name=Pe.name;const Le=yield(0,pe.ZP)("/api/buckets/get_upload_token.json",{method:"get"});console.log("decrypt(res.data):",ge(Le.data)),Le.data=JSON.parse(ge(Le.data));const Qe=Pe.name.split(".");Qe.pop();const He=Ee.realFileName?Qe.join(""):(0,oe.Z)(),ze=new(se())({endpoint:(Ce=Le==null?void 0:Le.data)==null?void 0:Ce.end_point,region:(xe=Le==null?void 0:Le.data)==null?void 0:xe.region,accessKeyId:(we=Le==null?void 0:Le.data)==null?void 0:we.access_key_id,accessKeySecret:(De=Le==null?void 0:Le.data)==null?void 0:De.access_key_secret,bucket:(Oe=Le==null?void 0:Le.data)==null?void 0:Oe.bucket,stsToken:(Fe=Le==null?void 0:Le.data)==null?void 0:Fe.security_token});return new Promise((Ke,Ge)=>{var ke;ze.multipartUpload(`${He}`,new Blob([Pe],{type:Pe.type}),ee(b({timeout:200*1e3,partSize:102400},_e),{callback:{url:(ke=Le==null?void 0:Le.data)==null?void 0:ke.callback_url,host:Le==null?void 0:Le.data.bucket_host,body:"bucket=${bucket}&object=${object}&etag=${etag}&size=${size}&mimeType=${mimeType}&my_var=${x:my_var}&"+(0,pe.rz)(Ee)}})).then(function(Ne){var Ve;Pe.response=(Ve=Ne.data)==null?void 0:Ve.data,Ke(Ne==null?void 0:Ne.data)}).catch(function(Ne){Ge(Ne),console.log("err:",Ne)})})}),ve=Pe=>{var Ee=Pe,{user:_e,cancelUpload:Ce}=Ee,xe=z(Ee,["user","cancelUpload"]);const[we,De]=(0,ye.useState)([]);let[Oe,Fe]=(0,ye.useState)();const Le={onRemove:He=>{De([...we.filter(ze=>ze.name!==He.name)]),xe.onChange(we.filter(ze=>ze.name!==He.name))},disabled:xe.disabled,multiple:!0,fileList:we==null?void 0:we.map(He=>He.file),customRequest:()=>{},beforeUpload:He=>le(void 0,null,function*(){let ze=xe.maxSize||1073741824;if(we.filter(Ke=>Ke.name===He.name).length){E.ZP.info(`${He.name}\u5DF2\u5B58\u5728\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9`);return}return(He==null?void 0:He.size)>ze?(E.ZP.info(`\u6587\u4EF6\u8D85\u8FC7${ze/1024/1024/1024}GB\uFF0C\u4E0D\u7B26\u5408\u4E0A\u4F20\u8981\u6C42`),!1):(we.push({name:He.name,file:He}),De([...we]),xe.onChange(we),!1)})},Qe=(He,ze)=>le(void 0,null,function*(){var Ke,Ge,ke,Ne,Ve,Je;ze.file_name=He.name;const rt=He.name,Ye=yield(0,pe.ZP)("/api/buckets/get_upload_token_for_big_files.json",{method:"get"});if(Ye.data=JSON.parse(ge(Ye.data)),(Ye==null?void 0:Ye.status)!==0){we[we.findIndex(Ze=>Ze.name===rt)].status="error",we[we.findIndex(Ze=>Ze.name===rt)].file.status="error",xe.onChange(we),E.ZP.warning("\u4E0A\u4F20\u5931\u8D25\uFF0C\u8BF7\u91CD\u65B0\u5C1D\u8BD5");return}Oe=new(se())({endpoint:(Ke=Ye==null?void 0:Ye.data)==null?void 0:Ke.end_point,region:(Ge=Ye==null?void 0:Ye.data)==null?void 0:Ge.region,accessKeyId:(ke=Ye==null?void 0:Ye.data)==null?void 0:ke.access_key_id,accessKeySecret:(Ne=Ye==null?void 0:Ye.data)==null?void 0:Ne.access_key_secret,bucket:(Ve=Ye==null?void 0:Ye.data)==null?void 0:Ve.bucket,stsToken:(Je=Ye==null?void 0:Ye.data)==null?void 0:Je.security_token}),console.log(He,"file"),Fe(Oe);const Ue=He.name.split(".");Ue.pop();const Ie=rt.indexOf(".")>-1?ze.realFileName?Ue.join("."):(0,oe.Z)():rt;return new Promise((Ze,Te)=>{var We;try{Oe.multipartUpload(`${xe.identifier}/${Ie}${rt.indexOf(".")>-1?"."+rt.split(".").pop():""}`,new Blob([He.file],{type:He.file.type}),{timeout:3600*1e3,partSize:1002400,progress:(at,et,qe)=>{try{console.log("\u8FDB\u5EA6",at,et,qe);const Be=we.findIndex(Ae=>Ae.name===rt);we[Be].file.percent=at*100,we[Be].tempCheckpoint=et,De([...we])}catch(Be){}},checkpoint:we[we.findIndex(at=>at.name===rt)].tempCheckpoint,callback:{customValue:{id:rt+""},url:(We=Ye==null?void 0:Ye.data)==null?void 0:We.callback_url,host:Ye==null?void 0:Ye.data.bucket_host,body:"bucket=${bucket}&object=${object}&etag=${etag}&size=${size}&mimeType=${mimeType}&my_var=${x:my_var}&"+(0,pe.rz)(ze)}}).then(function(at){var et,qe,Be;const Ae=we.findIndex(Re=>Re.name===rt);let Me="done";if(((et=at.data)==null?void 0:et.status)===0){He.response=(qe=at.data)==null?void 0:qe.data;const Re=we.findIndex(Xe=>Xe.name===rt);we[Re].status="done",we[Re].file.status="done"}else E.ZP.warning((Be=at.data)==null?void 0:Be.message),Me="error";we[Ae].status=Me,we[Ae].file.status=Me,xe.onChange(we),Ze(at==null?void 0:at.data)}).catch(function(at){we[we.findIndex(et=>et.name===rt)].status="error",we[we.findIndex(et=>et.name===rt)].file.status="error",E.ZP.warning("\u4E0A\u4F20\u5931\u8D25\uFF0C\u8BF7\u91CD\u65B0\u5C1D\u8BD5"),De([...we]),xe.onChange(we),Te(at),console.log("err:",at)})}catch(at){}})});return(0,ye.useEffect)(()=>{we.every(He=>He==="done"||He==="error")&&xe.onComplete(we)},[we]),(0,ye.useEffect)(()=>{Ce&&(Oe==null||Oe.cancel())},[Ce]),(0,ye.useEffect)(()=>{xe.uploading&&we.map(He=>le(void 0,null,function*(){var ze;if((!He.status||He.status==="error")&&!Ce){He.status="uploading",He.file.status="uploading";const Ke=yield Qe(He,{login:(ze=_e==null?void 0:_e.userInfo)==null?void 0:ze.login,container_type:xe.container_type,container_id:xe.container_id,description:xe.description,realFileName:xe.realFileName})}}))},[xe.uploading]),ye.createElement(de,ee(b({},Le),{height:xe.height,className:xe.className}),ye.createElement("p",{className:"ant-upload-hint"},xe.text||"\u62D6\u62FD\u6587\u4EF6\u6216\u8005\u70B9\u51FB\u4E0A\u4F20"))};ot.ZP=(0,ie.connect)(({loading:Pe,globalSetting:Ee,user:_e})=>({globalSetting:Ee,loading:Pe.models.competitions,user:_e}))(ve)},85469:function(ct,ot,Se){"use strict";Se.d(ot,{Z:function(){return Wt}});var ye=Se(59301),je=Se(50484),E=Se(15277),pe=Se(92310),he=Se.n(pe),ce=Se(92413),oe=Se(33708),ie=Se(400),ue=Se(33606),se=Se(39559),ae=Se(37061),re=Se(55468),ne=Se(18929),te=["crossOrigin","decoding","draggable","loading","referrerPolicy","sizes","srcSet","useMap","alt"],a=ye.createContext(null),y=0;function x(Dt,Pt){var Nt=ye.useState(function(){return y+=1,String(y)}),Ct=(0,ue.Z)(Nt,1),Tt=Ct[0],kt=ye.useContext(a),an={data:Pt,canPreview:Dt};return ye.useEffect(function(){if(kt)return kt.register(Tt,an)},[]),ye.useEffect(function(){kt&&kt.register(Tt,an)},[Dt,Pt]),Tt}function b(Dt){return new Promise(function(Pt){var Nt=document.createElement("img");Nt.onerror=function(){return Pt(!1)},Nt.onload=function(){return Pt(!0)},Nt.src=Dt})}function ee(Dt){var Pt=Dt.src,Nt=Dt.isCustomPlaceholder,Ct=Dt.fallback,Tt=(0,ye.useState)(Nt?"loading":"normal"),kt=(0,ue.Z)(Tt,2),an=kt[0],on=kt[1],vn=(0,ye.useRef)(!1),Pn=an==="error";(0,ye.useEffect)(function(){b(Pt).then(function(Dn){Dn||on("error")})},[Pt]),(0,ye.useEffect)(function(){Nt&&!vn.current?on("loading"):Pn&&on("normal")},[Pt]);var wn=function(){on("normal")},yn=function(It){vn.current=!1,an==="loading"&&It!=null&&It.complete&&(It.naturalWidth||It.naturalHeight)&&(vn.current=!0,wn())},Tn=Pn&&Ct?{src:Ct}:{onLoad:wn,src:Pt};return[yn,Tn,an]}var z=Se(86923),le=Se(8224),de=Se(10228),ge=Se(48736);function fe(Dt,Pt,Nt,Ct){var Tt=Pt+Nt,kt=(Nt-Ct)/2;if(Nt>Ct){if(Pt>0)return(0,ie.Z)({},Dt,kt);if(Pt<0&&TtCt)return(0,ie.Z)({},Dt,Pt<0?kt:-kt);return{}}function me(Dt,Pt,Nt,Ct){var Tt=(0,re.g1)(),kt=Tt.width,an=Tt.height,on=null;return Dt<=kt&&Pt<=an?on={x:0,y:0}:(Dt>kt||Pt>an)&&(on=(0,oe.Z)((0,oe.Z)({},fe("x",Nt,Dt,kt)),fe("y",Ct,Pt,an))),on}var be=Se(13697),ve=Se(16089),Pe={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1};function Ee(Dt,Pt,Nt,Ct){var Tt=(0,ye.useRef)(null),kt=(0,ye.useRef)([]),an=(0,ye.useState)(Pe),on=(0,ue.Z)(an,2),vn=on[0],Pn=on[1],wn=function(It){Pn(Pe),Ct&&!(0,be.Z)(Pe,vn)&&Ct({transform:Pe,action:It})},yn=function(It,qn){Tt.current===null&&(kt.current=[],Tt.current=(0,ve.Z)(function(){Pn(function(Nn){var Yn=Nn;return kt.current.forEach(function(pn){Yn=(0,oe.Z)((0,oe.Z)({},Yn),pn)}),Tt.current=null,Ct==null||Ct({transform:Yn,action:qn}),Yn})})),kt.current.push((0,oe.Z)((0,oe.Z)({},vn),It))},Tn=function(It,qn,Nn,Yn){var pn=Dt.current,_t=pn.width,Ht=pn.height,gn=pn.offsetWidth,Kt=pn.offsetHeight,xn=pn.offsetLeft,Wn=pn.offsetTop,In=It,Un=vn.scale*It;Un>Nt?(In=Nt/vn.scale,Un=Nt):Un1,br=dr&&pn>=1,wr=Ee(fr,xn,In,xr),ir=wr.transform,Br=wr.resetTransform,Lr=wr.updateTransform,Dr=wr.dispatchZoomChange,jr=(0,ye.useState)(!0),ht=(0,ue.Z)(jr,2),Ot=ht[0],Et=ht[1],jt=ir.rotate,Ut=ir.scale,Rt=ir.x,ln=ir.y,Xt=he()((0,ie.Z)({},"".concat(Nt,"-moving"),cr));(0,ye.useEffect)(function(){Ot||Et(!0)},[Ot]);var tn=function(){Br("close")},fn=function(){Dr(De+gn,"zoomIn")},Yt=function(){Dr(De/(De+gn),"zoomOut")},Bn=function(){Lr({rotate:jt+90},"rotateRight")},En=function(){Lr({rotate:jt-90},"rotateLeft")},Fn=function(){Lr({flipX:!ir.flipX},"flipX")},Mn=function(){Lr({flipY:!ir.flipY},"flipY")},$n=function(Qt){Qt==null||Qt.preventDefault(),Qt==null||Qt.stopPropagation(),Nn>0&&(Et(!1),Br("prev"),ur==null||ur(Nn-1,Nn))},sr=function(Qt){Qt==null||Qt.preventDefault(),Qt==null||Qt.stopPropagation(),Nn0&&(Hn=De/Hn),Dr(Hn,"wheel",Qt.clientX,Qt.clientY)}},Cr=function(Qt){!Pn||!or||(Qt.keyCode===de.Z.LEFT?$n():Qt.keyCode===de.Z.RIGHT&&sr())},Bt=function(Qt){Pn&&(Ut!==1?Lr({x:0,y:0,scale:1},"doubleClick"):Dr(De+gn,"doubleClick",Qt.clientX,Qt.clientY))};(0,ye.useEffect)(function(){var bn,Qt,kn,Vn;if(on){kn=(0,le.Z)(window,"mouseup",Sr,!1),Vn=(0,le.Z)(window,"mousemove",er,!1);try{window.top!==window.self&&(bn=(0,le.Z)(window.top,"mouseup",Sr,!1),Qt=(0,le.Z)(window.top,"mousemove",er,!1))}catch(Hn){(0,ge.Kp)(!1,"[rc-image] ".concat(Hn))}}return function(){var Hn,tr,Qn,pr;(Hn=kn)===null||Hn===void 0||Hn.remove(),(tr=Vn)===null||tr===void 0||tr.remove(),(Qn=bn)===null||Qn===void 0||Qn.remove(),(pr=Qt)===null||pr===void 0||pr.remove()}},[Pn,cr,Rt,ln,jt,on]),(0,ye.useEffect)(function(){var bn=(0,le.Z)(window,"keydown",Cr,!1);return function(){bn.remove()}},[Pn,or,Nn]);var Sn=ye.createElement(Qe,(0,ce.Z)({},Ar,{width:Pt.width,height:Pt.height,imgRef:fr,className:"".concat(Nt,"-img"),alt:Tt,style:{transform:"translate3d(".concat(ir.x,"px, ").concat(ir.y,"px, 0) scale3d(").concat(ir.flipX?"-":"").concat(Ut,", ").concat(ir.flipY?"-":"").concat(Ut,", 1) rotate(").concat(jt,"deg)"),transitionDuration:!Ot&&"0s"},fallback:kt,src:Ct,onWheel:lr,onMouseDown:Pr,onDoubleClick:Bt}));return ye.createElement(ye.Fragment,null,ye.createElement(z.Z,(0,ce.Z)({transitionName:nr,maskTransitionName:hr,closable:!1,keyboard:!0,prefixCls:Nt,onClose:vn,visible:Pn,wrapClassName:Xt,rootClassName:Tn,getContainer:It},vr,{afterClose:tn}),ye.createElement("div",{className:"".concat(Nt,"-img-wrapper")},en?en(Sn,(0,oe.Z)({transform:ir},dr?{current:Nn}:{})):Sn)),ye.createElement(we,{visible:Pn,transform:ir,maskTransitionName:hr,closeIcon:Dn,getContainer:It,prefixCls:Nt,rootClassName:Tn,icons:yn,countRender:_t,showSwitch:or,showProgress:br,current:Nn,count:pn,scale:Ut,minScale:xn,maxScale:In,toolbarRender:_r,onSwitchLeft:$n,onSwitchRight:sr,onZoomIn:fn,onZoomOut:Yt,onRotateRight:Bn,onRotateLeft:En,onFlipX:Fn,onFlipY:Mn,onClose:vn}))},ze=He,Ke=Se(26407);function Ge(Dt){var Pt=ye.useState({}),Nt=(0,ue.Z)(Pt,2),Ct=Nt[0],Tt=Nt[1],kt=ye.useCallback(function(on,vn){return Tt(function(Pn){return(0,oe.Z)((0,oe.Z)({},Pn),{},(0,ie.Z)({},on,vn))}),function(){Tt(function(Pn){var wn=(0,oe.Z)({},Pn);return delete wn[on],wn})}},[]),an=ye.useMemo(function(){return Dt?Dt.map(function(on){if(typeof on=="string")return{data:{src:on}};var vn={};return Object.keys(on).forEach(function(Pn){["src"].concat((0,Ke.Z)(te)).includes(Pn)&&(vn[Pn]=on[Pn])}),{data:vn}}):Object.keys(Ct).reduce(function(on,vn){var Pn=Ct[vn],wn=Pn.canPreview,yn=Pn.data;return wn&&on.push({data:yn,id:vn}),on},[])},[Dt,Ct]);return[an,kt]}var ke=["visible","onVisibleChange","getContainer","current","movable","minScale","maxScale","countRender","closeIcon","onChange","onTransform","toolbarRender","imageRender"],Ne=["src"],Ve=function(Pt){var Nt,Ct=Pt.previewPrefixCls,Tt=Ct===void 0?"rc-image-preview":Ct,kt=Pt.children,an=Pt.icons,on=an===void 0?{}:an,vn=Pt.items,Pn=Pt.preview,wn=Pt.fallback,yn=(0,se.Z)(Pn)==="object"?Pn:{},Tn=yn.visible,Dn=yn.onVisibleChange,It=yn.getContainer,qn=yn.current,Nn=yn.movable,Yn=yn.minScale,pn=yn.maxScale,_t=yn.countRender,Ht=yn.closeIcon,gn=yn.onChange,Kt=yn.onTransform,xn=yn.toolbarRender,Wn=yn.imageRender,In=(0,ae.Z)(yn,ke),Un=Ge(vn),nr=(0,ue.Z)(Un,2),yr=nr[0],hr=nr[1],en=(0,ne.Z)(0,{value:qn}),Ar=(0,ue.Z)(en,2),_r=Ar[0],xr=Ar[1],ur=(0,ye.useState)(!1),vr=(0,ue.Z)(ur,2),fr=vr[0],ar=vr[1],Rn=((Nt=yr[_r])===null||Nt===void 0?void 0:Nt.data)||{},Kn=Rn.src,cr=(0,ae.Z)(Rn,Ne),Xn=(0,ne.Z)(!!Tn,{value:Tn,onChange:function(jt,Ut){Dn==null||Dn(jt,Ut,_r)}}),dr=(0,ue.Z)(Xn,2),or=dr[0],br=dr[1],wr=(0,ye.useState)(null),ir=(0,ue.Z)(wr,2),Br=ir[0],Lr=ir[1],Dr=ye.useCallback(function(Et,jt,Ut){var Rt=yr.findIndex(function(ln){return ln.id===Et});br(!0),Lr({x:jt,y:Ut}),xr(Rt<0?0:Rt),ar(!0)},[yr]);ye.useEffect(function(){or?fr||xr(0):ar(!1)},[or]);var jr=function(jt,Ut){xr(jt),gn==null||gn(jt,Ut)},ht=function(){br(!1),Lr(null)},Ot=ye.useMemo(function(){return{register:hr,onPreview:Dr}},[hr,Dr]);return ye.createElement(a.Provider,{value:Ot},kt,ye.createElement(ze,(0,ce.Z)({"aria-hidden":!or,movable:Nn,visible:or,prefixCls:Tt,closeIcon:Ht,onClose:ht,mousePosition:Br,imgCommonProps:cr,src:Kn,fallback:wn,icons:on,minScale:Yn,maxScale:pn,getContainer:It,current:_r,count:yr.length,countRender:_t,onTransform:Kt,toolbarRender:xn,imageRender:Wn,onChange:jr},In)))},Je=Ve,rt=["src","alt","onPreviewClose","prefixCls","previewPrefixCls","placeholder","fallback","width","height","style","preview","className","onClick","onError","wrapperClassName","wrapperStyle","rootClassName"],Ye=["src","visible","onVisibleChange","getContainer","mask","maskClassName","movable","icons","scaleStep","minScale","maxScale","imageRender","toolbarRender"],Ue=function(Pt){var Nt=Pt.src,Ct=Pt.alt,Tt=Pt.onPreviewClose,kt=Pt.prefixCls,an=kt===void 0?"rc-image":kt,on=Pt.previewPrefixCls,vn=on===void 0?"".concat(an,"-preview"):on,Pn=Pt.placeholder,wn=Pt.fallback,yn=Pt.width,Tn=Pt.height,Dn=Pt.style,It=Pt.preview,qn=It===void 0?!0:It,Nn=Pt.className,Yn=Pt.onClick,pn=Pt.onError,_t=Pt.wrapperClassName,Ht=Pt.wrapperStyle,gn=Pt.rootClassName,Kt=(0,ae.Z)(Pt,rt),xn=Pn&&Pn!==!0,Wn=(0,se.Z)(qn)==="object"?qn:{},In=Wn.src,Un=Wn.visible,nr=Un===void 0?void 0:Un,yr=Wn.onVisibleChange,hr=yr===void 0?Tt:yr,en=Wn.getContainer,Ar=en===void 0?void 0:en,_r=Wn.mask,xr=Wn.maskClassName,ur=Wn.movable,vr=Wn.icons,fr=Wn.scaleStep,ar=Wn.minScale,Rn=Wn.maxScale,Kn=Wn.imageRender,cr=Wn.toolbarRender,Xn=(0,ae.Z)(Wn,Ye),dr=In!=null?In:Nt,or=(0,ne.Z)(!!nr,{value:nr,onChange:hr}),br=(0,ue.Z)(or,2),wr=br[0],ir=br[1],Br=ee({src:Nt,isCustomPlaceholder:xn,fallback:wn}),Lr=(0,ue.Z)(Br,3),Dr=Lr[0],jr=Lr[1],ht=Lr[2],Ot=(0,ye.useState)(null),Et=(0,ue.Z)(Ot,2),jt=Et[0],Ut=Et[1],Rt=(0,ye.useContext)(a),ln=!!qn,Xt=function(){ir(!1),Ut(null)},tn=he()(an,_t,gn,(0,ie.Z)({},"".concat(an,"-error"),ht==="error")),fn=(0,ye.useMemo)(function(){var Fn={};return te.forEach(function(Mn){Pt[Mn]!==void 0&&(Fn[Mn]=Pt[Mn])}),Fn},te.map(function(Fn){return Pt[Fn]})),Yt=(0,ye.useMemo)(function(){return(0,oe.Z)((0,oe.Z)({},fn),{},{src:dr})},[dr,fn]),Bn=x(ln,Yt),En=function(Mn){var $n=(0,re.os)(Mn.target),sr=$n.left,Sr=$n.top;Rt?Rt.onPreview(Bn,sr,Sr):(Ut({x:sr,y:Sr}),ir(!0)),Yn==null||Yn(Mn)};return ye.createElement(ye.Fragment,null,ye.createElement("div",(0,ce.Z)({},Kt,{className:tn,onClick:ln?En:Yn,style:(0,oe.Z)({width:yn,height:Tn},Ht)}),ye.createElement("img",(0,ce.Z)({},fn,{className:he()("".concat(an,"-img"),(0,ie.Z)({},"".concat(an,"-img-placeholder"),Pn===!0),Nn),style:(0,oe.Z)({height:Tn},Dn),ref:Dr},jr,{width:yn,height:Tn,onError:pn})),ht==="loading"&&ye.createElement("div",{"aria-hidden":"true",className:"".concat(an,"-placeholder")},Pn),_r&&ln&&ye.createElement("div",{className:he()("".concat(an,"-mask"),xr),style:{display:(Dn==null?void 0:Dn.display)==="none"?"none":void 0}},_r)),!Rt&&ln&&ye.createElement(ze,(0,ce.Z)({"aria-hidden":!wr,visible:wr,prefixCls:vn,onClose:Xt,mousePosition:jt,src:dr,alt:Ct,fallback:wn,getContainer:Ar,icons:vr,movable:ur,scaleStep:fr,minScale:ar,maxScale:Rn,rootClassName:gn,imageRender:Kn,imgCommonProps:fn,toolbarRender:cr},Xn)))};Ue.PreviewGroup=Je,Ue.displayName="Image";var Ie=Ue,Ze=Ie,Te=Se(62892),We=Se(36355),at=Se(31724),et=Se(99267),qe=Se(33853),Be=Se(38819),Ae={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M672 418H144c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H188V494h440v326z"}},{tag:"path",attrs:{d:"M819.3 328.5c-78.8-100.7-196-153.6-314.6-154.2l-.2-64c0-6.5-7.6-10.1-12.6-6.1l-128 101c-4 3.1-3.9 9.1 0 12.3L492 318.6c5.1 4 12.7.4 12.6-6.1v-63.9c12.9.1 25.9.9 38.8 2.5 42.1 5.2 82.1 18.2 119 38.7 38.1 21.2 71.2 49.7 98.4 84.3 27.1 34.7 46.7 73.7 58.1 115.8a325.95 325.95 0 016.5 140.9h74.9c14.8-103.6-11.3-213-81-302.3z"}}]},name:"rotate-left",theme:"outlined"},Me=Ae,Re=Se(7657),Xe=function(Pt,Nt){return ye.createElement(Re.Z,(0,ce.Z)({},Pt,{ref:Nt,icon:Me}))},nt=ye.forwardRef(Xe),$e=nt,tt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M480.5 251.2c13-1.6 25.9-2.4 38.8-2.5v63.9c0 6.5 7.5 10.1 12.6 6.1L660 217.6c4-3.2 4-9.2 0-12.3l-128-101c-5.1-4-12.6-.4-12.6 6.1l-.2 64c-118.6.5-235.8 53.4-314.6 154.2A399.75 399.75 0 00123.5 631h74.9c-.9-5.3-1.7-10.7-2.4-16.1-5.1-42.1-2.1-84.1 8.9-124.8 11.4-42.2 31-81.1 58.1-115.8 27.2-34.7 60.3-63.2 98.4-84.3 37-20.6 76.9-33.6 119.1-38.8z"}},{tag:"path",attrs:{d:"M880 418H352c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H396V494h440v326z"}}]},name:"rotate-right",theme:"outlined"},st=tt,it=function(Pt,Nt){return ye.createElement(Re.Z,(0,ce.Z)({},Pt,{ref:Nt,icon:st}))},lt=ye.forwardRef(it),ut=lt,vt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},pt=vt,mt=function(Pt,Nt){return ye.createElement(Re.Z,(0,ce.Z)({},Pt,{ref:Nt,icon:pt}))},St=ye.forwardRef(mt),xt=St,Mt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H519V309c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v134H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h118v134c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V519h118c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-in",theme:"outlined"},yt=Mt,wt=function(Pt,Nt){return ye.createElement(Re.Z,(0,ce.Z)({},Pt,{ref:Nt,icon:yt}))},Lt=ye.forwardRef(wt),cn=Lt,Vt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-out",theme:"outlined"},rn=Vt,Zt=function(Pt,Nt){return ye.createElement(Re.Z,(0,ce.Z)({},Pt,{ref:Nt,icon:rn}))},Jt=ye.forwardRef(Zt),zt=Jt,nn=Se(64993),jn=Se(73819),Cn=Se(17313),Ln=Se(29878),Ft=Se(1950),At=Se(83116),bt=Se(37613);const sn=Dt=>({position:Dt||"absolute",inset:0}),qt=Dt=>{const{iconCls:Pt,motionDurationSlow:Nt,paddingXXS:Ct,marginXXS:Tt,prefixCls:kt,colorTextLightSolid:an}=Dt;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:an,background:new nn.C("#000").setAlpha(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${Nt}`,[`.${kt}-mask-info`]:Object.assign(Object.assign({},Cn.vS),{padding:`0 ${Ct}px`,[Pt]:{marginInlineEnd:Tt,svg:{verticalAlign:"baseline"}}})}},dn=Dt=>{const{previewCls:Pt,modalMaskBg:Nt,paddingSM:Ct,marginXL:Tt,margin:kt,paddingLG:an,previewOperationColorDisabled:on,previewOperationHoverColor:vn,motionDurationSlow:Pn,iconCls:wn,colorTextLightSolid:yn}=Dt,Tn=new nn.C(Nt).setAlpha(.1),Dn=Tn.clone().setAlpha(.2);return{[`${Pt}-footer`]:{position:"fixed",bottom:Tt,left:{_skip_check_:!0,value:0},width:"100%",display:"flex",flexDirection:"column",alignItems:"center",color:Dt.previewOperationColor},[`${Pt}-progress`]:{marginBottom:kt},[`${Pt}-close`]:{position:"fixed",top:Tt,right:{_skip_check_:!0,value:Tt},display:"flex",color:yn,backgroundColor:Tn.toRgbString(),borderRadius:"50%",padding:Ct,outline:0,border:0,cursor:"pointer",transition:`all ${Pn}`,"&:hover":{backgroundColor:Dn.toRgbString()},[`& > ${wn}`]:{fontSize:Dt.previewOperationSize}},[`${Pt}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${an}px`,backgroundColor:Tn.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:Ct,padding:Ct,cursor:"pointer",transition:`all ${Pn}`,userSelect:"none",[`&:not(${Pt}-operations-operation-disabled):hover > ${wn}`]:{color:vn},"&-disabled":{color:on,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${wn}`]:{fontSize:Dt.previewOperationSize}}}}},hn=Dt=>{const{modalMaskBg:Pt,iconCls:Nt,previewOperationColorDisabled:Ct,previewCls:Tt,zIndexPopup:kt,motionDurationSlow:an}=Dt,on=new nn.C(Pt).setAlpha(.1),vn=on.clone().setAlpha(.2);return{[`${Tt}-switch-left, ${Tt}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:kt+1,display:"flex",alignItems:"center",justifyContent:"center",width:Dt.imagePreviewSwitchSize,height:Dt.imagePreviewSwitchSize,marginTop:-Dt.imagePreviewSwitchSize/2,color:Dt.previewOperationColor,background:on.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${an}`,userSelect:"none","&:hover":{background:vn.toRgbString()},"&-disabled":{"&, &:hover":{color:Ct,background:"transparent",cursor:"not-allowed",[`> ${Nt}`]:{cursor:"not-allowed"}}},[`> ${Nt}`]:{fontSize:Dt.previewOperationSize}},[`${Tt}-switch-left`]:{insetInlineStart:Dt.marginSM},[`${Tt}-switch-right`]:{insetInlineEnd:Dt.marginSM}}},dt=Dt=>{const{motionEaseOut:Pt,previewCls:Nt,motionDurationSlow:Ct,componentCls:Tt}=Dt;return[{[`${Tt}-preview-root`]:{[Nt]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${Nt}-body`]:Object.assign(Object.assign({},sn()),{overflow:"hidden"}),[`${Nt}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${Ct} ${Pt} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},sn()),{transition:`transform ${Ct} ${Pt} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${Nt}-moving`]:{[`${Nt}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${Tt}-preview-root`]:{[`${Nt}-wrap`]:{zIndex:Dt.zIndexPopup}}},{[`${Tt}-preview-operations-wrapper`]:{position:"fixed",zIndex:Dt.zIndexPopup+1},"&":[dn(Dt),hn(Dt)]}]},ft=Dt=>{const{componentCls:Pt}=Dt;return{[Pt]:{position:"relative",display:"inline-block",[`${Pt}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${Pt}-img-placeholder`]:{backgroundColor:Dt.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${Pt}-mask`]:Object.assign({},qt(Dt)),[`${Pt}-mask:hover`]:{opacity:1},[`${Pt}-placeholder`]:Object.assign({},sn())}}},gt=Dt=>{const{previewCls:Pt}=Dt;return{[`${Pt}-root`]:(0,Ln._y)(Dt,"zoom"),"&":(0,Ft.J$)(Dt,!0)}};var Gt=(0,At.Z)("Image",Dt=>{const Pt=`${Dt.componentCls}-preview`,Nt=(0,bt.TS)(Dt,{previewCls:Pt,modalMaskBg:new nn.C("#000").setAlpha(.45).toRgbString(),imagePreviewSwitchSize:Dt.controlHeightLG});return[ft(Nt),dt(Nt),(0,jn.QA)((0,bt.TS)(Nt,{componentCls:Pt})),gt(Nt)]},Dt=>({zIndexPopup:Dt.zIndexPopupBase+80,previewOperationColor:new nn.C(Dt.colorTextLightSolid).setAlpha(.65).toRgbString(),previewOperationHoverColor:new nn.C(Dt.colorTextLightSolid).setAlpha(.85).toRgbString(),previewOperationColorDisabled:new nn.C(Dt.colorTextLightSolid).setAlpha(.25).toRgbString(),previewOperationSize:Dt.fontSizeIcon*1.5})),un=function(Dt,Pt){var Nt={};for(var Ct in Dt)Object.prototype.hasOwnProperty.call(Dt,Ct)&&Pt.indexOf(Ct)<0&&(Nt[Ct]=Dt[Ct]);if(Dt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Tt=0,Ct=Object.getOwnPropertySymbols(Dt);Tt{var{previewPrefixCls:Pt,preview:Nt}=Dt,Ct=un(Dt,["previewPrefixCls","preview"]);const{getPrefixCls:Tt}=ye.useContext(We.E_),kt=Tt("image",Pt),an=`${kt}-preview`,on=Tt(),[vn,Pn]=Gt(kt),wn=ye.useMemo(()=>{var yn;if(Nt===!1)return Nt;const Tn=typeof Nt=="object"?Nt:{},Dn=he()(Pn,(yn=Tn.rootClassName)!==null&&yn!==void 0?yn:"");return Object.assign(Object.assign({},Tn),{transitionName:(0,Te.m)(on,"zoom",Tn.transitionName),maskTransitionName:(0,Te.m)(on,"fade",Tn.maskTransitionName),rootClassName:Dn})},[Nt]);return vn(ye.createElement(Ze.PreviewGroup,Object.assign({preview:wn,previewPrefixCls:an,icons:$t},Ct)))},Gn=function(Dt,Pt){var Nt={};for(var Ct in Dt)Object.prototype.hasOwnProperty.call(Dt,Ct)&&Pt.indexOf(Ct)<0&&(Nt[Ct]=Dt[Ct]);if(Dt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Tt=0,Ct=Object.getOwnPropertySymbols(Dt);Tt{const{prefixCls:Pt,preview:Nt,className:Ct,rootClassName:Tt,style:kt}=Dt,an=Gn(Dt,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:on,locale:vn=at.Z,getPopupContainer:Pn,image:wn}=ye.useContext(We.E_),yn=on("image",Pt),Tn=on(),Dn=vn.Image||at.Z.Image,[It,qn]=Gt(yn),Nn=he()(Tt,qn),Yn=he()(Ct,qn,wn==null?void 0:wn.className),pn=ye.useMemo(()=>{if(Nt===!1)return Nt;const Ht=typeof Nt=="object"?Nt:{},{getContainer:gn}=Ht,Kt=Gn(Ht,["getContainer"]);return Object.assign(Object.assign({mask:ye.createElement("div",{className:`${yn}-mask-info`},ye.createElement(E.Z,null),Dn==null?void 0:Dn.preview),icons:$t},Kt),{getContainer:gn||Pn,transitionName:(0,Te.m)(Tn,"zoom",Ht.transitionName),maskTransitionName:(0,Te.m)(Tn,"fade",Ht.maskTransitionName)})},[Nt,Dn]),_t=Object.assign(Object.assign({},wn==null?void 0:wn.style),kt);return It(ye.createElement(Ze,Object.assign({prefixCls:yn,preview:pn,rootClassName:Nn,className:Yn,style:_t},an)))};An.PreviewGroup=mn;var rr=An,Wt=()=>{const[Dt,Pt]=(0,ye.useState)(""),[Nt,Ct]=(0,ye.useState)(0);let[Tt,kt]=(0,ye.useState)(),[an,on]=(0,ye.useState)();const[vn,Pn]=(0,ye.useState)(!1),wn=(0,ye.useRef)("");(0,ye.useEffect)(()=>je.Z.subscribe("preview-image",gn=>{Pt(gn),console.log(pn.current),document.body.style.overflow="hidden"}),[]),(0,ye.useEffect)(()=>(document.addEventListener("keydown",yn),()=>{document.removeEventListener("keydown",yn)}),[]),(0,ye.useEffect)(()=>{wn.current=Dt},[Dt]);function yn(Ht){Ht.keyCode==27&&wn.current&&Tn()}function Tn(){document.body.style.overflow="auto",kt(void 0),on(void 0),Ct(0),Pt("")}function Dn(){Ct(Nt+90)}function It(){Tt=pn.current.width*1.1,an=pn.current.height*1.1,on(an),kt(Tt)}function qn(){Tt=pn.current.width/1.1,an=pn.current.height/1.1,on(an),kt(Tt)}const Nn=(0,ye.useRef)(),Yn=(0,ye.useRef)(),pn=(0,ye.useRef)(),_t=Ht=>{(Ht.nativeEvent.target===Nn.current||Ht.nativeEvent.target===Yn.current)&&Tn()};return ye.createElement(ye.Fragment,null,Dt?ye.createElement("div",null,ye.createElement("div",{className:"preview-wrp-group",ref:Yn},ye.createElement(rr,{className:"image-preview",src:Dt,style:{display:"none"},preview:{visible:!0,src:Dt,movable:!1,onVisibleChange:Ht=>{Pt("")}},alt:"\u9884\u89C8\u5927\u56FE"}))):null)}},73278:function(ct,ot,Se){"use strict";Se.d(ot,{h:function(){return le}});var ye=Se(59301),je=Se(57809),E=Se(78241),pe=Se(3113),he=Se(89780),ce=Se.n(he),oe=Se(78780),ie=Se(19136),ue=Object.defineProperty,se=Object.defineProperties,ae=Object.getOwnPropertyDescriptors,re=Object.getOwnPropertySymbols,ne=Object.prototype.hasOwnProperty,te=Object.prototype.propertyIsEnumerable,a=(de,ge,fe)=>ge in de?ue(de,ge,{enumerable:!0,configurable:!0,writable:!0,value:fe}):de[ge]=fe,y=(de,ge)=>{for(var fe in ge||(ge={}))ne.call(ge,fe)&&a(de,fe,ge[fe]);if(re)for(var fe of re(ge))te.call(ge,fe)&&a(de,fe,ge[fe]);return de},x=(de,ge)=>se(de,ae(ge));const b=je.default.Option,ee={labelCol:{span:4},wrapperCol:{span:20}},z={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"]};ot.Z=({callback:de,onCancel:ge})=>{const[fe,me]=(0,ye.useState)("python");function be(Pe){me(z[Pe][1])}function ve(Pe){de(Pe)}return ye.createElement(E.default,x(y({},ee),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:ve,style:{width:500}}),ye.createElement(E.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},ye.createElement(je.default,{getPopupContainer:Pe=>Pe.parentNode,onChange:be},Object.keys(z).map(Pe=>ye.createElement(b,{key:Pe,value:Pe},z[Pe][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(le,{mode:fe})),ye.createElement("div",{className:"flex-container flex-end"},ye.createElement(pe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ye.createElement(pe.ZP,{type:"ghost",onClick:ge},"\u53D6\u6D88")))};function le({value:de,onChange:ge,mode:fe,options:me={}}){const be=(0,ye.useRef)(),[ve,Pe]=(0,ye.useState)();return(0,ye.useEffect)(()=>{if(ve){let Ee=function(_e){const Ce=_e.getValue();ge&&ge(Ce)};return ve.on("change",Ee),()=>{ve.off("change",Ee)}}},[ve,ge]),(0,ye.useEffect)(()=>{ve&&ve.setOption("mode",fe)},[ve,fe]),(0,ye.useEffect)(()=>{ve&&(de!==ve.getValue()||de==="")&&setTimeout(()=>{ve.setValue(de||"")},300)},[ve,de]),(0,ye.useEffect)(()=>{if(be.current&&!ve){const Ee=ce().fromTextArea(be.current,y({mode:fe,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},me));Pe(Ee)}},[be.current,ve]),ye.createElement("div",{className:"my-codemirror-container"},ye.createElement("textarea",{ref:be}))}},64726:function(ct,ot,Se){"use strict";Se.d(ot,{Z:function(){return hn}});var ye=Se(59301),je=Se(89780),E=Se.n(je),pe=Se(76374),he=Se(78780),ce=Se(6313),oe=Se(25717),ie=Se(99498),ue=Se(25419),se=Se(67549),ae=Se(99325),re=({value:dt="",className:ft,showTextOnly:gt,showLines:Gt,style:un={}})=>{const $t=(0,ye.useMemo)(()=>"",[dt]);return ye.createElement(ye.Fragment,null,ye.createElement("div",{dangerouslySetInnerHTML:{__html:$t}}))},ne=Se(59301),te=Object.defineProperty,a=Object.defineProperties,y=Object.getOwnPropertyDescriptors,x=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,ee=Object.prototype.propertyIsEnumerable,z=(dt,ft,gt)=>ft in dt?te(dt,ft,{enumerable:!0,configurable:!0,writable:!0,value:gt}):dt[ft]=gt,le=(dt,ft)=>{for(var gt in ft||(ft={}))b.call(ft,gt)&&z(dt,gt,ft[gt]);if(x)for(var gt of x(ft))ee.call(ft,gt)&&z(dt,gt,ft[gt]);return dt},de=(dt,ft)=>a(dt,y(ft));let ge=[{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 fe({onActionCallback:dt,title:ft,icon:gt,actionName:Gt,className:un="",children:$t}){function zn(){dt(Gt)}return ne.createElement("a",{title:ft,className:un,onClick:zn},ne.createElement("i",{className:`${gt}`}),$t)}var me=({watch:dt,showNullButton:ft,showNullProgramButton:gt,onActionCallback:Gt,fullScreen:un,insertTemp:$t,hidetoolBar:zn,extraUse:mn})=>{const Gn=[...ge,{title:`${dt?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${dt?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return ne.createElement("ul",{className:"markdown-toolbar-container"},!zn&&Gn.map((An,rr)=>ne.createElement("li",{key:rr},An.actionName?ne.createElement(fe,de(le({},An),{onActionCallback:Gt})):ne.createElement("span",{className:"v-line"}))),ft?ne.createElement("li",null,ne.createElement(fe,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:Gt},ne.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,gt?ne.createElement(ne.Fragment,null,ne.createElement("li",null,ne.createElement(fe,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:Gt},ne.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),ne.createElement("li",null,ne.createElement(fe,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:Gt},ne.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,$t&&ne.createElement("li",null,ne.createElement(fe,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${$t}`,onActionCallback:Gt},ne.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),mn&&ne.createElement("li",null,mn),ne.createElement("li",{className:"btn-full-screen"},ne.createElement(fe,{icon:`${un?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:un?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:Gt})))},be=Se(19647),ve=Se(78241),Pe=Se(92832),Ee=Se(3113),_e=Object.defineProperty,Ce=Object.defineProperties,xe=Object.getOwnPropertyDescriptors,we=Object.getOwnPropertySymbols,De=Object.prototype.hasOwnProperty,Oe=Object.prototype.propertyIsEnumerable,Fe=(dt,ft,gt)=>ft in dt?_e(dt,ft,{enumerable:!0,configurable:!0,writable:!0,value:gt}):dt[ft]=gt,Le=(dt,ft)=>{for(var gt in ft||(ft={}))De.call(ft,gt)&&Fe(dt,gt,ft[gt]);if(we)for(var gt of we(ft))Oe.call(ft,gt)&&Fe(dt,gt,ft[gt]);return dt},Qe=(dt,ft)=>Ce(dt,xe(ft));const He={labelCol:{span:4},wrapperCol:{span:20}};var ze=({callback:dt,onCancel:ft})=>{function gt(Gt){dt(Gt)}return ye.createElement(ve.default,Qe(Le({},He),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:gt,style:{width:500}}),ye.createElement(ve.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},ye.createElement(Pe.default,null)),ye.createElement(ve.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},ye.createElement(Pe.default,null)),ye.createElement("div",{className:"flex-container flex-end"},ye.createElement(Ee.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ye.createElement(Ee.ZP,{type:"ghost",onClick:ft},"\u53D6\u6D88")))},Ke=Se(73278),Ge=Se(56030),ke=Se(43418),Ne=Se(95237),Ve=Se(14573),Je=Se(59301),rt=({callback:dt,onCancel:ft})=>{const gt=document.createElement("canvas"),Gt=gt.getContext("2d");gt.width=1e3,gt.height=800,Gt.fillStyle="#ffffff",Gt.fillRect(0,0,gt.width,gt.height);const un=gt.toDataURL("image/png");return Je.createElement(ke.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},Je.createElement(Ne.Z,{style:{height:"100vh"}},Je.createElement(Ve.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:un,visible:!0,title:String(Date.now())},onOk:$t=>{dt({src:$t.url})},onClose:ft})))},Ye=Se(12378);function Ue(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(Ue,go.CommandHandler),Ue.prototype.canAlignSelection=function(){var dt=this.diagram;return!(dt===null||dt.isReadOnly||dt.isModelReadOnly||dt.selection.count<2)},Ue.prototype.alignLeft=function(){var dt=this.diagram;dt.startTransaction("aligning left");var ft=1/0;dt.selection.each(function(gt){gt instanceof go.Link||(ft=Math.min(gt.position.x,ft))}),dt.selection.each(function(gt){gt instanceof go.Link||gt.move(new go.Point(ft,gt.position.y))}),dt.commitTransaction("aligning left")},Ue.prototype.alignRight=function(){var dt=this.diagram;dt.startTransaction("aligning right");var ft=-1/0;dt.selection.each(function(gt){if(!(gt instanceof go.Link)){var Gt=gt.actualBounds.x+gt.actualBounds.width;ft=Math.max(Gt,ft)}}),dt.selection.each(function(gt){gt instanceof go.Link||gt.move(new go.Point(ft-gt.actualBounds.width,gt.position.y))}),dt.commitTransaction("aligning right")},Ue.prototype.alignTop=function(){var dt=this.diagram;dt.startTransaction("alignTop");var ft=1/0;dt.selection.each(function(gt){gt instanceof go.Link||(ft=Math.min(gt.position.y,ft))}),dt.selection.each(function(gt){gt instanceof go.Link||gt.move(new go.Point(gt.position.x,ft))}),dt.commitTransaction("alignTop")},Ue.prototype.alignBottom=function(){var dt=this.diagram;dt.startTransaction("aligning bottom");var ft=-1/0;dt.selection.each(function(gt){if(!(gt instanceof go.Link)){var Gt=gt.actualBounds.y+gt.actualBounds.height;ft=Math.max(Gt,ft)}}),dt.selection.each(function(gt){gt instanceof go.Link||gt.move(new go.Point(gt.actualBounds.x,ft-gt.actualBounds.height))}),dt.commitTransaction("aligning bottom")},Ue.prototype.alignCenterX=function(){var dt=this.diagram,ft=dt.selection.first();if(ft){dt.startTransaction("aligning Center X");var gt=ft.actualBounds.x+ft.actualBounds.width/2;dt.selection.each(function(Gt){Gt instanceof go.Link||Gt.move(new go.Point(gt-Gt.actualBounds.width/2,Gt.actualBounds.y))}),dt.commitTransaction("aligning Center X")}},Ue.prototype.alignCenterY=function(){var dt=this.diagram,ft=dt.selection.first();if(ft){dt.startTransaction("aligning Center Y");var gt=ft.actualBounds.y+ft.actualBounds.height/2;dt.selection.each(function(Gt){Gt instanceof go.Link||Gt.move(new go.Point(Gt.actualBounds.x,gt-Gt.actualBounds.height/2))}),dt.commitTransaction("aligning Center Y")}},Ue.prototype.alignColumn=function(dt){var ft=this.diagram;ft.startTransaction("align Column"),dt===void 0&&(dt=0),dt=parseFloat(dt);var gt=new Array;ft.selection.each(function(mn){mn instanceof go.Link||gt.push(mn)});for(var Gt=0;Gt0){for(var mn=$t.elt(zn-1);mn!==null&&mn.isTreeExpanded&&!mn.isTreeLeaf;){var Gn=this._sortTreeChildrenByY(mn);mn=Gn.last()}mn!==null&&dt.select(mn)}else dt.select(un)}}else if(gt.key==="Down")if(ft.isTreeExpanded&&!ft.isTreeLeaf){var Gt=this._sortTreeChildrenByY(ft).first();Gt!==null&&dt.select(Gt)}else for(;ft!==null;){var un=ft.findTreeParentNode();if(un===null)break;var $t=this._sortTreeChildrenByY(un),zn=$t.indexOf(ft);if(zn<$t.length-1){dt.select($t.elt(zn+1));break}else ft=un}var An=dt.selection.first();An!==null&&dt.scrollToRect(An.actualBounds)}},Ue.prototype._sortTreeChildrenByY=function(dt){var ft=new go.List().addAll(dt.findTreeChildrenNodes());return ft.sort(function(gt,Gt){var un=gt.location,$t=Gt.location;return un.y<$t.y?-1:un.y>$t.y?1:un.x<$t.x?-1:un.x>$t.x?1:0}),ft},Ue.prototype.copyToClipboard=function(dt){go.CommandHandler.prototype.copyToClipboard.call(this,dt),this._lastPasteOffset.set(this.pasteOffset)},Ue.prototype.pasteFromClipboard=function(){var dt=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(dt,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),dt},Object.defineProperty(Ue.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(dt){if(dt!=="move"&&dt!=="select"&&dt!=="scroll"&&dt!=="tree"&&dt!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+dt);this._arrowKeyBehavior=dt}}),Object.defineProperty(Ue.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(dt){if(!(dt instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+dt);this._pasteOffset.set(dt)}});var Ie=Ue,Ze=Se(29277),Te=Se(43604),We=Se(7660),at={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},et=Se(59301),qe=(dt,ft,gt)=>new Promise((Gt,un)=>{var $t=Gn=>{try{mn(gt.next(Gn))}catch(An){un(An)}},zn=Gn=>{try{mn(gt.throw(Gn))}catch(An){un(An)}},mn=Gn=>Gn.done?Gt(Gn.value):Promise.resolve(Gn.value).then($t,zn);mn((gt=gt.apply(dt,ft)).next())});function Be({onCancel:dt,callback:ft}){let gt=(0,ye.useRef)(),Gt=(0,ye.useRef)(),un=(0,ye.useRef)(),$t=(0,ye.useRef)(!1);const zn=(0,ye.useRef)(!1),[mn,Gn]=(0,ye.useState)(0);function An(){const Wt=Ye.bx.make,Dt={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"};gt.current=new Ye.S0(Gt.current,{padding:20,grid:Wt(Ye.s_,"Grid",Wt(Ye.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Wt(Ye.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:_t=>{var Ht=_t.diagram.commandHandler.addTopLevelParts(_t.diagram.selection,!0);Ht||_t.diagram.currentTool.doCancel()},commandHandler:Wt(Ie),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:_t=>{var Ht=_t.subject;Ht.location=Ht.location.copy().snapToGridPoint(_t.diagram.grid.gridOrigin,_t.diagram.grid.gridCellSize),setTimeout(()=>{_t.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:_t=>{var Ht=_t.subject;setTimeout(()=>{_t.diagram.commandHandler.editTextBlock()})},LinkRelinked:_t=>{var Ht=_t.parameter.part;Ht.invalidateConnectedLinks();var gn=_t.subject;_t.diagram.toolManager.linkingTool.isForwards?gn.toNode.invalidateConnectedLinks():gn.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),gt.current.nodeTemplate=Wt(Ye.NB,"Auto",{locationSpot:Ye.z6.Center,locationObjectName:"SHAPE",desiredSize:new Ye.$u(120,60),minSize:new Ye.$u(40,40),resizable:!0,resizeCellSize:new Ye.$u(10,10),rotatable:!0},new Ye.KX("location","loc",Ye.E9.parse).makeTwoWay(Ye.E9.stringify),new Ye.KX("desiredSize","size",Ye.$u.parse).makeTwoWay(Ye.$u.stringify),Wt(Ye.bn,{name:"SHAPE",fill:Dt.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Ye.z6.AllSides,toSpot:Ye.z6.AllSides},new Ye.KX("figure"),new Ye.KX("fill"),new Ye.KX("stroke","borderColor"),new Ye.KX("strokeWidth","thickness"),new Ye.KX("strokeDashArray","dash")),Wt(Ye.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),Wt(Ye.al,{margin:1,textAlign:"center",overflow:Ye.al.OverflowEllipsis,editable:!0},new Ye.KX("text").makeTwoWay(),new Ye.KX("stroke","color"))),gt.current.nodeTemplate.toolTip=Wt("ToolTip",Wt(Ye.s_,"Vertical",{maxSize:new Ye.$u(200,NaN)},Wt(Ye.al,{font:"bold 10pt sans-serif",textAlign:"center"},new Ye.KX("text")),Wt(Ye.al,{font:"10pt sans-serif",textAlign:"center"},new Ye.KX("text","details"))));function Pt(_t,Ht){var gn=(Kt,xn)=>{Kt.handled=!0,Kt.diagram.model.commit(Wn=>{var In=xn.part.adornedPart,Un=new Ye.E9().setRectSpot(In.actualBounds,_t);Un.subtract(In.location),Un.scale(2,2),Un.x+=Math.sign(Un.x)*130,Un.y+=Math.sign(Un.y)*130,Un.add(In.location),Un.snapToGridPoint(Kt.diagram.grid.gridOrigin,Kt.diagram.grid.gridCellSize);var nr=Wn.copyNodeData(In.data);Wn.setGroupKeyForNodeData(nr,Wn.getGroupKeyForNodeData(In.data)),Wn.addNodeData(nr);var yr={from:In.key,to:Wn.getKeyForNodeData(nr)};Wn.addLinkData(yr);var hr=Kt.diagram.findNodeForData(nr);hr.location=Un,Kt.diagram.select(hr),setTimeout(()=>{Kt.diagram.commandHandler.editTextBlock()},20)})};return Wt(Ye.bn,{figure:Ht,alignment:_t,alignmentFocus:_t.opposite(),width:_t.equals(Ye.z6.Top)||_t.equals(Ye.z6.Bottom)?25:18,height:_t.equals(Ye.z6.Top)||_t.equals(Ye.z6.Bottom)?18:25,fill:"orange",stroke:Dt.white,strokeWidth:4,mouseEnter:(Kt,xn)=>xn.fill="dodgerblue",mouseLeave:(Kt,xn)=>xn.fill="orange",isActionable:!0,click:gn,contextClick:gn})}function Nt(_t){return Wt(Ye.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:(Ht,gn)=>gn.fill="dodgerblue",mouseLeave:(Ht,gn)=>gn.fill="orange",click:(Ht,gn)=>{Ht.diagram.commandHandler.showContextMenu(gn.part.adornedPart)}},_t||{})}gt.current.nodeTemplate.selectionAdornmentTemplate=Wt(Ye.uz,"Spot",Wt(Ye.Vm,{padding:10}),Pt(Ye.z6.Top,"TriangleUp"),Pt(Ye.z6.Left,"TriangleLeft"),Pt(Ye.z6.Right,"TriangleRight"),Pt(Ye.z6.Bottom,"TriangleDown"),Nt({alignment:new Ye.z6(.75,0)}));function Ct(_t,Ht){return(gn,Kt)=>{gn.handled=!0,gn.diagram.model.commit(xn=>{xn.set(Kt.part.adornedPart.data,_t,Ht)})}}function Tt(_t,Ht){return Ht||(Ht="color"),Wt(Ye.bn,{width:16,height:16,stroke:"lightgray",fill:_t,margin:1,background:"transparent",mouseEnter:(gn,Kt)=>Kt.stroke="dodgerblue",mouseLeave:(gn,Kt)=>Kt.stroke="lightgray",click:Ct(Ht,_t),contextClick:Ct(Ht,_t)})}function kt(){return[Wt("ContextMenuButton",Wt(Ye.s_,"Horizontal",Tt(Dt.white,"fill"),Tt(Dt.beige,"fill"),Tt(Dt.extralightblue,"fill"),Tt(Dt.extralightred,"fill"))),Wt("ContextMenuButton",Wt(Ye.s_,"Horizontal",Tt(Dt.lightgray,"fill"),Tt(Dt.lightgreen,"fill"),Tt(Dt.lightblue,"fill"),Tt(Dt.lightred,"fill")))]}function an(){return[Wt("ContextMenuButton",Wt(Ye.s_,"Horizontal",Tt(Dt.black),Tt(Dt.green),Tt(Dt.blue),Tt(Dt.red))),Wt("ContextMenuButton",Wt(Ye.s_,"Horizontal",Tt(Dt.white),Tt(Dt.magenta),Tt(Dt.purple),Tt(Dt.orange)))]}function on(_t,Ht){return Ht||(Ht="thickness"),Wt(Ye.bn,"LineH",{width:16,height:16,strokeWidth:_t,margin:1,background:"transparent",mouseEnter:(gn,Kt)=>Kt.background="dodgerblue",mouseLeave:(gn,Kt)=>Kt.background="transparent",click:Ct(Ht,_t),contextClick:Ct(Ht,_t)})}function vn(_t,Ht){return Ht||(Ht="dash"),Wt(Ye.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:_t,margin:1,background:"transparent",mouseEnter:(gn,Kt)=>Kt.background="dodgerblue",mouseLeave:(gn,Kt)=>Kt.background="transparent",click:Ct(Ht,_t),contextClick:Ct(Ht,_t)})}function Pn(){return[Wt("ContextMenuButton",Wt(Ye.s_,"Horizontal",on(1),on(2),on(3),on(4))),Wt("ContextMenuButton",Wt(Ye.s_,"Horizontal",vn(null),vn([2,4]),vn([4,4])))]}function wn(_t,Ht){return Ht||(Ht="figure"),Wt(Ye.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:_t,margin:1,background:"transparent",mouseEnter:(gn,Kt)=>Kt.fill="dodgerblue",mouseLeave:(gn,Kt)=>Kt.fill="lightgray",click:Ct(Ht,_t),contextClick:Ct(Ht,_t)})}gt.current.nodeTemplate.contextMenu=Wt("ContextMenu",Wt("ContextMenuButton",Wt(Ye.s_,"Horizontal",wn("Rectangle"),wn("RoundedRectangle"),wn("Ellipse"),wn("Diamond"))),Wt("ContextMenuButton",Wt(Ye.s_,"Horizontal",wn("Parallelogram2"),wn("ManualOperation"),wn("Procedure"),wn("Cylinder1"))),Wt("ContextMenuButton",Wt(Ye.s_,"Horizontal",wn("Terminator"),wn("CreateRequest"),wn("Document"),wn("TriangleDown"))),kt(),an(),Pn()),gt.current.groupTemplate=Wt(Ye.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:Ye.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(_t,Ht)=>{var gn=Ht.addMembers(Ht.diagram.selection,!0);gn||Ht.diagram.currentTool.doCancel()},avoidable:!1},new Ye.KX("location","loc",Ye.E9.parse).makeTwoWay(Ye.E9.stringify),Wt(Ye.s_,"Auto",{name:"BODY"},Wt(Ye.bn,{parameter1:10,fill:Dt.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Ye.z6.AllSides,toSpot:Ye.z6.AllSides},new Ye.KX("fill"),new Ye.KX("stroke","color"),new Ye.KX("strokeWidth","thickness"),new Ye.KX("strokeDashArray","dash")),Wt(Ye.Vm,{background:"transparent",margin:20})),Wt(Ye.al,{alignment:Ye.z6.Top,alignmentFocus:Ye.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new Ye.KX("text"),new Ye.KX("stroke","color"))),gt.current.groupTemplate.selectionAdornmentTemplate=Wt(Ye.uz,"Spot",Wt(Ye.s_,"Auto",Wt(Ye.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),Wt(Ye.Vm,{margin:1.5})),Nt({alignment:Ye.z6.TopRight,alignmentFocus:Ye.z6.BottomRight})),gt.current.groupTemplate.contextMenu=Wt("ContextMenu",kt(),an(),Pn()),gt.current.linkTemplate=Wt(Ye.rU,{layerName:"Foreground",routing:Ye.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new Ye.KX("fromSpot","fromSpot",Ye.z6.parse),new Ye.KX("toSpot","toSpot",Ye.z6.parse),new Ye.KX("fromShortLength","dir",_t=>_t>=1?10:0),new Ye.KX("toShortLength","dir",_t=>_t>=1?10:0),new Ye.KX("points").makeTwoWay(),Wt(Ye.bn,{strokeWidth:2},new Ye.KX("stroke","color"),new Ye.KX("strokeWidth","thickness"),new Ye.KX("strokeDashArray","dash")),Wt(Ye.bn,{segmentIndex:0,segmentOffset:new Ye.E9(15,0),segmentOrientation:Ye.rU.OrientAlong,alignmentFocus:Ye.z6.Right,figure:"circle",width:10,strokeWidth:0},new Ye.KX("fill","color"),new Ye.KX("visible","dir",_t=>_t===1)),Wt(Ye.bn,{segmentIndex:-1,segmentOffset:new Ye.E9(-10,6),segmentOrientation:Ye.rU.OrientPlus90,alignmentFocus:Ye.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Ye.KX("fill","color"),new Ye.KX("visible","dir",_t=>_t>=1),new Ye.KX("width","thickness",_t=>7+3*_t),new Ye.KX("height","thickness",_t=>7+3*_t),new Ye.KX("segmentOffset","thickness",_t=>new Ye.E9(-15,4+1.5*_t))),Wt(Ye.bn,{segmentIndex:0,segmentOffset:new Ye.E9(15,-6),segmentOrientation:Ye.rU.OrientMinus90,alignmentFocus:Ye.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Ye.KX("fill","color"),new Ye.KX("visible","dir",_t=>_t===2),new Ye.KX("width","thickness",_t=>7+3*_t),new Ye.KX("height","thickness",_t=>7+3*_t),new Ye.KX("segmentOffset","thickness",_t=>new Ye.E9(-15,4+1.5*_t))),Wt(Ye.al,{alignmentFocus:new Ye.z6(0,1,-4,0),editable:!0},new Ye.KX("text").makeTwoWay(),new Ye.KX("stroke","color"))),gt.current.linkTemplate.selectionAdornmentTemplate=Wt(Ye.uz,Wt(Ye.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:yn(2)},new Ye.KX("pathPattern","thickness",yn)),Nt({alignmentFocus:new Ye.z6(0,0,-6,-4)}));function yn(_t){return Wt(Ye.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(_t+4).toString()+" H3"})}function Tn(_t){var Ht="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return _t===0?Ht="M0 0 M16 16 M0 8 L16 8":_t===2&&(Ht="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),Wt(Ye.bn,{geometryString:Ht,margin:2,background:"transparent",mouseEnter:(gn,Kt)=>Kt.background="dodgerblue",mouseLeave:(gn,Kt)=>Kt.background="transparent",click:Ct("dir",_t),contextClick:Ct("dir",_t)})}function Dn(_t){var Ht=(gn,Kt)=>{gn.handled=!0,gn.diagram.model.commit(xn=>{var Wn=Kt.part.adornedPart;xn.set(Wn.data,_t?"toSpot":"fromSpot",Ye.z6.stringify(Ye.z6.AllSides)),(_t?Wn.toNode:Wn.fromNode).invalidateConnectedLinks()})};return Wt(Ye.bn,{width:12,height:12,fill:"transparent",mouseEnter:(gn,Kt)=>Kt.background="dodgerblue",mouseLeave:(gn,Kt)=>Kt.background="transparent",click:Ht,contextClick:Ht})}function It(_t,Ht){var gn=0,Kt=Ye.z6.RightSide;_t.equals(Ye.z6.Top)?(gn=270,Kt=Ye.z6.TopSide):_t.equals(Ye.z6.Left)?(gn=180,Kt=Ye.z6.LeftSide):_t.equals(Ye.z6.Bottom)&&(gn=90,Kt=Ye.z6.BottomSide),Ht||(gn-=180);var xn=(Wn,In)=>{Wn.handled=!0,Wn.diagram.model.commit(Un=>{var nr=In.part.adornedPart;Un.set(nr.data,Ht?"toSpot":"fromSpot",Ye.z6.stringify(Kt)),(Ht?nr.toNode:nr.fromNode).invalidateConnectedLinks()})};return Wt(Ye.bn,{alignment:_t,alignmentFocus:_t.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:gn,background:"transparent",mouseEnter:(Wn,In)=>In.background="dodgerblue",mouseLeave:(Wn,In)=>In.background="transparent",click:xn,contextClick:xn})}gt.current.linkTemplate.contextMenu=Wt("ContextMenu",an(),Pn(),Wt("ContextMenuButton",Wt(Ye.s_,"Horizontal",Tn(0),Tn(1),Tn(2))),Wt("ContextMenuButton",Wt(Ye.s_,"Horizontal",Wt(Ye.s_,"Spot",Dn(!1),It(Ye.z6.Top,!1),It(Ye.z6.Left,!1),It(Ye.z6.Right,!1),It(Ye.z6.Bottom,!1)),Wt(Ye.s_,"Spot",{margin:new Ye.Zt(0,0,0,2)},Dn(!0),It(Ye.z6.Top,!0),It(Ye.z6.Left,!0),It(Ye.z6.Right,!0),It(Ye.z6.Bottom,!0)))));const qn=`{ "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"}, @@ -937,18 +937,18 @@ {"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 Un=["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 Yn(_t){return console.log("shapeName:",_t),Un.indexOf(_t)>=0}var pn=new Ye.YI(un.current,{maxSelectionCount:1,linkTemplate:zt(Ye.rU,{locationSpot:Ye.z6.Center,selectionAdornmentTemplate:zt(Ye.uz,"Link",{locationSpot:Ye.z6.Center},zt(Ye.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),zt(Ye.bn,{toArrow:"Standard",stroke:null}))},{routing:Ye.rU.AvoidsNodes,curve:Ye.rU.JumpOver,corner:5,toShortLength:4},new Ye.KX("points"),zt(Ye.bn,{isPanelMain:!0,strokeWidth:2}),zt(Ye.bn,{toArrow:"Standard",stroke:null})),model:new Ye.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...Ye.bn.getFigureGenerators().toArray().map(_t=>({text:"\u672A\u547D\u540D",size:"100 100",figure:_t.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return gt.current.addDiagramListener("TextEdited",function(_t){var Ht;const gn=_t.subject.part;var Jt=(Ht=document.activeElement)==null?void 0:Ht.value;typeof Jt=="string"&&Jt.trim()===""&>.current.model.commit(function(_n){_n.set(gn.data,"text","\u672A\u547D\u540D"),gt.current.commandHandler.stopCommand()},"increment")}),pn.nodeTemplate=zt(Ye.NB,"Auto",{locationSpot:Ye.z6.Center},new Ye.KX("location","location",Ye.E9.parse).makeTwoWay(Ye.E9.stringify),zt(Ye.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 Ye.KX("stroke").makeTwoWay(),new Ye.KX("fill").makeTwoWay(),new Ye.KX("figure")),zt(Ye.al,{margin:new Ye.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new Ye.$u(16,16),maxSize:new Ye.$u(10,NaN),textAlign:"center",editable:!0},new Ye.KX("key").makeTwoWay())),setTimeout(()=>{gt.current.grid=zt(Ye.s_,"Grid",zt(Ye.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),zt(Ye.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),gt.current.grid.visible=!0,gt.current.grid.gridCellStroke="darkgray",gt.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=gt.current,gt.current}const er=()=>qe(this,null,function*(){var zt=gt.current.makeImage();const Ot=yield(0,We.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:zt.src}});ft({src:Ot.url})});return(0,ye.useEffect)(()=>(setTimeout(()=>{jn()},500),Nn(hn+1),()=>{gt.current=null}),[]),et.createElement("div",{ref:Gn,className:Kt.current?`${at.maxH60} body-overflow-initial`:"body-overflow-initial"},et.createElement(ke.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!hn,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:et.createElement(Ne.Z,null,et.createElement(Te.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),et.createElement(Te.Z,{onClick:()=>{var zt,Ot,Pt=gt.current.selection.first();if(Kt.current=!Kt.current,document.activeElement&&Pt){let Wt=(Ot=(zt=document.activeElement)==null?void 0:zt.value)==null?void 0:Ot.trim();typeof Wt=="string"&>.current.model.commit(function(Ct){Ct.set(Pt.data,"text",Wt||"\u672A\u547D\u540D"),gt.current.commandHandler.stopCommand()},"increment")}Nn(hn+1)}},et.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:dt},et.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:at.flowChartWrp},et.createElement("div",{style:{display:"flex",height:"100%"}},et.createElement("div",{style:{width:"300px",height:"100%"}},et.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),et.createElement("div",{style:{height:"calc(100% - 50px)"},className:at.myPaletteDiv,ref:un})),et.createElement("div",{style:{flex:1,position:"relative"}},et.createElement("div",{ref:Gt,style:{height:"80vh"}}))),et.createElement("div",{className:"tr"},et.createElement(Ee.ZP,{size:"large",onClick:er,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var Ae=Be,Me=Se(5112),Re=Se(5871);const Xe=Me.ZP.Group,nt={margin:"0 8px"};var $e=({callback:dt,onCancel:ft})=>{function gt(Gt){dt(Gt)}return ye.createElement(ve.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:gt},ye.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},ye.createElement("span",{style:nt},"\u5355\u5143\u683C\u6570\uFF1A"),ye.createElement("span",{style:nt},"\u884C\u6570"),ye.createElement(ve.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},ye.createElement(Re.Z,null)),ye.createElement("span",{style:nt},"\u5217\u6570"),ye.createElement(ve.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},ye.createElement(Re.Z,null))),ye.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},ye.createElement("span",{style:nt},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),ye.createElement(ve.default.Item,{name:"align"},ye.createElement(Xe,null,ye.createElement(Me.ZP,{value:"default"},ye.createElement("i",{className:"fa fa-align-justify"})),ye.createElement(Me.ZP,{value:"left"},ye.createElement("i",{className:"fa fa-align-left"})),ye.createElement(Me.ZP,{value:"center"},ye.createElement("i",{className:"fa fa-align-center"})),ye.createElement(Me.ZP,{value:"right"},ye.createElement("i",{className:"fa fa-align-right"}))))),ye.createElement("div",{className:"flex-container flex-end"},ye.createElement(Ee.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ye.createElement(Ee.ZP,{type:"ghost",onClick:ft},"\u53D6\u6D88")))},tt=Se(78673),st=Se(5559),it=Se.n(st),ut=(0,ye.forwardRef)(({use3d:dt,width:ft,height:gt,callback:Gt,showSaveButton:un},Kt)=>{const Gn=(0,ye.useRef)(),hn=(0,ye.useRef)(),[Nn,jn]=(0,ye.useState)(!1),er=(0,ye.useRef)({id:Gn,appName:"graphing",width:ft||1e3,height:gt||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)(()=>{hn.current=new(it())(er.current,!0),window.onload=function(){hn.current.inject("applet_container")}},[]);const zt=()=>{var Ot=window.ggbApplet.getPNGBase64(1,!0,72);return Gt&&Gt(Ot),Ot};return(0,ye.useEffect)(()=>{er.current.appName=Nn?"3D":"graphing",hn.current.inject("applet_container")},[Nn]),(0,ye.useEffect)(()=>{jn(dt)},[dt]),(0,ye.useImperativeHandle)(Kt,()=>({getImgData:zt})),ye.createElement(ye.Fragment,null,ye.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:Gn}),ye.createElement(Ne.Z,{align:"middle"},ye.createElement(Te.Z,{flex:1},ye.createElement(tt.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:Nn,onChange:Ot=>jn(Ot)})),ye.createElement(Te.Z,null,ye.createElement(Ee.ZP,{size:"large",onClick:zt,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),vt=Se(46531),pt=Se(8591);const mt="link",St="upload-image",xt="add-flowchart",Mt="draw-image",yt="add-flowchart",wt="code-block",Lt="add-table",cn="------------",Vt={default:cn,left:`:${cn}`,center:`:${cn}:`,right:`${cn}:`};var an=Se(50505);function Zt(){}let $t=0;const Ut=1e4,rn="\u2581",In="@\u2581\u2581@",Cn="@\u2581@",xn=` +]}`;var Nn=["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 Yn(_t){return console.log("shapeName:",_t),Nn.indexOf(_t)>=0}var pn=new Ye.YI(un.current,{maxSelectionCount:1,linkTemplate:Wt(Ye.rU,{locationSpot:Ye.z6.Center,selectionAdornmentTemplate:Wt(Ye.uz,"Link",{locationSpot:Ye.z6.Center},Wt(Ye.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),Wt(Ye.bn,{toArrow:"Standard",stroke:null}))},{routing:Ye.rU.AvoidsNodes,curve:Ye.rU.JumpOver,corner:5,toShortLength:4},new Ye.KX("points"),Wt(Ye.bn,{isPanelMain:!0,strokeWidth:2}),Wt(Ye.bn,{toArrow:"Standard",stroke:null})),model:new Ye.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...Ye.bn.getFigureGenerators().toArray().map(_t=>({text:"\u672A\u547D\u540D",size:"100 100",figure:_t.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return gt.current.addDiagramListener("TextEdited",function(_t){var Ht;const gn=_t.subject.part;var Kt=(Ht=document.activeElement)==null?void 0:Ht.value;typeof Kt=="string"&&Kt.trim()===""&>.current.model.commit(function(xn){xn.set(gn.data,"text","\u672A\u547D\u540D"),gt.current.commandHandler.stopCommand()},"increment")}),pn.nodeTemplate=Wt(Ye.NB,"Auto",{locationSpot:Ye.z6.Center},new Ye.KX("location","location",Ye.E9.parse).makeTwoWay(Ye.E9.stringify),Wt(Ye.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 Ye.KX("stroke").makeTwoWay(),new Ye.KX("fill").makeTwoWay(),new Ye.KX("figure")),Wt(Ye.al,{margin:new Ye.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new Ye.$u(16,16),maxSize:new Ye.$u(10,NaN),textAlign:"center",editable:!0},new Ye.KX("key").makeTwoWay())),setTimeout(()=>{gt.current.grid=Wt(Ye.s_,"Grid",Wt(Ye.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Wt(Ye.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),gt.current.grid.visible=!0,gt.current.grid.gridCellStroke="darkgray",gt.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=gt.current,gt.current}const rr=()=>qe(this,null,function*(){var Wt=gt.current.makeImage();const Dt=yield(0,We.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:Wt.src}});ft({src:Dt.url})});return(0,ye.useEffect)(()=>(setTimeout(()=>{An()},500),Gn(mn+1),()=>{gt.current=null}),[]),et.createElement("div",{ref:zn,className:$t.current?`${at.maxH60} body-overflow-initial`:"body-overflow-initial"},et.createElement(ke.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!mn,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:et.createElement(Ne.Z,null,et.createElement(Te.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),et.createElement(Te.Z,{onClick:()=>{var Wt,Dt,Pt=gt.current.selection.first();if($t.current=!$t.current,document.activeElement&&Pt){let Nt=(Dt=(Wt=document.activeElement)==null?void 0:Wt.value)==null?void 0:Dt.trim();typeof Nt=="string"&>.current.model.commit(function(Ct){Ct.set(Pt.data,"text",Nt||"\u672A\u547D\u540D"),gt.current.commandHandler.stopCommand()},"increment")}Gn(mn+1)}},et.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:dt},et.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:at.flowChartWrp},et.createElement("div",{style:{display:"flex",height:"100%"}},et.createElement("div",{style:{width:"300px",height:"100%"}},et.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),et.createElement("div",{style:{height:"calc(100% - 50px)"},className:at.myPaletteDiv,ref:un})),et.createElement("div",{style:{flex:1,position:"relative"}},et.createElement("div",{ref:Gt,style:{height:"80vh"}}))),et.createElement("div",{className:"tr"},et.createElement(Ee.ZP,{size:"large",onClick:rr,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var Ae=Be,Me=Se(5112),Re=Se(5871);const Xe=Me.ZP.Group,nt={margin:"0 8px"};var $e=({callback:dt,onCancel:ft})=>{function gt(Gt){dt(Gt)}return ye.createElement(ve.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:gt},ye.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},ye.createElement("span",{style:nt},"\u5355\u5143\u683C\u6570\uFF1A"),ye.createElement("span",{style:nt},"\u884C\u6570"),ye.createElement(ve.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},ye.createElement(Re.Z,null)),ye.createElement("span",{style:nt},"\u5217\u6570"),ye.createElement(ve.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},ye.createElement(Re.Z,null))),ye.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},ye.createElement("span",{style:nt},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),ye.createElement(ve.default.Item,{name:"align"},ye.createElement(Xe,null,ye.createElement(Me.ZP,{value:"default"},ye.createElement("i",{className:"fa fa-align-justify"})),ye.createElement(Me.ZP,{value:"left"},ye.createElement("i",{className:"fa fa-align-left"})),ye.createElement(Me.ZP,{value:"center"},ye.createElement("i",{className:"fa fa-align-center"})),ye.createElement(Me.ZP,{value:"right"},ye.createElement("i",{className:"fa fa-align-right"}))))),ye.createElement("div",{className:"flex-container flex-end"},ye.createElement(Ee.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ye.createElement(Ee.ZP,{type:"ghost",onClick:ft},"\u53D6\u6D88")))},tt=Se(78673),st=Se(5559),it=Se.n(st),ut=(0,ye.forwardRef)(({use3d:dt,width:ft,height:gt,callback:Gt,showSaveButton:un},$t)=>{const zn=(0,ye.useRef)(),mn=(0,ye.useRef)(),[Gn,An]=(0,ye.useState)(!1),rr=(0,ye.useRef)({id:zn,appName:"graphing",width:ft||1e3,height:gt||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)(()=>{mn.current=new(it())(rr.current,!0),window.onload=function(){mn.current.inject("applet_container")}},[]);const Wt=()=>{var Dt=window.ggbApplet.getPNGBase64(1,!0,72);return Gt&&Gt(Dt),Dt};return(0,ye.useEffect)(()=>{rr.current.appName=Gn?"3D":"graphing",mn.current.inject("applet_container")},[Gn]),(0,ye.useEffect)(()=>{An(dt)},[dt]),(0,ye.useImperativeHandle)($t,()=>({getImgData:Wt})),ye.createElement(ye.Fragment,null,ye.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:zn}),ye.createElement(Ne.Z,{align:"middle"},ye.createElement(Te.Z,{flex:1},ye.createElement(tt.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:Gn,onChange:Dt=>An(Dt)})),ye.createElement(Te.Z,null,ye.createElement(Ee.ZP,{size:"large",onClick:Wt,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),vt=Se(46531),pt=Se(8591);const mt="link",St="upload-image",xt="add-flowchart",Mt="draw-image",yt="add-flowchart",wt="code-block",Lt="add-table",cn="------------",Vt={default:cn,left:`:${cn}`,center:`:${cn}:`,right:`${cn}:`};var rn=Se(50505);function Zt(){}let Jt=0;const zt=1e4,nn="\u2581",jn="@\u2581\u2581@",Cn="@\u2581@",Ln=` **\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`,Ft=["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 At(dt){return/^\d+$/.test(dt)?`${dt}px`:dt}const tn=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",Qt={[tn+"-B"]:"bold",[tn+"-I"]:"italic"},dn={[mt]:"\u6DFB\u52A0\u94FE\u63A5",[wt]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[St]:"\u6DFB\u52A0\u56FE\u7247",[Mt]:"\u6DFB\u52A0\u753B\u56FE",[xt]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[Lt]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var mn=({defaultValue:dt="",onChange:ft,width:gt="100%",height:Gt=400,miniToolbar:un=!1,isFocus:Kt=!1,watch:Gn,insertTemp:hn,mode:Nn="markdown",id:jn="markdown-editor-id",showResizeBar:er=!1,noStorage:zt=!1,showNullButton:Ot=!1,showNullProgramButton:Pt=!1,hidetoolBar:Wt=!1,fullScreen:Ct=!1,onBlur:Dt,onCMBeforeChange:kt,onFullScreen:on,className:sn="",disablePaste:vn=!1,disabled:Pn=!1,disabledFill:wn=!1,placeholder:yn="",values:Ln="",extraUse:On})=>{const[It,qn]=(0,ye.useState)(null),[Un,Yn]=(0,ye.useState)(dt),[pn,_t]=(0,ye.useState)(Gn),[Ht,gn]=(0,ye.useState)(Ct),[Jt,_n]=(0,ye.useState)(""),[Wn,Bn]=(0,ye.useState)(0),[zn,rr]=(0,ye.useState)(Gt),[yr,hr]=(0,ye.useState)(!1),[en,Ar]=(0,ye.useState)(0),[_r,xr]=(0,ye.useState)(0),ur=(0,ye.useRef)(),vr=(0,ye.useRef)(),fr=(0,ye.useRef)(),ar=(0,ye.useRef)();(0,ye.useEffect)(()=>{const Et=window.scrollY||window.pageYOffset;Yn(Ln),It==null||It.setValue(Ln),window.scrollTo(0,Et)},[Ln]),(0,ye.useEffect)(()=>{on==null||on(Ht)},[Ht]),(0,ye.useEffect)(()=>{if(ur.current){let Et=function(Nt,Rt){var ln;if(vn){Rt.preventDefault();return}const qt=Rt.clipboardData;if(qt){const nn=qt.types.toString(),fn=qt.items;if(nn==="Files"||qt.types.indexOf("Files")>-1){if(Rt.preventDefault(),Nn=="stex")return;try{let Yt=fn[1];((ln=fn[0])==null?void 0:ln.kind)==="file"&&(Yt=fn[0]);const Mn=Yt.getAsFile(),En=Mn.name.split(".").pop();(0,Ge.I)(Mn,Fn=>{var Dn,$n,sr;Fn.id?((Dn=Mn==null?void 0:Mn.type)==null?void 0:Dn.indexOf("image"))>-1?jt.replaceSelection(`![,](/api/attachments/${Fn.id}?type=${Fn.content_type})`):(($n=Mn==null?void 0:Mn.type)==null?void 0:$n.indexOf("video"))>-1?jt.replaceSelection(``):((sr=Mn==null?void 0:Mn.type)==null?void 0:sr.indexOf("pdf"))>-1?jt.replaceSelection(`
${Mn.name}`):Ft.includes(En)?jt.replaceSelection(`${Mn.name}`):jt.replaceSelection(`[${Mn.name}](/api/attachments/${Fn.id}?type=${Fn.content_type})`):(Fn==null?void 0:Fn.status)===401&&(document.location.href="/user/login")})}catch(Yt){pt.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const jt=E().fromTextArea(ur.current,{mode:Nn,lineNumbers:!un,lineWrapping:!0,value:dt,autoCloseTags:!0,autoCloseBrackets:!0});return jt.on("keyup",function(Nt,Rt){Rt.keyCode===8&&(Nt.getValue()==""?jt.setOption("placeholder",yn):jt.setOption("placeholder",null))}),jt.on("keydown",function(Nt,Rt){if(Rt.keyCode===8){var ln=Kn(Nt);ln&&Rt.preventDefault()}}),Kt&&jt.focus(),jt.on("paste",Et),Pn&&jt.on("beforeChange",function(Nt,Rt){(Rt.origin==="paste"||Rt.origin==="+input")&&Rt.cancel()}),qn(jt),()=>{jt.off("paste",Et)}}},[]);const Rn=(0,ye.useCallback)(()=>{if(vr.current)try{}catch(Et){console.log(Et,"---- to set md editor body height")}},[zn,vr,Ht]);(0,ye.useEffect)(()=>{function Et(){let jt=new pe.Z(Nt=>{for(let Rt of Nt)(Rt.target.offsetHeight>0||Rt.target.offsetWidth>0)&&(Rn(),It.setSize("100%","100%"),It.refresh())});return jt.observe(ur.current.parentElement),jt}if(It){const jt=Et();return()=>{var Nt,Rt;(Nt=ur.current)!=null&&Nt.parentElement&&jt.unobserve((Rt=ur.current)==null?void 0:Rt.parentElement)}}},[It,Rn]),(0,ye.useEffect)(()=>{if(It){let Et=[];for(const[jt,Nt]of Object.entries(Qt)){let Rt={[jt]:()=>{cr(Nt)}};Et.push(Rt),It.addKeyMap(Rt)}return()=>{for(let jt of Et)It.removeKeyMap(jt)}}},[It]),(0,ye.useEffect)(()=>{Ct!==Ht&&gn(Ct)},[Ct]),(0,an.Z)(()=>{if(!zt&&Wn>0){let Et=new Date().getTime(),jt=window.sessionStorage.getItem(jn);Et>=Wn+Ut&&(!jt||jt!==Un)&&(window.sessionStorage.setItem(jn,Un),hr(!0))}},Ut),(0,ye.useEffect)(()=>{_t(Gn)},[It,Gn]),(0,ye.useEffect)(()=>{It&&Kt&&It.focus()},[It,Kt]),(0,ye.useEffect)(()=>{if(pn&&It){let Et=function(Nt){let Rt=Nt.target;if(ar.current){let ln=Rt.scrollTop/Rt.scrollHeight;ar.current.scrollTop=ar.current.scrollHeight*ln}};const jt=It.getScrollerElement();return jt.addEventListener("scroll",Et),()=>{jt.removeEventListener("scroll",Et)}}},[It,pn]),(0,ye.useEffect)(()=>{if(It&&kt){let Et=function(jt,Nt){kt(jt,Nt)};return It.on("beforeChange",Et),()=>{It.off("beforeChange",Et)}}},[It,kt]),(0,ye.useEffect)(()=>{if(It&&Dt){let Et=function(){Dt(It.getValue())};return It.on("blur",Et),()=>{It.off("blur",Et)}}},[It,Dt]);function Kn(Et,jt){var Nt=Et.getDoc(),Rt=Nt.getCursor(),ln=Nt.getLine(Rt.line),qt=ln.charAt(Rt.ch-1),nn=ln.lastIndexOf("@\u2581@",Rt.ch),fn=ln.lastIndexOf("@\u2581\u2581@",Rt.ch),Yt=nn>fn?nn:fn,Mn=nn>fn?3:4;if(In.indexOf(qt)===-1)return null;if(console.log("change1:",jt,Et,ln,Rt,Yt,nn,fn,qt),Yt>=0&&Rt.ch-Yt<5){var En=Yt+Mn;return Nt.replaceRange("",{line:Rt.line,ch:Yt},{line:Rt.line,ch:En}),{line:Rt.line,ch:En}}return null}(0,ye.useEffect)(()=>{if(It){let Et=function(jt,Nt){const Rt=jt.getValue();Yn(Rt),Bn(new Date().getTime()),jt.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),ft&&(Pt?ft(Rt,Lr(Rt)):ft(Rt))};return It.on("change",Et),()=>{It.off("change",Et)}}},[It,ft]),(0,ye.useEffect)(()=>{if(It)if(dt==null)It.setValue(""),Yn("");else{const Et=window.scrollY||window.pageYOffset;dt!==It.getValue()&&(It.setValue(dt),Yn(dt),It.setCursor(Pn?1:It.lineCount(),0),window.scrollTo(0,Et))}},[It,dt]);const cr=(0,ye.useCallback)(Et=>{const jt=It.getCursor(),Nt=It.getSelection();let Rt=Nt.split(` -`);switch(Et){case"bold":return It.replaceSelection("**"+Nt+"**"),Nt===""&&It.setCursor(jt.line,jt.ch+2),It.focus();case"italic":return It.replaceSelection("*"+Nt+"*"),Nt===""&&It.setCursor(jt.line,jt.ch+1),It.focus();case"code":return It.replaceSelection("`"+Nt+"`"),Nt===""&&It.setCursor(jt.line,jt.ch+1),It.focus();case"inline-latex":return _n("inline-latex"),It.focus();case"latex":return It.replaceSelection("```latex\n"+Nt+"\n```"),It.setCursor(jt.line+1,Nt.length+1),It.focus();case"line-break":return It.replaceSelection(`
-`),It.focus();case"list-ul":return Nt===""?It.replaceSelection("- "+Nt):It.replaceSelection(Rt.map(ln=>ln===""?"":`- ${ln}`).join(` -`)),It.focus();case"list-ol":return Nt===""?It.replaceSelection("1. "+Nt):It.replaceSelection(Rt.map((ln,qt)=>ln===""?"":`${qt+1}. ${ln}`).join(` -`)),It.focus();case"add-null-ch":return Nt===""&&It.setCursor(jt.line,jt.ch),It.replaceSelection(rn),It.focus();case"add-signal":return Nt===""&&It.setCursor(jt.line,jt.ch),It.replaceSelection(Cn),It.focus();case"add-multiple":return Nt===""&&It.setCursor(jt.line,jt.ch),It.replaceSelection(In),It.focus();case"inster-template-1":return Nt===""&&It.setCursor(jt.line,jt.ch),It.replaceSelection(xn),It.focus();case"eraser":return It.setValue(""),It.focus();case"trigger-watch":return _t(!pn),It.focus();case"trigger-full-screen":return gn(!Ht),It.focus();case mt:_n(mt);return;case wt:_n(wt);return;case St:_n(St);return;case Mt:_n(Mt);return;case"maths-latex":_n("maths-latex");return;case xt:_n(xt);return;case Lt:_n(Lt);return;default:throw new Error}},[It,pn,Ht]),Xn=(0,ye.useCallback)((Et,jt)=>{var Nt,Rt,ln,qt,nn,fn;switch(_n(""),Jt){case mt:const{title:Dn,link:$n}=Et;return It.replaceSelection(`[${Dn}](${$n})`),It.focus();case wt:const{language:sr,content:Sr}=Et;return It.replaceSelection(["```"+sr,Sr,"```"].join(` -`)),It.focus();case"maths-latex":for(var Yt=atob(Et),Mn=new Uint8Array(Yt.length),En=0;En{kn.id?It.replaceSelection(`![,](/api/attachments/${kn.id}?type=${kn.content_type})`):(kn==null?void 0:kn.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":It.replaceSelection("`$$"+Et+"$$`");break;case St:case Mt:case yt:const{src:Pr,alt:tr}=Et,lr=jt,Cr=(ln=(Rt=(Nt=lr==null?void 0:lr.name)==null?void 0:Nt.split("."))==null?void 0:Rt.pop)==null?void 0:ln.call(Rt);return((qt=lr==null?void 0:lr.type)==null?void 0:qt.indexOf("image"))>-1||!(lr!=null&&lr.type)?tr?It.replaceSelection(`![ ${tr} ]( ${Pr} "${tr}" )`):It.replaceSelection(`![,](${Pr})`):((nn=lr==null?void 0:lr.type)==null?void 0:nn.indexOf("video"))>-1?It.replaceSelection(``):((fn=lr==null?void 0:lr.type)==null?void 0:fn.indexOf("pdf"))>-1?It.replaceSelection(`${lr.name}`):Ft.includes(Cr)?It.replaceSelection(`${lr.name}`):It.replaceSelection(`[${lr.name}](${Pr})`),It.focus();case Lt:const{row:Bt,col:Sn,align:bn}=Et;let Xt=` -`;for(let kn=0;kn{switch(Jt){case mt:return ye.createElement(ze,{callback:Xn,onCancel:or});case wt:return ye.createElement(Ke.Z,{callback:Xn,onCancel:or});case St:return ye.createElement(Ge.Z,{callback:Xn,onCancel:or});case xt:return ye.createElement(Ae,{callback:Xn,onCancel:or});case Lt:return ye.createElement($e,{callback:Xn,onCancel:or});case"maths-latex":return ye.createElement(ut,{showSaveButton:!0,callback:Xn});case"inline-latex":return ye.createElement(vt.Z,{showSaveButton:!0,callback:Xn});default:return null}},[Jt]);function or(){_n("")}(0,ye.useEffect)(()=>{if(fr.current){let Et=function(nn){ln=!0,qt=nn.pageY},jt=function(){ln=!1},Nt=function(nn){if(ln){let fn=nn.pageY-qt;fn<0&&(fn=0),fn>300&&(fn=300);let Yt=Gt+fn+"px";rr(Yt)}},Rt=fr.current,ln=!1,qt=0;return Rt.addEventListener("mousedown",Et),document.addEventListener("mousemove",Nt),document.addEventListener("mouseup",jt),()=>{Rt.removeEventListener("mousedown",Et),document.removeEventListener("mousemove",Nt),document.removeEventListener("mouseup",jt)}}},[It,fr]),(0,ye.useEffect)(()=>{rr(Gt)},[Gt]);const br=At(gt),wr=At(zn),ir={width:br,height:wr},Br=(0,ye.useMemo)(()=>{if(Wn){let Et=new Date(Wn),jt=Et.getHours(),Nt=Et.getMinutes(),Rt=Et.getSeconds();return jt=jt<10?"0"+jt:jt,Nt=Nt<10?"0"+Nt:Nt,Rt=Rt<10?"0"+Rt:Rt,`${jt}:${Nt}:${Rt}`}return 0},[Wn]),Lr=Et=>{const jt=[];if(Pt){let Nt=-1;Et=Et.replace(/(@▁▁@|@▁@)/g,function(Rt,ln,qt){jt.push({multiLine:Rt!==Cn})})}return jt};function Dr(){window.sessionStorage.removeItem(jn),hr(!1),Bn(0)}function jr(){hr(!1),Bn(0),It.setValue(window.sessionStorage.getItem(jn))}(0,ye.useEffect)(()=>{dn[Jt]&&Jt!==Mt&&Jt!==xt&&setTimeout(()=>{const Et=document.getElementsByClassName("markdown-popup-form")[0],jt=window.innerWidth/2-Et.offsetWidth/2,Nt=window.innerHeight/2-Et.offsetHeight/2;Ar(jt),xr(Nt)},0)},[Jt]);const ht=Et=>{Et.preventDefault();const jt=Et.clientX-en,Nt=Et.clientY-_r;document.body.onmousemove=Rt=>{let ln=Rt.clientX-jt,qt=Rt.clientY-Nt;const nn=document.getElementsByClassName("markdown-popup-form")[0],fn=window.innerWidth-nn.offsetWidth,Yt=window.innerHeight-nn.offsetHeight;ln=Math.max(0,Math.min(ln,fn)),qt=Math.max(0,Math.min(qt,Yt)),Tt(Rt.clientX,Rt.clientY,jt,Nt)&&(Ar(ln),xr(qt))},document.body.onmouseup=function(){document.body.onmousemove=null}},Tt=(Et,jt,Nt,Rt)=>{const ln=document.body.clientHeight,qt=document.body.clientWidth;return Et<20&&Nt>Et||Et>qt-20&&Ntjt||jt>ln-20&&Rtfe in ge?ie(ge,fe,{enumerable:!0,configurable:!0,writable:!0,value:me}):ge[fe]=me,a=(ge,fe)=>{for(var me in fe||(fe={}))re.call(fe,me)&&te(ge,me,fe[me]);if(ae)for(var me of ae(fe))ne.call(fe,me)&&te(ge,me,fe[me]);return ge},y=(ge,fe)=>ue(ge,se(fe));const{useForm:x}=ye.default,b={width:280,marginRight:10},ee={labelCol:{span:5},wrapperCol:{span:19}};var z=({callback:ge,onCancel:fe})=>{const[me]=x();let be=(0,ce.useRef)();function ve(_e){ge(_e,be.current)}function Pe(_e,Ce){if(_e.status===-1){je.ZP.error(_e.message);return}me.setFieldsValue({src:`/api/attachments/${_e.id}`,type:Ce.type})}function Ee(_e){let Ce=_e.target.files[0];be.current=Ce,de(Ce,Pe)}return oe.createElement(ye.default,y(a({form:me},ee),{className:"upload-image-panel",onFinish:ve,style:{width:470,overflow:"hidden"}}),oe.createElement(ye.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},oe.createElement("div",{className:"flex-container"},oe.createElement(ye.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u56FE\u7247\u5730\u5740"}]},oe.createElement(E.default,{style:b})),oe.createElement(le,{onFileChange:Ee}))),oe.createElement(ye.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},oe.createElement(E.default,{style:{width:264}})),oe.createElement(ye.default.Item,{style:{textAlign:"right"}},oe.createElement(pe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),oe.createElement(pe.ZP,{type:"default",onClick:fe},"\u53D6\u6D88")))};function le({onFileChange:ge}){return oe.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",oe.createElement("input",{type:"file",onChange:ge}))}function de(ge,fe){if(!ge)throw new String("\u6CA1\u6709\u6587\u4EF6");let me=new FormData;me.append("editormd-image-file",ge),me.append("file_param_name","editormd-image-file"),me.append("byxhr","true");var be=new window.XMLHttpRequest;be.withCredentials=!0,be.addEventListener("load",function(ve){fe(JSON.parse(ve.target.responseText),ge)},!1),be.addEventListener("error",function(ve){console.error(ve)},!1),be.open("POST",`${he.KI}/api/attachments.json`),be.send(me)}},19647:function(ct,ot,Se){"use strict";Se.d(ot,{Z:function(){return E}});var ye=Se(59301),je=Se(4676);class E extends ye.Component{constructor(he){super(he);const ce=window.document;this.node=ce.createElement("div"),ce.body.appendChild(this.node)}render(){const{children:he}=this.props;return(0,je.createPortal)(he,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},57800:function(ct,ot,Se){"use strict";Se.d(ot,{SV:function(){return Be},ZP:function(){return qe}});var ye=Se(59301),je=Se(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"]},pe={quickKey:[{label:"main",content:["public static void main(String[] args) {"," $0","}"].join(` +\u6A21\u677F\u6B63\u6587\u5185\u5BB9\uFF0C\u53EF\u8F93\u5165\u6587\u672C\u5185\u5BB9\u548C\u7C98\u8D34\u56FE\u7247\u7B49\u64CD\u4F5C`,Ft=["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 At(dt){return/^\d+$/.test(dt)?`${dt}px`:dt}const sn=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",qt={[sn+"-B"]:"bold",[sn+"-I"]:"italic"},dn={[mt]:"\u6DFB\u52A0\u94FE\u63A5",[wt]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[St]:"\u6DFB\u52A0\u56FE\u7247",[Mt]:"\u6DFB\u52A0\u753B\u56FE",[xt]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[Lt]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var hn=({defaultValue:dt="",onChange:ft,width:gt="100%",height:Gt=400,miniToolbar:un=!1,isFocus:$t=!1,watch:zn,insertTemp:mn,mode:Gn="markdown",id:An="markdown-editor-id",showResizeBar:rr=!1,noStorage:Wt=!1,showNullButton:Dt=!1,showNullProgramButton:Pt=!1,hidetoolBar:Nt=!1,fullScreen:Ct=!1,onBlur:Tt,onCMBeforeChange:kt,onFullScreen:an,className:on="",disablePaste:vn=!1,disabled:Pn=!1,disabledFill:wn=!1,placeholder:yn="",values:Tn="",extraUse:Dn})=>{const[It,qn]=(0,ye.useState)(null),[Nn,Yn]=(0,ye.useState)(dt),[pn,_t]=(0,ye.useState)(zn),[Ht,gn]=(0,ye.useState)(Ct),[Kt,xn]=(0,ye.useState)(""),[Wn,In]=(0,ye.useState)(0),[Un,nr]=(0,ye.useState)(Gt),[yr,hr]=(0,ye.useState)(!1),[en,Ar]=(0,ye.useState)(0),[_r,xr]=(0,ye.useState)(0),ur=(0,ye.useRef)(),vr=(0,ye.useRef)(),fr=(0,ye.useRef)(),ar=(0,ye.useRef)();(0,ye.useEffect)(()=>{const Et=window.scrollY||window.pageYOffset;Yn(Tn),It==null||It.setValue(Tn),window.scrollTo(0,Et)},[Tn]),(0,ye.useEffect)(()=>{an==null||an(Ht)},[Ht]),(0,ye.useEffect)(()=>{if(ur.current){let Et=function(Ut,Rt){var ln;if(vn){Rt.preventDefault();return}const Xt=Rt.clipboardData;if(Xt){const tn=Xt.types.toString(),fn=Xt.items;if(tn==="Files"||Xt.types.indexOf("Files")>-1){if(Rt.preventDefault(),Gn=="stex")return;try{let Yt=fn[1];((ln=fn[0])==null?void 0:ln.kind)==="file"&&(Yt=fn[0]);const Bn=Yt.getAsFile(),En=Bn.name.split(".").pop();(0,Ge.I)(Bn,Fn=>{var Mn,$n,sr;Fn.id?((Mn=Bn==null?void 0:Bn.type)==null?void 0:Mn.indexOf("image"))>-1?jt.replaceSelection(`![,](/api/attachments/${Fn.id}?type=${Fn.content_type})`):(($n=Bn==null?void 0:Bn.type)==null?void 0:$n.indexOf("video"))>-1?jt.replaceSelection(``):((sr=Bn==null?void 0:Bn.type)==null?void 0:sr.indexOf("pdf"))>-1?jt.replaceSelection(`${Bn.name}`):Ft.includes(En)?jt.replaceSelection(`${Bn.name}`):jt.replaceSelection(`[${Bn.name}](/api/attachments/${Fn.id}?type=${Fn.content_type})`):(Fn==null?void 0:Fn.status)===401&&(document.location.href="/user/login")})}catch(Yt){pt.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const jt=E().fromTextArea(ur.current,{mode:Gn,lineNumbers:!un,lineWrapping:!0,value:dt,autoCloseTags:!0,autoCloseBrackets:!0});return jt.on("keyup",function(Ut,Rt){Rt.keyCode===8&&(Ut.getValue()==""?jt.setOption("placeholder",yn):jt.setOption("placeholder",null))}),jt.on("keydown",function(Ut,Rt){if(Rt.keyCode===8){var ln=Kn(Ut);ln&&Rt.preventDefault()}}),$t&&jt.focus(),jt.on("paste",Et),Pn&&jt.on("beforeChange",function(Ut,Rt){(Rt.origin==="paste"||Rt.origin==="+input")&&Rt.cancel()}),qn(jt),()=>{jt.off("paste",Et)}}},[]);const Rn=(0,ye.useCallback)(()=>{if(vr.current)try{}catch(Et){console.log(Et,"---- to set md editor body height")}},[Un,vr,Ht]);(0,ye.useEffect)(()=>{function Et(){let jt=new pe.Z(Ut=>{for(let Rt of Ut)(Rt.target.offsetHeight>0||Rt.target.offsetWidth>0)&&(Rn(),It.setSize("100%","100%"),It.refresh())});return jt.observe(ur.current.parentElement),jt}if(It){const jt=Et();return()=>{var Ut,Rt;(Ut=ur.current)!=null&&Ut.parentElement&&jt.unobserve((Rt=ur.current)==null?void 0:Rt.parentElement)}}},[It,Rn]),(0,ye.useEffect)(()=>{if(It){let Et=[];for(const[jt,Ut]of Object.entries(qt)){let Rt={[jt]:()=>{cr(Ut)}};Et.push(Rt),It.addKeyMap(Rt)}return()=>{for(let jt of Et)It.removeKeyMap(jt)}}},[It]),(0,ye.useEffect)(()=>{Ct!==Ht&&gn(Ct)},[Ct]),(0,rn.Z)(()=>{if(!Wt&&Wn>0){let Et=new Date().getTime(),jt=window.sessionStorage.getItem(An);Et>=Wn+zt&&(!jt||jt!==Nn)&&(window.sessionStorage.setItem(An,Nn),hr(!0))}},zt),(0,ye.useEffect)(()=>{_t(zn)},[It,zn]),(0,ye.useEffect)(()=>{It&&$t&&It.focus()},[It,$t]),(0,ye.useEffect)(()=>{if(pn&&It){let Et=function(Ut){let Rt=Ut.target;if(ar.current){let ln=Rt.scrollTop/Rt.scrollHeight;ar.current.scrollTop=ar.current.scrollHeight*ln}};const jt=It.getScrollerElement();return jt.addEventListener("scroll",Et),()=>{jt.removeEventListener("scroll",Et)}}},[It,pn]),(0,ye.useEffect)(()=>{if(It&&kt){let Et=function(jt,Ut){kt(jt,Ut)};return It.on("beforeChange",Et),()=>{It.off("beforeChange",Et)}}},[It,kt]),(0,ye.useEffect)(()=>{if(It&&Tt){let Et=function(){Tt(It.getValue())};return It.on("blur",Et),()=>{It.off("blur",Et)}}},[It,Tt]);function Kn(Et,jt){var Ut=Et.getDoc(),Rt=Ut.getCursor(),ln=Ut.getLine(Rt.line),Xt=ln.charAt(Rt.ch-1),tn=ln.lastIndexOf("@\u2581@",Rt.ch),fn=ln.lastIndexOf("@\u2581\u2581@",Rt.ch),Yt=tn>fn?tn:fn,Bn=tn>fn?3:4;if(jn.indexOf(Xt)===-1)return null;if(console.log("change1:",jt,Et,ln,Rt,Yt,tn,fn,Xt),Yt>=0&&Rt.ch-Yt<5){var En=Yt+Bn;return Ut.replaceRange("",{line:Rt.line,ch:Yt},{line:Rt.line,ch:En}),{line:Rt.line,ch:En}}return null}(0,ye.useEffect)(()=>{if(It){let Et=function(jt,Ut){const Rt=jt.getValue();Yn(Rt),In(new Date().getTime()),jt.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),ft&&(Pt?ft(Rt,Lr(Rt)):ft(Rt))};return It.on("change",Et),()=>{It.off("change",Et)}}},[It,ft]),(0,ye.useEffect)(()=>{if(It)if(dt==null)It.setValue(""),Yn("");else{const Et=window.scrollY||window.pageYOffset;dt!==It.getValue()&&(It.setValue(dt),Yn(dt),It.setCursor(Pn?1:It.lineCount(),0),window.scrollTo(0,Et))}},[It,dt]);const cr=(0,ye.useCallback)(Et=>{const jt=It.getCursor(),Ut=It.getSelection();let Rt=Ut.split(` +`);switch(Et){case"bold":return It.replaceSelection("**"+Ut+"**"),Ut===""&&It.setCursor(jt.line,jt.ch+2),It.focus();case"italic":return It.replaceSelection("*"+Ut+"*"),Ut===""&&It.setCursor(jt.line,jt.ch+1),It.focus();case"code":return It.replaceSelection("`"+Ut+"`"),Ut===""&&It.setCursor(jt.line,jt.ch+1),It.focus();case"inline-latex":return xn("inline-latex"),It.focus();case"latex":return It.replaceSelection("```latex\n"+Ut+"\n```"),It.setCursor(jt.line+1,Ut.length+1),It.focus();case"line-break":return It.replaceSelection(`
+`),It.focus();case"list-ul":return Ut===""?It.replaceSelection("- "+Ut):It.replaceSelection(Rt.map(ln=>ln===""?"":`- ${ln}`).join(` +`)),It.focus();case"list-ol":return Ut===""?It.replaceSelection("1. "+Ut):It.replaceSelection(Rt.map((ln,Xt)=>ln===""?"":`${Xt+1}. ${ln}`).join(` +`)),It.focus();case"add-null-ch":return Ut===""&&It.setCursor(jt.line,jt.ch),It.replaceSelection(nn),It.focus();case"add-signal":return Ut===""&&It.setCursor(jt.line,jt.ch),It.replaceSelection(Cn),It.focus();case"add-multiple":return Ut===""&&It.setCursor(jt.line,jt.ch),It.replaceSelection(jn),It.focus();case"inster-template-1":return Ut===""&&It.setCursor(jt.line,jt.ch),It.replaceSelection(Ln),It.focus();case"eraser":return It.setValue(""),It.focus();case"trigger-watch":return _t(!pn),It.focus();case"trigger-full-screen":return gn(!Ht),It.focus();case mt:xn(mt);return;case wt:xn(wt);return;case St:xn(St);return;case Mt:xn(Mt);return;case"maths-latex":xn("maths-latex");return;case xt:xn(xt);return;case Lt:xn(Lt);return;default:throw new Error}},[It,pn,Ht]),Xn=(0,ye.useCallback)((Et,jt)=>{var Ut,Rt,ln,Xt,tn,fn;switch(xn(""),Kt){case mt:const{title:Mn,link:$n}=Et;return It.replaceSelection(`[${Mn}](${$n})`),It.focus();case wt:const{language:sr,content:Sr}=Et;return It.replaceSelection(["```"+sr,Sr,"```"].join(` +`)),It.focus();case"maths-latex":for(var Yt=atob(Et),Bn=new Uint8Array(Yt.length),En=0;En{kn.id?It.replaceSelection(`![,](/api/attachments/${kn.id}?type=${kn.content_type})`):(kn==null?void 0:kn.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":It.replaceSelection("`$$"+Et+"$$`");break;case St:case Mt:case yt:const{src:Pr,alt:er}=Et,lr=jt,Cr=(ln=(Rt=(Ut=lr==null?void 0:lr.name)==null?void 0:Ut.split("."))==null?void 0:Rt.pop)==null?void 0:ln.call(Rt);return((Xt=lr==null?void 0:lr.type)==null?void 0:Xt.indexOf("image"))>-1||!(lr!=null&&lr.type)?er?It.replaceSelection(`![ ${er} ]( ${Pr} "${er}" )`):It.replaceSelection(`![,](${Pr})`):((tn=lr==null?void 0:lr.type)==null?void 0:tn.indexOf("video"))>-1?It.replaceSelection(``):((fn=lr==null?void 0:lr.type)==null?void 0:fn.indexOf("pdf"))>-1?It.replaceSelection(`${lr.name}`):Ft.includes(Cr)?It.replaceSelection(`${lr.name}`):It.replaceSelection(`[${lr.name}](${Pr})`),It.focus();case Lt:const{row:Bt,col:Sn,align:bn}=Et;let Qt=` +`;for(let kn=0;kn{switch(Kt){case mt:return ye.createElement(ze,{callback:Xn,onCancel:or});case wt:return ye.createElement(Ke.Z,{callback:Xn,onCancel:or});case St:return ye.createElement(Ge.Z,{callback:Xn,onCancel:or});case xt:return ye.createElement(Ae,{callback:Xn,onCancel:or});case Lt:return ye.createElement($e,{callback:Xn,onCancel:or});case"maths-latex":return ye.createElement(ut,{showSaveButton:!0,callback:Xn});case"inline-latex":return ye.createElement(vt.Z,{showSaveButton:!0,callback:Xn});default:return null}},[Kt]);function or(){xn("")}(0,ye.useEffect)(()=>{if(fr.current){let Et=function(tn){ln=!0,Xt=tn.pageY},jt=function(){ln=!1},Ut=function(tn){if(ln){let fn=tn.pageY-Xt;fn<0&&(fn=0),fn>300&&(fn=300);let Yt=Gt+fn+"px";nr(Yt)}},Rt=fr.current,ln=!1,Xt=0;return Rt.addEventListener("mousedown",Et),document.addEventListener("mousemove",Ut),document.addEventListener("mouseup",jt),()=>{Rt.removeEventListener("mousedown",Et),document.removeEventListener("mousemove",Ut),document.removeEventListener("mouseup",jt)}}},[It,fr]),(0,ye.useEffect)(()=>{nr(Gt)},[Gt]);const br=At(gt),wr=At(Un),ir={width:br,height:wr},Br=(0,ye.useMemo)(()=>{if(Wn){let Et=new Date(Wn),jt=Et.getHours(),Ut=Et.getMinutes(),Rt=Et.getSeconds();return jt=jt<10?"0"+jt:jt,Ut=Ut<10?"0"+Ut:Ut,Rt=Rt<10?"0"+Rt:Rt,`${jt}:${Ut}:${Rt}`}return 0},[Wn]),Lr=Et=>{const jt=[];if(Pt){let Ut=-1;Et=Et.replace(/(@▁▁@|@▁@)/g,function(Rt,ln,Xt){jt.push({multiLine:Rt!==Cn})})}return jt};function Dr(){window.sessionStorage.removeItem(An),hr(!1),In(0)}function jr(){hr(!1),In(0),It.setValue(window.sessionStorage.getItem(An))}(0,ye.useEffect)(()=>{dn[Kt]&&Kt!==Mt&&Kt!==xt&&setTimeout(()=>{const Et=document.getElementsByClassName("markdown-popup-form")[0],jt=window.innerWidth/2-Et.offsetWidth/2,Ut=window.innerHeight/2-Et.offsetHeight/2;Ar(jt),xr(Ut)},0)},[Kt]);const ht=Et=>{Et.preventDefault();const jt=Et.clientX-en,Ut=Et.clientY-_r;document.body.onmousemove=Rt=>{let ln=Rt.clientX-jt,Xt=Rt.clientY-Ut;const tn=document.getElementsByClassName("markdown-popup-form")[0],fn=window.innerWidth-tn.offsetWidth,Yt=window.innerHeight-tn.offsetHeight;ln=Math.max(0,Math.min(ln,fn)),Xt=Math.max(0,Math.min(Xt,Yt)),Ot(Rt.clientX,Rt.clientY,jt,Ut)&&(Ar(ln),xr(Xt))},document.body.onmouseup=function(){document.body.onmousemove=null}},Ot=(Et,jt,Ut,Rt)=>{const ln=document.body.clientHeight,Xt=document.body.clientWidth;return Et<20&&Ut>Et||Et>Xt-20&&Utjt||jt>ln-20&&Rtfe in ge?ie(ge,fe,{enumerable:!0,configurable:!0,writable:!0,value:me}):ge[fe]=me,a=(ge,fe)=>{for(var me in fe||(fe={}))re.call(fe,me)&&te(ge,me,fe[me]);if(ae)for(var me of ae(fe))ne.call(fe,me)&&te(ge,me,fe[me]);return ge},y=(ge,fe)=>ue(ge,se(fe));const{useForm:x}=ye.default,b={width:280,marginRight:10},ee={labelCol:{span:5},wrapperCol:{span:19}};var z=({callback:ge,onCancel:fe})=>{const[me]=x();let be=(0,ce.useRef)();function ve(_e){ge(_e,be.current)}function Pe(_e,Ce){if(_e.status===-1){je.ZP.error(_e.message);return}me.setFieldsValue({src:`/api/attachments/${_e.id}`,type:Ce.type})}function Ee(_e){let Ce=_e.target.files[0];be.current=Ce,de(Ce,Pe)}return oe.createElement(ye.default,y(a({form:me},ee),{className:"upload-image-panel",onFinish:ve,style:{width:470,overflow:"hidden"}}),oe.createElement(ye.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},oe.createElement("div",{className:"flex-container"},oe.createElement(ye.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u56FE\u7247\u5730\u5740"}]},oe.createElement(E.default,{style:b})),oe.createElement(le,{onFileChange:Ee}))),oe.createElement(ye.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},oe.createElement(E.default,{style:{width:264}})),oe.createElement(ye.default.Item,{style:{textAlign:"right"}},oe.createElement(pe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),oe.createElement(pe.ZP,{type:"default",onClick:fe},"\u53D6\u6D88")))};function le({onFileChange:ge}){return oe.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",oe.createElement("input",{type:"file",onChange:ge}))}function de(ge,fe){if(!ge)throw new String("\u6CA1\u6709\u6587\u4EF6");let me=new FormData;me.append("editormd-image-file",ge),me.append("file_param_name","editormd-image-file"),me.append("byxhr","true");var be=new window.XMLHttpRequest;be.withCredentials=!0,be.addEventListener("load",function(ve){fe(JSON.parse(ve.target.responseText),ge)},!1),be.addEventListener("error",function(ve){console.error(ve)},!1),be.open("POST",`${he.KI}/api/attachments.json`),be.send(me)}},19647:function(ct,ot,Se){"use strict";Se.d(ot,{Z:function(){return E}});var ye=Se(59301),je=Se(4676);class E extends ye.Component{constructor(he){super(he);const ce=window.document;this.node=ce.createElement("div"),ce.body.appendChild(this.node)}render(){const{children:he}=this.props;return(0,je.createPortal)(he,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},57800:function(ct,ot,Se){"use strict";Se.d(ot,{SV:function(){return Be},ZP:function(){return qe}});var ye=Se(59301),je=Se(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"]},pe={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"]},he={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(` @@ -968,7 +968,7 @@ `)},{label:"include ",content:["#include "].join(` `)}]},ce={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(` `)}]},oe={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=Se(7947),ue=Se.n(ie),se=Object.defineProperty,ae=Object.defineProperties,re=Object.getOwnPropertyDescriptors,ne=Object.getOwnPropertySymbols,te=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,y=(Ae,Me,Re)=>Me in Ae?se(Ae,Me,{enumerable:!0,configurable:!0,writable:!0,value:Re}):Ae[Me]=Re,x=(Ae,Me)=>{for(var Re in Me||(Me={}))te.call(Me,Re)&&y(Ae,Re,Me[Re]);if(ne)for(var Re of ne(Me))a.call(Me,Re)&&y(Ae,Re,Me[Re]);return Ae},b=(Ae,Me)=>ae(Ae,re(Me)),ee=(Ae,Me,Re)=>new Promise((Xe,nt)=>{var $e=it=>{try{st(Re.next(it))}catch(lt){nt(lt)}},tt=it=>{try{st(Re.throw(it))}catch(lt){nt(lt)}},st=it=>it.done?Xe(it.value):Promise.resolve(it.value).then($e,tt);st((Re=Re.apply(Ae,Me)).next())});const z={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"]}},le=(Ae,Me)=>Me.map(Re=>({label:Re,kind:Ae.languages.CompletionItemKind.Keyword,insertText:Re})),de=Ae=>Object.keys(z.tables).map(Me=>({label:Me,kind:Ae.languages.CompletionItemKind.Variable,insertText:Me})),ge=(Ae,Me)=>{const Re=z.tables[Ae];return Re?Re.map(Xe=>({label:Xe,kind:Me.languages.CompletionItemKind.Field,insertText:Xe})):[]};function fe(Ae,Me,Re,Xe,nt){let $e=Me.getWordUntilPosition(Re),tt={startLineNumber:Re.lineNumber,endLineNumber:Re.lineNumber,startColumn:$e.startColumn,endColumn:$e.endColumn},st=Xe.map(it=>({label:it,kind:Ae.languages.CompletionItemKind.Keyword,insertText:it,insertTextRules:Ae.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:tt}));return nt.map(it=>{st.push(b(x({},it),{range:tt}))}),st}var me=Ae=>{z.languages.map(nt=>(Ae.languages.registerDocumentFormattingEditProvider(nt,{provideDocumentFormattingEdits($e,tt,st){return ee(this,null,function*(){const it=ue()($e.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:$e.getFullModelRange(),text:it}]})}}),nt));const Me=he.quickKey.map(nt=>({label:nt.label,kind:Ae.languages.CompletionItemKind.Method,insertText:nt.content,insertTextRules:Ae.languages.CompletionItemInsertTextRule.InsertAsSnippet})),Re=ce.quickKey.map(nt=>({label:nt.label,kind:Ae.languages.CompletionItemKind.Method,insertText:nt.content,insertTextRules:Ae.languages.CompletionItemInsertTextRule.InsertAsSnippet})),Xe=pe.quickKey.map(nt=>({label:nt.label,kind:Ae.languages.CompletionItemKind.Method,insertText:nt.content,insertTextRules:Ae.languages.CompletionItemInsertTextRule.InsertAsSnippet}));Ae.languages.registerCompletionItemProvider("cpp",{provideCompletionItems:function(nt,$e){var tt=nt.getWordUntilPosition($e),st={startLineNumber:$e.lineNumber,endLineNumber:$e.lineNumber,startColumn:tt.startColumn,endColumn:tt.endColumn},it=nt.getLineContent($e.lineNumber).substring(tt.startColumn-2,tt.endColumn);return{suggestions:[...he.keywords.map(lt=>({label:lt,kind:Ae.languages.CompletionItemKind.Function,documentation:lt,insertText:lt,insertTextRules:Ae.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:st})),...he.quickKey.map(lt=>({label:lt.label,kind:Ae.languages.CompletionItemKind.Function,documentation:lt.content,insertText:it.startsWith("#")?lt.content.replace(/#/,""):lt.content,insertTextRules:Ae.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:st}))]}}}),Ae.languages.registerCompletionItemProvider("c",{provideCompletionItems:function(nt,$e){var tt=nt.getWordUntilPosition($e),st={startLineNumber:$e.lineNumber,endLineNumber:$e.lineNumber,startColumn:tt.startColumn,endColumn:tt.endColumn};return{suggestions:[...E.keywords.map(it=>({label:it,kind:Ae.languages.CompletionItemKind.Function,documentation:it,insertText:it,insertTextRules:Ae.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:st}))]}}}),Ae.languages.registerCompletionItemProvider("java",{provideCompletionItems:function(nt,$e){var tt=nt.getWordUntilPosition($e),st={startLineNumber:$e.lineNumber,endLineNumber:$e.lineNumber,startColumn:tt.startColumn,endColumn:tt.endColumn},it=nt.getLineContent($e.lineNumber).substring(tt.startColumn-2,tt.endColumn);return{suggestions:[...pe.keywords.map(lt=>({label:lt,kind:Ae.languages.CompletionItemKind.Function,documentation:lt,insertText:lt,insertTextRules:Ae.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:st})),...pe.quickKey.map(lt=>({label:lt.label,kind:Ae.languages.CompletionItemKind.Function,documentation:lt.content,insertText:it.startsWith("#")?lt.content.replace(/#/,""):lt.content,insertTextRules:Ae.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:st}))]}}}),Ae.languages.registerCompletionItemProvider("scala",{provideCompletionItems:function(nt,$e){var tt=nt.getWordUntilPosition($e),st={startLineNumber:$e.lineNumber,endLineNumber:$e.lineNumber,startColumn:tt.startColumn,endColumn:tt.endColumn},it=nt.getLineContent($e.lineNumber).substring(tt.startColumn-2,tt.endColumn);return{suggestions:[...oe.keywords.map(lt=>({label:lt,kind:Ae.languages.CompletionItemKind.Function,documentation:lt,insertText:lt,insertTextRules:Ae.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:st})),...oe.quickKey.map(lt=>({label:lt.label,kind:Ae.languages.CompletionItemKind.Function,documentation:lt.content,insertText:it.startsWith("#")?lt.content.replace(/#/,""):lt.content,insertTextRules:Ae.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:st}))]}}}),Ae.languages.registerCompletionItemProvider("python",{provideCompletionItems:function(nt,$e){var tt=nt.getWordUntilPosition($e),st={startLineNumber:$e.lineNumber,endLineNumber:$e.lineNumber,startColumn:tt.startColumn,endColumn:tt.endColumn},it=nt.getLineContent($e.lineNumber).substring(tt.startColumn-2,tt.endColumn);return{suggestions:[...ce.keywords.map(lt=>({label:lt,kind:Ae.languages.CompletionItemKind.Function,documentation:lt,insertText:lt,insertTextRules:Ae.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:st})),...ce.quickKey.map(lt=>({label:lt.label,kind:Ae.languages.CompletionItemKind.Function,documentation:lt.content,insertText:it.startsWith("#")?lt.content.replace(/#/,""):lt.content,insertTextRules:Ae.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:st}))]}}})};const be="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002";var ve=Object.defineProperty,Pe=(Ae,Me,Re)=>Me in Ae?ve(Ae,Me,{enumerable:!0,configurable:!0,writable:!0,value:Re}):Ae[Me]=Re,Ee=(Ae,Me,Re)=>Pe(Ae,typeof Me!="symbol"?Me+"":Me,Re);const _e=class Jr{constructor(Me,Re,Xe){this.placeholder=Me,this.editor=Re,this.monaco=Xe,Re.onDidChangeModelContent(()=>this.onDidChangeModelContent()),this.onDidChangeModelContent()}onDidChangeModelContent(){this.editor.getValue()===""?this.editor.addContentWidget(this):this.editor.removeContentWidget(this)}getId(){return Jr.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)}};Ee(_e,"ID","editor.widget.placeholderHint");var xe=_e,we=Se(96236),De=Se(8591),Oe=Se(6848),Fe=Se(89392),Le=Se(50484),Qe=Se(56102),He=Object.defineProperty,ze=Object.defineProperties,Ke=Object.getOwnPropertyDescriptors,Ge=Object.getOwnPropertySymbols,ke=Object.prototype.hasOwnProperty,Ne=Object.prototype.propertyIsEnumerable,Ve=(Ae,Me,Re)=>Me in Ae?He(Ae,Me,{enumerable:!0,configurable:!0,writable:!0,value:Re}):Ae[Me]=Re,Je=(Ae,Me)=>{for(var Re in Me||(Me={}))ke.call(Me,Re)&&Ve(Ae,Re,Me[Re]);if(Ge)for(var Re of Ge(Me))Ne.call(Me,Re)&&Ve(Ae,Re,Me[Re]);return Ae},rt=(Ae,Me)=>ze(Ae,Ke(Me)),Ye=(Ae,Me)=>{var Re={};for(var Xe in Ae)ke.call(Ae,Xe)&&Me.indexOf(Xe)<0&&(Re[Xe]=Ae[Xe]);if(Ae!=null&&Ge)for(var Xe of Ge(Ae))Me.indexOf(Xe)<0&&Ne.call(Ae,Xe)&&(Re[Xe]=Ae[Xe]);return Re},Ue=(Ae,Me,Re)=>new Promise((Xe,nt)=>{var $e=it=>{try{st(Re.next(it))}catch(lt){nt(lt)}},tt=it=>{try{st(Re.throw(it))}catch(lt){nt(lt)}},st=it=>it.done?Xe(it.value):Promise.resolve(it.value).then($e,tt);st((Re=Re.apply(Ae,Me)).next())});function Ie(Ae){return/^\d+$/.test(Ae)?`${Ae}px`:Ae}function Ze(){}let Te=!1;const We={"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 at(Ae=[]){let Me=Ae;if(Array.isArray(Ae)){for(let Re=0;Re{var Me=Ae,{width:Re="100%",height:Xe="100%",value:nt,language:$e="javascript",style:tt={},options:st={},overrideServices:it={},theme:lt="vs-dark",onEditBlur:ut,isCopy:vt=!1,onSave:pt,autoHeight:mt=!1,forbidCopy:St=!1,onChange:xt=Ze,editorDidMount:Mt=Ze,onFocus:yt=Ze,onBreakPoint:wt=Ze,breakPointValue:Lt=[],filename:cn="educoder.txt",errorLine:Vt,errorContent:an="",highlightLine:Zt,openBreakPoint:$t=!1,placeholder:Ut=""}=Me,rn=Ye(Me,["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 In=(0,ye.useRef)(),Cn=(0,ye.useRef)({}),xn=(0,ye.useRef)(),Ft=(0,ye.useRef)(),At=(0,ye.useRef)([]),bt=(0,ye.useRef)(!1),tn=(0,ye.useRef)(),Qt=(0,ye.useRef)(),dn=(0,ye.useRef)(!1),[mn,dt]=(0,ye.useState)(!1);function ft(){let Dt;return In.current&&(Dt=new je.Z(kt=>{for(let on of kt)(on.target.offsetHeight>0||on.target.offsetWidth>0)&&Cn.current.instance.layout()}),Dt.observe(In.current)),Dt}function gt(){De.ZP.warning({content:decodeURIComponent(be),key:"monaco-editor-tip"})}const Gt=()=>{let Dt=Cn.current.instance;if(nt!=null&&Dt&&mn){const kt=Dt.getModel();kt&&nt!==kt.getValue()&&(Te=!0,kt.setValue(nt),Dt.layout(),Te=!1)}};(0,ye.useEffect)(()=>{const Dt=Le.Z.subscribe("formatDocument",kt=>{var on;let sn=Cn.current.instance;(on=sn==null?void 0:sn.getAction)==null||on.call(sn,"editor.action.formatDocument").run()});return window.updateMonacoValue=kt=>{xt(kt)},Dt},[]),(0,ye.useEffect)(()=>{var Dt;let kt=Cn.current.instance;Ft.current&&clearTimeout(Ft.current),Ft.current=setTimeout(()=>{Gt()},500),nt&&(nt!=null&&nt.length)&&((Dt=kt==null?void 0:kt.updateOptions)==null||Dt.call(kt,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(nt.split(/\r\n|\r|\n/g).length))+3,5)}))},[nt,mn,Cn.current]),(0,ye.useEffect)(()=>{if(Vt&&Cn.current&&Cn.current.instance){let kt=Cn.current.instance;kt.changeViewZones(function(on){var sn=document.createElement("div");sn.style.padding="10px 20px",sn.style.width="calc(100% - 20px)",sn.className="my-error-line-wrp",sn.innerHTML=an,on.addZone({afterLineNumber:Vt||11,heightInLines:3,domNode:sn})});var Dt={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}};kt.addOverlayWidget(Dt),kt.revealPositionInCenter({lineNumber:20,column:1})}},[Vt,Cn.current,mn]);const un=(Dt="",kt)=>{if(!Dt||Dt.trim()==="")return!0;const sn=Cn.current.instance.getModel().getLineTokens(kt);let vn=!1;for(let Pn=0;Pn<2;Pn++)sn.getStandardTokenType(Pn)===1&&(vn=!0);return vn};(0,ye.useEffect)(()=>{var Dt;const kt=(Dt=Cn.current)==null?void 0:Dt.instance;if(kt&&mn&&St){const on=kt.onDidBlurEditorWidget(()=>{dn.current=!1}),sn=kt.onDidFocusEditorText(()=>{dn.current=!0});return()=>{on.dispose(),sn.dispose()}}},[Cn.current,mn,St]),(0,ye.useEffect)(()=>{var Dt;if((Dt=Cn.current)!=null&&Dt.instance&&mn&&$t){let kt=Cn.current.instance,on=kt.getModel();if(!on)return;(()=>{var pn;let _t=[],Ht=[];const gn=on.getAllDecorations();for(let _n of gn)_n.options.className==="highlighted-line"&&(_t.push((pn=_n==null?void 0:_n.range)==null?void 0:pn.startLineNumber),Ht.push(_n==null?void 0:_n.id));if(Zt===_t[0])return;on.deltaDecorations(Ht,[]);const Jt=on.getLineCount();Zt&&Zt<=Jt&&(kt.deltaDecorations([],[{range:new et.Range(Zt,1,Zt,on.getLineMaxColumn(Zt)),options:{isWholeLine:!0,className:"highlighted-line"}}]),kt.revealLineInCenter(Zt))})();const vn=(pn=!1)=>{var _t;let Ht=[],gn=[];const Jt=on.getAllDecorations();for(let _n of Jt)_n.options.linesDecorationsClassName==="breakpoints-select"&&(Ht.push((_t=_n==null?void 0:_n.range)==null?void 0:_t.startLineNumber),gn.push(_n==null?void 0:_n.id));if(pn)return{lines:Ht,ids:gn};wt(Ht)},Pn=pn=>Ue(void 0,null,function*(){let _t={range:new et.Range(pn,1,pn,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield on.deltaDecorations([],[_t]),vn()}),wn=pn=>Ue(void 0,null,function*(){let _t=[];const Ht=kt.getLineDecorations(pn);for(let gn of Ht)gn.options.linesDecorationsClassName==="breakpoints-select"&&_t.push(gn.id);yield on.deltaDecorations(_t,[]),vn()}),yn=pn=>{let _t=kt.getLineDecorations(pn);for(let Ht of _t)if(Ht.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,Fe.isEqual)(Lt,vn(!0).lines)){on.deltaDecorations(vn(!0).ids,[]);const pn=Lt.map(_t=>({range:new et.Range(_t,1,_t,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));on.deltaDecorations([],pn)}const Ln=kt.onDidChangeModelContent(pn=>{let _t=kt.getPosition();if(_t){let Ht=_t.lineNumber;clearTimeout(Qt.current),Qt.current=setTimeout(()=>{un(on.getLineContent(Ht),Ht)?wn(Ht):yn(Ht)?(wn(Ht),Pn(Ht)):vn()},100)}}),On=kt.onMouseDown(pn=>{var _t,Ht,gn;if(pn.target.detail&&((gn=(Ht=(_t=pn.target)==null?void 0:_t.element)==null?void 0:Ht.className)!=null&&gn.includes("line-numbers"))){let Jt=pn.target.position.lineNumber;if(un(on.getLineContent(Jt),Jt))return;yn(Jt)?wn(Jt):Pn(Jt)}}),It=pn=>{let _t={range:new et.Range(pn,1,pn,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};At.current=kt.deltaDecorations(At.current,[_t])},qn=()=>{At.current=kt.deltaDecorations(At.current,[])},Un=kt.onMouseMove(pn=>{var _t,Ht,gn;if(qn(),pn.target.detail&&((gn=(Ht=(_t=pn.target)==null?void 0:_t.element)==null?void 0:Ht.className)!=null&&gn.includes("line-numbers"))){let Jt=pn.target.position.lineNumber;if(un(on.getLineContent(Jt),Jt))return;It(Jt)}}),Yn=kt.onMouseLeave(()=>{qn()});return()=>{Ln.dispose(),On.dispose(),Un.dispose(),Yn.dispose()}}},[Cn.current,mn,Lt,Zt,$t,$e]),(0,ye.useEffect)(()=>{var Dt;(Dt=Cn.current)!=null&&Dt.instance&&$t&&Cn.current.instance.setPosition({lineNumber:0,column:0})},[Zt]);function Kt(){let Dt=Cn.current.instance;if(Dt){const kt=Dt.getSelection(),on=Cn.current.pastePos||{},sn=new et.Range(on.startLineNumber||kt.endLineNumber,on.startColumn||kt.endColumn,on.endLineNumber||kt.endLineNumber,on.endColumn||kt.endColumn);setTimeout(()=>{Dt.executeEdits("",[{range:sn,text:""}])},300)}}function Gn(Dt){(window.navigator.platform.match("Mac")?Dt.metaKey:Dt.ctrlKey)&&Dt.keyCode==83&&(Dt.preventDefault(),pt())}const hn=()=>{if(mt&&Cn.current.instance){const Dt=Cn.current.instance.getContentHeight();Wt(Dt{if(!dn.current)return;const{keyCode:kt,ctrlKey:on,metaKey:sn,target:vn,type:Pn}=Dt;return(Pn==="paste"||(kt===67||kt===86)&&(sn||on))&&vn.nodeName==="TEXTAREA"&&(gt(),Dt.preventDefault()),!1};function er(Dt,kt){var on=window.URL||window.webkitURL||window,sn=new Blob([kt]),vn=document.createElementNS("http://www.w3.org/1999/xhtml","a");vn.href=on.createObjectURL(sn),vn.download=Dt,Nn(vn)}(0,ye.useEffect)(()=>{hn()},[hn]),(0,ye.useEffect)(()=>{In.current&&!mn&&Promise.all([Se.e(8909),Se.e(6894)]).then(Se.bind(Se,71448)).then(Dt=>{try{et=Dt,Cn.current.instance=et.editor.create(In.current,{value:nt,language:at($e),theme:lt,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0},it);const kt=Cn.current.instance;let vn=[...we.BH._menuItems].find(Ln=>Ln[0]._debugName=="EditorContext")[1],Pn=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],wn=(Ln,On)=>{var It,qn;let Un=Ln._first;do On.includes((qn=(It=Un.element)==null?void 0:It.command)==null?void 0:qn.id)&&Ln._remove(Un);while(Un=Un.next)};if(Mt(kt,et),setTimeout(()=>{hn(),Cn.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{er(cn||"educoder.txt",kt.getValue())}})},500),Cn.current.subscription=kt.onDidChangeModelContent(Ln=>{bt.current?clearTimeout(tn.current):(hn(),xt(kt.getValue(),Ln)),tn.current=setTimeout(()=>{bt.current=!1},500)}),window.Monaco||me(et,at($e)),St&&(wn(vn,Pn),In.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",jn),window.removeEventListener("paste",jn),window.addEventListener("keydown",jn),window.addEventListener("paste",jn)),window.Monaco=et,ut&&kt.onDidBlurEditorWidget(()=>{ut(kt.getValue())}),yt&&kt.onDidFocusEditorText(()=>{yt(kt.getValue())}),St)try{kt.onDidPaste(Ln=>{const On=kt.getSelection(),It=Cn.current.pastePos||{},qn=new et.Range(It.startLineNumber||On.endLineNumber,It.startColumn||On.endColumn,It.endLineNumber||On.endLineNumber,It.endColumn||On.endColumn);kt.executeEdits("",[{range:Ln.range,text:""}])})}catch(Ln){}let yn=ft();return Ut&&typeof Ut=="string"&&new xe(Ut,kt,et),dt(!0),()=>{const Ln=Cn.current.instance;Ln.dispose();const On=Ln.getModel();On&&On.dispose(),Cn.current.subscription&&Cn.current.subscription.dispose(),yn.unobserve(In.current)}}catch(kt){}})},[]),(0,ye.useEffect)(()=>{if(Cn.current.instance&&mn)return document.addEventListener("keydown",Gn,!1),()=>{document.removeEventListener("keydown",Gn)}},[pt,mn]),(0,ye.useEffect)(()=>{let Dt=Cn.current.instance;if(Dt&&mn){let kt=at($e);et.editor.setModelLanguage(Dt.getModel(),kt)}},[$e,mn]),(0,ye.useEffect)(()=>{Cn.current.instance&&mn&&et.editor.setTheme(lt)},[lt,mn]),(0,ye.useEffect)(()=>{let Dt=Cn.current.instance;xn.current=st,Dt&&mn&&(Dt.updateOptions(Je({},st)),setTimeout(()=>{Dt.getModel().updateOptions(Je({},st))},200))},[JSON.stringify(st),mn]),(0,ye.useEffect)(()=>{let Dt=Cn.current.instance;Dt&&mn&&Dt.layout()},[Re,Xe,mn]);const[zt,Ot]=(0,ye.useState)(Ie(Re)),[Pt,Wt]=(0,ye.useState)(Ie(Xe)),Ct=rt(Je({},tt),{width:zt,height:Pt,position:"relative"});return ye.createElement("div",{className:"my-monaco-editor",ref:In,style:Ct},vt&&ye.createElement(Qe.CopyToClipboard,{text:nt,onCopy:()=>De.ZP.success("\u590D\u5236\u6210\u529F")},ye.createElement(Oe.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 Be({width:Ae="100%",height:Me="100%",original:Re,modified:Xe,language:nt,options:$e={}}){const tt=(0,ye.useRef)(),[st,it]=(0,ye.useState)(null);function lt(mt){let St;return tt.current&&(St=new je.Z(xt=>{for(let Mt of xt)(Mt.target.offsetHeight>0||Mt.target.offsetWidth>0)&&mt.layout()}),St.observe(tt.current)),St}(0,ye.useEffect)(()=>(tt.current&&Promise.all([Se.e(8909),Se.e(9404)]).then(Se.bind(Se,2550)).then(mt=>{et=mt;const St=et.editor.createDiffEditor(tt.current,rt(Je({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},$e),{wordWrap:!0}));it(St);let xt=lt(St);return()=>{St.dispose();const Mt=St.getModel();Mt&&Mt.dispose(),xt.unobserve(tt.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,ye.useEffect)(()=>{st&&st.setModel({original:et.editor.createModel(Re,nt),modified:et.editor.createModel(Xe,nt)})},[Re,Xe,nt,st]);const ut=Ie(Ae),vt=Ie(Me),pt={width:ut,height:vt};return ye.createElement("div",{className:"my-diff-editor",ref:tt,style:pt})}},34043:function(ct,ot,Se){"use strict";var ye=Se(58323),je=Se(57809),E=Se(78673),pe=Se(59301);const he=je.default.Option;ot.Z=({isTheoretical:ce,onFontSizeChange:oe,cmFontSize:ie,cmCodeMode:ue,autoFormat:se,onCodeModeChange:ae,onTabToSpace:re,onAutoFormat:ne,formatDocument:te,className:a="",tabToSpace:y,children:x,code_editor:b,challenge:ee})=>{const z={1:"\u7B80\u5355",2:"\u4E2D\u7B49",3:"\u56F0\u96BE"};return pe.createElement("div",{className:`tpi-code-setting ${a}`},pe.createElement("h3",null,"\u4EE3\u7801\u683C\u5F0F"),pe.createElement("section",null,pe.createElement("div",{className:"file-item"},pe.createElement("b",null,"\u663E\u793A\u6A21\u5F0F"),pe.createElement(je.default,{bordered:!1,size:"small",value:ue,onChange:ae},pe.createElement(he,{value:"vs"},"\u767D\u8272\u80CC\u666F"),pe.createElement(he,{value:"vs-dark"},"\u9ED1\u8272\u80CC\u666F"))),!ce&&pe.createElement(pe.Fragment,null,pe.createElement("div",{className:"file-item"},pe.createElement("b",null,"\u5B57\u4F53\u5927\u5C0F"),pe.createElement(je.default,{bordered:!1,size:"small",value:ie,onChange:oe},pe.createElement(he,{value:12},"12px"),pe.createElement(he,{value:14},"14px"),pe.createElement(he,{value:16},"16px"),pe.createElement(he,{value:18},"18px"),pe.createElement(he,{value:20},"20px"),pe.createElement(he,{value:22},"22px"))),pe.createElement("div",{className:"file-item"},pe.createElement("b",null,"Tab\u8F6C\u6362"),pe.createElement(E.Z,{checked:y,onChange:re})),pe.createElement("div",{className:"file-item",onClick:te},pe.createElement("b",{style:{cursor:"pointer"}},"\u683C\u5F0F\u5316\u4EE3\u7801")))),!ce&&pe.createElement(pe.Fragment,null,pe.createElement("h3",null,"\u5FEB\u6377\u952E"),pe.createElement("section",null,pe.createElement("div",{className:"file-item"},pe.createElement("b",null,"\u4FDD\u5B58\u4EE3\u7801"),pe.createElement("span",null,"Ctrl + S")),pe.createElement("div",{className:"file-item"},pe.createElement("b",null,"\u5524\u51FA\u5FEB\u6377\u952E\u5217\u8868"),pe.createElement("span",null,"F1 / Alt + F1")),pe.createElement("div",{className:"file-item"},pe.createElement("b",null,"\u5DE6\u53F3\u7F29\u8FDB"),pe.createElement("span",null,"Ctrl + ]/[")),pe.createElement("div",{className:"file-item"},pe.createElement("b",null,"\u8DF3\u5230\u5339\u914D\u7684\u62EC\u53F7"),pe.createElement("span",null,"Ctrl + Shift + \\")),pe.createElement("div",{className:"file-item"},pe.createElement("b",null,"\u8F6C\u5230\u884C\u9996"),pe.createElement("span",null,"Home")),pe.createElement("div",{className:"file-item"},pe.createElement("b",null,"\u8F6C\u5230\u884C\u5C3E"),pe.createElement("span",null,"End"))),x),!ce&&pe.createElement(pe.Fragment,null,pe.createElement("h3",null,"\u5FEB\u6377\u952E"),pe.createElement("section",null,pe.createElement("div",{className:"file-item"},pe.createElement("b",null,"\u5B9E\u8BAD\u96BE\u6613\u5EA6"),pe.createElement("span",null,z[ee==null?void 0:ee.difficulty])),pe.createElement("div",{className:"file-item"},pe.createElement("b",null,"\u5B9E\u9A8C\u73AF\u5883"),pe.createElement("span",null,b==null?void 0:b.name)),pe.createElement("div",{className:"file-item"},pe.createElement("b",null,"\u5B9E\u9A8C\u5BB9\u5668\u7F51\u7EDC"),pe.createElement("span",null,b!=null&&b.close_internet?"\u5173\u95ED\u5916\u7F51":"\u5F00\u542F\u5916\u7F51")))))}},50505:function(ct,ot,Se){"use strict";Se.d(ot,{Z:function(){return je}});var ye=Se(59301);function je(E,pe){const he=(0,ye.useRef)();(0,ye.useEffect)(()=>{he.current=E}),(0,ye.useEffect)(()=>{function ce(){he.current()}if(pe!==null){let oe=setInterval(ce,pe);return()=>clearInterval(oe)}},[pe])}},38992:function(ct,ot,Se){"use strict";var ye=Se(59301),je=Se(31797),E=Se(5871),pe=Se(78241),he=Se(43418),ce=Se(71418),oe=Se(1710),ie=Se(92832),ue=Se(95237),se=Se(43604),ae=Se(3113),re=Se(30897),ne=Se(61186),te=Se.n(ne),a=Se(24459),y=Se(88230),x=Se(93261),b=Se(73898),ee=Se(59579),z=Se(59301),le=(me,be,ve)=>new Promise((Pe,Ee)=>{var _e=we=>{try{xe(ve.next(we))}catch(De){Ee(De)}},Ce=we=>{try{xe(ve.throw(we))}catch(De){Ee(De)}},xe=we=>we.done?Pe(we.value):Promise.resolve(we.value).then(_e,Ce);xe((ve=ve.apply(me,be)).next())});const{Countdown:de}=je.default,ge=({value:me,onChange:be,MaxMinutes:ve})=>z.createElement(z.Fragment,null,z.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",z.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",z.createElement("br",null)),z.createElement(E.Z,{value:me,onChange:be,min:0,precision:0,max:ve,style:{width:"100%"},placeholder:`\u6700\u5927\u53EF\u5EF6\u957F\u65F6\u95F4\u4E3A${ve}\u5206\u949F\uFF0C\u5728\u5B66\u751F\u5269\u4F59\u65F6\u95F4\u57FA\u7840\u4E0A\u5EF6\u65F6`,addonAfter:"\u5206\u949F"})),fe=({exercise:me,successCb:be,dispatch:ve})=>{var Pe,Ee,_e,Ce;const xe=(0,a.useParams)(),[we]=pe.default.useForm(),De=pe.default.useWatch("time",we),[Oe,Fe]=(0,ye.useState)(!1),Le=(0,ye.useRef)(),{actionTabs:Qe}=me,[He,ze]=(0,ye.useState)(),[,Ke,Ge,ke]=(0,ee.U)(re.n7,{id:xe.categoryId}),[,Ne,Ve]=(0,ee.U)(re.Cd,{});(0,ye.useEffect)(()=>{me.actionTabs.key==="student-unlock"&&(Fe(!1),we.resetFields())},[me.actionTabs.key]);const Je=()=>new Promise(et=>le(void 0,null,function*(){var qe,Be;return Le.current=yield(0,x.y)({ip_limit:(qe=Qe==null?void 0:Qe.exerciseParams)==null?void 0:qe.ip_limit,ip_bind:(Be=Qe==null?void 0:Qe.exerciseParams)==null?void 0:Be.ip_bind_type}),et()})),rt=()=>le(void 0,null,function*(){var et,qe,Be,Ae,Me;yield we.validateFields();const Re=we.getFieldsValue();if(Fe(!0),(((et=Qe==null?void 0:Qe.exerciseParams)==null?void 0:et.ip_limit)!=="no"||(qe=Qe==null?void 0:Qe.exerciseParams)!=null&&qe.ip_bind_type)&&(yield Je()),(yield(0,re.ZD)((Be=Qe==null?void 0:Qe.exerciseParams)==null?void 0:Be.id,{exercise_user_id:(Ae=Qe==null?void 0:Qe.exerciseParams)==null?void 0:Ae.exercise_user_id,unlock_key:Re.unlock_key,time:Re.time,ip:Le.current})).status===0){if(be){ve({type:"exercise/setActionTabs",payload:{}}),be();return}const nt=Qe==null?void 0:Qe.exerciseParams;(0,y.nr)({inner_ip:nt.inner_ip,public_ip:nt.public_ip,open_camera:nt.open_camera,ip_limit:nt.ip_limit,ip_bind:nt.ip_bind,ip_bind_type:nt.ip_bind_type,exercise_tips:nt.exercise_tips,exerciseId:nt.id,screen_open:nt.screen_open,screen_num:nt.screen_num,screen_sec:nt.screen_sec,coursesId:xe.coursesId,login:(Me=(0,b.eY)())==null?void 0:Me.login,history,identity_verify:nt.identity_verify,open_phone_video_recording:nt.open_phone_video_recording,current_status:nt.current_status}),ve({type:"exercise/setActionTabs",payload:{}})}Fe(!1)}),Ye=[{title:"IP\u5730\u5740",dataIndex:"ip",key:"ip",render:et=>z.createElement("span",{className:et.indexOf("\u5F02\u5E38")>-1?"c-red":"c-green"},et)},{title:"\u6D4F\u89C8\u5668",dataIndex:"browser",key:"browser",render:et=>z.createElement("span",{className:et.indexOf("\u5F02\u5E38")>-1?"c-red":"c-green"},et)},{title:"\u4E0A\u6B21\u767B\u5F55\u65F6\u95F4",dataIndex:"last_login_time",key:"last_login_time"}],Ue=((Pe=Qe==null?void 0:Qe.exerciseParams)==null?void 0:Pe.errorMessage)&&typeof((Ee=Qe==null?void 0:Qe.exerciseParams)==null?void 0:Ee.errorMessage)=="object";(0,ye.useEffect)(()=>{me.actionTabs.key==="student-unlock"&&le(void 0,null,function*(){const et=yield Ve(xe);yield Ge({}),et.status||ze(et)})},[me.actionTabs.key]);const{time:Ie,end_time:Ze}=(He==null?void 0:He.exercise)||{},Te=ke!=null&&ke.user_end_time?te()(ke==null?void 0:ke.user_end_time).add(1,"minutes"):te()(),We=te()(ke==null?void 0:ke.user_total_end_time)>Te?Math.round(te().duration(te()(ke==null?void 0:ke.user_total_end_time).diff(Te.startOf("minute"))).asMinutes()):0,at=((ke==null?void 0:ke.student_left_minutes)||0)+(De||0);return z.createElement(z.Fragment,null,z.createElement(he.default,{width:514,centered:!0,closable:!!((_e=Qe==null?void 0:Qe.exerciseParams)!=null&&_e.unlockClose),maskClosable:!1,keyboard:!1,maskStyle:{background:"#000"},title:"\u63D0\u793A",open:me.actionTabs.key==="student-unlock",footer:null,onCancel:()=>{ve({type:"exercise/setActionTabs",payload:{}})}},z.createElement(ce.Z,{spinning:Ke||Ne},Ue&&z.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 "),!Ue&&z.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"),Ue&&z.createElement(oe.default,{className:"mb20",pagination:{hideOnSinglePage:!0},dataSource:[((Ce=Qe==null?void 0:Qe.exerciseParams)==null?void 0:Ce.errorMessage)||{}],columns:Ye}),z.createElement("div",{className:""},z.createElement(pe.default,{form:we,layout:"vertical",autoComplete:"off"},z.createElement(pe.default.Item,{label:"\u8003\u8BD5\u89E3\u9501\u7801",name:"unlock_key",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8003\u8BD5\u89E3\u9501\u7801"}]},z.createElement(ie.default.Password,{autoComplete:"off",placeholder:"\u8BF7\u8F93\u5165\u8003\u8BD5\u89E3\u9501\u7801",visibilityToggle:!1})),Ie!==-1?z.createElement(z.Fragment,null,z.createElement(pe.default.Item,{name:"time",label:z.createElement("span",null,"\u5EF6\u957F\u65F6\u95F4\uFF08",z.createElement("span",{style:{color:"#9096A3"}},"\u5F53\u524D\u8003\u8BD5\u622A\u6B62\u65F6\u95F4",te()(ke==null?void 0:ke.user_total_end_time).format("YYYY-MM-DD HH:mm")),"\uFF09")},z.createElement(ge,{MaxMinutes:We})),z.createElement("div",{className:"mb20",style:{color:"#FA6400"}},"\u8BE5\u5B66\u751F\u5269\u4F59\u8003\u8BD5\u65F6\u95F4\uFF1A",z.createElement("span",{className:"ml5"},Ke||Ne?"--":at),"\u5206\u949F",at!==0&&(ke==null?void 0:ke.user_end_time)&&z.createElement("span",null,"\uFF0C\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\uFF1A",z.createElement("span",{className:"ml5"},te()(ke==null?void 0:ke.user_end_time).add(De||0,"m").format("YYYY-MM-DD HH:mm:ss"))))):z.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 ",te()(Ze).format("YYYY-MM-DD HH:mm")))),z.createElement(ue.Z,{justify:"space-between",align:"middle"},z.createElement(se.Z,null),z.createElement(se.Z,null,z.createElement(ae.ZP,{loading:Oe,onClick:rt},"\u8FDB\u5165\u8003\u8BD5"))))))};ot.Z=(0,a.connect)(({exercise:me})=>({exercise:me}))(fe)},47365:function(ct,ot,Se){"use strict";Se.d(ot,{Z:function(){return a}});var ye=Se(59301),je=Se(24459),E=Se(43418),pe=Se(3113),he=Se(71418),ce=Se(5247),oe=Se(70037),ie=Se(57800),ue=Se(24334),se=Se(61186),ae=Se.n(se),re=Se(86723),ne=Se(59301),te=(y,x,b)=>new Promise((ee,z)=>{var le=fe=>{try{ge(b.next(fe))}catch(me){z(me)}},de=fe=>{try{ge(b.throw(fe))}catch(me){z(me)}},ge=fe=>fe.done?ee(fe.value):Promise.resolve(fe.value).then(le,de);ge((b=b.apply(y,x)).next())}),a=({open:y,onClose:x})=>{const[b,ee]=(0,ye.useState)(void 0);console.log((0,je.useLocation)(),33);const z=(0,je.useLocation)();(0,ye.useEffect)(()=>{y&&function(){return te(this,null,function*(){const ze=yield(0,ce.X6)(y);ee(ze.data)})}()},[y]);const{status:le,created_at:de,code:ge,name:fe,language:me,pass_sets_count:be,set_count:ve,error_msg:Pe,output:Ee,input:_e,expected_output:Ce,execute_memory:xe,user:we,execute_time:De,input_file_url:Oe,output_file_url:Fe,is_file:Le,expected_output_file_url:Qe}=b||{};return ne.createElement(E.default,{open:y,width:1e3,onCancel:()=>x(!1),footer:ne.createElement(pe.ZP,{type:"primary",onClick:()=>x(!1)},"\u5173\u95ED"),centered:!0},ne.createElement(he.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:le===0?"c-green":"c-red"},oe.Im[le])," "),ne.createElement("li",null," \u63D0\u4EA4\u65F6\u95F4\uFF1A",ne.createElement("span",null,ae()(de).format("YYYY-MM-DD HH:mm:ss"))," "),ne.createElement("li",null," \u8BED\u8A00\uFF1A",ne.createElement("span",null,me)," "),ne.createElement("li",null," \u6267\u884C\u7528\u65F6\uFF1A",ne.createElement("span",null,De*1e3,"ms")," "),ne.createElement("li",null," ",`${le===re.h.HIDE_COMPILE_STATUS?"--":be} / ${ve} \u4E2A\u901A\u8FC7\u7684\u6D4B\u8BD5\u7528\u4F8B`," ")),(0,oe.gZ)({status:le,error_msg:Pe,execute_time:De,output:Ee,input:_e,expected_output:Ce,input_file_url:Oe,output_file_url:Fe,is_file:Le,expected_output_file_url:Qe}),ne.createElement("h2",null," \u63D0\u4EA4\u7684\u5185\u5BB9 "),ne.createElement(ie.ZP,{height:"200px",width:"100%",language:me==null?void 0:me.toLocaleLowerCase(),value:ue.Base64.decode(ge),options:{readOnly:!0}}))):null)))}},21758:function(ct,ot,Se){"use strict";Se.d(ot,{Im:function(){return ve},Y4:function(){return Ee}});var ye=Se(59301),je=Se(92832),E=Se(8591),pe=Se(3113),he=Se(76826),ce=Se(24334),oe=Se.n(ce),ie=Se(7850),ue=Se(7651),se=Se(99325),ae=Se(88230),re=Se(34376),ne=Se.n(re),te=Se(7660),a=Se(24459),y=Se(47365),x=Se(50484),b=Se(5247),ee=Se(50397),z=Se(90853),le=Se(92310),de=Se.n(le),ge=Se(20736),fe=Se(59301),me=(xe,we,De)=>new Promise((Oe,Fe)=>{var Le=ze=>{try{He(De.next(ze))}catch(Ke){Fe(Ke)}},Qe=ze=>{try{He(De.throw(ze))}catch(Ke){Fe(Ke)}},He=ze=>ze.done?Oe(ze.value):Promise.resolve(ze.value).then(Le,Qe);He((De=De.apply(xe,we)).next())});const{TextArea:be}=je.default,ve={[he.h.HIDE_COMPILE_STATUS]:"\u6682\u4E0D\u652F\u6301\u67E5\u770B",[he.h.NOMATCH]:"\u6D4B\u8BD5\u7528\u4F8B\u7ED3\u679C\u4E0D\u5339\u914D",[he.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 Pe=(xe=>(xe[xe.SET_VISIBLE=0]="SET_VISIBLE",xe[xe.SET_TABINDEX=1]="SET_TABINDEX",xe))(Pe||{});function Ee(xe){const{status:we,error_msg:De,output:Oe,input:Fe,expected_output:Le,is_file:Qe,input_file_url:He,output_file_url:ze,expected_output_file_url:Ke,setMonacoValue:Ge,setData:ke}=xe,Ne=(0,ye.useRef)(),Ve=(0,ye.useRef)(),Je=(0,ye.useRef)();let rt=null;const Ye={minHeight:150,marginBottom:10,paddingLeft:24,background:"#070f19",color:"#fff"};switch((0,ye.useEffect)(()=>{if(Oe&&!Qe&&Ne.current){const Ue=new re.Terminal({fontSize:14,letterSpacing:1,cols:83,rows:10});Ue.open(Ne.current);const Ie=(0,ae.pp)(ce.Base64.decode(Oe));Ue.write(Ie),Ue.setOption("theme",{background:"#1e1e1e"})}if(Fe&&!Qe&&Ve.current){const Ue=new re.Terminal({fontSize:14,letterSpacing:1,cols:83,rows:10});Ue.open(Ve.current),Ue.write((0,ae.pp)(Fe)),Ue.setOption("theme",{background:"#1e1e1e"})}if(Le&&!Qe&&Je.current){const Ue=new re.Terminal({fontSize:14,letterSpacing:1,cols:83,rows:10});Ue.open(Je.current),Ue.write((0,ae.pp)(ce.Base64.decode(Le))),Ue.setOption("theme",{background:"#1e1e1e"})}},[Oe]),we){case he.h.NOMATCH:rt=fe.createElement(fe.Fragment,null,fe.createElement("p",{className:"c-red"},"\u5B9E\u9645\u8F93\u51FA\uFF1A"),!Qe&&fe.createElement("div",{ref:Ne}),Qe&&fe.createElement("div",{style:Ye},fe.createElement("a",{style:{fontSize:"16px"},onClick:()=>me(this,null,function*(){const Ue=yield(0,te.ZP)(ze,{method:"Get",headers:{"Content-Type":"application/xml",Accept:"*/*"}});Ge(Ue),setTimeout(()=>{ke(ze)},200)})},Oe)),fe.createElement("p",{className:"c-red"},"\u9884\u671F\u8F93\u51FA\uFF1A"),!Qe&&fe.createElement("div",{ref:Je}),Qe&&fe.createElement("div",{style:Ye},fe.createElement("a",{style:{fontSize:"16px"},onClick:()=>me(this,null,function*(){const Ue=yield fetch(Ke,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}});Ge(yield Ue.text()),setTimeout(()=>{ke(Ke)},200)})},Le)));break;case he.h.EXECUTEFAILURE:rt=fe.createElement(fe.Fragment,null,fe.createElement("div",{style:{border:"1px #F6F7F9 solid"}},fe.createElement("p",{style:{width:"100%",height:40,background:"#F6F7F9",lineHeight:"40px",color:"#666666",paddingLeft:"12px"}},"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A"),!Qe&&fe.createElement(se.Z,{value:Fe,style:Ye}),Qe&&fe.createElement("div",{style:Ye},fe.createElement("a",{onClick:()=>(0,ae.LR)(He,Fe)},Fe))),fe.createElement("div",{style:{border:"1px #F6F7F9 solid",marginTop:"10px"}},fe.createElement("p",{style:{width:"100%",height:40,background:"#F6F7F9",lineHeight:"40px",color:"#666666",paddingLeft:"12px"}},"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),fe.createElement("pre",{className:ie.Z.error,style:{color:"#E30000",padding:"0 10px"}},ce.Base64.decode(De),"111")));break;case he.h.COMPILEFAILURE:rt=fe.createElement(fe.Fragment,null,fe.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),fe.createElement("pre",{className:ie.Z.error},ce.Base64.decode(De)));break;case he.h.PODFAILURE:rt=fe.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case he.h.TIMEOUT:rt=fe.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return fe.createElement(fe.Fragment,null," ",rt," ")}function _e(xe){const{status:we,error_msg:De,execute_time:Oe,output:Fe,input:Le,expected_output:Qe,is_file:He,input_file_url:ze,output_file_url:Ke,expected_output_file_url:Ge}=xe;let ke=null;switch(we){case he.h.OK:case he.h.NOMATCH:case he.h.EXECUTEFAILURE:case he.h.COMPILEFAILURE:ke=fe.createElement("div",{id:"outputResultRef",className:"h100"});break;case he.h.PODFAILURE:ke=fe.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case he.h.TIMEOUT:ke=fe.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return fe.createElement(fe.Fragment,null," ",ke," ")}function Ce({value:xe,className:we}){return fe.createElement("span",{className:we},xe)}ot.ZP=({input:xe,is_file:we,debuging:De,submitting:Oe,executingMessage:Fe,debugResult:Le,onChangeInput:Qe,onDebugCode:He,onSubmitCode:ze,hack:Ke,user:Ge,submitResult:ke,isWhiteTheme:Ne,topDispatch:Ve})=>{const[Je]=(0,a.useSearchParams)(),rt=(0,a.useParams)(),[Ye,Ue]=(0,ye.useState)(!1),[Ie,Ze]=(0,ye.useState)(!1),[Te,We]=(0,ye.useState)(1),[at,et]=(0,ye.useState)(!1),[qe,Be]=(0,ye.useState)(0),[Ae,Me]=(0,ye.useState)(!1),[Re,Xe]=(0,ye.useState)(""),[nt,$e]=(0,ye.useState)(""),tt=(0,ye.useRef)(),st=(0,ye.useRef)(),it=(0,ye.useRef)(null),lt=(0,ye.useRef)(null),ut=(0,ye.useRef)(null);console.log(ke,"submitResult",rt);const{status:vt,id:pt,input:mt,output:St,expected_output:xt,is_file:Mt,input_file_url:yt,output_file_url:wt,expected_output_file_url:Lt,error_msg:cn,hack_sets:Vt}=ke||{};(0,ye.useEffect)(()=>{vt===0&&(We(1),Be(0))},[vt,pt]),(0,ye.useEffect)(()=>{me(void 0,null,function*(){var At;const bt=yield(0,b.rX)(rt==null?void 0:rt.id,"submit");(bt==null?void 0:bt.status)===0&&(bt!=null&&bt.data&&((At=bt==null?void 0:bt.data)==null?void 0:At.status)!==0?(Ve({type:ee.Types.SET_SUBMIT_RESULT,payload:{submitResult:bt==null?void 0:bt.data}}),We(2),Be(320)):(We(1),Be(0)))})},[rt==null?void 0:rt.id]),(0,ye.useEffect)(()=>{if(tt.current){let Ft=function(ft){Qt=tn.offsetHeight,dn=!0,mn=ft.pageY,ut.current.style.display="block"},At=function(){dn=!1,ut.current.style.display="none"},bt=function(ft){if(dn){an();let gt=mn-ft.pageY,Gt=Qt+gt;if(Gt<0&&(Gt=0),Gt>window.innerHeight-150&&(Gt=window.innerHeight-150),Te===1){Gt<=34?Be(0):Be(Gt);return}console.log(Gt,"resizeH"),Be(Gt)}};const tn=it.current;let Qt=0,dn=!1,mn=0;const dt=document.getElementById("case-y-bar");return dt==null||dt.addEventListener("mousedown",Ft),document.addEventListener("mousemove",bt),document.addEventListener("mouseup",At),()=>{const ft=document.getElementById("case-y-bar");ft==null||ft.removeEventListener("mousedown",Ft),document.removeEventListener("mousemove",bt),document.removeEventListener("mouseup",At)}}},[tt,Te]),(0,ye.useEffect)(()=>{const Ft=x.Z.subscribe("resize-move-bar",an);if(Je.get("type")!=="exercises")return document.addEventListener((0,ge.gH)(),Ut),()=>{document.removeEventListener((0,ge.gH)(),Ut),Ft()}},[]),(0,ye.useEffect)(()=>{});function an(){var Ft,At,bt,tn;const Qt=document.getElementById("outputResultRef");if(Qt){let dn=Qt.dataset.text;st.current.reset(),st.current.writeln(dn);const mn=document.getElementById("outputResultRef").offsetWidth-20,dt=((tn=(bt=(At=(Ft=st.current)==null?void 0:Ft._core)==null?void 0:At._renderService)==null?void 0:bt.dimensions)==null?void 0:tn.actualCellWidth)||10,ft=Math.ceil(mn/dt);st.current.resize(ft,Math.ceil(Qt.clientHeight/16))}}function Zt(){Ue(!Ye),setTimeout(()=>{an()},300),Be(Ye?320:window.innerHeight-150)}function $t(){Ie?(Ze(!1),(0,ge.BU)()):(Ze(!0),(0,ge.Dj)(lt.current))}const Ut=Ft=>{(0,ge.vp)()||Ze(!1)},rn=(0,ye.useMemo)(()=>{if(Le){const{status:Ft,output:At,error_msg:bt}=Le;return setTimeout(()=>{let tn="",Qt=document.getElementById("outputResultRef");At?tn=ce.Base64.decode(At):bt&&(tn=ce.Base64.decode(bt)),st.current=new re.Terminal({fontSize:14,theme:{background:"#181e2e",cursor:"transparent"},rendererType:"dom"}),st.current.open(Qt),st.current.onKey(function(dn){var mn;if(dn.domEvent.key.toLocaleUpperCase()==="C"&&dn.domEvent.ctrlKey){dn.domEvent.preventDefault();let dt=(mn=st.current)==null?void 0:mn.getSelection();navigator.clipboard.writeText(dt).then(()=>{})}}),Qt.dataset.text=tn,st.current.setOption("convertEol",!0),an()},300),fe.createElement(fe.Fragment,null,_e(Le))}return null},[Le]);function In(){var Ft,At;if(!(Ke!=null&&Ke.code)||((Ft=Ke==null?void 0:Ke.code)==null?void 0:Ft.trim().length)===0){(At=E.ZP)==null||At.warning("\u4EE3\u7801\u4E0D\u80FD\u4E3A\u7A7A\uFF0C\u8BF7\u5148\u7F16\u5199\u4EE3\u7801\u540E\uFF0C\u518D\u8FDB\u884C\u8BC4\u6D4B\uFF01");return}We(1),Be(320),He()}const Cn=Ft=>me(void 0,null,function*(){let At=yield(0,te.ZP)(`/api/problems/${Ft}/start.json`,{method:"get",params:{hack_user_id:Ge==null?void 0:Ge.user_id}});At&&(window.location.href=`/myproblems/${At==null?void 0:At.identifier}${window.location.search}`)});function xn(){Mt?navigator.clipboard.writeText(ce.Base64.decode(cn)).then(()=>{E.ZP.success("\u590D\u5236\u9519\u8BEF\u4FE1\u606F\u6210\u529F")}):navigator.clipboard.writeText(ce.Base64.decode(St)).then(()=>{E.ZP.success("\u590D\u5236\u9519\u8BEF\u4FE1\u606F\u6210\u529F")})}return fe.createElement(ye.Fragment,null,fe.createElement("div",{className:de()(ie.Z.case,Ne&&ie.Z.whiteCase),style:{height:qe},ref:it},fe.createElement("div",{className:ie.Z.fullMask,ref:ut}),fe.createElement("div",{className:ie.Z["resize-y-bar"],id:"case-y-bar",ref:tt,draggable:!1},Te===2&&fe.createElement("i",{className:"iconfont icon-guangbiao",draggable:!1})),Te===1&&(qe<=34?fe.createElement("div",{onClick:()=>{Be(320)},className:ie.Z.unfoldBtn},"\u63A7\u5236\u53F0",fe.createElement("i",{className:"iconfont icon-zhankai9 ml10 font12"})):fe.createElement("div",{onClick:()=>{Be(0)},className:ie.Z.unfoldBtn,style:{borderRadius:"0px 0px 8px 8px",top:0}},"\u63A7\u5236\u53F0",fe.createElement("i",{className:"iconfont icon-shouqi8 ml10 font12"}))),fe.createElement("div",null,fe.createElement("div",{className:ie.Z.caseHead},fe.createElement("div",{className:ie.Z.dot}),fe.createElement("div",{className:ie.Z.text},Te===1?"\u8C03\u8BD5\u4EE3\u7801\u7ED3\u679C":"\u8BC4\u6D4B\u7ED3\u679C"),Te===2&&!Oe&&typeof vt=="number"&&fe.createElement(fe.Fragment,null,vt===he.h.OK?fe.createElement("div",{className:ie.Z.pass},fe.createElement("i",{className:"iconfont icon-tongguo font14 mr5"}),"\u8BC4\u6D4B\u901A\u8FC7"):fe.createElement("div",{className:ie.Z.noPass},fe.createElement("i",{className:"iconfont icon-jinggao-3 font14 mr5"}),ve[vt])),fe.createElement("div",{className:ie.Z.btns},Te===2&&!Oe&&fe.createElement(fe.Fragment,null,vt!==he.h.OK&&fe.createElement("div",{onClick:xn},fe.createElement("i",{className:"iconfont icon-fuzhi8"}),"\u590D\u5236\u9519\u8BEF\u4FE1\u606F"),fe.createElement("div",{onClick:()=>{Me(pt)}},fe.createElement("i",{className:"iconfont icon-danceng-xinjianwenjian"}),"\u663E\u793A\u8BE6\u60C5")),Je.get("type")!=="exercises"&&fe.createElement("div",{title:"\u5C55\u5F00/\u6536\u7F29",onClick:()=>Zt()},fe.createElement("i",{className:`iconfont icon-${Ye?"suoxiao1":"fangda"}`})))),fe.createElement("div",{style:{display:Te===1?"block":"none"}},De?fe.createElement(ue.Z,{style:{color:"#1976d2"},message:"\u670D\u52A1\u542F\u52A8\u4E2D..."}):fe.createElement("div",{style:{height:qe-34}},fe.createElement("div",{className:ie.Z.result},fe.createElement("div",{className:ie.Z.left},fe.createElement("div",{className:ie.Z.title},fe.createElement("i",{style:{color:"#00FA95"},className:"iconfont iconfont icon-zidingyiceshiyongli font14 mr5"}),fe.createElement("span",null,"\u81EA\u5B9A\u4E49\u6D4B\u8BD5\u7528\u4F8B")),fe.createElement("div",{className:ie.Z.leftNode},fe.createElement(be,{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:we?"":xe,onChange:Qe}))),fe.createElement("div",{className:ie.Z.right},fe.createElement("div",{className:ie.Z.title},fe.createElement("i",{style:{color:"#00DFFF"},className:"iconfont iconfont icon-daimazhihangjieguo font14 mr5"}),fe.createElement("span",null,"\u4EE3\u7801\u6267\u884C\u7ED3\u679C")),fe.createElement("div",{className:ie.Z.node},Le?rn:fe.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")))))),fe.createElement("div",{style:{display:Te===2?"block":"none"}},Oe?fe.createElement(ue.Z,{style:{color:"#1976d2"},message:"\u670D\u52A1\u542F\u52A8\u4E2D..."}):fe.createElement("div",{style:{height:qe-34,display:"flex",flexDirection:"column",overflow:"hidden"}},fe.createElement("div",{ref:lt,className:ie.Z.elseNode},fe.createElement("div",{className:ie.Z.nameWrap},fe.createElement("i",{style:{color:"#00DFFF"},className:"iconfont iconfont icon-zidingyiceshiyongli font14 mr5"}),fe.createElement("span",null,"\u5B9E\u9645\u8F93\u5165")),fe.createElement("div",{className:ie.Z.scroll},fe.createElement("pre",{className:ie.Z.scrollBox,style:at?{height:Ie?"calc(100vh - 20px)":200}:{height:24,overflow:"hidden"}},!Mt&&fe.createElement(Ce,{value:mt}),Mt&&fe.createElement("a",{style:{fontSize:"16px"},onClick:()=>me(void 0,null,function*(){const Ft=yield fetch(yt,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}});$e(yield Ft.text()),setTimeout(()=>{Xe(yt)},200)})},mt)),mt&&fe.createElement("div",{className:ie.Z.action},fe.createElement("span",{onClick:()=>et(!at)},at?"\u6536\u8D77":"\u5C55\u5F00"),Je.get("type")!=="exercises"&&fe.createElement("i",{title:"\u5168\u5C4F/\u9000\u51FA\u5168\u5C4F",onClick:()=>$t(),className:`iconfont icon-${Ie?"suoxiao1":"fangda"}`})))),fe.createElement("div",{className:ie.Z.result,style:{flex:1,overflow:"hidden"}},fe.createElement("div",{className:ie.Z.left},fe.createElement("div",{className:ie.Z.title},fe.createElement("i",{style:{color:"#00FA95"},className:"iconfont iconfont icon-zidingyiceshiyongli font14 mr5"}),fe.createElement("span",null,"\u9884\u671F\u8F93\u51FA")),fe.createElement("div",{className:ie.Z.node,style:{background:"#1B2333",color:"#2ABD8C"}},fe.createElement("pre",null,!Mt&&fe.createElement(Ce,{className:"mb10",value:xt&&ce.Base64.decode(xt)||""}),Mt&&fe.createElement("a",{style:{fontSize:"16px"},onClick:()=>me(void 0,null,function*(){const Ft=yield fetch(Lt,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}});$e(yield Ft.text()),setTimeout(()=>{Xe(Lt)},200)})},xt)))),fe.createElement("div",{className:ie.Z.right},fe.createElement("div",{className:ie.Z.title},fe.createElement("i",{style:{color:"#00DFFF"},className:"iconfont iconfont icon-daimazhihangjieguo font14 mr5"}),fe.createElement("span",null,"\u5B9E\u9645\u8F93\u51FA")),fe.createElement("div",{className:ie.Z.node,style:{color:vt===he.h.OK?"#2ABD8C":"#FF2C29"}},fe.createElement("pre",null,(vt===4||vt===5)&&fe.createElement(Ce,{className:"mb10",value:cn&&ce.Base64.decode(cn)||""}),vt!=4&&vt!=5&&(Mt?fe.createElement("a",{style:{fontSize:"16px"},onClick:()=>me(void 0,null,function*(){const Ft=yield(0,te.ZP)(wt,{method:"Get",headers:{"Content-Type":"application/xml",Accept:"*/*"}});try{$e(Ft)}catch(At){$e("")}setTimeout(()=>{Xe(wt)},200)})},St):fe.createElement(Ce,{className:"mb10",value:St&&ce.Base64.decode(St)||""})))))))))),fe.createElement("div",{className:de()(ie.Z.footer,Ne&&ie.Z.whiteFooter),style:{zIndex:100}},(Ke==null?void 0:Ke.is_program)&&(Ke==null?void 0:Ke.above_question)&&fe.createElement(pe.ZP,{className:"mr10",type:"primary",onClick:()=>Cn(Ke==null?void 0:Ke.above_question),id:"oj-prev",ghost:!0},"\u4E0A\u4E00\u9898"),(Ke==null?void 0:Ke.is_program)&&(Ke==null?void 0:Ke.under_question)&&fe.createElement(pe.ZP,{className:"mr10",type:"primary",onClick:()=>Cn(Ke==null?void 0:Ke.under_question),id:"oj-next",ghost:!0},"\u4E0B\u4E00\u9898"),fe.createElement(pe.ZP,{style:{border:"1px solid #2ABD8C",color:"#2ABD8C"},ghost:!0,disabled:De||Oe,loading:De,color:"#2ABD8C",className:"mr10",onClick:In},"\u8C03\u8BD5\u4EE3\u7801"),Je.get("qtype")!=="8"&&fe.createElement(pe.ZP,{className:ie.Z.disabled,type:"primary",icon:fe.createElement("i",{className:"iconfont icon-bofang1"}),loading:Oe,disabled:De||Oe,onClick:()=>{var Ft,At;if(!(Ke!=null&&Ke.code)||((Ft=Ke==null?void 0:Ke.code)==null?void 0:Ft.trim().length)===0){(At=E.ZP)==null||At.warning("\u4EE3\u7801\u4E0D\u80FD\u4E3A\u7A7A\uFF0C\u8BF7\u5148\u7F16\u5199\u4EE3\u7801\u540E\uFF0C\u518D\u8FDB\u884C\u8BC4\u6D4B\uFF01");return}We(2),Be(320),ze()}},"\u8BC4\u6D4B\u5E76\u63D0\u4EA4")),fe.createElement(y.Z,{onClose:Me,open:Ae}),fe.createElement(z.Z,{close:!0,data:Re,type:Re.length?"txt":"",onClose:()=>Xe(""),monacoEditor:{value:nt,language:"txt",onChange:()=>{},options:{fontSize:14,readOnly:!0,minimap:{enabled:!1}}}}))}},50397:function(ct,ot,Se){"use strict";Se.r(ot),Se.d(ot,{Types:function(){return br},default:function(){return Lr}});var ye=Se(59301),je=Se(24459),E=Se(31797),pe=Se(43418),he=Se(71418),ce=Se(3113),oe=Se(6848),ie=Se(95237),ue=Se(5247),se=Se(30897),ae=Se(20736),re=Se(31582),ne=Se(38446),te=Se(87169),a=Se(43428),y=Se(57800),x=Se(19647),b=Se(90691),ee=Se(34043),z=Se(59301),le=Object.defineProperty,de=Object.defineProperties,ge=Object.getOwnPropertyDescriptors,fe=Object.getOwnPropertySymbols,me=Object.prototype.hasOwnProperty,be=Object.prototype.propertyIsEnumerable,ve=(ht,Tt,Et)=>Tt in ht?le(ht,Tt,{enumerable:!0,configurable:!0,writable:!0,value:Et}):ht[Tt]=Et,Pe=(ht,Tt)=>{for(var Et in Tt||(Tt={}))me.call(Tt,Et)&&ve(ht,Et,Tt[Et]);if(fe)for(var Et of fe(Tt))be.call(Tt,Et)&&ve(ht,Et,Tt[Et]);return ht},Ee=(ht,Tt)=>de(ht,ge(Tt));const _e={theme:(0,b.G)("ProgrammingCodeMode","vs-dark"),fontSize:(0,b.G)("cmFontSize",14),showEditorSetting:!1,tabToSpace:(0,b.G)("cmTabToSpace",!0)};var Ce=(ht=>(ht[ht.set_font_size=0]="set_font_size",ht[ht.set_theme=1]="set_theme",ht[ht.on_tab_to_space=2]="on_tab_to_space",ht[ht.set_show_editor_setting=3]="set_show_editor_setting",ht))(Ce||{});function xe(ht,Tt){switch(Tt.type){case 3:return Ee(Pe({},ht),{showEditorSetting:Tt.payload});case 1:return Ee(Pe({},ht),{theme:Tt.payload});case 0:return Ee(Pe({},ht),{fontSize:Tt.payload});case 2:return Ee(Pe({},ht),{tabToSpace:Tt.payload});default:throw new Error}}var we=({isLoading:ht,value:Tt,onChange:Et,language:jt,onUpdateCode:Nt,ActionBarRender:Rt,setIsWhiteTheme:ln})=>{const[qt,nn]=(0,ye.useReducer)(xe,_e),{theme:fn,fontSize:Yt,showEditorSetting:Mn,tabToSpace:En}=qt,Fn=(0,ye.useRef)(),Dn=(0,ye.useRef)();(0,ye.useEffect)(()=>{ln(fn==="vs")},[fn]);const $n={onFontSizeChange:tr=>{nn({type:0,payload:tr}),(0,b.t)("cmFontSize",tr)},tabToSpace:En,cmFontSize:Yt,className:"oj",cmCodeMode:fn,onTabToSpace:tr=>{nn({type:2,payload:tr}),(0,b.t)("cmTabToSpace",tr)},onCodeModeChange:tr=>{nn({type:1,payload:tr}),(0,b.t)("ProgrammingCodeMode",tr)}};function sr(){nn({type:3,payload:!1})}function Sr(){nn({type:3,payload:!0})}const Pr={value:Tt,language:jt,theme:fn,options:{fontSize:Yt,insertSpaces:En},onChange:tr=>{Et(tr),Dn.current=tr,clearTimeout(Fn.current),Fn.current=setTimeout(()=>{Nt(Dn.current)},1e4)},onEditBlur:tr=>{Dn.current&&Nt(Dn.current)}};return z.createElement(ye.Fragment,null,Rt(Sr),z.createElement("div",{style:{flex:1,overflow:"hidden"}},!ht&&z.createElement(y.ZP,Pe({},Pr))),z.createElement(x.Z,null,z.createElement(a.Z,{rootClassName:"oj",title:null,placement:"right",closable:!1,open:Mn,onClose:sr},z.createElement(ee.Z,Pe({},$n)))))},De=Se(60141),Oe=Se(24334),Fe=Se(21758),Le={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"},Qe={pagination:"pagination___yDAjZ",info:"info___ATmsa",wrap:"wrap____KX19"},He=Se(1710),ze=Se(58421),Ke=Se(58617),Ge=Se(47365),ke=Se(61186),Ne=Se.n(ke),Ve=Se(59301);const{Column:Je}=He.default;var rt=({submitResult:ht,submitting:Tt,submitRecords:Et,page:jt,onPageChange:Nt,topicId:Rt})=>{const[ln]=(0,je.useSearchParams)(),{records:qt,records_count:nn}=Et||{},[fn,Yt]=(0,ye.useState)(!1),Mn=ln.get("type")==="1";return Ve.createElement(he.Z,{spinning:Tt,tip:"\u8BC4\u6D4B\u4E2D...",indicator:Ve.createElement(Ke.Z,{style:{fontSize:24},spin:!0})},(qt==null?void 0:qt.length)>0?Ve.createElement(He.default,{dataSource:qt,rowKey:"id",pagination:!1},Ve.createElement(Je,{title:"\u63D0\u4EA4\u65F6\u95F4",dataIndex:"created_at",key:"created_at",render:(En,Fn)=>Ve.createElement("span",null," ",Ne()(En).format("YYYY-MM-DD HH:mm:ss"))}),Ve.createElement(Je,{title:"\u8BC4\u6D4B\u7ED3\u679C",dataIndex:"status",key:"status",render:(En,Fn)=>{var Dn;return Ve.createElement("span",{className:`${En===0?"c-green":"c-red"} current`,onClick:()=>{Yt(Fn.id)}},(Dn=Fe.Im[En])==null?void 0:Dn.replace("\u8C03\u8BD5","\u8BC4\u6D4B"))}}),Ve.createElement(Je,{title:`\u6267\u884C\u7528\u65F6 (${Mn?"MS":"S"})`,dataIndex:"execute_time",key:"execute_time",render:En=>En?Mn?En:En/1e3:""}),Ve.createElement(Je,{title:`\u5185\u5B58\u6D88\u8017\uFF08${Mn?"KB":"MB"}\uFF09`,dataIndex:"execute_memory",key:"execute_memory",render:En=>En?Mn?En:parseFloat((En/1024).toFixed(2)):""}),Ve.createElement(Je,{title:"\u8BED\u8A00",dataIndex:"language",key:"language"}),Ve.createElement(Je,{title:"\u64CD\u4F5C",dataIndex:"status",key:"status",render:(En,Fn)=>Ve.createElement("span",{className:"c-light-primary current",onClick:()=>{Yt(Fn.id)}},"\u67E5\u770B")})):Ve.createElement("div",{style:{height:300,width:"100%"}}),Ve.createElement(Ge.Z,{onClose:Yt,open:fn}),nn>15?Ve.createElement(ze.Z,{className:Qe.pagination,current:jt,pageSize:15,total:nn,onChange:Nt}):null)},Ye=Se(57816),Ue=Se(12563),Ie={desc:"desc___iOAgd",info:"info___GPALq",info_tag:"info_tag___CFEn8"},Ze=Se(99325),Te=Se(59301);const We={1:{name:"\u7B80\u5355",color:"#52c41a"},2:{name:"\u4E2D\u7B49",color:"#faad14"},3:{name:"\u56F0\u96BE",color:"#f5222d"}};var at=({hack:ht})=>{const{language:Tt,difficult:Et,time_limit:jt,description:Nt}=ht,[Rt]=(0,je.useSearchParams)(),ln=We[Et];return Te.createElement(Te.Fragment,null,Te.createElement("ul",{className:Ie.info},Te.createElement("li",null,"\u7F16\u7A0B\u8BED\u8A00\xA0\xA0",Te.createElement("b",{className:Ie.info_tag},Tt)),Te.createElement("li",null,Te.createElement("span",{className:"ml20"},"\u96BE\u5EA6"),"\xA0\xA0",Te.createElement(Ue.default,{color:ln==null?void 0:ln.color},ln==null?void 0:ln.name)),Te.createElement("li",null,Te.createElement("span",{className:"ml20"},"\u5355\u4E2A\u6D4B\u8BD5\u96C6\u8BC4\u6D4B\u65F6\u957F\u9650\u5236"),"\xA0\xA0",Te.createElement("span",{style:{color:"#333333"}},jt,"\u79D2"))),Rt.get("qtype")==="8"?Te.createElement(Ze.Z,{value:Nt,showProgramFill:!0,className:Ie.desc}):Te.createElement(Ze.Z,{value:Nt,className:Ie.desc}))},et={},qe=Se(59301),Be=({hack:ht,current_user:Tt})=>qe.createElement("div",{className:et.answer},ht!=null&&ht.answer_text?qe.createElement(Ze.Z,{style:{padding:"13px 0"},value:(ht==null?void 0:ht.answer_text)||""}):qe.createElement(Ye.Z,{customText:"\u6682\u672A\u8BBE\u7F6E\u53C2\u8003\u7B54\u6848~"})),Ae=Se(50484),Me=Se(7660);function Re(ht,Tt){return(0,Me.U2)(`/problems/${ht}/comments.json`,{page:Tt,limit:10})}function Xe(ht){return(0,Me.v_)(`/discusses/${ht}/plus.json`,{container_type:"Discuss",type:1})}function nt(ht,Tt,Et){return(0,Me.v_)(`/problems/${ht}/comments/reply.json`,{comments:{content:Et,parent_id:Tt}})}function $e(ht,Tt){return(0,Me.v_)(`/problems/${ht}/comments.json`,{comments:{content:Tt}})}function tt(ht,Tt,Et){return(0,Me.v_)(`/problems/${ht}/comments/${Tt}/hidden.json`,Et)}function st(ht,Tt){return(0,Me.IV)(`/problems/${ht}/comments/${Tt}`)}var it=Se(52649);function lt({author:ht}){return ye.createElement("a",{href:`/users/${ht.login}`,target:"_blank"},ye.createElement("img",{alt:"\u7528\u6237\u5934\u50CF",height:"50",style:{borderRadius:"50%"},src:`${ne.Z.IMG_SERVER}/images/${ht.image_url}`,width:"50"}))}function ut({data:ht,index:Tt,parentDiscussIndex:Et,user:jt,onSetActionType:Nt}){const{author:Rt,can_delete:ln,content:qt,id:nn,time:fn}=ht;function Yt(){Nt({id:nn,index:Tt,type:"delete-discuss",parentDiscussIndex:Et,message:"\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u6761\u56DE\u590D\u5417"})}const Mn=jt.admin||ln||Rt.user_id===jt.user_id;return ye.createElement("div",{className:"discuss-item-container second-discuss "},ye.createElement(lt,{author:Rt}),ye.createElement("section",null,ye.createElement("div",{className:"discuss-info"},ye.createElement("a",{href:`/users/${Rt.login}`,target:"_blank"},Rt.name),ye.createElement("span",{className:"grey"},fn),ye.createElement("div",{className:"btn-group",style:{marginBottom:0}},Mn?ye.createElement("a",{onClick:Yt,title:"\u5220\u9664"},ye.createElement("i",{className:"iconfont icon-shanchu"})):null)),ye.createElement(Ze.Z,{className:"discuss-content",value:qt})))}var vt=({user:ht,data:Tt,index:Et,onPlusDiscuss:jt,onSetActionType:Nt,activeDiscussIndex:Rt,onReplyDiscuss:ln,onSetActiveDiscussIndex:qt})=>{const{content:nn,children:fn,hidden:Yt,id:Mn,praise_count:En,time:Fn,user_praise:Dn,can_delete:$n,author:sr}=Tt;function Sr(){qt(Mn)}function Pr(){jt(Mn,!Dn,Et)}function tr(){Nt({id:Mn,index:Et,type:"delete-discuss",message:"\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u6761\u56DE\u590D\u5417"})}function lr(){Nt({id:Mn,index:Et,params:{hidden:Yt?"0":"1"},type:"hidden-discuss",message:Yt?"\u786E\u5B9A\u8981\u53D6\u6D88\u9690\u85CF\u8BE5\u6761\u56DE\u590D\u5417":"\u786E\u5B9A\u8981\u9690\u85CF\u8BE5\u6761\u56DE\u590D\u5417"})}const Cr=ht.admin||ht.user_id===sr.user_id;return ye.createElement("div",{className:"discuss-item-container",key:Mn},ye.createElement(lt,{author:sr}),ye.createElement("section",null,ye.createElement("div",{className:"discuss-info"},ye.createElement("a",{href:`/users/${sr.login}`,target:"_blank"}," ",sr.name," "),ye.createElement("span",{className:"grey"},Fn)),ye.createElement(Ze.Z,{className:"discuss-content",value:nn}),fn&&fn.length>0?ye.createElement("div",{className:"reply-discuss-container"},fn.map((Bt,Sn)=>ye.createElement(ut,{key:Bt.id,data:Bt,index:Sn,user:ht,onSetActionType:Nt,parentDiscussIndex:Et}))):null,ye.createElement("div",{className:"btn-group"},Cr?ye.createElement("a",{onClick:lr,title:Yt?"\u53D6\u6D88\u9690\u85CF":"\u9690\u85CF\u8BC4\u8BBA"},ye.createElement("i",{className:Yt?"iconfont icon-yincangbiyan":"fa fa-eye"})):null,$n&&(!fn||fn.length==0)?ye.createElement("a",{onClick:tr,title:"\u5220\u9664"},ye.createElement("i",{className:"iconfont icon-shanchu"})):null,ye.createElement("a",{onClick:Sr,title:"\u56DE\u590D"}," ",ye.createElement("i",{className:"iconfont icon-huifu1"})," "),ye.createElement("a",{onClick:Pr,className:Dn?"c-orange":""},ye.createElement("i",{className:Dn?"iconfont icon-dianzan mr3":"iconfont icon-dianzan-xian mr3 "}),ye.createElement("span",null,En||""))),ye.createElement(it.Z,{id:Mn,activeDiscussIndex:Rt,onReplyDiscuss:ln})))},pt=Se(85469),mt={"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"},St=Se(64726),xt=(ht,Tt,Et)=>new Promise((jt,Nt)=>{var Rt=nn=>{try{qt(Et.next(nn))}catch(fn){Nt(fn)}},ln=nn=>{try{qt(Et.throw(nn))}catch(fn){Nt(fn)}},qt=nn=>nn.done?jt(nn.value):Promise.resolve(nn.value).then(Rt,ln);qt((Et=Et.apply(ht,Tt)).next())}),Mt=({user_praise:ht,praise_count:Tt,praisePlus:Et,onCreateDiscuss:jt,discuss_count:Nt})=>{const[Rt,ln]=(0,ye.useState)(!1),[qt,nn]=(0,ye.useState)("");function fn(Fn){nn(Fn)}function Yt(){ln(!0)}function Mn(){ln(!1)}function En(){return xt(this,null,function*(){jt(qt),nn(""),ln(!1)})}return ye.createElement("div",{className:`${mt["dis-input-editor-container"]} ${Rt?mt.active:""} `},ye.createElement("div",{className:Rt?`hide ${mt["text-area"]}`:mt["text-area"]},ye.createElement("input",{placeholder:"\u8BF4\u70B9\u4EC0\u4E48",onClick:Yt}),ye.createElement("a",null," ",ye.createElement("i",{className:"iconfont icon-huifu1"})," \xA0 \xA0",Nt," "),ye.createElement("a",{className:"c-light-black",onClick:Et,title:ht?"\u53D6\u6D88\u70B9\u8D5E":"\u70B9\u8D5E"},ye.createElement("i",{className:`mr3 ${ht?"iconfont icon-dianzan c-orange":"iconfont icon-dianzan-xian"} `}),Tt?ye.createElement("span",null,Tt):"")),Rt?ye.createElement("div",{className:mt["input-mask"],onClick:Mn}):null,ye.createElement("div",{className:Rt?mt["md-container"]:`${mt["md-container"]} hide`},ye.createElement(St.Z,{id:"discuss-input-editor",miniToolbar:!0,watch:!1,noStorage:!0,defaultValue:qt,height:240,onChange:fn}),ye.createElement("div",{className:mt["tip-container"],onClick:Mn},ye.createElement("a",{className:mt["btn-send"],onClick:En}," \u53D1\u9001 "))))},yt=Se(59301),wt=Object.defineProperty,Lt=Object.defineProperties,cn=Object.getOwnPropertyDescriptors,Vt=Object.getOwnPropertySymbols,an=Object.prototype.hasOwnProperty,Zt=Object.prototype.propertyIsEnumerable,$t=(ht,Tt,Et)=>Tt in ht?wt(ht,Tt,{enumerable:!0,configurable:!0,writable:!0,value:Et}):ht[Tt]=Et,Ut=(ht,Tt)=>{for(var Et in Tt||(Tt={}))an.call(Tt,Et)&&$t(ht,Et,Tt[Et]);if(Vt)for(var Et of Vt(Tt))Zt.call(Tt,Et)&&$t(ht,Et,Tt[Et]);return ht},rn=(ht,Tt)=>Lt(ht,cn(Tt)),In=(ht,Tt,Et)=>new Promise((jt,Nt)=>{var Rt=nn=>{try{qt(Et.next(nn))}catch(fn){Nt(fn)}},ln=nn=>{try{qt(Et.throw(nn))}catch(fn){Nt(fn)}},qt=nn=>nn.done?jt(nn.value):Promise.resolve(nn.value).then(Rt,ln);qt((Et=Et.apply(ht,Tt)).next())});const Cn={loading:!1,page:1,data:[],count:0,actionType:null,activeDiscussIndex:null};var xn=(ht=>(ht[ht.GET_DISCUSSES=0]="GET_DISCUSSES",ht[ht.TOP_OR_DOWN_DISCUSS=1]="TOP_OR_DOWN_DISCUSS",ht[ht.ACTIVE_DISCUSS_INDEX=2]="ACTIVE_DISCUSS_INDEX",ht[ht.PLUS_DISCUSS=3]="PLUS_DISCUSS",ht[ht.SET_ACTION_TYPE=4]="SET_ACTION_TYPE",ht[ht.SET_PAGE=5]="SET_PAGE",ht[ht.SHOW_DISCUSSES_LOADING=6]="SHOW_DISCUSSES_LOADING",ht))(xn||{});function Ft(ht,Tt){switch(Tt.type){case 6:return rn(Ut({},ht),{loading:!0});case 0:return Ut(Ut({},ht),Tt.payload);case 1:return Ut(Ut({},ht),Tt.payload);case 4:return Ut(Ut({},ht),Tt.payload);case 3:return Ut(Ut({},ht),Tt.payload);case 5:return rn(Ut({},ht),{page:Tt.payload});case 2:return Ut(Ut({},ht),Tt.payload);default:throw new Error}}var At=({user:ht,identifier:Tt,hack:Et,onTriggerPraise:jt,activeIndex:Nt})=>{const[Rt,ln]=(0,ye.useReducer)(Ft,Cn),{loading:qt,page:nn,data:fn,count:Yt,actionType:Mn,activeDiscussIndex:En}=Rt,Fn=(0,ye.useCallback)(()=>In(void 0,null,function*(){ln({type:6});const Bt=yield Re(Tt,nn),{comments:Sn,disscuss_count:bn}=Bt;ln({type:0,payload:{data:Sn,count:bn,loading:!1}})}),[nn,Tt]);(0,ye.useEffect)(()=>{Nt==="2"&&Fn()},[Tt,nn,Nt]);function Dn(Bt){ln({type:5,payload:Bt})}function $n(Bt){ln({type:4,payload:{actionType:Bt}})}function sr(Bt){ln(En===Bt?{type:2,payload:{activeDiscussIndex:null}}:{type:2,payload:{activeDiscussIndex:Bt}})}function Sr(Bt,Sn,bn){return In(this,null,function*(){try{const Xt=yield Xe(Bt);fn[bn].user_praise=Sn,fn[bn].praise_count=Xt.praise_count,ln({type:3,payload:{data:[...fn]}})}catch(Xt){console.log(Xt)}})}function Pr(){return In(this,null,function*(){const{id:Bt,params:Sn,type:bn,index:Xt,parentDiscussIndex:kn}=Mn;if(bn==="hidden-discuss"&&(yield tt(Tt,Bt,Sn),kn?fn[kn].children[Xt].hidden=Sn.hidden==1:fn[Xt].hidden=Sn.hidden==1,ln({type:4,payload:{actionType:null,data:[...fn]}})),bn==="delete-discuss"){if(yield st(Tt,Bt),kn||kn===0){let Vn=fn[kn].children;for(let Hn=Vn.length-1;Hn>=0;Hn--)if(Vn[Hn].id===Bt){Vn.splice(Hn,1);break}fn[kn].children=Vn}else for(let Vn=fn.length-1;Vn>=0;Vn--)if(fn[Vn].id===Bt){fn.splice(Vn,1);break}ln({type:4,payload:{actionType:null,data:[...fn]}})}})}function tr(){ln({type:4,payload:{actionType:null}})}function lr(Bt,Sn){return In(this,null,function*(){try{yield nt(Tt,Bt,Sn),Fn()}catch(bn){console.log(bn)}})}function Cr(Bt){return In(this,null,function*(){ln({type:6}),yield $e(Tt,Bt),Fn()})}return yt.createElement(yt.Fragment,null,yt.createElement("div",{className:"discuss-panel"},fn.length===0?yt.createElement(Ye.Z,null):fn.map((Bt,Sn)=>yt.createElement(vt,{onReplyDiscuss:lr,onPlusDiscuss:Sr,onSetActiveDiscussIndex:sr,onSetActionType:$n,data:Bt,index:Sn,user:ht,activeDiscussIndex:En})),Yt>10?yt.createElement("div",{className:"pagination-container"},yt.createElement(ze.Z,{showQuickJumper:!0,onChange:Dn,current:nn,total:Yt})):null),yt.createElement(Mt,{user_praise:Et.user_praise,praise_count:Et.praises_count,praisePlus:jt,discuss_count:Et.comments_count,onCreateDiscuss:Cr}),yt.createElement(x.Z,null,yt.createElement(pe.default,{centered:!0,title:"\u63D0\u793A",open:!!Mn,onOk:Pr,onCancel:tr},yt.createElement("p",null,Mn?Mn.message:"")),yt.createElement(pt.Z,null)))},bt=Se(57809),tn=Se(92832),Qt=Se(65615),dn={},mn=Se(59301),dt=({hack:ht,current_user:Tt})=>mn.createElement("div",{className:dn.answer},ht!=null&&ht.analysis?mn.createElement(Ze.Z,{style:{padding:"13px 0"},value:(ht==null?void 0:ht.analysis)||""}):mn.createElement(Ye.Z,{customText:"\u6682\u672A\u8BBE\u7F6E\u9898\u76EE\u89E3\u6790~"})),ft={hackSets:"hackSets___tw75g",collapseWrapper:"collapseWrapper___TteKi",panelHeader:"panelHeader___Y_Xjq",rateInput:"rateInput___y1qUi",open:"open___xrixP",close:"close___jb6D2",uploadTableWrapper:"uploadTableWrapper___U9Tz_"},gt=Se(36381),Gt=Se(43604),un=Se(78241),Kt=Se(5871),Gn=Se(24833),hn=Se(59301);const{TextArea:Nn}=tn.default,{Panel:jn}=gt.default;var er=({data:ht,hack:Tt})=>(console.log(ht,Tt,"data"),Tt!=null&&Tt.is_file?hn.createElement(Gn.Y2,{disabled:!0,className:ft.uploadTableWrapper,showScore:!Tt.test_set_score,data:ht,isProgramHomework:!0}):hn.createElement("div",{className:ft.hackSets},ht==null?void 0:ht.map((Et,jt)=>hn.createElement(gt.default,{accordion:!0,bordered:!1,key:jt,defaultActiveKey:jt===0&&Et.id,className:ft.collapseWrapper,expandIcon:({isActive:Nt})=>hn.createElement("i",{className:`iconfont icon-weizhankai ${Nt?ft.open:ft.close}`,style:{fontSize:14,transition:"all .2s"}})},hn.createElement(jn,{key:Et.id,header:hn.createElement(ie.Z,{align:"middle",justify:"space-between",wrap:!1},hn.createElement(Gt.Z,{className:ft.panelHeader},hn.createElement("span",null,"\u6D4B\u8BD5\u7528\u4F8B",jt+1)),hn.createElement(Gt.Z,{flex:1},hn.createElement(ie.Z,{align:"middle",justify:"end",wrap:!1},!(Tt!=null&&Tt.test_set_score)&&hn.createElement(Gt.Z,{className:ft.rateInput},hn.createElement("span",{className:"mr20"},"\u8BC4\u5206\u5360\u6BD4"),hn.createElement("div",null,hn.createElement(un.default.Item,{noStyle:!0},hn.createElement(Kt.Z,{value:Et==null?void 0:Et.score,className:ft.baseFormItem,min:0,max:100,disabled:!0}))),hn.createElement("span",{className:"ml10"},"%")))))},hn.createElement(un.default.Item,{label:"\u8F93\u5165",labelCol:{span:24}},hn.createElement(Nn,{readOnly:!0,value:Et==null?void 0:Et.input,rows:4})),hn.createElement(un.default.Item,{label:"\u8F93\u51FA",labelCol:{span:24}},hn.createElement(Nn,{readOnly:!0,value:Et==null?void 0:Et.output,rows:4}))))))),zt={tabs:"tabs___p2jIb",tabWarp:"tabWarp___mt05L",tab:"tab___IYGdQ",active:"active___fQMlP",content:"content___GWVJY"},Ot=Se(59301),Wt=(0,ye.forwardRef)(({data:ht=[]},Tt)=>{var Et;const[jt,Nt]=(0,ye.useState)(),Rt=ht.filter(qt=>qt.show);(0,ye.useEffect)(()=>{Rt.length&&Nt(Rt[0].id)},[ht==null?void 0:ht.length]);const ln=((Et=Rt.find(qt=>qt.id===jt))==null?void 0:Et.element)||null;return(0,ye.useImperativeHandle)(Tt,()=>({setActiveTab:qt=>Nt(qt)})),Ot.createElement("div",{className:zt.tabs},Ot.createElement("div",{className:zt.tabWarp},Rt.map(qt=>Ot.createElement("div",{onClick:()=>Nt(qt.id),className:`${zt.tab} ${qt.id===jt?zt.active:""}`,key:qt.id},qt.name))),Ot.createElement("div",{className:zt.content},ln))}),Ct=Se(59301),Dt=Object.defineProperty,kt=Object.defineProperties,on=Object.getOwnPropertyDescriptors,sn=Object.getOwnPropertySymbols,vn=Object.prototype.hasOwnProperty,Pn=Object.prototype.propertyIsEnumerable,wn=(ht,Tt,Et)=>Tt in ht?Dt(ht,Tt,{enumerable:!0,configurable:!0,writable:!0,value:Et}):ht[Tt]=Et,yn=(ht,Tt)=>{for(var Et in Tt||(Tt={}))vn.call(Tt,Et)&&wn(ht,Et,Tt[Et]);if(sn)for(var Et of sn(Tt))Pn.call(Tt,Et)&&wn(ht,Et,Tt[Et]);return ht},Ln=(ht,Tt)=>kt(ht,on(Tt)),On=(ht,Tt,Et)=>new Promise((jt,Nt)=>{var Rt=nn=>{try{qt(Et.next(nn))}catch(fn){Nt(fn)}},ln=nn=>{try{qt(Et.throw(nn))}catch(fn){Nt(fn)}},qt=nn=>nn.done?jt(nn.value):Promise.resolve(nn.value).then(Rt,ln);qt((Et=Et.apply(ht,Tt)).next())});const It={1:"\u7B80\u5355",2:"\u9002\u4E2D",3:"\u56F0\u96BE"},qn={1:"#2fa34f",2:"#0152d9",3:"#fa6400"};var Un=({hack:ht,onTriggerPraise:Tt,topicId:Et,page:jt,onPageChange:Nt,user:Rt,current_user:ln,submitRecords:qt,submitting:nn,submitResult:fn,setActiveIndex:Yt,hack_sets:Mn})=>{var En,Fn;const[Dn]=(0,je.useSearchParams)(),[$n,sr]=(0,ye.useState)("0"),Sr=(0,je.useLocation)(),[Pr,tr]=(0,ye.useState)(!1),[lr,Cr]=(0,ye.useState)(null),[Bt,Sn]=(0,ye.useState)([]),[bn,Xt]=(0,ye.useState)([]),[kn,Vn]=(0,ye.useState)({page:1,limit:10}),Hn=(0,ye.useRef)(null),nr=(0,ye.useRef)(null);console.log(Rt,"user");let[Qn,pr]=(0,ye.useState)(Ln(yn({},(0,je.useParams)()),{page:1,per_page:20,name:""}));(0,ye.useEffect)(()=>{nr.current&&(ht==null?void 0:ht.is_close_tips)===!1&&lr===null&&Cr(!0)},[nr.current,ht==null?void 0:ht.is_close_tips,lr]);function Mr(){return On(this,null,function*(){yield(0,Me.ZP)("/api/users/close_tips.json",{method:"post"})})}(0,ye.useEffect)(()=>{Yt($n)},[$n]);function Or(Zn){return On(this,null,function*(){let mr=Zn.target.id;if(mr==="1"){let Er=yield(0,Me.ZP)(`/api/myproblems/${Qn.id}/redo_logs.json`,{method:"get",params:yn({},kn)});(Er==null?void 0:Er.status)===0&&Xt(Er==null?void 0:Er.data)}sr(mr)})}(0,ye.useEffect)(()=>Ae.Z.subscribe("to-commit-info",()=>{sr("1"),Hn.current&&Hn.current.setActiveTab("1")}),[]),(0,ye.useEffect)(()=>Ae.Z.subscribe("to-reset-info",()=>{Or({target:{id:"1"}}),Hn.current&&Hn.current.setActiveTab("2")}),[]);function Ir(){sr("2")}function gr(){return On(this,null,function*(){let Zn=yield(0,Me.ZP)("/api/problems/my_hack_list.json",{method:"get",params:yn({identifier:Qn==null?void 0:Qn.id},Qn)});Sn(Zn)})}const An=[{title:null,description:Ct.createElement("div",null,Ct.createElement("b",{onClick:()=>{Cr(!1),Mr(),tr(!0),gr()},className:"c-light-primary font16 current"},"\u67E5\u770B\u9898\u76EE\u5217\u8868\u5165\u53E3"),Ct.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"),Ct.createElement(ce.ZP,{onClick:()=>{Cr(!1),Mr()},style:{padding:"2px 29px",height:30,float:"right"},type:"primary"},"\u77E5\u9053\u4E86")),target:()=>nr.current}];return Ct.createElement("div",{className:Le["left-panel"]},Ct.createElement("ul",{className:`${Le["s-navs"]} ${Le["bg-white"]} ${Le.b1}`},(ht==null?void 0:ht.is_program)&&!Dn.get("pageId")&&Ct.createElement(oe.Z,{title:"\u9898\u76EE\u5217\u8868"},Ct.createElement("div",{onClick:()=>{gr(),tr(!0)},className:Le.btns,ref:nr,style:lr?{pointerEvents:"none"}:{}},Ct.createElement("i",{className:"iconfont icon-yidongdaomulu1 font14 c-white"}))),Ct.createElement("li",{style:{marginLeft:20}},Ct.createElement("a",{className:$n==="0"?Le.active:"",id:"0",onClick:Or},"\u9898\u76EE\u63CF\u8FF0")),Ct.createElement("li",null,Ct.createElement("a",{className:$n==="1"?Le.active:"",id:"1",onClick:Or},"\u64CD\u4F5C\u8BB0\u5F55")),(Dn.get("type")!=="exercises"&&(ht==null?void 0:ht.answer_text_show)||Dn.get("type")!=="exercises"&&(ht==null?void 0:ht.analysis_show))&&Ct.createElement("li",null,Ct.createElement("a",{className:$n==="4"?Le.active:"",id:"4",onClick:Or},"\u89E3\u7B54\u53C2\u8003")),Dn.get("type")!=="exercises"&&Ct.createElement("li",null,Ct.createElement("a",{className:$n==="2"?Le.active:"",id:"2",onClick:Or},"\u8BC4\u8BBA")),!!(Mn!=null&&Mn.length)&&Dn.get("type")!=="exercises"&&Dn.get("type")!=="1"&&Ct.createElement("li",null,Ct.createElement("a",{className:$n==="5"?Le.active:"",id:"5",onClick:Or},"\u6D4B\u8BD5\u7528\u4F8B"))),Ct.createElement("div",{className:`${Le["tab-panel-body"]} ${$n==="0"?"":"hide"}`,style:{borderRight:"1px #dddddd solid",padding:0}},Ct.createElement(at,{hack:ht,onTriggerPraise:Tt,toDiscuss:Ir})),Ct.createElement("div",{style:{padding:"12px"},className:`${Le["tab-panel-body"]} ${$n==="1"?"":"hide"}`},Ct.createElement(Wt,{ref:Hn,data:[{id:"1",show:Dn.get("qtype")!=="8",name:"\u63D0\u4EA4\u8BB0\u5F55",element:Ct.createElement(Ct.Fragment,null,qt!=null&&qt.records_count||nn?Ct.createElement(rt,{page:jt,onPageChange:Nt,topicId:Et,submitting:nn,key:(fn==null?void 0:fn.id)||1,submitRecords:qt,submitResult:fn}):Ct.createElement(Ye.Z,null))},{id:"2",show:Dn.get("type")==="exercises"||(ht==null?void 0:ht.homework_common_id),name:"\u91CD\u7F6E\u8BB0\u5F55",element:Ct.createElement(Ct.Fragment,null,Ct.createElement(He.default,{pagination:!1,dataSource:bn==null?void 0:bn.list,columns:[{title:"\u6062\u590D\u521D\u59CB\u4EE3\u7801\u65F6\u95F4",dataIndex:"created_at",render:(Zn,mr,Er)=>Ne()(Zn).format("YYYY-MM-DD HH:mm:ss")},{title:"\u64CD\u4F5C",dataIndex:"redo_type",render:(Zn,mr,Er)=>{var Nr;return(Nr=[{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(Vr=>Vr.id===Zn))==null?void 0:Nr.name}}]}),Ct.createElement(ze.Z,{style:{marginTop:10},current:kn.page,total:bn==null?void 0:bn.count,hideOnSinglePage:!0,onChange:Zn=>On(void 0,null,function*(){kn.page=Zn,Vn(kn);let mr=yield(0,Me.ZP)(`/api/myproblems/${Qn.id}/redo_logs.json`,{method:"get",params:Ln(yn({},kn),{courseId:Qn.courseId})});(mr==null?void 0:mr.status)===0&&Xt(mr==null?void 0:mr.data)})}))}]})),Ct.createElement("div",{style:{padding:"12px"},className:`${Le["tab-panel-body"]} ${$n==="4"?"":"hide"}`},Ct.createElement(Wt,{data:[{id:"1",show:Dn.get("type")!=="exercises"&&(ht==null?void 0:ht.answer_text_show),name:"\u7B54\u6848",element:Ct.createElement(Ct.Fragment,null,Ct.createElement(Be,{hack:ht,current_user:ln}))},{id:"2",show:Dn.get("type")!=="exercises"&&(ht==null?void 0:ht.analysis_show),name:"\u89E3\u6790",element:Ct.createElement(Ct.Fragment,null,Ct.createElement(dt,{hack:ht,current_user:ln}))}]})),Ct.createElement("div",{className:`${Le["tab-panel-body"]} ${$n==="2"?"":"hide"}`,style:{padding:0}},Ct.createElement(At,{user:Rt,activeIndex:$n,identifier:ht.identifier,hack:ht,onTriggerPraise:Tt})),Ct.createElement("div",{className:`${Le["tab-panel-body"]} ${$n==="5"?"":"hide"}`,style:{padding:12}},Ct.createElement(er,{data:Mn||[],hack:ht})),Ct.createElement(a.Z,{rootClassName:Le.drawer,closable:!1,title:null,bodyStyle:{background:"#1B2333",padding:25,display:"flex",flexDirection:"column"},footer:null,width:500,placement:"left",onClose:()=>tr(!1),open:Pr},Ct.createElement(ie.Z,null,Ct.createElement("b",{style:{color:"#008CFF",fontWeight:500,lineHeight:"19px"},className:"font16"},"\u9898\u76EE\u5217\u8868"),Ct.createElement("span",{style:{color:"#FA8D30",fontWeight:500},className:"font12 ml10"},"\u5171",Bt==null?void 0:Bt.total_count,"\u9898\xA0[\xA0",Bt==null?void 0:Bt.total_score,"\u5206\xA0]\xA0"),!(Rt!=null&&Rt.hack_manager)&&Ct.createElement("span",{style:{color:"#FA8D30",fontWeight:500,marginLeft:"auto"},className:"font12"},"\u6211\u7684\u5F97\u5206\xA0:\xA0",Bt==null?void 0:Bt.work_score,"\u5206")),Ct.createElement("div",{style:{height:1,background:"#1C313F",marginTop:12}}),Ct.createElement(ie.Z,{align:"middle",className:"mt10 mb10"},!(Rt!=null&&Rt.hack_manager)&&Ct.createElement(bt.default,{size:"large",className:"mr10",style:{width:104},placeholder:"\u901A\u8FC7\u60C5\u51B5",onChange:Zn=>{Qn.page=1,Qn.finish_status=Zn,pr(yn({},Qn)),gr()}},Ct.createElement(bt.default.Option,{value:""},"\u5168\u90E8"),Ct.createElement(bt.default.Option,{value:0},"\u672A\u5F00\u59CB"),Ct.createElement(bt.default.Option,{value:1},"\u8FDB\u884C\u4E2D"),Ct.createElement(bt.default.Option,{value:2},"\u5DF2\u5B8C\u6210")),Ct.createElement(bt.default,{size:"large",className:"mr10",style:{width:104},placeholder:"\u9898\u76EE\u96BE\u5EA6",onChange:Zn=>{Qn.page=1,Qn.difficult=Zn||null,pr(yn({},Qn)),gr()}},Ct.createElement(bt.default.Option,{value:0},"\u5168\u90E8"),Ct.createElement(bt.default.Option,{value:1},"\u7B80\u5355"),Ct.createElement(bt.default.Option,{value:2},"\u9002\u4E2D"),Ct.createElement(bt.default.Option,{value:3},"\u56F0\u96BE")),Ct.createElement(tn.default.Search,{size:"large",onSearch:Zn=>{Qn.name=Zn,Qn.page=1,pr(yn({},Qn)),gr()},style:{flex:1},placeholder:"\u8BF7\u8F93\u5165\u9898\u76EE\u540D\u79F0\u8FDB\u884C\u641C\u7D22"})),Ct.createElement("div",{className:Le.list,style:{height:36,background:"#3D445C"}},!(Rt!=null&&Rt.hack_manager)&&Ct.createElement("span",null,"\u72B6\u6001"),Ct.createElement("span",null,"\u5E8F\u53F7"),Ct.createElement("span",{style:{flex:1}},"\u9898\u76EE\u540D\u79F0"),Ct.createElement("span",{style:{flexBasis:48,paddingRight:0}},"\u96BE\u5EA6")),Ct.createElement("div",{style:{overflow:"auto",flex:1}},(En=Bt==null?void 0:Bt.data)!=null&&En.length?(Fn=Bt==null?void 0:Bt.data)==null?void 0:Fn.map((Zn,mr)=>Ct.createElement("div",{onClick:()=>On(void 0,null,function*(){let Er=yield(0,Me.ZP)(`/api/problems/${Zn==null?void 0:Zn.identifier}/start.json`,{method:"get",params:{hack_user_id:Rt==null?void 0:Rt.user_id}});Er&&(je.history.replace(`/myproblems/${Er==null?void 0:Er.identifier}${window.location.search}`),window.location.reload())}),className:`${Le.list} ${Zn!=null&&Zn.checked?Le.active:""}`},!(Rt!=null&&Rt.hack_manager)&&Ct.createElement(Ct.Fragment,null,!(Zn!=null&&Zn.opened)&&Ct.createElement("span",{style:{color:"#E02020"}},"\u672A\u5F00\u59CB"),(Zn==null?void 0:Zn.opened)&&!(Zn!=null&&Zn.passed)&&Ct.createElement("span",{style:{color:"#FA6400"}},"\u8FDB\u884C\u4E2D"),(Zn==null?void 0:Zn.opened)&&(Zn==null?void 0:Zn.passed)&&Ct.createElement("span",{style:{color:"#24C074"}},"\u5DF2\u5B8C\u6210")),Ct.createElement("span",null,(Qn.page-1)*20+(mr+1)),Ct.createElement("span",{style:{flex:1},title:Zn.name},`[${Zn==null?void 0:Zn.score}\u5206]`,"\xA0",Zn.name),Ct.createElement("span",{style:{flexBasis:48,paddingRight:0}},It[Zn.difficult]))):Ct.createElement(Ye.Z,null)),Ct.createElement(ze.Z,{current:Qn.page,className:"mt20",hideOnSinglePage:!0,total:Bt==null?void 0:Bt.count,pageSize:Qn.per_page,onChange:(Zn,mr)=>{Qn.page=Zn,Qn.per_page=mr,gr()}})),Ct.createElement(Qt.Z,{rootClassName:Le.tour,closeIcon:!1,open:!!lr,steps:An,gap:{offset:3,radius:2}}))},Yn=Se(62522),pn=Se(93261),_t=Se(46942),Ht=Se(38992),gn=Se(39649),Jt=Se(71400),_n=Se(7850),Wn=Se(92310),Bn=Se.n(Wn),zn=Se(48569),rr=Se(18378),yr=Se(54318),hr=Se(71302),en=Se(59301),Ar=Object.defineProperty,_r=Object.defineProperties,xr=Object.getOwnPropertyDescriptors,ur=Object.getOwnPropertySymbols,vr=Object.prototype.hasOwnProperty,fr=Object.prototype.propertyIsEnumerable,ar=(ht,Tt,Et)=>Tt in ht?Ar(ht,Tt,{enumerable:!0,configurable:!0,writable:!0,value:Et}):ht[Tt]=Et,Rn=(ht,Tt)=>{for(var Et in Tt||(Tt={}))vr.call(Tt,Et)&&ar(ht,Et,Tt[Et]);if(ur)for(var Et of ur(Tt))fr.call(Tt,Et)&&ar(ht,Et,Tt[Et]);return ht},Kn=(ht,Tt)=>_r(ht,xr(Tt)),cr=(ht,Tt)=>{var Et={};for(var jt in ht)vr.call(ht,jt)&&Tt.indexOf(jt)<0&&(Et[jt]=ht[jt]);if(ht!=null&&ur)for(var jt of ur(ht))Tt.indexOf(jt)<0&&fr.call(ht,jt)&&(Et[jt]=ht[jt]);return Et},Xn=(ht,Tt,Et)=>new Promise((jt,Nt)=>{var Rt=nn=>{try{qt(Et.next(nn))}catch(fn){Nt(fn)}},ln=nn=>{try{qt(Et.throw(nn))}catch(fn){Nt(fn)}},qt=nn=>nn.done?jt(nn.value):Promise.resolve(nn.value).then(Rt,ln);qt((Et=Et.apply(ht,Tt)).next())});const{Countdown:dr}=E.default,or={Java:"java",C:"c",Python:"py","C++":"c"};var br=(ht=>(ht[ht.SET_LOADING=0]="SET_LOADING",ht[ht.GET_DATA=1]="GET_DATA",ht[ht.GET_SUBMIT_RECORDS=2]="GET_SUBMIT_RECORDS",ht[ht.SET_DATA=3]="SET_DATA",ht[ht.SET_DEBUGING=4]="SET_DEBUGING",ht[ht.SET_SUBMITING=5]="SET_SUBMITING",ht[ht.SET_EXECUTE_MESSAGE=6]="SET_EXECUTE_MESSAGE",ht[ht.SET_EXECUTE_RESULT=7]="SET_EXECUTE_RESULT",ht[ht.SET_SUBMIT_RESULT=8]="SET_SUBMIT_RESULT",ht[ht.SET_SHOW_NOTE=9]="SET_SHOW_NOTE",ht[ht.SET_PAGE=10]="SET_PAGE",ht))(br||{});function wr(){return new Date().getTime()}const ir={loading:!0,data:void 0,showNote:!1,debugResult:void 0,submitResult:void 0,debuging:!1,submitting:!1,submitRecords:void 0,submitRecordPage:1,executingMessage:""};function Br(ht,Tt){switch(Tt.type){case 1:return Rn(Rn({},ht),Tt.payload);case 3:return Kn(Rn({},ht),{data:Tt.payload});case 0:return Kn(Rn({},ht),{loading:Tt.payload});case 9:return Kn(Rn({},ht),{showNote:Tt.payload});case 4:return Kn(Rn({},ht),{debuging:Tt.payload});case 5:return Kn(Rn({},ht),{submitting:Tt.payload});case 2:return Kn(Rn({},ht),{submitRecords:Tt.payload});case 10:return Kn(Rn({},ht),{submitRecordPage:Tt.payload});case 6:return Kn(Rn({},ht),{executingMessage:Tt.payload});case 7:return Rn(Rn({},ht),Tt.payload);case 8:return Rn(Rn({},ht),Tt.payload);default:throw new Error}}var Lr=({children:ht})=>{var Tt,Et,jt,Nt,Rt;const[ln,qt]=(0,ye.useReducer)(Br,ir),{id:nn}=(0,je.useParams)(),fn=(0,je.useLocation)(),[Yt]=(0,je.useSearchParams)(),{loading:Mn,data:En,debugResult:Fn,submitResult:Dn,submitRecords:$n,submitRecordPage:sr,showNote:Sr,debuging:Pr,submitting:tr,executingMessage:lr}=ln,[Cr,Bt]=(0,ye.useState)("#37AD83"),[Sn,bn]=(0,ye.useState)(null),[Xt,kn]=(0,ye.useState)({}),[Vn,Hn]=(0,ye.useState)(!0),[nr,Qn]=(0,ye.useState)(!1),[pr,Mr]=(0,ye.useState)(!1),Or=(0,ye.useRef)(null),Ir=(0,ye.useRef)(0),gr=En==null?void 0:En.user,An=En==null?void 0:En.hack,[Zn,mr]=(0,ye.useState)(!1),Er=(0,ye.useRef)(1),Nr=(0,ye.useRef)(!1);(0,zn.y)(Yt.get("type")==="exercises");const{setOpenDisableCopyAndPaste:Vr}=(0,zn.X)(),[Qr,qr]=(0,ye.useState)(""),$r=(0,gn._)(Xt);(0,ye.useEffect)(()=>{function Tn(){return Xn(this,null,function*(){var Jn,Fr,Rr,Gr,Ur;Hn(!0);const kr=yield(0,ue.fu)(nn,{exercise_id:Yt.get("exercisesId")});if(setTimeout(()=>{Hn(!1)},800),kr.status!==401){try{kr.hack.code=Oe.Base64.decode(kr.hack.code)}catch(Tr){console.log(Tr)}kr.hack=Kn(Rn({},kr.hack),{is_program:Yt.get("type")==="1"}),qt({type:1,payload:{loading:!1,data:kr}})}if(Yt.get("type")==="exercises"){if(window.self===window.top){window.top.location.href="/";return}let Tr;Yt.get("coursesId")=="coursesId"?Tr=yield(0,se._F)({categoryId:Yt.get("exercisesId"),login:Yt.get("login")}):Tr=yield(0,se._B)({categoryId:Yt.get("exercisesId"),login:Yt.get("login")}),kn(Rn({},Tr)),Vr((Jn=Tr==null?void 0:Tr.exercise)==null?void 0:Jn.forbid_copy),typeof((Fr=Tr==null?void 0:Tr.exercise)==null?void 0:Fr.left_time)=="number"&&(bn(Date.now()+((Rr=Tr==null?void 0:Tr.exercise)==null?void 0:Rr.left_time)*1e3),setTimeout(()=>{Bt("red")},(((Gr=Tr==null?void 0:Tr.exercise)==null?void 0:Gr.left_time)-300>0?((Ur=Tr==null?void 0:Tr.exercise)==null?void 0:Ur.left_time)-300:0)*1e3))}})}nn&&Tn()},[nn]),(0,ye.useEffect)(()=>{var Tn;return Yt.get("type")==="exercises"&&((Tn=Xt==null?void 0:Xt.exercise)!=null&&Tn.screen_open)&&(window.removeEventListener("blur",Wr,!1),Jt.U.forEach((Jn,Fr)=>{window.addEventListener(Jn,Wr,!1)}),window.addEventListener("blur",Wr,!1),window.focus()),()=>{document.removeEventListener((0,ae.gH)(),Wr)}},[Xt]),(0,ye.useEffect)(()=>{Qr==="1"&&nn&&An!=null&&An.language&&ta()},[nn,sr,An==null?void 0:An.language,Qr]),(0,ye.useEffect)(()=>(An!=null&&An.is_program&&(Ir.current=0,Or.current=setInterval(()=>{ea()},15e3)),()=>{clearInterval(Or.current)}),[An==null?void 0:An.is_program]);const ea=()=>Xn(void 0,null,function*(){let Tn=yield(0,Me.ZP)(`/api/myproblems/${nn}/save_long_time.json`,{method:"get",params:{answer_long_time:Ir.current}})}),Wr=()=>{Nr.current||(0,ae.BU)(),window.parent.postMessage("backExercise","*")};function ta(){return Xn(this,null,function*(){try{const Tn=yield(0,ue.zO)(nn,{limit:15,page:sr,language:An==null?void 0:An.language});qt({type:2,payload:Tn})}catch(Tn){console.log(Tn)}})}function na(Tn){qt({type:10,payload:Tn})}function Hr(Tn){return Xn(this,null,function*(){var Jn;let Fr;(Yt.get("ip_limit")==="inner"||Yt.get("ip_bind_type")==="true")&&(Fr=yield(0,pn.y)({ip_limit:Yt.get("ip_limit"),ip_bind:Yt.get("ip_bind_type")==="true"}));const Rr=yield(0,ue.n4)(nn,{code:Oe.Base64.encode(Tn||An.code),language:An==null?void 0:An.language,exercise_id:Yt.get("exercisesId"),question_id:Yt.get("questionId"),ip:Fr});return Rr.status===-5&&(0,je.getDvaApp)()._store.dispatch({type:"exercise/setActionTabs",payload:{key:"student-unlock",exerciseParams:Kn(Rn({errorMessage:Rr==null?void 0:Rr.message},(Xt==null?void 0:Xt.exercise)||{}),{exercise_user_id:(Jn=Xt==null?void 0:Xt.exercise)==null?void 0:Jn.exercise_user_id,id:Yt.get("exercisesId")})}}),Rr})}function Kr(){return Xn(this,null,function*(){if(Er.current=2,!tr){qt({type:5,payload:!0});try{Ae.Z.publish("to-commit-info");const Tn=yield Hr();if(console.log(Tn,1),Tn.status===0){let kr=function(){return Xn(this,null,function*(){const{status:Tr,data:zr}=yield(0,ue.rX)(nn,"submit"),Zr=wr()-Ur>(Rr*Gr+3)*1e3;if(Tr!==0&&!Zr&&setTimeout(kr,1e3),Zr){pe.default.error({centered:!0,okText:"\u77E5\u9053\u5566",title:"\u8BC4\u6D4B\u4EE3\u7801\u8D85\u65F6"}),qt({type:5,payload:!1});return}if(Tr===0){zr.status===2&&pe.default.error({centered:!0,okText:"\u77E5\u9053\u5566",title:"\u8BC4\u6D4B\u4EE3\u7801\u8D85\u65F6"}),(zr==null?void 0:zr.status)===0&&Yt.get("type")==="1"&&Mr(!0);const ma=yield(0,ue.zO)(nn,{limit:15,page:sr,language:An==null?void 0:An.language});qt({type:8,payload:Kn(Rn({},ln),{submitResult:zr,submitting:!1,submitRecords:ma})})}})},Jn={};if(Yt.get("type")==="exercises"&&(Jn.extras={exercise_id:Yt.get("exercisesId"),question_id:Yt.get("questionId")},(Yt.get("ip_limit")==="inner"||Yt.get("ip_bind_type")==="true")&&(Jn.extras.ip=yield(0,pn.y)({ip_limit:Yt.get("ip_limit"),ip_bind:Yt.get("ip_bind_type")==="true"}))),(yield(0,ue.bM)(nn,Jn)).status===-1&&Yt.get("exercisesId")){window.parent.location.href=`/classrooms/${Yt.get("coursesId")}/exercise/${Yt.get("exercisesId")}/detail`;return}const{time_limit:Rr,test_case_size:Gr}=An,Ur=wr();kr()}else qt({type:5,payload:!1})}catch(Tn){console.log(Tn),qt({type:5,payload:!1})}mr(!1)}})}function Xr(){return Xn(this,null,function*(){Er.current=1,ln.debuging=!0,qt({type:4,payload:!0});try{if((yield Hr()).status===0){let Ur=function(){return Xn(this,null,function*(){const{status:kr,message:Tr,data:zr}=yield(0,ue.rX)(nn,"debug"),Zr=wr()-Gr>(Jn+3)*1e3;if(kr!==0&&!Zr&&(qt({type:6,payload:Tr}),setTimeout(Ur,1e3)),Zr){pe.default.error({title:"\u63D0\u793A",centered:!0,okText:"\u77E5\u9053\u5566",content:"\u8C03\u8BD5\u4EE3\u7801\u8D85\u65F6"}),qt({type:4,payload:!1}),qt({type:7,payload:Kn(Rn({},ln),{debugResult:{status:2},debuging:!1})});return}kr===0&&(zr.status===2&&pe.default.error({title:"\u63D0\u793A",centered:!0,okText:"\u77E5\u9053\u5566",content:"\u8C03\u8BD5\u4EE3\u7801\u8D85\u65F6"}),qt({type:4,payload:!1}),qt({type:7,payload:Kn(Rn({},ln),{debugResult:zr,debuging:!1})}))})};const{time_limit:Jn}=An;let Fr={input:encodeURIComponent(En.test_case.input)};if(Yt.get("type")==="exercises"&&(Fr.exercise_id=Yt.get("exercisesId")),(yield(0,ue.MU)(nn,Fr)).status===-1&&Yt.get("exercisesId")){window.parent.location.href=`/classrooms/${Yt.get("coursesId")}/exercise/${Yt.get("exercisesId")}/detail`;return}const Gr=wr();Ur()}else qt({type:4,payload:!1})}catch(Tn){console.log(Tn)}finally{}})}function Yr(Tn,Jn){const Fr=Jn?{modify_code:!1}:{};qt({type:3,payload:Kn(Rn({},En),{hack:Rn(Kn(Rn({},An),{code:Tn}),Fr)})}),mr(!0)}const ra=Tn=>Xn(void 0,null,function*(){let Jn=yield(0,Me.ZP)(`/api/problems/${An==null?void 0:An.identifier}/start.json`,{method:"get",params:{language:Tn==="C++"||Tn==="c++"?encodeURIComponent(Tn):Tn,hack_user_id:gr==null?void 0:gr.user_id}});Jn.status!==-1&&je.history.replace(`/myproblems/${Jn==null?void 0:Jn.identifier}${window.location.search}`)});function aa(Tn){let Jn=Tn.target.value;qt({type:3,payload:Kn(Rn({},En),{test_case:{input:Jn}})})}function oa(){return Xn(this,null,function*(){try{let Tn={};Yt.get("type")==="exercises"?Tn.exercise_id=Yt.get("exercisesId"):An!=null&&An.homework_common_id&&(Tn.homework_common_id=An==null?void 0:An.homework_common_id);const Jn=yield(0,ue.H7)(nn,Rn({},Tn));Jn.status===401||(Yr(Oe.Base64.decode(Jn.code)),(Yt.get("type")==="exercises"||An!=null&&An.homework_common_id)&&Ae.Z.publish("to-reset-info"))}catch(Tn){console.log(Tn)}})}function ia(){pe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:en.createElement("p",null,"\u521D\u59CB\u4EE3\u7801\u6709\u4FEE\u6539\uFF0C\u66F4\u65B0\u540E\u5C06\u8986\u76D6\u73B0\u6709\u4EE3\u7801\u54E6~ ",en.createElement("br",null),"\u8BF7\u5C06\u60A8\u7F16\u8F91\u7684\u4EE3\u7801\u4FDD\u5B58\u81F3\u672C\u5730\uFF0C\u4EE5\u9632\u4E22\u5931"),onOk(){return Xn(this,null,function*(){const Tn=yield(0,ue.fi)(nn);Tn.status===401||Yr(Oe.Base64.decode(Tn.code),!0)})}})}function sa(){qt({type:9,payload:!0})}function la(){qt({type:9,payload:!1})}function ua(Tn){return Xn(this,null,function*(){yield(0,ue.MK)(nn,Tn),qt({type:1,payload:{showNote:!1,data:Kn(Rn({},En),{hack:Kn(Rn({},An),{notes:Tn.notes})})}})})}const ca={hack:An,isLoading:Vn,input:(Tt=En==null?void 0:En.test_case)==null?void 0:Tt.input,is_file:(Et=En==null?void 0:En.test_case)==null?void 0:Et.is_file,language:An==null?void 0:An.language,code:An==null?void 0:An.code,title:"main."+or[An==null?void 0:An.language],modify_code:An==null?void 0:An.modify_code,notes:An==null?void 0:An.notes,debugResult:Fn,debuging:Pr,submitting:tr,submitResult:Dn,executingMessage:lr,onCancelNote:la,onAddNote:ua,showNote:Sr,user:gr,onShowNote:sa,onSubmitCode:Kr,onChangeCode:Yr,onChangeInput:aa,onDebugCode:Xr,onResetCode:oa,onSyncCode:ia,onUpdateCode:Hr,onChangeLanguage:ra,isWhiteTheme:nr,setIsWhiteTheme:Qn,topDispatch:qt};function da(){return Xn(this,null,function*(){const{praise_count:Tn}=yield(0,ue.vl)(An.id,{container_type:"Hack",type:1});let Jn=Kn(Rn({},En),{hack:Kn(Rn({},An),{praises_count:Tn,user_praise:!An.user_praise})});qt({type:3,payload:Jn})})}const fa={topicId:nn,submitResult:Dn,submitRecords:$n,submitting:tr,page:sr,onPageChange:na,hack:An,user:En==null?void 0:En.user,hack_sets:En==null?void 0:En.hack_sets,current_user:En==null?void 0:En.current_user,onTriggerPraise:da,setActiveIndex:qr};console.log(Xt);const ga=()=>Yt.get("type")==="exercises"?!1:!!(Yt.get("type")==="1"&&Object.values((An==null?void 0:An.homework_extension)||{}).some(Boolean));return en.createElement(en.Fragment,null,en.createElement(he.Z,{spinning:Mn,delay:500},En?en.createElement(en.Fragment,null,en.createElement("header",{className:Bn()(_n.Z.header,nr&&_n.Z.whiteHeader)},Yt.get("type")!=="exercises"&&en.createElement("div",null,en.createElement("img",{src:`${ne.Z.IMG_SERVER}/images/${gr==null?void 0:gr.image_url}`,alt:"user",width:36}),en.createElement("span",{style:{color:nr?"#333":"#B2BACB",fontSize:16}},gr==null?void 0:gr.name)),Yt.get("type")==="exercises"&&en.createElement("div",null,en.createElement("div",{className:"exercise_user_info"},"\u59D3\u540D",en.createElement("span",{className:"ml10"},(jt=Xt==null?void 0:Xt.exercise)==null?void 0:jt.user_name)),en.createElement("div",{className:"exercise_user_info ml30"},"\u5B66\u53F7",en.createElement("span",{className:"ml10"},(Nt=Xt==null?void 0:Xt.exercise)==null?void 0:Nt.student_id))),en.createElement("h2",{className:"flex-wrp flex_box_column flex_box_center"},en.createElement("div",null,An.name)),(An==null?void 0:An.is_program)&&en.createElement(_t.Z,{defaultValue:An==null?void 0:An.answer_long_time,onChange:Tn=>{Ir.current=Tn},className:_n.Z.timepiece}),gr!=null&&gr.hack_manager?en.createElement(je.Link,{className:_n.Z.btn_edit,to:Yt.get("type")==="1"?Yt.get("pageId")?`/problems/newedit/${An.identifier}?type=1&pageId=${Yt.get("pageId")}&backUrl=${Yt.get("backUrl")}`:`/problems/newedit/${An.identifier}?type=1`:`/problems/newedit/${An.identifier}`}," ",en.createElement("i",{className:"iconfont icon-bianji13 font14 mr5"})," \u7F16\u8F91"):null,((Rt=Xt==null?void 0:Xt.exercise)==null?void 0:Rt.left_time)&&en.createElement(en.Fragment,null,en.createElement("span",{style:{color:Cr,marginRight:6},className:`iconfont icon-daojishi ${_n.Z.djs}`}),en.createElement("span",{className:"c-white mr20"},en.createElement(dr,{valueStyle:{color:Cr,fontSize:20,fontWeight:500},title:en.createElement("span",{style:{color:Cr,fontSize:14,marginRight:10},className:"time"},"\u5269\u4F59\u7B54\u9898\u65F6\u957F"),value:Sn,onFinish:()=>Xn(void 0,null,function*(){const Tn=yield(0,se.VL)({categoryId:Yt.get("exercisesId"),commit_method:2});if((Tn==null?void 0:Tn.status)===0&&(Hr(),pe.default.info({width:530,title:"\u63D0\u793A",centered:!0,okText:"\u786E\u5B9A",content:en.createElement("div",{className:"tc font16"},"\u7B54\u9898\u7ED3\u675F\u4E86\uFF0C\u7CFB\u7EDF\u5DF2\u81EA\u52A8\u63D0\u4EA4\u8BD5\u5377",en.createElement("br",null),"\u4E0D\u80FD\u518D\u4FEE\u6539\u7B54\u9898"),onOk:()=>Xn(void 0,null,function*(){window.parent.location.href=`/classrooms/${Yt.get("coursesId")}/exercise/${Yt.get("exercisesId")}/detail`})})),(Tn==null?void 0:Tn.status)===-3){const Jn=parseInt(Tn==null?void 0:Tn.message);bn(Date.now()+Jn*1e3)}})}))),Yt.get("type")==="exercises"?en.createElement(ce.ZP,{type:"primary",onClick:()=>{const Tn=()=>Xn(void 0,null,function*(){yield Hr(),mr(!1),$r(),Nr.current=!0,Wr()});if(!($n!=null&&$n.records_count)||Zn){pe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",icon:null,title:"\u63D0\u793A",content:en.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:Tn});return}Tn()}},en.createElement("span",{className:"iconfont icon-yiguanbi mr5 font14"})," \u8FD4\u56DE\u8BD5\u5377"):en.createElement("span",{onClick:()=>{var Tn;if(Yt.get("backUrl"))je.history.push(Yt.get("backUrl"));else if(Yt.get("type")==="1"){let Jn=(Tn=localStorage.getItem("program_homework"))==null?void 0:Tn.split(",");je.history.push(`/classrooms/${Jn==null?void 0:Jn[0]}/program_homework/${Jn==null?void 0:Jn[1]}/detail`)}else je.history.push("/problemset")}},en.createElement(oe.Z,{title:"\u5173\u95ED"},en.createElement("i",{style:{color:nr?"#8D929F":"#fff"},className:"iconfont icon-fanhuishijuan font16 "})))),en.createElement(he.Z,{size:"large",spinning:Vn},en.createElement(re.Z,{className:Bn()(_n.Z.myProblems,nr&&_n.Z.whiteMyProblems),leftChild:en.createElement(Un,Rn({},fa)),rightChild:en.createElement(jr,Rn({},ca))}))):null,en.createElement(pe.default,{centered:!0,closable:!1,width:680,footer:null,open:pr,className:"oj-modal"},en.createElement("section",{className:"oj-modal-content"},en.createElement("div",{className:"oj-modal-head"},en.createElement("img",{src:Yn,alt:""}),en.createElement("i",{onClick:()=>Mr(!1),className:"iconfont icon-guanbi1"})),en.createElement("aside",null,en.createElement("img",{className:"mr30",src:hr.Z}),"\u8FD0\u884C\u65F6\u95F4:\xA0",en.createElement("span",{style:{color:"#75d6ba",marginRight:100}},Dn==null?void 0:Dn.execute_time,"ms"),"\u4F18\u4E8E",en.createElement("span",{style:{color:"#f3b087",margin:"0 5px"}},(Dn==null?void 0:Dn.time_better_than)||100,"%"),"\u7684\u7528\u6237"),en.createElement("aside",{className:"mb50"},en.createElement("img",{src:yr.Z,className:"mr30"}),en.createElement("span",{className:"oj-modal-tt"},en.createElement("span",null,en.createElement("span",null,"\u5360\u7528\u5185\u5B58:\xA0"),en.createElement("span",{className:"c-light-primary"},Dn==null?void 0:Dn.execute_memory,"kb")),en.createElement("span",null,en.createElement("span",null))),"\u4F18\u4E8E",en.createElement("span",{style:{color:"#f3b087",margin:"0 5px"}},(Dn==null?void 0:Dn.memory_better_than)||100,"%"),"\u7684\u7528\u6237"),en.createElement("div",{id:"oj-modal-next",onClick:()=>Xn(void 0,null,function*(){var Tn;if(Dn!=null&&Dn.next_identifier){let Jn=yield(0,Me.ZP)(`/api/problems/${Dn==null?void 0:Dn.next_identifier}/start.json`,{method:"get",params:{hack_user_id:gr==null?void 0:gr.user_id}});Jn&&(je.history.replace(`/myproblems/${Jn==null?void 0:Jn.identifier}${window.location.search}`),window.location.reload())}else{let Jn=(Tn=localStorage.getItem("program_homework"))==null?void 0:Tn.split(",");je.history.push(`/classrooms/${Jn==null?void 0:Jn[0]}/program_homework/${Jn==null?void 0:Jn[1]}/detail`)}}),className:"oj-modal-btn"},Dn!=null&&Dn.next_identifier?"\u8FDB\u5165\u4E0B\u4E00\u9898":"\u56DE\u5230\u4F5C\u4E1A\u8BE6\u60C5\u9875"))),ga()&&en.createElement(rr.Z,{showData:An==null?void 0:An.homework_extension,description:An==null?void 0:An.description,code:An.code,sendParams:{source:"hack"}})),en.createElement(Ht.Z,{successCb:()=>{Er.current===1?Xr():Kr()}}))};function Dr({title:ht,modify_code:Tt,onSyncCode:Et,onShowCodeSetting:jt,onResetCode:Nt,hack:Rt,onChangeLanguage:ln,isWhiteTheme:qt}){var nn;const fn=()=>{pe.default.confirm({title:"\u6062\u590D\u521D\u59CB\u4EE3\u7801",icon:en.createElement(te.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:Nt})},[Yt]=(0,je.useSearchParams)(),Mn=Yt.get("language"),En=Fn=>Fn==="1"?"c++":Fn==="2"?"C++":Fn;return(0,ye.useEffect)(()=>{Mn&&ln(En(Mn))},[]),(0,ye.useEffect)(()=>{Rt!=null&&Rt.tpm_code_modified&&pe.default.confirm({title:"\u66F4\u65B0\u521D\u59CB\u4EE3\u7801",icon:en.createElement(te.Z,null),content:en.createElement("div",null,en.createElement("div",null,"\u7F16\u7A0B\u9898\u7684\u521D\u59CB\u4EE3\u7801\u5185\u5BB9\u6709\u66F4\u65B0,"),en.createElement("div",null,"\u66F4\u65B0\u64CD\u4F5C\u5C06\u4FDD\u7559\u5DF2\u5B8C\u6210\u7684\u8BC4\u6D4B\u8BB0\u5F55\u548C\u6210\u7EE9,"),en.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:()=>Nt()})},[Rt==null?void 0:Rt.language]),console.log(Rt,qt,"hack"),en.createElement("div",{className:`${_n.Z.codeHead} ${qt?_n.Z.whiteCodeHead:""}`},en.createElement("div",{className:_n.Z.navWrap},(nn=Rt==null?void 0:Rt.all_language)==null?void 0:nn.map(Fn=>en.createElement("div",{className:`${_n.Z.nav} ${Fn===(Rt==null?void 0:Rt.language)?_n.Z.active:""}`,key:Fn,onClick:()=>ln(Fn)},en.createElement(oe.Z,{title:"\u7F16\u7A0B\u8BED\u8A00"},en.createElement("i",{className:"iconfont icon-bianchengyuyan1"})),en.createElement("span",null,Fn)))),en.createElement(ie.Z,{align:"middle",style:{marginLeft:"auto"}},Tt?en.createElement("a",{title:"\u66F4\u65B0\u901A\u77E5",onClick:Et},en.createElement("img",{src:De,alt:"notice",style:{height:13,transform:"translateY(-2px)"}})):null,en.createElement("a",{onClick:fn},en.createElement(oe.Z,{title:"\u6062\u590D\u521D\u59CB\u4EE3\u7801"},en.createElement("i",{style:{color:"#8D929F"},className:"iconfont icon-huifuchushihuashezhi mr15"}))),en.createElement("a",{onClick:jt},en.createElement(oe.Z,{title:"\u8BBE\u7F6E"},en.createElement("i",{style:{color:"#8D929F"},className:"iconfont icon-shezhi8 font14 mr15"})))))}function jr(ht){var Tt=ht,{input:Et,is_file:jt,showNote:Nt,onShowNote:Rt,notes:ln,onCancelNote:qt,onAddNote:nn,debugResult:fn,language:Yt,debuging:Mn,submitting:En,executingMessage:Fn,code:Dn,onSubmitCode:$n,onDebugCode:sr,onChangeCode:Sr,onChangeInput:Pr,onUpdateCode:tr,user:lr,isLoading:Cr,submitResult:Bt}=Tt,Sn=cr(Tt,["input","is_file","showNote","onShowNote","notes","onCancelNote","onAddNote","debugResult","language","debuging","submitting","executingMessage","code","onSubmitCode","onDebugCode","onChangeCode","onChangeInput","onUpdateCode","user","isLoading","submitResult"]);function bn(kn){return en.createElement(Dr,Kn(Rn({},Sn),{onShowCodeSetting:kn}))}const Xt=Rn({input:Et,is_file:jt,debugResult:fn,debuging:Mn,submitting:En,executingMessage:Fn,onDebugCode:sr,onChangeCode:Sr,onSubmitCode:$n,onChangeInput:Pr,user:lr,submitResult:Bt},Sn);return en.createElement("div",{style:{display:"flex",flexDirection:"column",height:"100%",background:"#1B2333"}},en.createElement(we,{setIsWhiteTheme:Sn==null?void 0:Sn.setIsWhiteTheme,isLoading:Cr,language:Yt,value:Dn,onChange:Sr,onUpdateCode:tr,ActionBarRender:bn}),en.createElement(Fe.ZP,Rn({},Xt)))}},76826:function(ct,ot,Se){"use strict";Se.d(ot,{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||{})},5247:function(ct,ot,Se){"use strict";Se.d(ot,{H7:function(){return a},MK:function(){return te},MU:function(){return se},X6:function(){return re},bM:function(){return ue},fi:function(){return y},fu:function(){return ie},n4:function(){return x},rX:function(){return ne},vl:function(){return b},zO:function(){return ae}});var ye=Se(7660),je=Object.defineProperty,E=Object.getOwnPropertySymbols,pe=Object.prototype.hasOwnProperty,he=Object.prototype.propertyIsEnumerable,ce=(ee,z,le)=>z in ee?je(ee,z,{enumerable:!0,configurable:!0,writable:!0,value:le}):ee[z]=le,oe=(ee,z)=>{for(var le in z||(z={}))pe.call(z,le)&&ce(ee,le,z[le]);if(E)for(var le of E(z))he.call(z,le)&&ce(ee,le,z[le]);return ee};function ie(ee,z){return(0,ye.U2)(`myproblems/${ee}.json`,oe({hidePopLogin:!0},z||{}))}function ue(ee,z){return(0,ye.v_)(`myproblems/${ee}/code_submit.json`,z)}function se(ee,z){return(0,ye.v_)(`myproblems/${ee}/code_debug.json`,z)}function ae(ee,z){return z.language&&(z.language=encodeURIComponent(z.language)),(0,ye.U2)(`myproblems/${ee}/submit_records.json`,z)}function re(ee){return(0,ye.U2)("myproblems/record_detail.json",{id:ee})}function ne(ee,z){return(0,ye.U2)(`myproblems/${ee}/result.json`,{mode:z})}function te(ee,z){return(0,ye.v_)(`myproblems/${ee}/add_notes.json`,z)}function a(ee,z){return(0,ye.v_)(`myproblems/${ee}/restore_initial_code.json`,z)}function y(ee){return(0,ye.v_)(`myproblems/${ee}/sync_code.json`)}function x(ee,z){return(0,ye.v_)(`myproblems/${ee}/update_code.json`,z)}function b(ee,z){return(0,ye.v_)(`discusses/${ee}/plus.json`,z)}},36391:function(ct,ot,Se){"use strict";var ye=Se(59301),je=Se(24459),E=Se(8591),pe=Se(43418),he=Se(89392),ce=Se.n(he),oe=Se(43219),ie=Se(99325),ue=Se(24334),se=Se.n(ue),ae=Se(7660),re=Se(5247),ne=Se(21758),te=Se(61186),a=Se.n(te),y=Se(59301),x=Object.defineProperty,b=Object.defineProperties,ee=Object.getOwnPropertyDescriptors,z=Object.getOwnPropertySymbols,le=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,ge=(Pe,Ee,_e)=>Ee in Pe?x(Pe,Ee,{enumerable:!0,configurable:!0,writable:!0,value:_e}):Pe[Ee]=_e,fe=(Pe,Ee)=>{for(var _e in Ee||(Ee={}))le.call(Ee,_e)&&ge(Pe,_e,Ee[_e]);if(z)for(var _e of z(Ee))de.call(Ee,_e)&&ge(Pe,_e,Ee[_e]);return Pe},me=(Pe,Ee)=>b(Pe,ee(Ee)),be=(Pe,Ee,_e)=>new Promise((Ce,xe)=>{var we=Fe=>{try{Oe(_e.next(Fe))}catch(Le){xe(Le)}},De=Fe=>{try{Oe(_e.throw(Fe))}catch(Le){xe(Le)}},Oe=Fe=>Fe.done?Ce(Fe.value):Promise.resolve(Fe.value).then(we,De);Oe((_e=_e.apply(Pe,Ee)).next())});const ve=({problemset:Pe,dispatch:Ee})=>{var _e,Ce,xe,we,De;const[Oe,Fe]=(0,ye.useState)({}),[Le,Qe]=(0,ye.useState)([]),[He,ze]=(0,ye.useState)(!1),[Ke,Ge]=(0,ye.useState)(!1),[ke,Ne]=(0,ye.useState)({}),Ve=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];(0,ye.useEffect)(()=>{var Ue,Ie,Ze;if(((Ue=Pe==null?void 0:Pe.actionTabs)==null?void 0:Ue.key)==="BPROGRAM"){const Te=(0,he.cloneDeep)((Ie=Pe==null?void 0:Pe.actionTabs)==null?void 0:Ie.params);Fe(Te),Qe((Ze=Te==null?void 0:Te.standard_answer)==null?void 0:Ze.map(We=>({value:"",answer:(We==null?void 0:We.answer_text)||[]})))}},[(_e=Pe==null?void 0:Pe.actionTabs)==null?void 0:_e.key]);function Je(){return new Date().getTime()}const rt=()=>be(void 0,null,function*(){var Ue,Ie,Ze,Te,We;if(Le.some(qe=>(qe==null?void 0:qe.value)==="")&&!He){E.ZP.warning("\u8BF7\u60A8\u4F5C\u7B54\u540E\u518D\u63D0\u4EA4");return}if(He){const qe=(0,he.cloneDeep)((Ue=Pe==null?void 0:Pe.actionTabs)==null?void 0:Ue.params);Qe([...(Ie=qe==null?void 0:qe.standard_answer)==null?void 0:Ie.map(Be=>({value:"",answer:(Be==null?void 0:Be.answer_text)||[],type:""}))]),ze(!He);return}else{let qe=Le==null?void 0:Le.map((Be,Ae)=>me(fe({},Be),{type:Be.types}));Qe(qe)}console.log(Le),Ge(!0);let at=yield(0,ae.ZP)(`/api/problems/${(Ze=Oe==null?void 0:Oe.program_attr)==null?void 0:Ze.identifier}/start.json`,{method:"get"});const et=yield(0,re.n4)(at==null?void 0:at.identifier,{code:(Te=Oe==null?void 0:Oe.program_attr)==null?void 0:Te.code,language:(We=Oe==null?void 0:Oe.program_attr)==null?void 0:We.language,answers:Le==null?void 0:Le.map(qe=>qe.value)});if((et==null?void 0:et.status)===0){let Be=function(){return be(this,null,function*(){const{status:Ae,message:Me,data:Re}=yield(0,re.rX)(at==null?void 0:at.identifier,"submit"),nt=Je()-qe>10*1e3*(Le==null?void 0:Le.length);if(Ae!==0&&!nt&&setTimeout(Be,1e3),nt){pe.default.error({centered:!0,okText:"\u77E5\u9053\u5566",title:"\u8C03\u8BD5\u4EE3\u7801\u8D85\u65F6",content:"\u8BF7\u68C0\u67E5\u7A0B\u5E8F\u4EE3\u7801\u662F\u5426\u5B58\u5728\u6B7B\u5FAA\u73AF"}),Ge(!1);return}if(Ae===0){Ge(!1);let $e=Le==null?void 0:Le.map((tt,st)=>me(fe({},tt),{type:(Re==null?void 0:Re.right_arr[st])===1?"success":"warning"}));Qe($e),Ne(Re),Re.status===2&&(Ge(!1),pe.default.error({centered:!0,okText:"\u77E5\u9053\u5566",title:"\u8C03\u8BD5\u4EE3\u7801\u8D85\u65F6"}))}})};const qe=Je();yield(0,re.bM)(at==null?void 0:at.identifier,{}),Be()}else Ge(!1);ze(!He)}),Ye=()=>{Fe({}),Qe([]),ze(!1),Ee({type:"problemset/setActionTabs",payload:{}})};return y.createElement(y.Fragment,null,y.createElement(pe.default,{centered:!0,destroyOnClose:!0,open:Pe.actionTabs.key==="BPROGRAM",title:"\u8BD5\u9898\u4F53\u9A8C",okText:He?"\u91CD\u65B0\u7B54\u9898":"\u63D0\u4EA4\u4EE3\u7801",cancelText:"\u53D6\u6D88",width:708,onOk:rt,onCancel:Ye,okButtonProps:{loading:Ke}},y.createElement("div",null,y.createElement("div",{className:"c-light-primary mb5 font16"},"\u7A0B\u5E8F\u586B\u7A7A\u9898"),y.createElement(ie.Z,{value:(Ce=Oe==null?void 0:Oe.program_attr)==null?void 0:Ce.description}),((xe=Oe==null?void 0:Oe.program_attr)==null?void 0:xe.code)&&y.createElement(ie.Z,{showProgramFill:!0,onFillChange:Ue=>{let Ie=Ue==null?void 0:Ue.map((Ze,Te)=>fe({},Ze));Qe(Ie)},programFillValue:Le,value:ue.Base64.decode((we=Oe==null?void 0:Oe.program_attr)==null?void 0:we.code)}),He&&y.createElement(ye.Fragment,null,y.createElement("div",{className:oe.Z.line}),(De=Oe==null?void 0:Oe.standard_answer)==null?void 0:De.map((Ue,Ie)=>y.createElement("div",{className:"c-grey-333 mb5",style:{display:"flex",alignItems:"baseline"}},y.createElement("b",null,"\u586B\u7A7A",Ie+1,"\u7B54\u6848:\xA0"),y.createElement("pre",null,(Ue==null?void 0:Ue.answer_text)||""))),y.createElement("div",{className:"c-grey-333 mb10"},y.createElement("b",null,"\u89E3\u6790:\xA0"),(Oe==null?void 0:Oe.analysis)||"\u6682\u65E0\u89E3\u6790")))),(ke==null?void 0:ke.id)&&ke.status!==2&&y.createElement(pe.default,{open:(ke==null?void 0:ke.id)&&ke.status!==2,title:"\u8FD0\u884C\u7ED3\u679C",width:1100,footer:!1,onOk:()=>{Ne({})},onCancel:()=>{Ne({})}},y.createElement("div",{style:{maxHeight:600,overflow:"auto",marginBottom:15}},y.createElement("div",{style:{marginBottom:20,display:"flex",justifyContent:"space-between",fontSize:14}},y.createElement("div",null,y.createElement("span",{style:{color:"#666666"}},"\u72B6\u6001"),y.createElement("span",{style:{marginLeft:12,color:ke.status!==0&&"#E30000"}},ne.Im[ke.status])),y.createElement("div",null,y.createElement("span",{style:{color:"#666666"}},"\u63D0\u4EA4\u65F6\u95F4"),y.createElement("span",{style:{marginLeft:12}},a()(ke.created_at).format("YYYY-MM-DD HH:mm:ss"))),y.createElement("div",null,y.createElement("span",{style:{color:"#666666"}},"\u8BED\u8A00"),y.createElement("span",{style:{marginLeft:12}},ke.language)),y.createElement("div",null,y.createElement("span",{style:{color:"#666666"}},"\u6267\u884C\u7528\u65F6"),y.createElement("span",{style:{marginLeft:12}},ke.execute_time,"ms"))),y.createElement(ne.Y4,fe({},ke)))))};ot.Z=(0,je.connect)(({problemset:Pe})=>({problemset:Pe}))(ve)},95380:function(ct,ot,Se){"use strict";Se.d(ot,{Z:function(){return Mt}});var ye=Se(59301),je=Se(24459),E=Se(8591),pe=Se(43418),he=Se(89392),ce=Se(99325),oe=Se(5112),ie=Se(3113),ue=Se(28103),se=Se(43219),ae=Se(59301),re=Object.defineProperty,ne=Object.defineProperties,te=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,b=(yt,wt,Lt)=>wt in yt?re(yt,wt,{enumerable:!0,configurable:!0,writable:!0,value:Lt}):yt[wt]=Lt,ee=(yt,wt)=>{for(var Lt in wt||(wt={}))y.call(wt,Lt)&&b(yt,Lt,wt[Lt]);if(a)for(var Lt of a(wt))x.call(wt,Lt)&&b(yt,Lt,wt[Lt]);return yt},z=(yt,wt)=>ne(yt,te(wt)),le=(yt,wt,Lt)=>new Promise((cn,Vt)=>{var an=Ut=>{try{$t(Lt.next(Ut))}catch(rn){Vt(rn)}},Zt=Ut=>{try{$t(Lt.throw(Ut))}catch(rn){Vt(rn)}},$t=Ut=>Ut.done?cn(Ut.value):Promise.resolve(Ut.value).then(an,Zt);$t((Lt=Lt.apply(yt,wt)).next())});const de=({problemset:yt,dispatch:wt,showdiv:Lt,data:cn})=>{const[Vt,an]=(0,ye.useState)([]),[Zt,$t]=(0,ye.useState)(!1),Ut=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];(0,ye.useEffect)(()=>{var xn;((xn=Object.keys(cn))==null?void 0:xn.length)>0&&an(cn.choices)},[cn]);const rn=()=>le(void 0,null,function*(){if(!Vt.some(xn=>xn==null?void 0:xn.checked)){E.ZP.warning("\u8BF7\u60A8\u4F5C\u7B54\u540E\u518D\u63D0\u4EA4");return}if(Zt){const xn=(0,he.cloneDeep)(cn);an(xn.choices)}$t(!Zt)}),In=(xn,Ft)=>{console.log(xn.target.checked);const At=Vt.map((bt,tn)=>z(ee({},bt),{checked:tn===Ft?xn.target.checked:!1}));an(At)},Cn=()=>{an([]),$t(!1),wt({type:"problemset/setActionTabs",payload:{}})};return ae.createElement("div",null,ae.createElement("div",{className:"c-light-primary mb5 font16"},"\u5355\u9009\u9898"),ae.createElement(ce.Z,{value:cn==null?void 0:cn.name}),Vt==null?void 0:Vt.map((xn,Ft)=>{const{is_answer:At,checked:bt,choice_text:tn}=xn;let Qt="";return Zt&&At&&(Qt=se.Z.green),Zt&&!At&&bt&&(Qt=se.Z.red),ae.createElement("div",{key:Ft,style:{pointerEvents:Zt?"none":"auto"},className:`${se.Z.row} ${Qt}`},ae.createElement(oe.ZP,{onChange:dn=>In(dn,Ft),checked:bt}),ae.createElement("span",null,Ut[Ft],".\xA0"),ae.createElement(ce.Z,{className:se.Z.html,value:tn}),Zt&&At&&ae.createElement("span",{style:{paddingTop:4},className:"iconfont icon-duigou1 font16"}),Zt&&!At&&bt&&ae.createElement("span",{style:{fontWeight:600,paddingTop:5},className:"iconfont icon-guanbi font16"}))}),Zt&&ae.createElement(ye.Fragment,null,ae.createElement("div",{style:{background:"#F6F7F9",padding:10,marginTop:10}},ae.createElement("div",{className:"c-grey-333 mb5"},ae.createElement("b",null,"\u6B63\u786E\u7B54\u6848:\xA0"),Ut[Vt.findIndex(xn=>xn.is_answer)]),ae.createElement("div",{className:"c-grey-333 mb10"},ae.createElement("b",null,"\u89E3\u6790:\xA0"),(cn==null?void 0:cn.analysis)||"\u6682\u65E0\u89E3\u6790"))),ae.createElement("div",{style:{textAlign:"end",marginTop:10}},ae.createElement(ie.ZP,{type:"primary",onClick:()=>{rn()}},Zt?"\u91CD\u65B0\u7B54\u9898":"\u63D0\u4EA4\u7B54\u6848")),!Lt&&ae.createElement(ue.Z,null))};var ge=(0,je.connect)(({problemset:yt})=>({problemset:yt}))(de),fe=Se(92832),me=Se(72714),be=Se(59301),ve=Object.defineProperty,Pe=Object.defineProperties,Ee=Object.getOwnPropertyDescriptors,_e=Object.getOwnPropertySymbols,Ce=Object.prototype.hasOwnProperty,xe=Object.prototype.propertyIsEnumerable,we=(yt,wt,Lt)=>wt in yt?ve(yt,wt,{enumerable:!0,configurable:!0,writable:!0,value:Lt}):yt[wt]=Lt,De=(yt,wt)=>{for(var Lt in wt||(wt={}))Ce.call(wt,Lt)&&we(yt,Lt,wt[Lt]);if(_e)for(var Lt of _e(wt))xe.call(wt,Lt)&&we(yt,Lt,wt[Lt]);return yt},Oe=(yt,wt)=>Pe(yt,Ee(wt)),Fe=(yt,wt,Lt)=>new Promise((cn,Vt)=>{var an=Ut=>{try{$t(Lt.next(Ut))}catch(rn){Vt(rn)}},Zt=Ut=>{try{$t(Lt.throw(Ut))}catch(rn){Vt(rn)}},$t=Ut=>Ut.done?cn(Ut.value):Promise.resolve(Ut.value).then(an,Zt);$t((Lt=Lt.apply(yt,wt)).next())});const Le=({problemset:yt,datas:wt,showdiv:Lt,dispatch:cn})=>{var Vt;const[an,Zt]=(0,ye.useState)({}),[$t,Ut]=(0,ye.useState)([]),[rn,In]=(0,ye.useState)(!1),Cn=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];(0,ye.useEffect)(()=>{var bt;if(Object.keys(wt)){const tn=(0,he.cloneDeep)(wt);Zt(tn),Ut((bt=tn==null?void 0:tn.standard_answer)==null?void 0:bt.map(Qt=>De({value:"",answer:(Qt==null?void 0:Qt.answer_text)||[]},Qt)))}},[wt]);const xn=()=>Fe(void 0,null,function*(){var bt;if($t.some(tn=>(tn==null?void 0:tn.value)==="")){E.ZP.warning("\u8BF7\u60A8\u4F5C\u7B54\u540E\u518D\u63D0\u4EA4");return}if(rn){const tn=(0,he.cloneDeep)(wt);Ut((bt=tn==null?void 0:tn.standard_answer)==null?void 0:bt.map(Qt=>De({value:"",answer:(Qt==null?void 0:Qt.answer_text)||[]},Qt)))}In(!rn)}),Ft=(bt,tn)=>{const Qt=$t.map((dn,mn)=>Oe(De({},dn),{value:mn===tn?bt.target.value:dn.value}));Ut(Qt)},At=()=>{Zt({}),Ut([]),In(!1),cn({type:"problemset/setActionTabs",payload:{}})};return be.createElement("div",null,be.createElement("div",{className:"c-light-primary mb5 font16"},"\u586B\u7A7A\u9898"),be.createElement(ce.Z,{value:an==null?void 0:an.name}),$t==null?void 0:$t.map((bt,tn)=>{const{value:Qt,answer:dn}=bt;let mn="";return rn&&(dn!=null&&dn.includes(Qt))&&(mn=se.Z.green),rn&&!(dn!=null&&dn.includes(Qt))&&(mn=se.Z.red),be.createElement("div",{key:tn,style:{pointerEvents:rn?"none":"auto",marginTop:10},className:`${se.Z.row} ${mn}`},be.createElement("div",{style:{minWidth:80}},"\u586B\u7A7A",tn+1,"\u7B54\u6848:"),(bt==null?void 0:bt.model)===1?be.createElement(fe.default.TextArea,{className:se.Z.textArea,style:{width:610,marginRight:10},onChange:dt=>Ft(dt,tn),value:Qt}):be.createElement(me.Z,{value:Qt,onChange:dt=>{const ft=$t.map((gt,Gt)=>Oe(De({},gt),{value:Gt===tn?dt:gt.value}));Ut(ft)}}),rn&&(dn==null?void 0:dn.includes(Qt))&&be.createElement("span",{style:{paddingTop:4},className:"iconfont icon-duigou1 font16"}),rn&&!(dn!=null&&dn.includes(Qt))&&be.createElement("span",{style:{fontWeight:600,paddingTop:5},className:"iconfont icon-guanbi font16"}))}),rn&&be.createElement(ye.Fragment,null,be.createElement("div",{style:{background:"#F6F7F9",padding:10,marginTop:10}},(Vt=an==null?void 0:an.standard_answer)==null?void 0:Vt.map((bt,tn)=>{var Qt,dn;return be.createElement("div",{className:"c-grey-333 mb5"},be.createElement("b",null,"\u586B\u7A7A",tn+1,"\u7B54\u6848:\xA0"),(bt==null?void 0:bt.model)===1?((Qt=bt==null?void 0:bt.answer_text)==null?void 0:Qt.join("\u3001"))||"":be.createElement(me.Z,{value:(dn=bt==null?void 0:bt.answer_text)==null?void 0:dn.join("\u3001"),disabled:!0}))}),be.createElement("div",{className:"c-grey-333 mb10"},be.createElement("b",null,"\u89E3\u6790:\xA0"),(an==null?void 0:an.analysis)||"\u6682\u65E0\u89E3\u6790"))),be.createElement("div",{style:{textAlign:"end",marginTop:10}},be.createElement(ie.ZP,{type:"primary",onClick:()=>{xn()}},rn?"\u91CD\u65B0\u7B54\u9898":"\u63D0\u4EA4\u7B54\u6848")),!Lt&&be.createElement(ue.Z,null))};var Qe=(0,je.connect)(({problemset:yt})=>({problemset:yt}))(Le),He=Se(59301),ze=Object.defineProperty,Ke=Object.defineProperties,Ge=Object.getOwnPropertyDescriptors,ke=Object.getOwnPropertySymbols,Ne=Object.prototype.hasOwnProperty,Ve=Object.prototype.propertyIsEnumerable,Je=(yt,wt,Lt)=>wt in yt?ze(yt,wt,{enumerable:!0,configurable:!0,writable:!0,value:Lt}):yt[wt]=Lt,rt=(yt,wt)=>{for(var Lt in wt||(wt={}))Ne.call(wt,Lt)&&Je(yt,Lt,wt[Lt]);if(ke)for(var Lt of ke(wt))Ve.call(wt,Lt)&&Je(yt,Lt,wt[Lt]);return yt},Ye=(yt,wt)=>Ke(yt,Ge(wt)),Ue=(yt,wt,Lt)=>new Promise((cn,Vt)=>{var an=Ut=>{try{$t(Lt.next(Ut))}catch(rn){Vt(rn)}},Zt=Ut=>{try{$t(Lt.throw(Ut))}catch(rn){Vt(rn)}},$t=Ut=>Ut.done?cn(Ut.value):Promise.resolve(Ut.value).then(an,Zt);$t((Lt=Lt.apply(yt,wt)).next())});const Ie=({problemset:yt,datas:wt,showdiv:Lt,dispatch:cn})=>{var Vt;const[an,Zt]=(0,ye.useState)({}),[$t,Ut]=(0,ye.useState)([]),[rn,In]=(0,ye.useState)(!1),Cn=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];(0,ye.useEffect)(()=>{if(Object.keys(wt)){const bt=(0,he.cloneDeep)(wt);Zt(bt),Ut(bt.choices)}},[wt]);const xn=()=>Ue(void 0,null,function*(){if(!$t.some(bt=>bt==null?void 0:bt.checked)){E.ZP.warning("\u8BF7\u60A8\u4F5C\u7B54\u540E\u518D\u63D0\u4EA4");return}if(rn){const bt=(0,he.cloneDeep)(wt);Ut(bt.choices)}In(!rn)}),Ft=(bt,tn)=>{console.log(bt.target.checked);const Qt=$t.map((dn,mn)=>Ye(rt({},dn),{checked:mn===tn?bt.target.checked:!1}));Ut(Qt)},At=()=>{Zt({}),Ut([]),In(!1),cn({type:"problemset/setActionTabs",payload:{}})};return He.createElement("div",null,He.createElement("div",{className:"c-light-primary mb5 font16"},"\u5224\u65AD\u9898"),He.createElement(ce.Z,{value:an==null?void 0:an.name}),$t==null?void 0:$t.map((bt,tn)=>{const{is_answer:Qt,checked:dn,choice_text:mn}=bt;let dt="";return rn&&Qt&&(dt=se.Z.green),rn&&!Qt&&dn&&(dt=se.Z.red),He.createElement("div",{key:tn,style:{pointerEvents:rn?"none":"auto"},className:`${se.Z.row} ${dt}`},He.createElement(oe.ZP,{onChange:ft=>Ft(ft,tn),checked:dn}),He.createElement(ce.Z,{className:se.Z.html,value:mn}),rn&&Qt&&He.createElement("span",{style:{paddingTop:4},className:"iconfont icon-duigou1 font16"}),rn&&!Qt&&dn&&He.createElement("span",{style:{fontWeight:600,paddingTop:5},className:"iconfont icon-guanbi font16"}))}),rn&&He.createElement(ye.Fragment,null,He.createElement("div",{style:{background:"#F6F7F9",padding:10,marginTop:10}},He.createElement("div",{className:"c-grey-333 mb5"},He.createElement("b",null,"\u6B63\u786E\u7B54\u6848:\xA0"),(Vt=$t.find(bt=>bt.is_answer))==null?void 0:Vt.choice_text),He.createElement("div",{className:"c-grey-333 mb10"},He.createElement("b",null,"\u89E3\u6790:\xA0"),(an==null?void 0:an.analysis)||"\u6682\u65E0\u89E3\u6790"))),He.createElement("div",{style:{textAlign:"end",marginTop:10}},He.createElement(ie.ZP,{type:"primary",onClick:()=>{xn()}},rn?"\u91CD\u65B0\u7B54\u9898":"\u63D0\u4EA4\u7B54\u6848")),!Lt&&He.createElement(ue.Z,null))};var Ze=(0,je.connect)(({problemset:yt})=>({problemset:yt}))(Ie),Te=Se(24905),We=Se(59301),at=Object.defineProperty,et=Object.defineProperties,qe=Object.getOwnPropertyDescriptors,Be=Object.getOwnPropertySymbols,Ae=Object.prototype.hasOwnProperty,Me=Object.prototype.propertyIsEnumerable,Re=(yt,wt,Lt)=>wt in yt?at(yt,wt,{enumerable:!0,configurable:!0,writable:!0,value:Lt}):yt[wt]=Lt,Xe=(yt,wt)=>{for(var Lt in wt||(wt={}))Ae.call(wt,Lt)&&Re(yt,Lt,wt[Lt]);if(Be)for(var Lt of Be(wt))Me.call(wt,Lt)&&Re(yt,Lt,wt[Lt]);return yt},nt=(yt,wt)=>et(yt,qe(wt)),$e=(yt,wt,Lt)=>new Promise((cn,Vt)=>{var an=Ut=>{try{$t(Lt.next(Ut))}catch(rn){Vt(rn)}},Zt=Ut=>{try{$t(Lt.throw(Ut))}catch(rn){Vt(rn)}},$t=Ut=>Ut.done?cn(Ut.value):Promise.resolve(Ut.value).then(an,Zt);$t((Lt=Lt.apply(yt,wt)).next())});const tt=({problemset:yt,data:wt,showdiv:Lt,dispatch:cn})=>{const[Vt,an]=(0,ye.useState)([]),[Zt,$t]=(0,ye.useState)(!1),Ut=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];(0,ye.useEffect)(()=>{var xn;((xn=Object.keys(wt))==null?void 0:xn.length)>0&&an(wt.choices)},[wt]);const rn=()=>$e(void 0,null,function*(){if(!Vt.some(xn=>xn==null?void 0:xn.checked)){E.ZP.warning("\u8BF7\u60A8\u4F5C\u7B54\u540E\u518D\u63D0\u4EA4");return}if(Zt){const xn=(0,he.cloneDeep)(wt);an(xn.choices)}$t(!Zt)}),In=(xn,Ft)=>{console.log(xn.target.checked);const At=Vt.map((bt,tn)=>nt(Xe({},bt),{checked:tn===Ft?xn.target.checked:bt.checked}));an(At)},Cn=()=>{let xn="";return Vt.forEach((Ft,At)=>{Ft.is_answer&&(xn=xn+Ut[At])}),xn};return We.createElement("div",null,We.createElement("div",{className:"c-light-primary mb5 font16"},"\u591A\u9009\u9898"),We.createElement(ce.Z,{value:wt==null?void 0:wt.name}),Vt==null?void 0:Vt.map((xn,Ft)=>{const{is_answer:At,checked:bt,choice_text:tn}=xn;let Qt="";return Zt&&At&&(Qt=se.Z.green),Zt&&!At&&bt&&(Qt=se.Z.red),We.createElement("div",{key:Ft,style:{pointerEvents:Zt?"none":"auto"},className:`${se.Z.row} ${Qt}`},We.createElement(Te.default,{style:{padding:3},onChange:dn=>In(dn,Ft),checked:bt}),We.createElement("span",null,Ut[Ft],".\xA0"),We.createElement(ce.Z,{className:se.Z.html,value:tn}),Zt&&At&&We.createElement("span",{style:{paddingTop:4},className:"iconfont icon-duigou1 font16"}),Zt&&!At&&bt&&We.createElement("span",{style:{fontWeight:600,paddingTop:5},className:"iconfont icon-guanbi font16"}))}),Zt&&We.createElement(ye.Fragment,null,We.createElement("div",{style:{background:"#F6F7F9",padding:10,marginTop:10}},We.createElement("div",{className:"c-grey-333 mb5"},We.createElement("b",null,"\u6B63\u786E\u7B54\u6848:\xA0"),Cn()),We.createElement("div",{className:"c-grey-333 mb10"},We.createElement("b",null,"\u89E3\u6790:\xA0"),(wt==null?void 0:wt.analysis)||"\u6682\u65E0\u89E3\u6790"))),We.createElement("div",{style:{textAlign:"end",marginTop:10}},We.createElement(ie.ZP,{type:"primary",onClick:()=>{rn()}},Zt?"\u91CD\u65B0\u7B54\u9898":"\u63D0\u4EA4\u7B54\u6848")),!Lt&&We.createElement(ue.Z,null))};var st=(0,je.connect)(({problemset:yt})=>({problemset:yt}))(tt),it=Se(64726),lt=Se(59301),ut=(yt,wt,Lt)=>new Promise((cn,Vt)=>{var an=Ut=>{try{$t(Lt.next(Ut))}catch(rn){Vt(rn)}},Zt=Ut=>{try{$t(Lt.throw(Ut))}catch(rn){Vt(rn)}},$t=Ut=>Ut.done?cn(Ut.value):Promise.resolve(Ut.value).then(an,Zt);$t((Lt=Lt.apply(yt,wt)).next())});const vt=({problemset:yt,dispatch:wt,showdiv:Lt,datas:cn})=>{var Vt,an,Zt;const[$t,Ut]=(0,ye.useState)({}),[rn,In]=(0,ye.useState)(!1),[Cn,xn]=(0,ye.useState)(!0),[Ft,At]=(0,ye.useState)("");(0,ye.useEffect)(()=>{if(Object.keys(cn)){const Qt=(0,he.cloneDeep)(cn);Ut(Qt)}},[cn]);const bt=()=>ut(void 0,null,function*(){if(!Ft){E.ZP.warning("\u8BF7\u60A8\u4F5C\u7B54\u540E\u518D\u63D0\u4EA4");return}rn&&At(""),In(!rn)}),tn=()=>{Ut({}),xn(!0),In(!1),At(""),wt({type:"problemset/setActionTabs",payload:{}})};return lt.createElement("div",null,lt.createElement("div",{className:"c-light-primary mb5 font16"},"\u7B80\u7B54\u9898"),lt.createElement(ce.Z,{value:$t==null?void 0:$t.name,style:{marginBottom:10}}),Cn?lt.createElement("div",{style:{border:"1px solid #f1f1f1",padding:10},onClick:()=>{xn(!1)}}," \u70B9\u51FB\u5F00\u59CB\u4F5C\u7B54"):lt.createElement(it.Z,{defaultValue:Ft,onChange:Qt=>{At(Qt)}}),rn&<.createElement(ye.Fragment,null,lt.createElement("div",{style:{background:"#F6F7F9",padding:10,marginTop:10}},lt.createElement("span",{style:{color:"#5F6368"}},"\u53C2\u8003\u7B54\u6848\uFF1A"),lt.createElement("br",null),((Vt=$t==null?void 0:$t.answer_texts)==null?void 0:Vt[0])||"\u6682\u65E0\u53C2\u8003\u7B54\u6848",((an=$t==null?void 0:$t.keywords)==null?void 0:an.length)>0&<.createElement("div",{style:{marginTop:10,marginBottom:10}},lt.createElement("span",{style:{color:"#5F6368"}},"\u5173\u952E\u8BCD\uFF1A"),(Zt=$t==null?void 0:$t.keywords)==null?void 0:Zt.map(Qt=>{var dn,mn,dt;return((dn=Qt==null?void 0:Qt.keyword)==null?void 0:dn.length)>1?((mn=Qt==null?void 0:Qt.keyword)==null?void 0:mn.join("\u6216"))+"\uFF1B":((dt=Qt==null?void 0:Qt.keyword)==null?void 0:dt[0])+"\uFF1B"})),lt.createElement("div",{style:{color:"#5F6368"}},lt.createElement("b",null,"\u89E3\u6790:"),lt.createElement("br",null),($t==null?void 0:$t.analysis)||"\u6682\u65E0\u89E3\u6790"))),lt.createElement("div",{style:{textAlign:"end",marginTop:10}},lt.createElement(ie.ZP,{type:"primary",onClick:()=>{bt()}},rn?"\u91CD\u65B0\u7B54\u9898":"\u63D0\u4EA4\u7B54\u6848")),!Lt&<.createElement(ue.Z,null))};var pt=(0,je.connect)(({problemset:yt})=>({problemset:yt}))(vt),mt=Se(59301),St=(yt,wt,Lt)=>new Promise((cn,Vt)=>{var an=Ut=>{try{$t(Lt.next(Ut))}catch(rn){Vt(rn)}},Zt=Ut=>{try{$t(Lt.throw(Ut))}catch(rn){Vt(rn)}},$t=Ut=>Ut.done?cn(Ut.value):Promise.resolve(Ut.value).then(an,Zt);$t((Lt=Lt.apply(yt,wt)).next())});const xt=({problemset:yt,dispatch:wt})=>{var Lt,cn;const[Vt,an]=(0,ye.useState)({}),[Zt,$t]=(0,ye.useState)(!1),[Ut,rn]=(0,ye.useState)(!0),[In,Cn]=(0,ye.useState)("");(0,ye.useEffect)(()=>{var At,bt;if(((At=yt==null?void 0:yt.actionTabs)==null?void 0:At.key)==="COMBINATION"){const tn=(0,he.cloneDeep)((bt=yt==null?void 0:yt.actionTabs)==null?void 0:bt.params);an(tn)}},[(Lt=yt==null?void 0:yt.actionTabs)==null?void 0:Lt.key]);const xn=()=>St(void 0,null,function*(){if(!In){E.ZP.warning("\u8BF7\u60A8\u4F5C\u7B54\u540E\u518D\u63D0\u4EA4");return}$t(!Zt)}),Ft=()=>{an({}),rn(!0),$t(!1),Cn(""),wt({type:"problemset/setActionTabs",payload:{}})};return mt.createElement(pe.default,{centered:!0,destroyOnClose:!0,open:yt.actionTabs.key==="COMBINATION",title:"\u8BD5\u9898\u4F53\u9A8C",okText:Zt?"\u91CD\u65B0\u7B54\u9898":"\u63D0\u4EA4\u7B54\u6848",cancelText:"\u53D6\u6D88",footer:!1,width:708,bodyStyle:{maxHeight:600,overflow:"auto"},onOk:xn,onCancel:Ft},mt.createElement("div",null,mt.createElement("div",{className:"c-light-primary mb5 font16"},"\u7EC4\u5408\u9898"),mt.createElement(ce.Z,{value:Vt==null?void 0:Vt.name,style:{marginBottom:10}}),(cn=Vt==null?void 0:Vt.sub_item_banks)==null?void 0:cn.map((At,bt)=>{var tn,Qt,dn,mn,dt;if((At==null?void 0:At.item_type)==="SINGLE")return mt.createElement(ge,{data:At,showdiv:((tn=Vt==null?void 0:Vt.sub_item_banks)==null?void 0:tn.length)-1===bt});if((At==null?void 0:At.item_type)==="MULTIPLE")return mt.createElement(st,{data:At,showdiv:((Qt=Vt==null?void 0:Vt.sub_item_banks)==null?void 0:Qt.length)-1===bt});if((At==null?void 0:At.item_type)==="JUDGMENT")return mt.createElement(Ze,{datas:At,showdiv:((dn=Vt==null?void 0:Vt.sub_item_banks)==null?void 0:dn.length)-1===bt});if((At==null?void 0:At.item_type)==="COMPLETION")return mt.createElement(Qe,{datas:At,showdiv:((mn=Vt==null?void 0:Vt.sub_item_banks)==null?void 0:mn.length)-1===bt});if((At==null?void 0:At.item_type)==="SUBJECTIVE")return mt.createElement(pt,{datas:At,showdiv:((dt=Vt==null?void 0:Vt.sub_item_banks)==null?void 0:dt.length)-1===bt})})))};var Mt=(0,je.connect)(({problemset:yt})=>({problemset:yt}))(xt)},74517:function(ct,ot,Se){"use strict";var ye=Se(59301),je=Se(24459),E=Se(8591),pe=Se(43418),he=Se(92832),ce=Se(89392),oe=Se.n(ce),ie=Se(43219),ue=Se(99325),se=Se(72714),ae=Se(59301),re=Object.defineProperty,ne=Object.defineProperties,te=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,b=(ge,fe,me)=>fe in ge?re(ge,fe,{enumerable:!0,configurable:!0,writable:!0,value:me}):ge[fe]=me,ee=(ge,fe)=>{for(var me in fe||(fe={}))y.call(fe,me)&&b(ge,me,fe[me]);if(a)for(var me of a(fe))x.call(fe,me)&&b(ge,me,fe[me]);return ge},z=(ge,fe)=>ne(ge,te(fe)),le=(ge,fe,me)=>new Promise((be,ve)=>{var Pe=Ce=>{try{_e(me.next(Ce))}catch(xe){ve(xe)}},Ee=Ce=>{try{_e(me.throw(Ce))}catch(xe){ve(xe)}},_e=Ce=>Ce.done?be(Ce.value):Promise.resolve(Ce.value).then(Pe,Ee);_e((me=me.apply(ge,fe)).next())});const de=({problemset:ge,dispatch:fe})=>{var me,be;const[ve,Pe]=(0,ye.useState)({}),[Ee,_e]=(0,ye.useState)([]),[Ce,xe]=(0,ye.useState)(!1),we=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];(0,ye.useEffect)(()=>{var Le,Qe,He;if(((Le=ge==null?void 0:ge.actionTabs)==null?void 0:Le.key)==="COMPLETION"){const ze=(0,ce.cloneDeep)((Qe=ge==null?void 0:ge.actionTabs)==null?void 0:Qe.params);Pe(ze),_e((He=ze==null?void 0:ze.standard_answer)==null?void 0:He.map(Ke=>ee({value:"",answer:(Ke==null?void 0:Ke.answer_text)||[]},Ke)))}},[(me=ge==null?void 0:ge.actionTabs)==null?void 0:me.key]);const De=()=>le(void 0,null,function*(){var Le,Qe;if(Ee.some(He=>(He==null?void 0:He.value)==="")){E.ZP.warning("\u8BF7\u60A8\u4F5C\u7B54\u540E\u518D\u63D0\u4EA4");return}if(Ce){const He=(0,ce.cloneDeep)((Le=ge==null?void 0:ge.actionTabs)==null?void 0:Le.params);_e((Qe=He==null?void 0:He.standard_answer)==null?void 0:Qe.map(ze=>ee({value:"",answer:(ze==null?void 0:ze.answer_text)||[]},ze)))}xe(!Ce)}),Oe=(Le,Qe)=>{const He=Ee.map((ze,Ke)=>z(ee({},ze),{value:Ke===Qe?Le.target.value:ze.value}));_e(He)},Fe=()=>{Pe({}),_e([]),xe(!1),fe({type:"problemset/setActionTabs",payload:{}})};return ae.createElement(pe.default,{centered:!0,destroyOnClose:!0,open:ge.actionTabs.key==="COMPLETION",title:"\u8BD5\u9898\u4F53\u9A8C",okText:Ce?"\u91CD\u65B0\u7B54\u9898":"\u63D0\u4EA4\u7B54\u6848",cancelText:"\u53D6\u6D88",width:708,onOk:De,onCancel:Fe},ae.createElement("div",null,ae.createElement("div",{className:"c-light-primary mb5 font16"},"\u586B\u7A7A\u9898"),ae.createElement(ue.Z,{value:ve==null?void 0:ve.name}),Ee==null?void 0:Ee.map((Le,Qe)=>{const{value:He,answer:ze}=Le;let Ke="";return Ce&&(ze!=null&&ze.includes(He))&&(Ke=ie.Z.green),Ce&&!(ze!=null&&ze.includes(He))&&(Ke=ie.Z.red),ae.createElement("div",{key:Qe,style:{pointerEvents:Ce?"none":"auto",marginTop:10},className:`${ie.Z.row} ${Ke}`},ae.createElement("div",{style:{minWidth:80}},"\u586B\u7A7A",Qe+1,"\u7B54\u6848:"),(Le==null?void 0:Le.model)===1?ae.createElement(he.default.TextArea,{className:ie.Z.textArea,style:{width:610,marginRight:10},onChange:Ge=>Oe(Ge,Qe),value:He}):ae.createElement(se.Z,{value:He,onChange:Ge=>{const ke=Ee.map((Ne,Ve)=>z(ee({},Ne),{value:Ve===Qe?Ge:Ne.value}));_e(ke)}}),Ce&&(ze==null?void 0:ze.includes(He))&&ae.createElement("span",{style:{paddingTop:4},className:"iconfont icon-duigou1 font16"}),Ce&&!(ze!=null&&ze.includes(He))&&ae.createElement("span",{style:{fontWeight:600,paddingTop:5},className:"iconfont icon-guanbi font16"}))}),Ce&&ae.createElement(ye.Fragment,null,ae.createElement("div",{className:ie.Z.line}),(be=ve==null?void 0:ve.standard_answer)==null?void 0:be.map((Le,Qe)=>{var He,ze;return ae.createElement("div",{className:"c-grey-333 mb5"},ae.createElement("b",null,"\u586B\u7A7A",Qe+1,"\u7B54\u6848:\xA0"),(Le==null?void 0:Le.model)===1?((He=Le==null?void 0:Le.answer_text)==null?void 0:He.join("\u3001"))||"":ae.createElement(se.Z,{value:(ze=Le==null?void 0:Le.answer_text)==null?void 0:ze.join("\u3001"),disabled:!0}))}),ae.createElement("div",{className:"c-grey-333 mb10"},ae.createElement("b",null,"\u89E3\u6790:\xA0"),(ve==null?void 0:ve.analysis)||"\u6682\u65E0\u89E3\u6790"))))};ot.Z=(0,je.connect)(({problemset:ge})=>({problemset:ge}))(de)},64634:function(ct,ot,Se){"use strict";var ye=Se(59301),je=Se(24459),E=Se(8591),pe=Se(43418),he=Se(5112),ce=Se(89392),oe=Se.n(ce),ie=Se(43219),ue=Se(99325),se=Object.defineProperty,ae=Object.defineProperties,re=Object.getOwnPropertyDescriptors,ne=Object.getOwnPropertySymbols,te=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,y=(le,de,ge)=>de in le?se(le,de,{enumerable:!0,configurable:!0,writable:!0,value:ge}):le[de]=ge,x=(le,de)=>{for(var ge in de||(de={}))te.call(de,ge)&&y(le,ge,de[ge]);if(ne)for(var ge of ne(de))a.call(de,ge)&&y(le,ge,de[ge]);return le},b=(le,de)=>ae(le,re(de)),ee=(le,de,ge)=>new Promise((fe,me)=>{var be=Ee=>{try{Pe(ge.next(Ee))}catch(_e){me(_e)}},ve=Ee=>{try{Pe(ge.throw(Ee))}catch(_e){me(_e)}},Pe=Ee=>Ee.done?fe(Ee.value):Promise.resolve(Ee.value).then(be,ve);Pe((ge=ge.apply(le,de)).next())});const z=({problemset:le,dispatch:de})=>{var ge,fe;const[me,be]=(0,ye.useState)({}),[ve,Pe]=(0,ye.useState)([]),[Ee,_e]=(0,ye.useState)(!1),Ce=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];(0,ye.useEffect)(()=>{var Oe,Fe;if(((Oe=le==null?void 0:le.actionTabs)==null?void 0:Oe.key)==="JUDGMENT"){const Le=(0,ce.cloneDeep)((Fe=le==null?void 0:le.actionTabs)==null?void 0:Fe.params);be(Le),Pe(Le.choices)}},[(ge=le==null?void 0:le.actionTabs)==null?void 0:ge.key]);const xe=()=>ee(void 0,null,function*(){var Oe;if(!ve.some(Fe=>Fe==null?void 0:Fe.checked)){E.ZP.warning("\u8BF7\u60A8\u4F5C\u7B54\u540E\u518D\u63D0\u4EA4");return}if(Ee){const Fe=(0,ce.cloneDeep)((Oe=le==null?void 0:le.actionTabs)==null?void 0:Oe.params);Pe(Fe.choices)}_e(!Ee)}),we=(Oe,Fe)=>{console.log(Oe.target.checked);const Le=ve.map((Qe,He)=>b(x({},Qe),{checked:He===Fe?Oe.target.checked:!1}));Pe(Le)},De=()=>{be({}),Pe([]),_e(!1),de({type:"problemset/setActionTabs",payload:{}})};return ye.createElement(pe.default,{centered:!0,destroyOnClose:!0,open:le.actionTabs.key==="JUDGMENT",title:"\u8BD5\u9898\u4F53\u9A8C",okText:Ee?"\u91CD\u65B0\u7B54\u9898":"\u63D0\u4EA4\u7B54\u6848",cancelText:"\u53D6\u6D88",width:708,onOk:xe,onCancel:De},ye.createElement("div",null,ye.createElement("div",{className:"c-light-primary mb5 font16"},"\u5224\u65AD\u9898"),ye.createElement(ue.Z,{value:me==null?void 0:me.name}),ve==null?void 0:ve.map((Oe,Fe)=>{const{is_answer:Le,checked:Qe,choice_text:He}=Oe;let ze="";return Ee&&Le&&(ze=ie.Z.green),Ee&&!Le&&Qe&&(ze=ie.Z.red),ye.createElement("div",{key:Fe,style:{pointerEvents:Ee?"none":"auto"},className:`${ie.Z.row} ${ze}`},ye.createElement(he.ZP,{onChange:Ke=>we(Ke,Fe),checked:Qe}),ye.createElement(ue.Z,{className:ie.Z.html,value:He}),Ee&&Le&&ye.createElement("span",{style:{paddingTop:4},className:"iconfont icon-duigou1 font16"}),Ee&&!Le&&Qe&&ye.createElement("span",{style:{fontWeight:600,paddingTop:5},className:"iconfont icon-guanbi font16"}))}),Ee&&ye.createElement(ye.Fragment,null,ye.createElement("div",{className:ie.Z.line}),ye.createElement("div",{className:"c-grey-333 mb5"},ye.createElement("b",null,"\u6B63\u786E\u7B54\u6848:\xA0"),(fe=ve.find(Oe=>Oe.is_answer))==null?void 0:fe.choice_text),ye.createElement("div",{className:"c-grey-333 mb10"},ye.createElement("b",null,"\u89E3\u6790:\xA0"),(me==null?void 0:me.analysis)||"\u6682\u65E0\u89E3\u6790"))))};ot.Z=(0,je.connect)(({problemset:le})=>({problemset:le}))(z)},41808:function(ct,ot,Se){"use strict";var ye=Se(59301),je=Se(24459),E=Se(8591),pe=Se(43418),he=Se(24905),ce=Se(89392),oe=Se.n(ce),ie=Se(43219),ue=Se(99325),se=Object.defineProperty,ae=Object.defineProperties,re=Object.getOwnPropertyDescriptors,ne=Object.getOwnPropertySymbols,te=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,y=(le,de,ge)=>de in le?se(le,de,{enumerable:!0,configurable:!0,writable:!0,value:ge}):le[de]=ge,x=(le,de)=>{for(var ge in de||(de={}))te.call(de,ge)&&y(le,ge,de[ge]);if(ne)for(var ge of ne(de))a.call(de,ge)&&y(le,ge,de[ge]);return le},b=(le,de)=>ae(le,re(de)),ee=(le,de,ge)=>new Promise((fe,me)=>{var be=Ee=>{try{Pe(ge.next(Ee))}catch(_e){me(_e)}},ve=Ee=>{try{Pe(ge.throw(Ee))}catch(_e){me(_e)}},Pe=Ee=>Ee.done?fe(Ee.value):Promise.resolve(Ee.value).then(be,ve);Pe((ge=ge.apply(le,de)).next())});const z=({problemset:le,dispatch:de})=>{var ge;const[fe,me]=(0,ye.useState)({}),[be,ve]=(0,ye.useState)([]),[Pe,Ee]=(0,ye.useState)(!1),_e=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];(0,ye.useEffect)(()=>{var Oe,Fe;if(((Oe=le==null?void 0:le.actionTabs)==null?void 0:Oe.key)==="MULTIPLE"){const Le=(0,ce.cloneDeep)((Fe=le==null?void 0:le.actionTabs)==null?void 0:Fe.params);me(Le),ve(Le.choices)}},[(ge=le==null?void 0:le.actionTabs)==null?void 0:ge.key]);const Ce=()=>ee(void 0,null,function*(){var Oe;if(!be.some(Fe=>Fe==null?void 0:Fe.checked)){E.ZP.warning("\u8BF7\u60A8\u4F5C\u7B54\u540E\u518D\u63D0\u4EA4");return}if(Pe){const Fe=(0,ce.cloneDeep)((Oe=le==null?void 0:le.actionTabs)==null?void 0:Oe.params);ve(Fe.choices)}Ee(!Pe)}),xe=(Oe,Fe)=>{console.log(Oe.target.checked);const Le=be.map((Qe,He)=>b(x({},Qe),{checked:He===Fe?Oe.target.checked:Qe.checked}));ve(Le)},we=()=>{me({}),ve([]),Ee(!1),de({type:"problemset/setActionTabs",payload:{}})},De=()=>{let Oe="";return be.forEach((Fe,Le)=>{Fe.is_answer&&(Oe=Oe+_e[Le])}),Oe};return ye.createElement(pe.default,{centered:!0,destroyOnClose:!0,open:le.actionTabs.key==="MULTIPLE",title:"\u8BD5\u9898\u4F53\u9A8C",okText:Pe?"\u91CD\u65B0\u7B54\u9898":"\u63D0\u4EA4\u7B54\u6848",cancelText:"\u53D6\u6D88",width:708,onOk:Ce,onCancel:we},ye.createElement("div",null,ye.createElement("div",{className:"c-light-primary mb5 font16"},"\u591A\u9009\u9898"),ye.createElement(ue.Z,{value:fe==null?void 0:fe.name}),be==null?void 0:be.map((Oe,Fe)=>{const{is_answer:Le,checked:Qe,choice_text:He}=Oe;let ze="";return Pe&&Le&&(ze=ie.Z.green),Pe&&!Le&&Qe&&(ze=ie.Z.red),ye.createElement("div",{key:Fe,style:{pointerEvents:Pe?"none":"auto"},className:`${ie.Z.row} ${ze}`},ye.createElement(he.default,{style:{padding:3},onChange:Ke=>xe(Ke,Fe),checked:Qe}),ye.createElement("span",null,_e[Fe],".\xA0"),ye.createElement(ue.Z,{className:ie.Z.html,value:He}),Pe&&Le&&ye.createElement("span",{style:{paddingTop:4},className:"iconfont icon-duigou1 font16"}),Pe&&!Le&&Qe&&ye.createElement("span",{style:{fontWeight:600,paddingTop:5},className:"iconfont icon-guanbi font16"}))}),Pe&&ye.createElement(ye.Fragment,null,ye.createElement("div",{className:ie.Z.line}),ye.createElement("div",{className:"c-grey-333 mb5"},ye.createElement("b",null,"\u6B63\u786E\u7B54\u6848:\xA0"),De()),ye.createElement("div",{className:"c-grey-333 mb10"},ye.createElement("b",null,"\u89E3\u6790:\xA0"),(fe==null?void 0:fe.analysis)||"\u6682\u65E0\u89E3\u6790"))))};ot.Z=(0,je.connect)(({problemset:le})=>({problemset:le}))(z)},49417:function(ct,ot,Se){"use strict";var ye=Se(59301),je=Se(24459),E=Se(8591),pe=Se(43418),he=Se(5112),ce=Se(89392),oe=Se.n(ce),ie=Se(43219),ue=Se(99325),se=Se(59301),ae=Object.defineProperty,re=Object.defineProperties,ne=Object.getOwnPropertyDescriptors,te=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable,x=(de,ge,fe)=>ge in de?ae(de,ge,{enumerable:!0,configurable:!0,writable:!0,value:fe}):de[ge]=fe,b=(de,ge)=>{for(var fe in ge||(ge={}))a.call(ge,fe)&&x(de,fe,ge[fe]);if(te)for(var fe of te(ge))y.call(ge,fe)&&x(de,fe,ge[fe]);return de},ee=(de,ge)=>re(de,ne(ge)),z=(de,ge,fe)=>new Promise((me,be)=>{var ve=_e=>{try{Ee(fe.next(_e))}catch(Ce){be(Ce)}},Pe=_e=>{try{Ee(fe.throw(_e))}catch(Ce){be(Ce)}},Ee=_e=>_e.done?me(_e.value):Promise.resolve(_e.value).then(ve,Pe);Ee((fe=fe.apply(de,ge)).next())});const le=({problemset:de,dispatch:ge})=>{var fe;const[me,be]=(0,ye.useState)({}),[ve,Pe]=(0,ye.useState)([]),[Ee,_e]=(0,ye.useState)(!1),Ce=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];(0,ye.useEffect)(()=>{var Oe,Fe;if(((Oe=de==null?void 0:de.actionTabs)==null?void 0:Oe.key)==="SINGLE"){const Le=(0,ce.cloneDeep)((Fe=de==null?void 0:de.actionTabs)==null?void 0:Fe.params);be(Le),Pe(Le.choices)}},[(fe=de==null?void 0:de.actionTabs)==null?void 0:fe.key]);const xe=()=>z(void 0,null,function*(){var Oe;if(!ve.some(Fe=>Fe==null?void 0:Fe.checked)){E.ZP.warning("\u8BF7\u60A8\u4F5C\u7B54\u540E\u518D\u63D0\u4EA4");return}if(Ee){const Fe=(0,ce.cloneDeep)((Oe=de==null?void 0:de.actionTabs)==null?void 0:Oe.params);Pe(Fe.choices)}_e(!Ee)}),we=(Oe,Fe)=>{console.log(Oe.target.checked);const Le=ve.map((Qe,He)=>ee(b({},Qe),{checked:He===Fe?Oe.target.checked:!1}));Pe(Le)},De=()=>{be({}),Pe([]),_e(!1),ge({type:"problemset/setActionTabs",payload:{}})};return se.createElement(pe.default,{centered:!0,destroyOnClose:!0,open:de.actionTabs.key==="SINGLE",title:"\u8BD5\u9898\u4F53\u9A8C",okText:Ee?"\u91CD\u65B0\u7B54\u9898":"\u63D0\u4EA4\u7B54\u6848",cancelText:"\u53D6\u6D88",width:708,onOk:xe,onCancel:De},se.createElement("div",null,se.createElement("div",{className:"c-light-primary mb5 font16"},"\u5355\u9009\u9898"),se.createElement(ue.Z,{value:me==null?void 0:me.name}),ve==null?void 0:ve.map((Oe,Fe)=>{const{is_answer:Le,checked:Qe,choice_text:He}=Oe;let ze="";return Ee&&Le&&(ze=ie.Z.green),Ee&&!Le&&Qe&&(ze=ie.Z.red),se.createElement("div",{key:Fe,style:{pointerEvents:Ee?"none":"auto"},className:`${ie.Z.row} ${ze}`},se.createElement(he.ZP,{onChange:Ke=>we(Ke,Fe),checked:Qe}),se.createElement("span",null,Ce[Fe],".\xA0"),se.createElement(ue.Z,{className:ie.Z.html,value:He}),Ee&&Le&&se.createElement("span",{style:{paddingTop:4},className:"iconfont icon-duigou1 font16"}),Ee&&!Le&&Qe&&se.createElement("span",{style:{fontWeight:600,paddingTop:5},className:"iconfont icon-guanbi font16"}))}),Ee&&se.createElement(ye.Fragment,null,se.createElement("div",{className:ie.Z.line}),se.createElement("div",{className:"c-grey-333 mb5"},se.createElement("b",null,"\u6B63\u786E\u7B54\u6848:\xA0"),Ce[ve.findIndex(Oe=>Oe.is_answer)]),se.createElement("div",{className:"c-grey-333 mb10"},se.createElement("b",null,"\u89E3\u6790:\xA0"),(me==null?void 0:me.analysis)||"\u6682\u65E0\u89E3\u6790"))))};ot.Z=(0,je.connect)(({problemset:de})=>({problemset:de}))(le)},35503:function(ct,ot,Se){"use strict";var ye=Se(59301),je=Se(24459),E=Se(8591),pe=Se(43418),he=Se(89392),ce=Se.n(he),oe=Se(43219),ie=Se(99325),ue=Se(64726),se=Se(59301),ae=(ne,te,a)=>new Promise((y,x)=>{var b=le=>{try{z(a.next(le))}catch(de){x(de)}},ee=le=>{try{z(a.throw(le))}catch(de){x(de)}},z=le=>le.done?y(le.value):Promise.resolve(le.value).then(b,ee);z((a=a.apply(ne,te)).next())});const re=({problemset:ne,dispatch:te})=>{var a,y,x,b,ee;const[z,le]=(0,ye.useState)({}),[de,ge]=(0,ye.useState)(!1),[fe,me]=(0,ye.useState)(!0),[be,ve]=(0,ye.useState)("");(0,ye.useEffect)(()=>{var _e,Ce;if(((_e=ne==null?void 0:ne.actionTabs)==null?void 0:_e.key)==="SUBJECTIVE"){const xe=(0,he.cloneDeep)((Ce=ne==null?void 0:ne.actionTabs)==null?void 0:Ce.params);le(xe)}},[(a=ne==null?void 0:ne.actionTabs)==null?void 0:a.key]);const Pe=()=>ae(void 0,null,function*(){if(!be){E.ZP.warning("\u8BF7\u60A8\u4F5C\u7B54\u540E\u518D\u63D0\u4EA4");return}de&&ve(""),ge(!de)}),Ee=()=>{le({}),me(!0),ge(!1),ve(""),te({type:"problemset/setActionTabs",payload:{}})};return console.log("----",de),se.createElement(pe.default,{centered:!0,destroyOnClose:!0,open:ne.actionTabs.key==="SUBJECTIVE",title:"\u8BD5\u9898\u4F53\u9A8C",okText:de?"\u91CD\u65B0\u7B54\u9898":"\u63D0\u4EA4\u7B54\u6848",cancelText:"\u53D6\u6D88",width:800,onOk:Pe,bodyStyle:{maxHeight:600,overflow:"auto"},onCancel:Ee},se.createElement("div",null,se.createElement("div",{className:"c-light-primary mb5 font16"},"\u7B80\u7B54\u9898"),se.createElement(ie.Z,{value:z==null?void 0:z.name,style:{marginBottom:10,color:"#5f6368"}}),fe?se.createElement("div",{style:{border:"1px solid #f1f1f1",padding:10},onClick:()=>{me(!1)}}," \u70B9\u51FB\u5F00\u59CB\u4F5C\u7B54"):se.createElement(ue.Z,{height:160,defaultValue:be,onChange:_e=>{ve(_e)}}),de&&se.createElement(ye.Fragment,null,se.createElement("div",{className:oe.Z.line}),se.createElement("span",{style:{color:"#5F6368"}},"\u53C2\u8003\u7B54\u6848\uFF1A"),se.createElement("div",{style:{marginTop:10}},((y=z==null?void 0:z.answer_texts)==null?void 0:y[0])||"\u6682\u65E0\u53C2\u8003\u7B54\u6848"),((x=z==null?void 0:z.keywords)==null?void 0:x.length)>0&&se.createElement("div",{style:{marginTop:10,marginBottom:10}},se.createElement("span",{style:{color:"#5F6368"}},"\u5173\u952E\u8BCD\uFF1A"),(b=z==null?void 0:z.keywords)==null?void 0:b.map(_e=>{var Ce,xe,we;return((Ce=_e==null?void 0:_e.keyword)==null?void 0:Ce.length)>1?((xe=_e==null?void 0:_e.keyword)==null?void 0:xe.join("\u6216"))+"\uFF1B":((we=_e==null?void 0:_e.keyword)==null?void 0:we[0])+"\uFF1B"})),se.createElement("div",{style:{color:"#5F6368",marginTop:((ee=z==null?void 0:z.keywords)==null?void 0:ee.length)<=0?20:10}},se.createElement("b",null,"\u89E3\u6790:")),se.createElement("div",{style:{marginTop:10,color:"#9096A3"}},(z==null?void 0:z.analysis)||"\u6682\u65E0\u89E3\u6790"))))};ot.Z=(0,je.connect)(({problemset:ne})=>({problemset:ne}))(re)},96401:function(ct,ot,Se){"use strict";Se.d(ot,{N:function(){return z},Z:function(){return le}});var ye=Se(59301),je=Se(99325),E=Se(5112),pe=Se(6848),he=Se(95237),ce=Se(43604),oe=Se(24905),ie=Se(20834),ue=Se(38854),se={flex_box_center:"flex_box_center___K3pXk",flex_space_between:"flex_space_between___JNXiy",flex_box_vertical_center:"flex_box_vertical_center___lX_K7",flex_box_center_end:"flex_box_center_end___ESJAL",flex_box_column:"flex_box_column___nMTYm",line:"line___cNtUM",b1:"b1___xIRxk",b2:"b2___N5uit",list:"list___SBMGo",title:"title___zQP91",tr:"tr___uaxLL",itemDetail:"itemDetail___Ye51x",answerWrapper:"answerWrapper___WJAPa",decoration:"decoration___fOLFB",row:"row___FvSRM",typeRow:"typeRow___qpDsw",type:"type___a8Bs6",typeName:"typeName___EfvMr",typeIcon:"typeIcon___XnhBc",unpublished:"unpublished___h3A34",private:"private___Ok_kP",public:"public___V5_HF",reviewFlag:"reviewFlag___MWDMc",typeRightAction:"typeRightAction___zwJ4e",actionLink:"actionLink___XxdsL",actionIcon:"actionIcon___YoZs8",topicTitle:"topicTitle___TXfB_",topicTitleContent:"topicTitleContent___MceUW",judgmentContent:"judgmentContent___Adte7",programContent:"programContent___R8AFa",otherContent:"otherContent___CNAVC",combinationContent:"combinationContent___NWKpD",con:"con___MJkTE",otherContentItem:"otherContentItem___sXGMT",otehrContentHtml:"otehrContentHtml___MKkjT",difficultyRow:"difficultyRow___E6YVK",updateTimeRow:"updateTimeRow___MPFJY",updateTimeWrap:"updateTimeWrap___iIz5W",updateTimeContent:"updateTimeContent___CpqJg",programLanguage:"programLanguage___lku0d",updateTimeRowAction:"updateTimeRowAction___Y6grB",bottomAction:"bottomAction___sQwM3",borderColorBlue:"borderColorBlue___vZe0j",borderColorRed:"borderColorRed___GPm9E",borderColorFFF:"borderColorFFF___izaeA",borderColorGray:"borderColorGray___WdIyN",selectIcon:"selectIcon___I35Ch",colorGreen:"colorGreen___yFw84",parseAnswerBorder:"parseAnswerBorder___tmhXi",answer:"answer___c9YYj",answerHtml:"answerHtml___sp4Xx",parse:"parse___Lif5r",parseText:"parseText___KMhnK",parseAnswer:"parseAnswer___aFs0o",parseAnswerHtml:"parseAnswerHtml___AfP6o",actionBar:"actionBar___Q6e1E",know:"know___EtJbV",menu:"menu___ODbWA",bottom:"bottom___yLg8j",textBtn:"textBtn___p8TrW"},ae=Se(73898),re="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAACMgAAAA6CAYAAABPwffJAAAAAXNSR0IArs4c6QAAH35JREFUeF7t3Q2MZWV9x/H/c849d17uzL6y7K4M76xLNIAKoiBQak0oRgsiYKyxUEq0LwZLYmqa0hqtpi8xodam1daKRFtbRITYBmlspRBBAXmRaHddsCyO7Bsssztzd2buveec5jl37jC7bN155l7OL7P3ewmZfTnn+Z37+f9nsjn3n+c4W8JrfHx8bGam9ZfNZutif3q1Wrl3YKDyB2NjY+NLWC74FHV+8AVzQlcC6nqr87vC4+RgAXW91fnBYJyAAAIIIIAAAggggAACCCCAAAIIIIAAAggggAACpr6/r86nBcoVUNdbnV+uNmnqevcy34WW84knto0513giz22NWef03P9qb27Vs846a9MrOiSjzg/14vjuBNT1Vud3p8fZoQLqeqvzQ704HgEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBMzU9/fV+fRAuQLqeqvzy9UmTV3vXucHD8g88shj/2zm3ttoNOa7wZmzJEnMnPvqOeec9euvZJuo81/J98baLxdQ11udT0+UK6Cutzq/XG3SEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABB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IIIIAAAggggAACCCCAAAIIINAWUN/fV+fTB+UKqOutzi9XmzR1vXudHzzM8olPfCrvPFKp/dXvHtNuDL/Yn3zspuA1Q9pKnR9yrRzbvYC63ur87gVZIURAXW91fogVxyKAAAIIIIAAAggggAACCCCAAAIIIIAAAggggEBbQH1/X51PH5QroK63Or9cbdLU9e51fvAwy003fSxvNhsLOuGlJfwOMp/85MeD1wxpK3V+yLVybPcC6nqr87sXZIUQAXW91fkhVhyLAAIIIIAAAggggAACCCCAAAIIIIAAAggggAACbQH1/X11Pn1QroC63ur8crVJU9e71/nBwyw33viR3O8a03nN7x4zt5PMzTd/OnjNkLZS54dcK8d2L6Cutzq/e0FWCBFQ11udH2LFsQgggAACCCCAAAIIIIAAAggggAACCCCAAAIIINAWUN/fV+fTB+UKqOutzi9XmzR1vXudHzzM8qEP3ZC3mi3Lbe65SvM94axaTeyzn/1M8JohbaXOD7lWju1eQF1vdX73gqwQIqCutzo/xIpjEUAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAoC2gvr+vzqcPyhVQ11udX642aep69zo/eJjluuuuf2kyxv/KrzD3Nc9zu+WWfwxeM6St1Pkh18qx3Quo663O716QFUIE1PVW54dYcSwCCCCAAAIIIIAAAggggAACCCCAAAIIIIAAAgi0BdT399X59EG5Aup6q/PL1SZNXe9e5wcPs7z//dfkzUbjoP1j/COX/KOWqtWqffnLtwavGdJW6vyQa+XY7gXU9Vbndy/ICiEC6nqr80OsOBYBBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQTaAur7++p8+qBcAXW91fnlapOmrnev84OHWa644sp8fsuY+X7obCrj7I47bg9eM6St1Pkh18qx3Quo663O716QFUIE1PVW54dYcSwCCCCAAAIIIIAAAggggAACCCCAAAIIIIAAAgi0BdT399X59EG5Aup6q/PL1SZNXe9e5wcPs7zjHb+Wt1rNYseY9is359z8DjLf/OZdwWuGtJU6P+RaObZ7AXW91fndC7JCiIC63ur8ECuORQABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAgbaA+v6+Op8+KFdAXW91frnapKnr3ev84GGWSy65NG82m0UnNJuN4muSJMVX/4ilb33r7uA1Q9pKnR9yrRzbvYC63ur87gVZIURAXW91fogVxyKAAAIIIIAAAggggAACCCCAAAIIIIAAAggggEBbQH1/X51PH5QroK63Or9cbdLU9e51fvAwy4UXXpT73WP8kIxzZv43fgeZJKkWu8ncf/99wWuGtJU6P+RaObZ7AXW91fndC7JCiIC63ur8ECuORQABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAgbaA+v6+Op8+KFdAXW91frnapKnr3ev84GGWN73pzXmr1SoGYzo7yfgdZPyQTKVSse9//3vBa4a0lTo/5Fo5tnsBdb3V+d0LskKIgLre6vwQK45FAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQACBtoD6/r46nz4oV0Bdb3V+udqkqevd6/zgYZazzz4nbzQaxXBMsXuM74liB5mk2EXm0UcfCV4zpK3U+SHXyrHdC6jrrc7vXpAVQgTU9Vbnh1hxLAIIIIAAAggggAACCCCAAAIIIIAAAggggAACCLQF1Pf31fn0QbkC6nqr88vVJk1d717nBw+zbN58et7ZOabZbPjpGKtWE/OPXapWq7Zly/8ErxnSVur8kGvl2O4F1PVW53cvyAohAup6q/NDrDgWAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEE2gLq+/vqfPqgXAF1vdX55WqTpq53r/ODh1lOOeXUYkCmMyRjls8Px/gBmaeffip4zZC2UueHXCvHdi+grrc6v3tBVggRUNdbnR9ixbEIIIAAAggggAACCCCAAAIIIIAAAggggAACCCDQFlDf31fn0wflCqjrrc4vV5s0db17nR88zOIv4MCBujUafkimYa7zeKVKYsO1mv30p08HrxnSVur8kGvl2O4F1PVW53cvyAohAup6q/NDrDgWAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEE2gLq+/vqfPqgXAF1vdX55WqTpq53r/MXNcyS57m75557Vq9atfbCq656951+95h6fWp+F5kkqVqtVrMkSexrX/v65RMTL9x/ySWXvOicy3v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BBBAAAEEEEAAAQQQQAABBBBAIFxAfX9fnR8uxhndCKjrrc7vxo5zwwXU9S4r//8dkFlIdsjFdP7q0HNftjvMYneMOVJ51PlHuj7+vrcC6nqr83uryWpHElDXW51/JB/+HgEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBF4uoL6/r86nJ8oVUNdbnV+uNmnqer+S+f8HabRiLm3R4IUAAAAASUVORK5CYII=",ne=Se(24334),te=Se(72714),a=Se(88230),y=Se(50484);const x=["A\uFF0E","B\uFF0E","C\uFF0E","D\uFF0E","E\uFF0E","F\uFF0E","G\uFF0E","H\uFF0E","I\uFF0E","J\uFF0E","K\uFF0E","L\uFF0E","M\uFF0E","N\uFF0E","O\uFF0E","P\uFF0E","Q\uFF0E","R\uFF0E","S\uFF0E","T\uFF0E","U\uFF0E","V\uFF0E","W\uFF0E","X\uFF0E","Y\uFF0E","Z\uFF0E"],b=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],ee=({data:de,selectIds:ge,onSelectCheckBox:fe=()=>{},showCheckbox:me=!0})=>{var be,ve,Pe;const[Ee,_e]=(0,ye.useState)(!1),Ce=()=>{var Oe,Fe;return de.item_type==="JUDGMENT"?ye.createElement("div",{className:se.judgmentContent},de.choices.map((Le,Qe)=>ye.createElement(E.ZP,{key:Qe,disabled:!0},Le.choice_text))):de.item_type==="PROGRAM"?ye.createElement("div",{className:se.programContent},ye.createElement(je.Z,{value:(Oe=de.program_attr)==null?void 0:Oe.description})):de.item_type==="COMBINATION"?ye.createElement("div",{className:se.combinationContent},(Fe=de==null?void 0:de.sub_item_banks)==null?void 0:Fe.map((Le,Qe)=>{var He,ze,Ke,Ge,ke,Ne;const Ve=`(\u9898\u76EE${Qe+1}-${(Le==null?void 0:Le.item_type)=="SINGLE"?"\u5355\u9009\u9898":(Le==null?void 0:Le.item_type)=="MULTIPLE"?"\u591A\u9009\u9898":(Le==null?void 0:Le.item_type)=="COMPLETION"?"\u586B\u7A7A\u9898":(Le==null?void 0:Le.item_type)=="JUDGMENT"?"\u5224\u65AD\u9898":"\u7B80\u7B54\u9898"}) `;return ye.createElement(ye.Fragment,null,ye.createElement("div",{style:{marginTop:10,marginBottom:10}},ye.createElement(je.Z,{value:Ve+Le.name})),((Le==null?void 0:Le.item_type)=="SINGLE"||(Le==null?void 0:Le.item_type)=="MULTIPLE")&&Le.choices.map((Je,rt)=>ye.createElement("div",{key:rt,className:se.otherContentItem},ye.createElement("p",null,x[rt]),ye.createElement(je.Z,{className:se.otehrContentHtml,value:Je.choice_text}))),(Le==null?void 0:Le.item_type)=="JUDGMENT"&&ye.createElement("div",{style:{display:"flex",marginBottom:10}},Le.choices.map((Je,rt)=>ye.createElement(E.ZP,{key:rt,disabled:!0},Je.choice_text))),ye.createElement("div",{className:se.con},(Le==null?void 0:Le.item_type)=="SINGLE"&&ye.createElement("b",{className:"c-grey-333 font14"}," \u7B54\u6848\uFF1A",b==null?void 0:b[(He=Le==null?void 0:Le.choices)==null?void 0:He.findIndex(Je=>Je==null?void 0:Je.is_answer)]," "),(Le==null?void 0:Le.item_type)=="COMPLETION"&&((ze=Le==null?void 0:Le.standard_answer)==null?void 0:ze.map((Je,rt)=>{var Ye;return ye.createElement("div",{key:rt,className:se.answerHtml},`\u7B54\u6848\uFF08\u586B\u7A7A${Je.position}\uFF09\uFF1A${(Ye=Je==null?void 0:Je.answer_text)==null?void 0:Ye.join("\u3001")}`)})),(Le==null?void 0:Le.item_type)=="MULTIPLE"&&ye.createElement("b",{className:"c-grey-333 font14"}," \u7B54\u6848\uFF1A",(Ke=Le==null?void 0:Le.choices)==null?void 0:Ke.map((Je,rt)=>{if(Je!=null&&Je.is_answer)return(b==null?void 0:b[rt])+" "})," "),(Le==null?void 0:Le.item_type)=="JUDGMENT"&&ye.createElement("div",null,"\u7B54\u6848\uFF1A",(ke=(Ge=Le==null?void 0:Le.choices)==null?void 0:Ge.find(Je=>Je.is_answer))==null?void 0:ke.choice_text),(Le==null?void 0:Le.item_type)=="SUBJECTIVE"&&ye.createElement("div",null,"\u7B54\u6848\uFF1A",(Ne=Le==null?void 0:Le.answer_texts)==null?void 0:Ne[0]),ye.createElement("div",null,ye.createElement("span",null,"\u89E3\u6790\uFF1A"),ye.createElement(je.Z,{className:se.parseAnswerHtml,value:Le.analysis||"\u6682\u65E0\u89E3\u6790"})),ye.createElement("div",null,ye.createElement("span",null,"\u77E5\u8BC6\u70B9\uFF1A"),ye.createElement(pe.Z,{title:(de==null?void 0:de.tag_discipline)||"--"},ye.createElement("span",{style:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}},(de==null?void 0:de.tag_discipline)||"--")))))})):ye.createElement("div",{className:se.otherContent},de.choices.map((Le,Qe)=>ye.createElement("div",{key:Qe,className:se.otherContentItem},ye.createElement("p",null,x[Qe]),ye.createElement(je.Z,{className:se.otehrContentHtml,value:Le.choice_text}))))},xe=()=>{var Oe;if((de==null?void 0:de.item_type)!=="BPROGRAM")return ye.createElement("div",null,(Oe=de.standard_answer)==null?void 0:Oe.map((Fe,Le)=>{var Qe,He;return ye.createElement("div",{key:Le,className:se.answerHtml},(Fe==null?void 0:Fe.model)===1?`\u7B54\u6848\uFF08\u586B\u7A7A${Fe.position}\uFF09\uFF1A${(Qe=Fe==null?void 0:Fe.answer_text)==null?void 0:Qe.join("\u3001")}`:ye.createElement("div",{style:{display:"flex",alignItems:"center"}},ye.createElement("span",{style:{minWidth:110}},"\u7B54\u6848\uFF08\u586B\u7A7A",Fe.position,"\uFF09\uFF1A"),ye.createElement(te.Z,{value:(He=Fe==null?void 0:Fe.answer_text)==null?void 0:He.join("\u3001"),readOnly:!0})))}))},we=()=>{var Oe,Fe,Le,Qe,He,ze;const Ke={SUBJECTIVE:(Oe=de.answer_texts)==null?void 0:Oe[0],JUDGMENT:(Le=(Fe=de.choices)==null?void 0:Fe.find(Ue=>Ue.is_answer))==null?void 0:Le.choice_text},Ge=de.choices.map(Ue=>Ue.is_answer).findIndex(Ue=>Ue),ke=Ge>-1?b[Ge]:"";let Ne="";de.choices.map((Ue,Ie)=>{Ue.is_answer&&(Ne+=b[Ie])});const Ve=Ke[de.item_type];let Je=((Qe=de==null?void 0:de.program_attr)==null?void 0:Qe.code)||"";try{Je=ne.Base64.decode(((He=de==null?void 0:de.program_attr)==null?void 0:He.code)||"")}catch(Ue){}const rt={SINGLE:ye.createElement(he.Z,null,ye.createElement(ce.Z,{className:"mt3"},"\u7B54\u6848\uFF1A"),ye.createElement(ce.Z,{flex:1},ye.createElement(je.Z,{className:se.answerHtml,value:`\u7B54\u6848\uFF1A${ke||"\u65E0"}`}))),MULTIPLE:ye.createElement(he.Z,null,ye.createElement(ce.Z,{className:"mt3"},"\u7B54\u6848\uFF1A"),ye.createElement(ce.Z,{flex:1},ye.createElement(je.Z,{className:se.answerHtml,value:`\u7B54\u6848\uFF1A${Ne||"\u65E0"}`}))),COMPLETION:xe(),BPROGRAM:ye.createElement("div",null,ye.createElement(je.Z,{className:se.answerHtml,showProgramFill:!0,value:Je}),(ze=de.standard_answer)==null?void 0:ze.map((Ue,Ie)=>ye.createElement("div",{key:Ie,className:se.answerHtml},`\u7B54\u6848\uFF08\u586B\u7A7A${Ue.position}\uFF09\uFF1A${Ue==null?void 0:Ue.answer_text}`)))},Ye=ye.createElement(he.Z,null,ye.createElement(ce.Z,{className:"mt3"},"\u7B54\u6848\uFF1A"),ye.createElement(ce.Z,{flex:1},ye.createElement(je.Z,{className:se.answerHtml,value:`${Ve||"\u65E0"}`})));return rt[de.item_type]||Ye},De=Oe=>{let Fe=[...ge];Oe.target.checked?Fe.push(de.id):Fe=Fe.filter(Le=>Le!==de.id),fe(Fe)};return ye.createElement("div",{className:se.itemWrap},ye.createElement("div",{className:se.list},me&&ye.createElement(oe.default,{className:"mr10",onChange:De,checked:ge.includes(de.id)}),ye.createElement("div",{onClick:()=>_e(!Ee),className:se.title},ye.createElement(je.Z,{key:1,showLines:1,showTextOnly:!0,className:se.topicTitleContent,value:(de==null?void 0:de.item_type)==="BPROGRAM"?(be=de==null?void 0:de.program_attr)==null?void 0:be.description:de.name})),ye.createElement("div",{onClick:()=>_e(!Ee),className:se.tr},ye.createElement("i",{style:{transform:Ee?"scale(0.5) rotate(-180deg)":"scale(0.5) rotate(0deg)"},className:"iconfont icon-zhankai4"}))),ye.createElement("aside",{style:Ee?{display:"block"}:{display:"none"},className:se.itemDetail},ye.createElement("div",{style:{marginBottom:44}},ye.createElement(je.Z,{key:2,className:se.topicTitleContent,value:(de==null?void 0:de.item_type)==="BPROGRAM"?(ve=de==null?void 0:de.program_attr)==null?void 0:ve.description:de.name}),ye.createElement("div",{className:`${se.row} mt15`},Ce()),ye.createElement("div",{className:se.row},ye.createElement("div",{className:se.updateTimeRow},ye.createElement("div",{className:se.updateTimeWrap},de.item_type==="PROGRAM"&&ye.createElement("p",{className:se.programLanguage},"\u7F16\u7A0B\u8BED\u8A00\uFF1A",(Pe=de==null?void 0:de.languages)==null?void 0:Pe.join("/")))))),de.item_type!=="COMBINATION"&&ye.createElement("div",{className:se.answerWrapper},ye.createElement("img",{src:re,alt:"",className:se.decoration}),ye.createElement("div",{className:se.answer},we()),ye.createElement("div",{className:se.parse},ye.createElement("div",{className:se.parseText},"\u89E3\u6790\uFF1A"),ye.createElement("div",{className:se.parseAnswer},de.analysis?ye.createElement(je.Z,{className:se.parseAnswerHtml,value:de.analysis}):"\u6682\u65E0\u89E3\u6790")),ye.createElement("div",{className:se.parse},ye.createElement("div",{className:se.parseText},"\u77E5\u8BC6\u70B9\uFF1A"),ye.createElement(pe.Z,{title:(de==null?void 0:de.tag_discipline)||"--"},ye.createElement("div",{className:se.parseAnswer,style:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}},(de==null?void 0:de.tag_discipline)||"--"))))))},z=({SubjectShare:de,isProblemset:ge,data:fe,user:me,page:be,activeTabsKey:ve,onPublicReview:Pe=()=>{},onStartExperience:Ee=()=>{},onSetPrivate:_e=()=>{},onCorrection:Ce=()=>{},onChangeTag:xe=()=>{},onCollect:we=()=>{},onSetPublic:De=()=>{},onDelete:Oe=()=>{},onCancel:Fe=()=>{},onSelect:Le=()=>{},onMoveTo:Qe=()=>{},addProblemset:He=()=>{},onSetShare:ze=()=>{},onCancelShare:Ke=()=>{},onPublish:Ge=()=>{},onCancelPublish:ke=()=>{}})=>{var Ne,Ve,Je,rt,Ye,Ue,Ie,Ze,Te,We,at,et,qe,Be,Ae;const Me=fe.item_type==="PROGRAM"?`/problems/newedit/${(Ne=fe.program_attr)==null?void 0:Ne.identifier}?tabs_key=${ve}&page=${be}`:fe.item_type==="BPROGRAM"?`/problemset/edit/${(Ve=fe.program_attr)==null?void 0:Ve.identifier}?type=1&tabs_key=${ve}&page=${be}`:`/problemset/edit/${fe.id}?tabs_key=${ve}&page=${be}`,Re=ve==="0"&&!fe.public&&!fe.apply&&(fe.item_type==="PROGRAM"&&((Je=fe.program_attr)==null?void 0:Je.status)!==0||fe.item_type!=="PROGRAM"),Xe=[{label:ye.createElement("a",{className:se.actionLink,onClick:()=>{y.Z.publish("model-change-problem",fe)}},"\u4EE5\u9898\u6362\u9898"),key:"14",show:(0,ae.$O)()&&["SINGLE","MULTIPLE","JUDGMENT","COMPLETION","SUBJECTIVE"].includes(fe.item_type)},{label:ye.createElement("a",{className:se.actionLink,onClick:()=>{var st;return ke((st=fe==null?void 0:fe.program_attr)==null?void 0:st.identifier)}},"\u64A4\u9500\u53D1\u5E03"),key:"0",show:(ve==="0"||ve==="3")&&fe.item_type==="PROGRAM"&&((rt=fe.program_attr)==null?void 0:rt.status)!==0&&!fe.public&&((Ye=fe.author)==null?void 0:Ye.login)===((Ue=me.userInfo)==null?void 0:Ue.login)},{label:ye.createElement("a",{className:se.actionLink,onClick:()=>Qe(fe.id)},"\u79FB\u52A8\u5230"),key:"1",show:ve==="0"},{label:ye.createElement("a",{className:se.actionLink,onClick:()=>{fe.is_share?Ke(fe.id):ze(fe.id)}},"\u5171\u4EAB"),key:"3",show:ve==="0"&&de},{label:ye.createElement("a",{className:se.actionLink,onClick:()=>De(fe)},"\u516C\u5F00"),key:"4",show:Re},{label:ye.createElement("a",{className:se.reviewFlag,onClick:Pe},"\u516C\u5F00\u5BA1\u6838\u4E2D"),key:"5",show:ve==="0"&&!fe.public&&fe.apply&&(fe.item_type==="PROGRAM"&&fe.program_attr.status!==0||fe.item_type!=="PROGRAM")},{label:ye.createElement("a",{className:se.actionLink,onClick:()=>_e(fe.id)},"\u64A4\u9500\u516C\u5F00"),key:"6",show:(ve==="0"||ve==="1")&&fe.public&&((Ie=fe.author)==null?void 0:Ie.login)===((Ze=me.userInfo)==null?void 0:Ze.login)||ve==="1"&&(0,ae.ag)()},{label:ye.createElement("a",{className:se.actionLink,onClick:()=>we(fe.id,fe.is_collected)},"\u53D6\u6D88\u6536\u85CF"),key:"7",show:ve==="2"},{label:ye.createElement("a",{className:se.actionLink,onClick:()=>{var st;return Ge((st=fe==null?void 0:fe.program_attr)==null?void 0:st.identifier)}},"\u53D1\u5E03"),key:"8",show:(ve==="0"||ve==="3")&&fe.item_type==="PROGRAM"&&((Te=fe.program_attr)==null?void 0:Te.status)===0&&!fe.public&&((We=fe.author)==null?void 0:We.login)===((at=me.userInfo)==null?void 0:at.login)},{label:ye.createElement("a",{className:se.actionLink,onClick:()=>we(fe.id,fe.is_collected)},fe.is_collected?"\u53D6\u6D88\u6536\u85CF":"\u6536\u85CF"),key:"9",show:(ve==="1"||ve==="3")&&!(0,ae.ag)()&&!(0,ae.JA)()&&((et=fe.author)==null?void 0:et.login)!==((qe=me.userInfo)==null?void 0:qe.login)},{label:ye.createElement("a",{className:se.actionLink,onClick:()=>Ce(fe.id)},"\u7EA0\u9519"),key:"10",show:ve!=="0"&&!(0,ae.ag)()&&!(0,ae.JA)()},{label:ye.createElement("a",{className:se.actionLink,onClick:()=>xe(fe)},"\u4FEE\u6539\u77E5\u8BC6\u70B9"),key:"15",show:ve==="0"||ve==="3"&&(fe==null?void 0:fe.edit_item_bank)},{label:ye.createElement("a",{className:se.actionLink,onClick:()=>Oe(fe.id)},"\u5220\u9664"),key:"11",show:ve==="0"&&!fe.public||ve==="1"&&(0,ae.ag)()&&((Be=fe.author)==null?void 0:Be.login)!==((Ae=me.userInfo)==null?void 0:Ae.login)},{label:ye.createElement("a",{className:se.actionLink,onClick:()=>He(fe.id)},"\u52A0\u5165\u6211\u7684\u9898\u5E93"),key:"12",show:ve==="1"||ve==="3"}].filter(st=>st.show),nt=ye.createElement(ie.default,{forceSubMenuRender:!0,className:se.menu,items:Xe}),$e=ye.createElement(ie.default,{forceSubMenuRender:!0,className:se.menu},ye.createElement(ie.default.Item,{key:"10"},ye.createElement("a",{className:se.actionLink,onClick:()=>Ce(fe.id)},"\u7EA0\u9519"))),tt=ve!=="0"&&!(0,ae.ag)()&&!(0,ae.JA)();return ye.createElement(ye.Fragment,null,ge?ye.createElement(ye.Fragment,null,(ve==="0"||ve==="3"&&(fe==null?void 0:fe.edit_item_bank))&&!fe.public&&ye.createElement("span",{className:se.textBtn,style:{cursor:"pointer"},onClick:()=>{(0,a.xg)(Me);const st=document.getElementById(fe.id),it=window.pageYOffset||document.documentElement.scrollTop;localStorage.setItem("problemsetid",st.getBoundingClientRect().top+it+"")}},ye.createElement("div",{className:se.line},ye.createElement("b",{className:se.b1}),ye.createElement("b",{className:se.b2})),ye.createElement("i",{className:"iconfont icon-bianji10 font14 mr5"}),"\u7F16\u8F91"),ye.createElement("span",{className:se.textBtn,style:{cursor:"pointer"},onClick:()=>Ee(fe)},ye.createElement("div",{className:se.line},ye.createElement("b",{className:se.b1}),ye.createElement("b",{className:se.b2})),ye.createElement("i",{className:"iconfont icon-tiyan font14 mr5"}),"\u4F53\u9A8C",ye.createElement("div",{className:se.line},ye.createElement("b",{className:se.b1}),ye.createElement("b",{className:se.b2}))),Xe.length>0&&ye.createElement(ue.Z,{dropdownRender:()=>nt},ye.createElement("span",{style:{cursor:"default",width:"105px"},onClick:st=>st.preventDefault()},ye.createElement("span",{className:se.textBtn},ye.createElement("i",{className:"iconfont icon-gengduo5 font14 mr5"}),"\u66F4\u591A",ye.createElement("div",{className:se.line},ye.createElement("b",{className:se.b1}),ye.createElement("b",{className:se.b2})))))):tt?ye.createElement(ue.Z,{className:"ml40",dropdownRender:()=>$e},ye.createElement("span",{style:{cursor:"default",width:"105px"},onClick:st=>st.preventDefault()},ye.createElement("span",{className:se.textBtn},ye.createElement("i",{className:"iconfont icon-gengduo5 font14 mr5"}),"\u66F4\u591A",ye.createElement("div",{className:se.line},ye.createElement("b",{className:se.b1}),ye.createElement("b",{className:se.b2}))))):ye.createElement("span",null))};var le=ee},70037:function(ct,ot,Se){"use strict";Se.d(ot,{Im:function(){return ve},ZP:function(){return we},gZ:function(){return Ce}});var ye=Se(59301),je=Se(92832),E=Se(3113),pe=Se(84105),he=Se(87395),ce=Se(86723),oe=Se(24334),ie=Se(7651),ue=Se(99325),se=Se(88230),ae=Se(75618),re=Se(34376),ne=Se(92310),te=Se.n(ne),a=Se(59301),y=Object.defineProperty,x=Object.defineProperties,b=Object.getOwnPropertyDescriptors,ee=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,le=Object.prototype.propertyIsEnumerable,de=(De,Oe,Fe)=>Oe in De?y(De,Oe,{enumerable:!0,configurable:!0,writable:!0,value:Fe}):De[Oe]=Fe,ge=(De,Oe)=>{for(var Fe in Oe||(Oe={}))z.call(Oe,Fe)&&de(De,Fe,Oe[Fe]);if(ee)for(var Fe of ee(Oe))le.call(Oe,Fe)&&de(De,Fe,Oe[Fe]);return De},fe=(De,Oe)=>x(De,b(Oe));const{TextArea:me}=je.default,be={visible:!1,tabIndex:"0"},ve={[ce.h.HIDE_COMPILE_STATUS]:"\u6682\u4E0D\u652F\u6301\u67E5\u770B",[ce.h.NOMATCH]:"\u6D4B\u8BD5\u7528\u4F8B\u7ED3\u679C\u4E0D\u5339\u914D",[ce.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 Pe=(De=>(De[De.SET_VISIBLE=0]="SET_VISIBLE",De[De.SET_TABINDEX=1]="SET_TABINDEX",De))(Pe||{});function Ee(De,Oe){switch(Oe.type){case 0:return fe(ge({},De),{visible:Oe.payload});case 1:return fe(ge({},De),{tabIndex:Oe.payload});default:throw new Error}}function _e({value:De,className:Oe}){const[Fe,Le]=(0,ye.useState)(!1),Qe=(0,ye.useRef)(),He=(0,ye.useRef)();return(0,ye.useEffect)(()=>{Fe&&(He.current.reset(),He.current.write((0,se.pp)(De||"")))},[De,Fe]),(0,ye.useEffect)(()=>{var ze,Ke,Ge,ke;if(Qe.current){He.current=new re.Terminal({fontSize:14,disableStdin:!0}),He.current.open(Qe.current);const Ne=Qe.current.offsetWidth-14,Ve=((ke=(Ge=(Ke=(ze=He.current)==null?void 0:ze._core)==null?void 0:Ke._renderService)==null?void 0:Ge.dimensions)==null?void 0:ke.actualCellWidth)||9.5,Je=Math.ceil(Ne/Ve);He.current.resize(Je,8),Le(!0)}},[]),a.createElement("div",{ref:Qe,className:te()("XtermText-valueRef",Oe)})}function Ce(De){const{status:Oe,error_msg:Fe,output:Le,input:Qe,expected_output:He,is_file:ze,input_file_url:Ke,output_file_url:Ge,expected_output_file_url:ke}=De;let Ne=null;const Ve={minHeight:150,marginBottom:10,paddingLeft:24,background:"#070f19",color:"#fff"};switch(Oe){case ce.h.NOMATCH:Ne=a.createElement(a.Fragment,null,a.createElement("p",{className:"c-red"},"\u5B9E\u9645\u8F93\u5165\uFF1A"),!ze&&a.createElement(_e,{className:"mb10",value:Qe}),ze&&a.createElement("div",{style:Ve},a.createElement("a",{onClick:()=>(0,se.LR)(Ke,Qe)},Qe)),a.createElement("p",{className:"c-red"},"\u5B9E\u9645\u8F93\u51FA\uFF1A"),!ze&&a.createElement(_e,{className:"mb10",value:Le&&oe.Base64.decode(Le)||""}),ze&&a.createElement("div",{style:Ve},a.createElement("a",{onClick:()=>(0,se.LR)(Ge,Le)},Le)),a.createElement("p",{className:"c-red"},"\u9884\u671F\u8F93\u51FA\uFF1A"),!ze&&a.createElement(_e,{className:"mb10",value:He&&oe.Base64.decode(He)||""}),ze&&a.createElement("div",{style:Ve},a.createElement("a",{onClick:()=>(0,se.LR)(ke,He)},He)));break;case ce.h.EXECUTEFAILURE:Ne=a.createElement(a.Fragment,null,a.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A"),!ze&&a.createElement(ue.Z,{value:Qe,style:Ve}),ze&&a.createElement("div",{style:Ve},a.createElement("a",{onClick:()=>(0,se.LR)(Ke,Qe)},Qe)),a.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),a.createElement("pre",{className:"error"},oe.Base64.decode(Fe)));break;case ce.h.COMPILEFAILURE:Ne=a.createElement(a.Fragment,null,a.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A"),!ze&&a.createElement(ue.Z,{value:Qe,style:Ve}),ze&&a.createElement("div",{style:Ve},a.createElement("a",{onClick:()=>(0,se.LR)(Ke,Qe)},Qe)),a.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),a.createElement("pre",{className:"error"},oe.Base64.decode(Fe)));break;case ce.h.PODFAILURE:Ne=a.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case ce.h.TIMEOUT:Ne=a.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return a.createElement(a.Fragment,null," ",Ne," ")}function xe(De){const{status:Oe,error_msg:Fe,execute_time:Le,output:Qe,input:He,expected_output:ze,is_file:Ke,input_file_url:Ge,output_file_url:ke,expected_output_file_url:Ne}=De;let Ve=null;switch(Oe){case ce.h.OK:Ve=a.createElement(a.Fragment,null,a.createElement("p",null,"\u6267\u884C\u7528\u65F6\uFF1A",Le,"\u79D2"),a.createElement("p",null,"\u6267\u884C\u7ED3\u679C\uFF1A"),a.createElement("pre",null,oe.Base64.decode(Qe)));break;case ce.h.NOMATCH:Ve=a.createElement(a.Fragment,null,a.createElement("p",null,"\u8F93\u5165\uFF1A",a.createElement("pre",null,He)),a.createElement("p",null,"\u8F93\u51FA\uFF1A",Qe&&oe.Base64.decode(Qe)),a.createElement("p",null,"\u9884\u671F\u8F93\u51FA\uFF1A",ze&&oe.Base64.decode(ze)));break;case ce.h.EXECUTEFAILURE:Ve=a.createElement(a.Fragment,null,a.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",a.createElement("pre",null,He)),a.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),a.createElement("pre",{className:"error"},oe.Base64.decode(Fe)));break;case ce.h.COMPILEFAILURE:Ve=a.createElement(a.Fragment,null,a.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",a.createElement("pre",null,He)),a.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),a.createElement("pre",{className:"error"},oe.Base64.decode(Fe)));break;case ce.h.PODFAILURE:Ve=a.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case ce.h.TIMEOUT:Ve=a.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return a.createElement(a.Fragment,null," ",Ve," ")}var we=({id:De,is_file:Oe,input:Fe,debuging:Le,submitting:Qe,executingMessage:He,debugResult:ze,onChangeInput:Ke,onDebugCode:Ge,onSubmitCode:ke})=>{const[Ne,Ve]=(0,ye.useReducer)(Ee,be),{visible:Je,tabIndex:rt}=Ne;(0,ye.useEffect)(()=>{Ve({type:0,payload:!1})},[De]);function Ye(Te){let We=Te.target.id;Ve({type:1,payload:We})}function Ue(){Ve({type:0,payload:!Je})}const Ie=(0,ye.useMemo)(()=>{if(ze){const{status:Te}=ze;return a.createElement(a.Fragment,null,xe(ze))}return null},[ze]);function Ze(){Ve({type:0,payload:!0}),Ve({type:1,payload:"1"}),Ge()}return a.createElement("div",{className:"test-case-panel"},a.createElement("div",{className:`test-case-panel-body ${Je?"active":""}`},a.createElement("ul",{className:"s-navs"},a.createElement("li",null,a.createElement("a",{className:"active"},"\u8C03\u8BD5\u4EE3\u7801\u7ED3\u679C"))),a.createElement(ae.Z,{leftTitle:"\u81EA\u5B9A\u4E49\u6D4B\u8BD5\u7528\u4F8B",rightTitle:"\u4EE3\u7801\u6267\u884C\u7ED3\u679C",style:{height:240},leftNode:a.createElement(me,{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:Oe?"":Fe,onChange:Ke}),rightNode:Le?a.createElement(ie.Z,{message:"\u4EE3\u7801\u6267\u884C\u4E2D..."}):ze?Ie: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 ${Je?"up":""}`,onClick:Ue},Je?a.createElement(pe.Z,null):a.createElement(he.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:Le,onClick:Ze},"\u8C03\u8BD5\u4EE3\u7801"),a.createElement(E.ZP,{type:"primary",className:"custom-ant-disabled",loading:Qe,disabled:Qe,onClick:()=>{Ve({type:0,payload:!1}),ke()}},"\u8BC4\u6D4B\u5E76\u63D0\u4EA4"))))}},86723:function(ct,ot,Se){"use strict";Se.d(ot,{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||{})},24833:function(ct,ot,Se){"use strict";Se.d(ot,{Y2:function(){return De},ZP:function(){return Oe}});var ye=Se(59301),je=Se(54580),E=Se(8591),pe=Se(43418),he=Se(95237),ce=Se(5112),oe=Se(3113),ie=Se(24905),ue=Se(6848),se=Se(92832),ae={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/8egBC9BD4o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0ZsK/1nysoKnyZPC1W4sd9C9YZzRrxeKg5ibCsbuthsaiDWTHomPioQlYNREJurMUDWW2ZFJdDWolCJba14u/liX7keDTG2le3MbDQzEGskPNNOL7scv8a+nFMGMaqxnvILiPXktqa1Cl8DJYIY20pNTlePBYhVl5gJSjxQEkMMkHWTeECsG6v1LDT2HGwZcRLEjudj/HUkPd7XiASI1VCVMe8rIDgHKwIxQOY+G4GYe4sVLTARYNMKkiuxGWL8hSRFWVA8FCBWXFIGXFVAeJB/PUYWxACZ66QEYq7tVbK4TIBlV2InGajIlCRE2TCAWFk9Ge2mhBrf9/++Hv4IcsYnuxK7Atn3EAJ/VTnDEEVdgZgiM9yFUqACO2lSDGJnmL3teWrpI+OAmA8f9a0i4xB/bTHFITafkwEyfYkjjwiIyTWjx2MFdmEc32O/ThQrZhWIzSDjK0qxHmhtB8S0OmMxroLbx5ujtZp6HA/8OSerKXK9sYFYPW37GrkiwCYhq1ViS5fYXprMWSBm0jZVQVfZPm5aiV2A7HAxlqpMVY49DAaI2fFKX6SVq6/lgjepxC5gxlmZvoRbjwiIWXFKU5wbwuu07M0hNh/6U5VpSrt7sQAxCy5pirEBwDY7E7unMzDTlIE3sQAx1fYoCq4RvJpWYtfyAzNFCfkRChBTaYuioBrDSxXETsEAM0UJGgIQU2WHkmCG8X2KpMR3HkutqMmZWEzwAC1GpaptgFhVeU0NvgvD+FsTuJbqqYXYMkiA1iThgVgT2dVMqhpc5iB2A7T5kcR852z68NaMOnkPxOroqnXUGVrhb9iV/m5j7QWbqMSeiTBXatPnU/gSxuHzSntA90zE238HYnLNWvTYXU26lusfbSZQnT4GgbUm8P/6C+VmwqlgeQAAAABJRU5ErkJggg==",ne=Se(47257),te=Se.n(ne),a=Se(49894),y=Se(7660),x=Se(1012),b=Se(88230),ee=Se(90853),z=Se(59301),le=Object.defineProperty,de=Object.defineProperties,ge=Object.getOwnPropertyDescriptors,fe=Object.getOwnPropertySymbols,me=Object.prototype.hasOwnProperty,be=Object.prototype.propertyIsEnumerable,ve=(Fe,Le,Qe)=>Le in Fe?le(Fe,Le,{enumerable:!0,configurable:!0,writable:!0,value:Qe}):Fe[Le]=Qe,Pe=(Fe,Le)=>{for(var Qe in Le||(Le={}))me.call(Le,Qe)&&ve(Fe,Qe,Le[Qe]);if(fe)for(var Qe of fe(Le))be.call(Le,Qe)&&ve(Fe,Qe,Le[Qe]);return Fe},Ee=(Fe,Le)=>de(Fe,ge(Le)),_e=(Fe,Le,Qe)=>new Promise((He,ze)=>{var Ke=Ne=>{try{ke(Qe.next(Ne))}catch(Ve){ze(Ve)}},Ge=Ne=>{try{ke(Qe.throw(Ne))}catch(Ve){ze(Ve)}},ke=Ne=>Ne.done?He(Ne.value):Promise.resolve(Ne.value).then(Ke,Ge);ke((Qe=Qe.apply(Fe,Le)).next())});const{Dragger:Ce}=je.default,xe=Fe=>{const Le=Ve=>Ve&&Ve.substring(0,Ve.lastIndexOf("."));for(var Qe=[...Fe],He=0,ze=[],Ke=0;Ke{if(Ve.forEach(Je=>{let rt=Je.name.split(/\.(?=[^\.]+$)/);Je.name=`${rt[0]}.${rt[1].toLowerCase()}`}),Ve[0].name.includes(".in"))return Ve.length===2?Ve:[Ve[0],{}];if(Ve[0].name.includes(".out"))return Ve.length===2?Ve.reverse():[{},Ve[0]]})},we=({onClose:Fe,onOK:Le,visible:Qe,wrapClassName:He,rootIdentifier:ze,multiple:Ke=!1,defaultMultipleValue:Ge=!0})=>{const[ke,Ne]=(0,ye.useState)([]),[Ve,Je]=(0,ye.useState)({}),[rt,Ye]=(0,ye.useState)(!1),[Ue,Ie]=(0,ye.useState)(!0),Ze=(0,ye.useRef)([]),Te=(0,ye.useRef)(0),We=()=>{Fe()};(0,ye.useEffect)(()=>{at()},[]),(0,ye.useEffect)(()=>{Qe&&(Ze.current=[],Te.current=0,Ne([]),Ie(Ge))},[Qe]);const at=()=>_e(void 0,null,function*(){try{const nt=yield(0,y.ZP)("/api/buckets/get_upload_token_for_big_files",{method:"get"}),$e=JSON.parse((0,a.pe)(nt.data));Je($e)}catch(nt){}}),et=nt=>nt&&nt.substring(0,nt.lastIndexOf(".")),qe=nt=>{var $e,tt;const st=et(($e=nt[0])==null?void 0:$e.name)||et((tt=nt[1])==null?void 0:tt.name),it=ke.filter(lt=>et(lt.name)!==st);Ze.current=[...it],Ne([...it])},Be=nt=>{if(!Ue){const ut=new FormData;ut.append("file",nt.file),(0,y.ZP)("/api/attachments/get_file_content.json",{method:"post",body:ut},!0).then(pt=>{if(pt.status===0){Te.current=Te.current+1;const mt=Ze.current.map(St=>{var xt;if(St.name===nt.name){const Mt=Pe({},St);return(xt=nt==null?void 0:nt.name)!=null&&xt.includes(".in")?Mt.input=pt==null?void 0:pt.content:Mt.output=pt==null?void 0:pt.content,Mt}return St});if(Ze.current=[...mt],Ne([...mt]),Te.current>0&&Te.current===ke.length){Ye(!1);let St=xe(mt);St=St.filter(xt=>{var Mt,yt;return!!((Mt=xt[0])!=null&&Mt.name&&((yt=xt[1])!=null&&yt.name))}),St=St.map(xt=>Ee(Pe(Pe({},xt[0]),xt[1]),{is_file:!1})),Le(St),Fe()}}else Ye(!1),Fe()});return}const $e=new(te())({endpoint:Ve.end_point,region:Ve.region,accessKeyId:Ve.access_key_id,accessKeySecret:Ve.access_key_secret,bucket:Ve.bucket,stsToken:Ve.security_token}),tt=nt.name,st={container_type:"TestSet",file_name:tt},it=(0,x.Z)();let lt=`testsets/${ze}/${it}${tt.indexOf(".")>-1?"."+tt.split(".").pop():""}`;ze===null&&(lt=`testsets/${it}${tt.indexOf(".")>-1?"."+tt.split(".").pop():""}`),$e.multipartUpload(lt,new Blob([nt.file],{type:nt.file.type}),{timeout:3600*1e3,partSize:1002400,callback:{customValue:{id:tt+""},url:Ve==null?void 0:Ve.callback_url,host:Ve==null?void 0:Ve.bucket_host,body:"bucket=${bucket}&object=${object}&etag=${etag}&size=${size}&mimeType=${mimeType}&my_var=${x:my_var}&"+(0,y.rz)(st)}}).then(function(ut){if(ut.data.status===0){Te.current=Te.current+1;const vt=Ze.current.map(pt=>{var mt,St,xt,Mt,yt,wt,Lt,cn,Vt,an,Zt,$t,Ut,rn,In,Cn,xn;if(pt.name===((St=(mt=ut.data)==null?void 0:mt.data)==null?void 0:St.file_name)){const Ft=Pe({},pt);return(yt=(Mt=(xt=ut.data)==null?void 0:xt.data)==null?void 0:Mt.file_name)!=null&&yt.includes(".in")?(Ft.in_object_key=(Lt=(wt=ut.data)==null?void 0:wt.data)==null?void 0:Lt.object,Ft.in_object_size=(Vt=(cn=ut.data)==null?void 0:cn.data)==null?void 0:Vt.size,Ft.input=(Zt=(an=ut.data)==null?void 0:an.data)==null?void 0:Zt.file_name,Ft.in_file=nt):(Ft.out_object_key=(Ut=($t=ut.data)==null?void 0:$t.data)==null?void 0:Ut.object,Ft.out_object_size=(In=(rn=ut.data)==null?void 0:rn.data)==null?void 0:In.size,Ft.output=(xn=(Cn=ut.data)==null?void 0:Cn.data)==null?void 0:xn.file_name,Ft.out_file=nt),Ft}return pt});if(Ze.current=[...vt],Ne([...vt]),Te.current>0&&Te.current===ke.length){Ye(!1);let pt=xe(vt);pt=pt.filter(mt=>{var St,xt;return!!((St=mt[0])!=null&&St.name&&((xt=mt[1])!=null&&xt.name))}),pt=pt.map(mt=>Ee(Pe(Pe({},mt[0]),mt[1]),{is_file:!0})),Le(pt),Fe()}}})},Ae=nt=>new Promise(($e,tt)=>{let st=0,it=[];for(let lt=0;lt{st++,st===nt.length&&(it.length?(E.ZP.warning(`${it.join("\uFF0C")}\u6587\u4EF6\u5DF2\u635F\u574F\u6216\u5DF2\u88AB\u4FEE\u6539\uFF0C\u8BF7\u5220\u9664\u540E\u91CD\u65B0\u4E0A\u4F20\uFF01`),tt()):$e(nt))}).catch(ut=>{console.log("\u9519\u8BEF\u4FE1\u606F\uFF1A",ut),st++,it.push(nt[lt].name),st===nt.length&&(it.length?(E.ZP.warning(`${it.join("\uFF0C")}\u6587\u4EF6\u5DF2\u635F\u574F\u6216\u5DF2\u88AB\u4FEE\u6539\uFF0C\u8BF7\u5220\u9664\u540E\u91CD\u65B0\u4E0A\u4F20\uFF01`),tt()):$e(nt))})}),Me=()=>_e(void 0,null,function*(){if(ke.length===0){E.ZP.warning("\u8BF7\u9009\u62E9\u4E0A\u4F20\u6587\u4EF6");return}if(yield Ae(ke),Ye(!0),xe(ke).some($e=>{var tt,st;return!((tt=$e[0])!=null&&tt.name&&((st=$e[1])!=null&&st.name))})){pe.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:()=>_e(void 0,null,function*(){ke.map($e=>_e(void 0,null,function*(){Be($e)}))}),onCancel:()=>{Ye(!1)}});return}ke.map($e=>_e(void 0,null,function*(){Be($e)}))}),Re={name:"file",fileList:ke,multiple:!0,accept:".in, .out",showUploadList:!1,beforeUpload:nt=>{if(ke!=null&&ke.some(tt=>tt.name===nt.name))return E.ZP.info(`${nt.name}\u6587\u4EF6\u5DF2\u5B58\u5728`),!1;if(nt.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(nt.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 $e={name:nt.name,uid:nt.uid,file:nt,percent:0};return ke.push($e),Ze.current=[...ke],Ne([...ke]),!1}},Xe=xe(ke);return console.log(ke,Xe,"fileList"),z.createElement(pe.default,{open:Qe,wrapClassName:He,onOk:Me,centered:!0,okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",okButtonProps:{loading:rt},onCancel:We,width:730,title:"\u6279\u91CF\u4E0A\u4F20\u6D4B\u8BD5\u7528\u4F8B"},z.createElement("div",{className:ae.wrap},ke.length?z.createElement("div",null,z.createElement(he.Z,{justify:"space-between",align:"middle",style:{marginBottom:40}},z.createElement("div",{style:{visibility:Ke?"visible":"hidden"}},z.createElement("span",{className:ae.greyText},"\u7528\u4F8B\u7C7B\u578B"),z.createElement(ce.ZP.Group,{className:`ml20 ${ae.testCaseRadio}`,optionType:"button",value:Ue,onChange:nt=>Ie(nt.target.value)},z.createElement(ce.ZP,{value:!1},"\u6587\u672C"),z.createElement(ce.ZP,{value:!0},"\u6587\u4EF6"))),z.createElement(je.default,Pe({},Re),z.createElement(oe.ZP,{type:"primary",className:ae.btnS},z.createElement("i",{className:"iconfont icon-shangchuan2"}),"\u4E0A\u4F20\u6587\u4EF6"))),z.createElement(De,{data:Xe,onRemove:qe})):z.createElement("div",{className:`${ae.noData} mb30`},z.createElement(je.default.Dragger,Ee(Pe({},Re),{className:ae.dragger}),z.createElement("img",{src:re,alt:"",className:"mb20"}),z.createElement("div",null,z.createElement("span",null,"\u62D6\u62FD\u6587\u4EF6\u6216"),z.createElement("span",{className:ae.uploadText},"\u70B9\u51FB\u6B64\u5904\u4E0A\u4F20")))),z.createElement("div",{className:ae.text},z.createElement("span",{style:{color:"#FA6400"}},"\u63D0\u793A"),z.createElement("br",null),"1\u3001\u6587\u4EF6\u5FC5\u987B\u4E0A\u4F20.in\u548C.out\u7C7B\u578B\u7684\u6587\u672C\u6587\u4EF6\u3002",z.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",z.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",z.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",z.createElement("br",null))))},De=({data:Fe=[],onRemove:Le,width:Qe="auto",showScore:He=!1,disabled:ze=!1,inputChange:Ke,onEvaluatingChange:Ge,onSelectAll:ke,checkAll1:Ne,checkAll2:Ve,checkAll3:Je,checkAll4:rt,checkAll5:Ye,showEvaluatingSetting:Ue=!1,className:Ie="",isProgramHomework:Ze=!1})=>{const Te={value:"",filename:"",dataUrl:""},[We,at]=(0,ye.useState)(Pe({},Te)),et=Ae=>{let Me=document.createElement("a");document.body.appendChild(Me);let Re=URL.createObjectURL(Ae.file);Me.href=Re,Me.download=Ae.name,Me.click(),URL.revokeObjectURL(Re),document.body.removeChild(Me)},qe=(Ae,Me)=>{(0,b.LR)(Ae,Me)},Be=(Ae,Me)=>{pe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:z.createElement("div",{className:"tc font16"},"\u8BF7\u786E\u8BA4\u662F\u5426\u5220\u9664\u8BE5\u6D4B\u8BD5\u7528\u4F8B?"),onOk:()=>{Le(Ae,Me)},onCancel:()=>{}})};return Fe.length?z.createElement("div",{className:Ie,style:{width:Qe}},z.createElement("div",{className:`${Ze?ae.headProgram:ae.head}`},Ue&&z.createElement("div",{style:{width:"15%",display:"flex",alignItems:"center"}},z.createElement(ie.default,{checked:Ne,onChange:Ae=>{ke(Ae.target.checked,"hidden")}}),z.createElement(ue.Z,{title:'\u9690\u85CF\u6D4B\u8BD5\u96C6\u53EF\u4EE5\u9632\u6B62\u5B66\u751F\u901A\u8FC7"print"\u7B49\u624B\u6BB5\u76F4\u63A5\u901A\u5173'},z.createElement("span",{style:{marginLeft:"8px"}},"\u9690\u85CF"),z.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),z.createElement("div",{style:{width:Ze?"25%":"15%"}},"\u7528\u4F8B"),z.createElement("div",{style:{width:He?Ze?"20%":"15%":"25%",padding:"0 12px"}},"\u8F93\u5165"),z.createElement("div",{style:{width:He?Ze?"20%":"15%":"25%",padding:"0 12px"}},"\u8F93\u51FA"),He&&z.createElement("div",{style:{width:"20%"}},"\u5F97\u5206\u6BD4\u4F8B"),Ue&&z.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},z.createElement(ie.default,{checked:rt,onChange:Ae=>{ke(Ae.target.checked,"input_visible")}}),z.createElement(ue.Z,{title:"\u52FE\u9009\u540E\uFF0C\u8F93\u5165\u5BF9\u5B66\u5458\u59CB\u7EC8\u4E0D\u53EF\u89C1"},z.createElement("span",{style:{marginLeft:"8px"}},"\u8F93\u5165"),z.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),Ue&&z.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},z.createElement(ie.default,{checked:Ve,onChange:Ae=>{ke(Ae.target.checked,"is_invisible")}}),z.createElement(ue.Z,{title:"\u52FE\u9009\u540E\uFF0C\u9884\u671F\u8F93\u51FA\u5BF9\u5B66\u5458\u59CB\u7EC8\u4E0D\u53EF\u89C1"},z.createElement("span",{style:{marginLeft:"8px"}},"\u9884\u671F\u8F93\u51FA"),z.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),Ue&&z.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},z.createElement(ie.default,{checked:Ye,onChange:Ae=>{ke(Ae.target.checked,"actual_output_visible")}}),z.createElement(ue.Z,{title:"\u52FE\u9009\u540E\uFF0C\u5B9E\u9645\u8F93\u51FA\u5BF9\u5B66\u5458\u59CB\u7EC8\u4E0D\u53EF\u89C1"},z.createElement("span",{style:{marginLeft:"8px"}},"\u5B9E\u9645\u8F93\u51FA"),z.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),Ue&&z.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},z.createElement(ie.default,{checked:Je,onChange:Ae=>{ke(Ae.target.checked,"last_match_rule")}}),z.createElement(ue.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"},z.createElement("span",{style:{marginLeft:"8px"}},"\u7279\u6B8A\u5224\u5B9A"),z.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),z.createElement("div",{className:ae.operation,style:Ze?{flex:1,textAlign:"right"}:{width:"10%"}},"\u64CD\u4F5C")),z.createElement("div",{className:ae.listWrapper,style:{boxShadow:Ze?"0px 2px 4px 0px #EAEEF4":"unset"}},Fe.map((Ae,Me)=>{var Re,Xe,nt,$e;return z.createElement("div",{key:Me,className:ae.list,style:Ze?{marginBottom:"0px",height:"66px",borderBottom:"1px solid #F6F7F8"}:{}},Ue&&z.createElement("div",{style:{width:"15%"}},z.createElement(ie.default,{checked:!!Ae.hidden,onChange:tt=>{Ge(tt.target.checked,Me,"hidden")}})),z.createElement("div",{style:{width:Ze?"25%":"15%",paddingLeft:Ze?"5px":"0px",paddingRight:Ze?"5px":"0px"}},"\u6D4B\u8BD5\u7528\u4F8B",Me+1),z.createElement("div",{className:ae.info,style:{width:He?Ze?"20%":"15%":"25%"}},z.createElement("span",{title:Ae.input||((Re=Ae[0])==null?void 0:Re.name),onClick:()=>_e(void 0,null,function*(){let tt;Ae.input?Ae.input_file_url?tt=Ae.input_file_url:tt=Ae.in_file:tt=Ae[0];let st;typeof tt=="string"?(st=yield fetch(tt,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}}),at({value:yield st.text(),filename:"",dataUrl:tt})):(st=yield(0,b.db)(tt.file),at({value:st.text,filename:tt.name,dataUrl:st.link}))})},Ae.input||((Xe=Ae[0])==null?void 0:Xe.name))),z.createElement("div",{className:ae.info,style:{width:He?Ze?"20%":"15%":"25%"}},z.createElement("span",{title:Ae.output||((nt=Ae[1])==null?void 0:nt.name),onClick:()=>_e(void 0,null,function*(){let tt;Ae.input?Ae.output_file_url?tt=Ae.output_file_url:tt=Ae.out_file:tt=Ae[1];let st;typeof tt=="string"?(st=yield fetch(tt,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}}),at({value:yield st.text(),filename:"",dataUrl:tt})):(st=yield(0,b.db)(tt.file),at({value:st.text,filename:tt.name,dataUrl:st.link}))})},Ae.output||(($e=Ae[1])==null?void 0:$e.name))),He&&z.createElement("div",{style:{width:"20%"}},z.createElement(se.default,{size:"large",addonAfter:Ze?"%":null,disabled:ze,style:{width:"80%"},onChange:tt=>Ke(tt,Me),value:Ae.score}),!Ze&&z.createElement("span",null,"\xA0%")),Ue&&z.createElement("div",{style:{width:"20%"}},z.createElement(ie.default,{checked:Ae.input_visible||!1,onChange:tt=>{Ge(tt.target.checked,Me,"input_visible")},className:"font14"},"\u5BF9\u5B66\u5458\u4E0D\u53EF\u89C1")),Ue&&z.createElement("div",{style:{width:"20%"}},z.createElement(ie.default,{checked:Ae.is_invisible||!1,onChange:tt=>{Ge(tt.target.checked,Me,"is_invisible")},className:"font14"},"\u5BF9\u5B66\u5458\u4E0D\u53EF\u89C1")),Ue&&z.createElement("div",{style:{width:"20%"}},z.createElement(ie.default,{checked:Ae.actual_output_visible||!1,onChange:tt=>{Ge(tt.target.checked,Me,"actual_output_visible")},className:"font14"},"\u5BF9\u5B66\u5458\u4E0D\u53EF\u89C1")),Ue&&z.createElement("div",{style:{width:"20%"}},z.createElement(ie.default,{checked:Ae.last_match_rule||!1,onChange:tt=>{Ge(tt.target.checked,Me,"last_match_rule")},className:"font14"},"\u672B\u5C3E\u5339\u914D")),z.createElement("div",{onClick:()=>Be(Ae,Me),style:Ze?{flex:1,textAlign:"right",paddingLeft:"5px",paddingRight:"5px"}:{width:"10%",textAlign:"center"}},z.createElement("span",{className:ae.del},"\u5220\u9664")))})),z.createElement(ee.Z,{close:!0,data:We.dataUrl,filename:We.filename,type:We.dataUrl.length?"txt":"",onClose:()=>at(Pe({},Te)),monacoEditor:{value:We.value,language:"txt",onChange:()=>{},options:{fontSize:14,readOnly:!0,minimap:{enabled:!1}}}})):z.createElement(z.Fragment,null)};var Oe=we},52649:function(ct,ot,Se){"use strict";Se.d(ot,{Z:function(){return ne}});var ye=Se(59301),je=Se(8591),E=Se(6848),pe=Se(71418),he=Se(95237),ce=Se(43604),oe=Se(58421),ie=Se(3113),ue=Se(64726),se=Se(7660),ae=Se(99325),re=(a,y,x)=>new Promise((b,ee)=>{var z=ge=>{try{de(x.next(ge))}catch(fe){ee(fe)}},le=ge=>{try{de(x.throw(ge))}catch(fe){ee(fe)}},de=ge=>ge.done?b(ge.value):Promise.resolve(ge.value).then(z,le);de((x=x.apply(a,y)).next())}),ne=({id:a,activeDiscussIndex:y,onReplyDiscuss:x,adminOrOperator:b})=>{const[ee,z]=(0,ye.useState)(""),[le,de]=(0,ye.useState)(!1);function ge(me){z(me)}function fe(){if(!ee){je.ZP.info("\u56DE\u590D\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A!");return}x(a,ee),z("")}return(0,ye.useEffect)(()=>{y!=a&&de(!1)},[y]),ye.createElement("div",{key:a,className:"discuss-item-editor",style:{display:y===a?"block":"none",width:"100%"}},ye.createElement(ue.Z,{miniToolbar:!0,startInit:y===a,defaultValue:ee,id:a,noStorage:!0,watch:!1,height:155,placeholder:"\u6211\u8981\u56DE\u590D",showResizeBar:!0,onChange:ge,extraUse:b&&ye.createElement(E.Z,{color:"#fff",open:le,destroyTooltipOnHide:!0,title:te({id:a,isOpen:le,activeDiscussIndex:y,onChange:ge,setIsOpen:de}),overlayStyle:{maxWidth:600}},ye.createElement("a",{title:le?"\u5173\u95ED\u63A8\u8350":"\u6253\u5F00\u63A8\u8350",onClick:()=>de(!le)},ye.createElement("i",{className:"iconfont icon-dianzan11"})))}),ye.createElement("a",{onClick:fe,className:"btn-send"},"\u53D1\u9001"))};const te=a=>{const[y,x]=(0,ye.useState)(!1),[b,ee]=(0,ye.useState)([]),[z,le]=(0,ye.useState)(1);(0,ye.useEffect)(()=>{a!=null&&a.isOpen?de():(le(1),ee([]))},[a==null?void 0:a.isOpen]);const de=()=>re(void 0,null,function*(){x(!0);const ge=yield(0,se.ZP)(`/api/discusses/${a==null?void 0:a.id}/recommend_answer.json`,{method:"get"});(ge==null?void 0:ge.status)==0&&ee(ge==null?void 0:ge.answer),x(!1)});return ye.createElement(pe.Z,{spinning:y},ye.createElement("div",{style:{color:"#000"}},ye.createElement(ae.Z,{className:"font14",style:{maxHeight:500,overflow:"auto"},value:(b==null?void 0:b[z-1])||""}),ye.createElement(he.Z,{justify:"end",align:"middle"},ye.createElement(ce.Z,null,ye.createElement(oe.Z,{simple:!0,current:z,pageSize:1,total:(b==null?void 0:b.length)||0,onChange:ge=>{le(ge)}})),ye.createElement(ce.Z,null,ye.createElement(ie.ZP,{onClick:()=>re(void 0,null,function*(){a==null||a.onChange(b==null?void 0:b[z-1]),a==null||a.setIsOpen(!1)})},"\u586B\u5165\u6587\u672C\u6846")))))}},3404:function(ct,ot,Se){"use strict";Se.d(ot,{CP:function(){return E},_V:function(){return ce}});var ye=Se(28209),je=Se.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=="},pe={exam:E};function he(oe="",ie="exam"){const{secret:ue,iv:se}=pe[ie];return AES.encrypt(oe,ue,{iv:se,mode:CryptoJS.mode.CBC,padding:CryptoJS.pad.Pkcs7}).toString()}function ce(oe="",ie="exam"){const{secret:ue,iv:se}=pe[ie];return ye.AES.decrypt(oe,ue,{iv:se,mode:je().mode.CBC,padding:je().pad.Pkcs7}).toString(ye.enc.Utf8)}},20736:function(ct,ot,Se){"use strict";Se.d(ot,{BU:function(){return je},Dj:function(){return ye},gH:function(){return E},vp:function(){return pe}});function ye(he){try{he.mozRequestFullScreen?he.mozRequestFullScreen():he.webkitRequestFullScreen&&he.webkitRequestFullScreen()}catch(ce){console.log(ce,":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 pe(){var he=window.top.document.fullscreenElement||window.top.document.mozFullscreenElement||window.top.document.webkitFullscreenElement,ce=document.fullscreenEnabled||document.mozFullscreenEnabled||document.webkitFullscreenEnabled;return console.log("fullscreenElement",he),window.isFullScreen?window.isFullScreen:he!=null}},59579:function(ct,ot,Se){"use strict";Se.d(ot,{U:function(){return ue}});var ye=Se(59301),je=Object.defineProperty,E=Object.getOwnPropertySymbols,pe=Object.prototype.hasOwnProperty,he=Object.prototype.propertyIsEnumerable,ce=(se,ae,re)=>ae in se?je(se,ae,{enumerable:!0,configurable:!0,writable:!0,value:re}):se[ae]=re,oe=(se,ae)=>{for(var re in ae||(ae={}))pe.call(ae,re)&&ce(se,re,ae[re]);if(E)for(var re of E(ae))he.call(ae,re)&&ce(se,re,ae[re]);return se},ie=(se,ae,re)=>new Promise((ne,te)=>{var a=b=>{try{x(re.next(b))}catch(ee){te(ee)}},y=b=>{try{x(re.throw(b))}catch(ee){te(ee)}},x=b=>b.done?ne(b.value):Promise.resolve(b.value).then(a,y);x((re=re.apply(se,ae)).next())});function ue(se,ae){const[re,ne]=(0,ye.useState)(ae),[te,a]=(0,ye.useState)(!1),[y,x]=(0,ye.useState)();return[re,te,(ee,z=!1)=>ie(this,null,function*(){const le=z?ae:oe(oe({},re),ee);a(!0),ne(le);const de=yield se(le);return a(!1),x(de),de}),y]}},39649:function(ct,ot,Se){"use strict";Se.d(ot,{_:function(){return E}});var ye=Se(59301),je=Se(43418);const E=pe=>{var he,ce;const oe=(0,ye.useRef)([]),ie=()=>{for(const ue of oe.current)clearTimeout(ue);oe.current=[]};return(0,ye.useEffect)(()=>{var ue,se,ae,re,ne,te;if(ie(),(ue=pe==null?void 0:pe.exercise)!=null&&ue.left_time&&((ae=(se=pe==null?void 0:pe.exercise)==null?void 0:se.exercise_events)==null?void 0:ae.length)>0){for(const a of(re=pe==null?void 0:pe.exercise)==null?void 0:re.exercise_events)if(((ne=pe==null?void 0:pe.exercise)==null?void 0:ne.left_time)>(a==null?void 0:a.reminder_time)*60){let y=(((te=pe==null?void 0:pe.exercise)==null?void 0:te.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);oe.current.push(x)}}},[(he=pe==null?void 0:pe.exercise)==null?void 0:he.left_time,(ce=pe==null?void 0:pe.exercise)==null?void 0:ce.exercise_events]),ie}},85187:function(ct,ot,Se){"use strict";Se.d(ot,{AL:function(){return le},Iy:function(){return ae},Qv:function(){return te},ez:function(){return z},jb:function(){return re}});var ye=Se(32834),je=Se.n(ye),E=Se(11690),pe=Se.n(E);let he=1;function ce(be,ve){const Pe=be.match(/^(\s+)(?:```)/);if(Pe===null)return ve;const Ee=Pe[1];return ve.split(` +`)}]};var ie=Se(7947),ue=Se.n(ie),se=Object.defineProperty,ae=Object.defineProperties,re=Object.getOwnPropertyDescriptors,ne=Object.getOwnPropertySymbols,te=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,y=(Ae,Me,Re)=>Me in Ae?se(Ae,Me,{enumerable:!0,configurable:!0,writable:!0,value:Re}):Ae[Me]=Re,x=(Ae,Me)=>{for(var Re in Me||(Me={}))te.call(Me,Re)&&y(Ae,Re,Me[Re]);if(ne)for(var Re of ne(Me))a.call(Me,Re)&&y(Ae,Re,Me[Re]);return Ae},b=(Ae,Me)=>ae(Ae,re(Me)),ee=(Ae,Me,Re)=>new Promise((Xe,nt)=>{var $e=it=>{try{st(Re.next(it))}catch(lt){nt(lt)}},tt=it=>{try{st(Re.throw(it))}catch(lt){nt(lt)}},st=it=>it.done?Xe(it.value):Promise.resolve(it.value).then($e,tt);st((Re=Re.apply(Ae,Me)).next())});const z={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"]}},le=(Ae,Me)=>Me.map(Re=>({label:Re,kind:Ae.languages.CompletionItemKind.Keyword,insertText:Re})),de=Ae=>Object.keys(z.tables).map(Me=>({label:Me,kind:Ae.languages.CompletionItemKind.Variable,insertText:Me})),ge=(Ae,Me)=>{const Re=z.tables[Ae];return Re?Re.map(Xe=>({label:Xe,kind:Me.languages.CompletionItemKind.Field,insertText:Xe})):[]};function fe(Ae,Me,Re,Xe,nt){let $e=Me.getWordUntilPosition(Re),tt={startLineNumber:Re.lineNumber,endLineNumber:Re.lineNumber,startColumn:$e.startColumn,endColumn:$e.endColumn},st=Xe.map(it=>({label:it,kind:Ae.languages.CompletionItemKind.Keyword,insertText:it,insertTextRules:Ae.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:tt}));return nt.map(it=>{st.push(b(x({},it),{range:tt}))}),st}var me=Ae=>{z.languages.map(nt=>(Ae.languages.registerDocumentFormattingEditProvider(nt,{provideDocumentFormattingEdits($e,tt,st){return ee(this,null,function*(){const it=ue()($e.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:$e.getFullModelRange(),text:it}]})}}),nt));const Me=he.quickKey.map(nt=>({label:nt.label,kind:Ae.languages.CompletionItemKind.Method,insertText:nt.content,insertTextRules:Ae.languages.CompletionItemInsertTextRule.InsertAsSnippet})),Re=ce.quickKey.map(nt=>({label:nt.label,kind:Ae.languages.CompletionItemKind.Method,insertText:nt.content,insertTextRules:Ae.languages.CompletionItemInsertTextRule.InsertAsSnippet})),Xe=pe.quickKey.map(nt=>({label:nt.label,kind:Ae.languages.CompletionItemKind.Method,insertText:nt.content,insertTextRules:Ae.languages.CompletionItemInsertTextRule.InsertAsSnippet}));Ae.languages.registerCompletionItemProvider("cpp",{provideCompletionItems:function(nt,$e){var tt=nt.getWordUntilPosition($e),st={startLineNumber:$e.lineNumber,endLineNumber:$e.lineNumber,startColumn:tt.startColumn,endColumn:tt.endColumn},it=nt.getLineContent($e.lineNumber).substring(tt.startColumn-2,tt.endColumn);return{suggestions:[...he.keywords.map(lt=>({label:lt,kind:Ae.languages.CompletionItemKind.Function,documentation:lt,insertText:lt,insertTextRules:Ae.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:st})),...he.quickKey.map(lt=>({label:lt.label,kind:Ae.languages.CompletionItemKind.Function,documentation:lt.content,insertText:it.startsWith("#")?lt.content.replace(/#/,""):lt.content,insertTextRules:Ae.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:st}))]}}}),Ae.languages.registerCompletionItemProvider("c",{provideCompletionItems:function(nt,$e){var tt=nt.getWordUntilPosition($e),st={startLineNumber:$e.lineNumber,endLineNumber:$e.lineNumber,startColumn:tt.startColumn,endColumn:tt.endColumn};return{suggestions:[...E.keywords.map(it=>({label:it,kind:Ae.languages.CompletionItemKind.Function,documentation:it,insertText:it,insertTextRules:Ae.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:st}))]}}}),Ae.languages.registerCompletionItemProvider("java",{provideCompletionItems:function(nt,$e){var tt=nt.getWordUntilPosition($e),st={startLineNumber:$e.lineNumber,endLineNumber:$e.lineNumber,startColumn:tt.startColumn,endColumn:tt.endColumn},it=nt.getLineContent($e.lineNumber).substring(tt.startColumn-2,tt.endColumn);return{suggestions:[...pe.keywords.map(lt=>({label:lt,kind:Ae.languages.CompletionItemKind.Function,documentation:lt,insertText:lt,insertTextRules:Ae.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:st})),...pe.quickKey.map(lt=>({label:lt.label,kind:Ae.languages.CompletionItemKind.Function,documentation:lt.content,insertText:it.startsWith("#")?lt.content.replace(/#/,""):lt.content,insertTextRules:Ae.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:st}))]}}}),Ae.languages.registerCompletionItemProvider("scala",{provideCompletionItems:function(nt,$e){var tt=nt.getWordUntilPosition($e),st={startLineNumber:$e.lineNumber,endLineNumber:$e.lineNumber,startColumn:tt.startColumn,endColumn:tt.endColumn},it=nt.getLineContent($e.lineNumber).substring(tt.startColumn-2,tt.endColumn);return{suggestions:[...oe.keywords.map(lt=>({label:lt,kind:Ae.languages.CompletionItemKind.Function,documentation:lt,insertText:lt,insertTextRules:Ae.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:st})),...oe.quickKey.map(lt=>({label:lt.label,kind:Ae.languages.CompletionItemKind.Function,documentation:lt.content,insertText:it.startsWith("#")?lt.content.replace(/#/,""):lt.content,insertTextRules:Ae.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:st}))]}}}),Ae.languages.registerCompletionItemProvider("python",{provideCompletionItems:function(nt,$e){var tt=nt.getWordUntilPosition($e),st={startLineNumber:$e.lineNumber,endLineNumber:$e.lineNumber,startColumn:tt.startColumn,endColumn:tt.endColumn},it=nt.getLineContent($e.lineNumber).substring(tt.startColumn-2,tt.endColumn);return{suggestions:[...ce.keywords.map(lt=>({label:lt,kind:Ae.languages.CompletionItemKind.Function,documentation:lt,insertText:lt,insertTextRules:Ae.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:st})),...ce.quickKey.map(lt=>({label:lt.label,kind:Ae.languages.CompletionItemKind.Function,documentation:lt.content,insertText:it.startsWith("#")?lt.content.replace(/#/,""):lt.content,insertTextRules:Ae.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:st}))]}}})};const be="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002";var ve=Object.defineProperty,Pe=(Ae,Me,Re)=>Me in Ae?ve(Ae,Me,{enumerable:!0,configurable:!0,writable:!0,value:Re}):Ae[Me]=Re,Ee=(Ae,Me,Re)=>Pe(Ae,typeof Me!="symbol"?Me+"":Me,Re);const _e=class Jr{constructor(Me,Re,Xe){this.placeholder=Me,this.editor=Re,this.monaco=Xe,Re.onDidChangeModelContent(()=>this.onDidChangeModelContent()),this.onDidChangeModelContent()}onDidChangeModelContent(){this.editor.getValue()===""?this.editor.addContentWidget(this):this.editor.removeContentWidget(this)}getId(){return Jr.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)}};Ee(_e,"ID","editor.widget.placeholderHint");var xe=_e,we=Se(96236),De=Se(8591),Oe=Se(6848),Fe=Se(89392),Le=Se(50484),Qe=Se(56102),He=Object.defineProperty,ze=Object.defineProperties,Ke=Object.getOwnPropertyDescriptors,Ge=Object.getOwnPropertySymbols,ke=Object.prototype.hasOwnProperty,Ne=Object.prototype.propertyIsEnumerable,Ve=(Ae,Me,Re)=>Me in Ae?He(Ae,Me,{enumerable:!0,configurable:!0,writable:!0,value:Re}):Ae[Me]=Re,Je=(Ae,Me)=>{for(var Re in Me||(Me={}))ke.call(Me,Re)&&Ve(Ae,Re,Me[Re]);if(Ge)for(var Re of Ge(Me))Ne.call(Me,Re)&&Ve(Ae,Re,Me[Re]);return Ae},rt=(Ae,Me)=>ze(Ae,Ke(Me)),Ye=(Ae,Me)=>{var Re={};for(var Xe in Ae)ke.call(Ae,Xe)&&Me.indexOf(Xe)<0&&(Re[Xe]=Ae[Xe]);if(Ae!=null&&Ge)for(var Xe of Ge(Ae))Me.indexOf(Xe)<0&&Ne.call(Ae,Xe)&&(Re[Xe]=Ae[Xe]);return Re},Ue=(Ae,Me,Re)=>new Promise((Xe,nt)=>{var $e=it=>{try{st(Re.next(it))}catch(lt){nt(lt)}},tt=it=>{try{st(Re.throw(it))}catch(lt){nt(lt)}},st=it=>it.done?Xe(it.value):Promise.resolve(it.value).then($e,tt);st((Re=Re.apply(Ae,Me)).next())});function Ie(Ae){return/^\d+$/.test(Ae)?`${Ae}px`:Ae}function Ze(){}let Te=!1;const We={"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 at(Ae=[]){let Me=Ae;if(Array.isArray(Ae)){for(let Re=0;Re{var Me=Ae,{width:Re="100%",height:Xe="100%",value:nt,language:$e="javascript",style:tt={},options:st={},overrideServices:it={},theme:lt="vs-dark",onEditBlur:ut,isCopy:vt=!1,onSave:pt,autoHeight:mt=!1,forbidCopy:St=!1,onChange:xt=Ze,editorDidMount:Mt=Ze,onFocus:yt=Ze,onBreakPoint:wt=Ze,breakPointValue:Lt=[],filename:cn="educoder.txt",errorLine:Vt,errorContent:rn="",highlightLine:Zt,openBreakPoint:Jt=!1,placeholder:zt=""}=Me,nn=Ye(Me,["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 jn=(0,ye.useRef)(),Cn=(0,ye.useRef)({}),Ln=(0,ye.useRef)(),Ft=(0,ye.useRef)(),At=(0,ye.useRef)([]),bt=(0,ye.useRef)(!1),sn=(0,ye.useRef)(),qt=(0,ye.useRef)(),dn=(0,ye.useRef)(!1),[hn,dt]=(0,ye.useState)(!1);function ft(){let Tt;return jn.current&&(Tt=new je.Z(kt=>{for(let an of kt)(an.target.offsetHeight>0||an.target.offsetWidth>0)&&Cn.current.instance.layout()}),Tt.observe(jn.current)),Tt}function gt(){De.ZP.warning({content:decodeURIComponent(be),key:"monaco-editor-tip"})}const Gt=()=>{let Tt=Cn.current.instance;if(nt!=null&&Tt&&hn){const kt=Tt.getModel();kt&&nt!==kt.getValue()&&(Te=!0,kt.setValue(nt),Tt.layout(),Te=!1)}};(0,ye.useEffect)(()=>{const Tt=Le.Z.subscribe("formatDocument",kt=>{var an;let on=Cn.current.instance;(an=on==null?void 0:on.getAction)==null||an.call(on,"editor.action.formatDocument").run()});return window.updateMonacoValue=kt=>{xt(kt)},Tt},[]),(0,ye.useEffect)(()=>{var Tt;let kt=Cn.current.instance;Ft.current&&clearTimeout(Ft.current),Ft.current=setTimeout(()=>{Gt()},500),nt&&(nt!=null&&nt.length)&&((Tt=kt==null?void 0:kt.updateOptions)==null||Tt.call(kt,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(nt.split(/\r\n|\r|\n/g).length))+3,5)}))},[nt,hn,Cn.current]),(0,ye.useEffect)(()=>{if(Vt&&Cn.current&&Cn.current.instance){let kt=Cn.current.instance;kt.changeViewZones(function(an){var on=document.createElement("div");on.style.padding="10px 20px",on.style.width="calc(100% - 20px)",on.className="my-error-line-wrp",on.innerHTML=rn,an.addZone({afterLineNumber:Vt||11,heightInLines:3,domNode:on})});var Tt={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}};kt.addOverlayWidget(Tt),kt.revealPositionInCenter({lineNumber:20,column:1})}},[Vt,Cn.current,hn]);const un=(Tt="",kt)=>{if(!Tt||Tt.trim()==="")return!0;const on=Cn.current.instance.getModel().getLineTokens(kt);let vn=!1;for(let Pn=0;Pn<2;Pn++)on.getStandardTokenType(Pn)===1&&(vn=!0);return vn};(0,ye.useEffect)(()=>{var Tt;const kt=(Tt=Cn.current)==null?void 0:Tt.instance;if(kt&&hn&&St){const an=kt.onDidBlurEditorWidget(()=>{dn.current=!1}),on=kt.onDidFocusEditorText(()=>{dn.current=!0});return()=>{an.dispose(),on.dispose()}}},[Cn.current,hn,St]),(0,ye.useEffect)(()=>{var Tt;if((Tt=Cn.current)!=null&&Tt.instance&&hn&&Jt){let kt=Cn.current.instance,an=kt.getModel();if(!an)return;(()=>{var pn;let _t=[],Ht=[];const gn=an.getAllDecorations();for(let xn of gn)xn.options.className==="highlighted-line"&&(_t.push((pn=xn==null?void 0:xn.range)==null?void 0:pn.startLineNumber),Ht.push(xn==null?void 0:xn.id));if(Zt===_t[0])return;an.deltaDecorations(Ht,[]);const Kt=an.getLineCount();Zt&&Zt<=Kt&&(kt.deltaDecorations([],[{range:new et.Range(Zt,1,Zt,an.getLineMaxColumn(Zt)),options:{isWholeLine:!0,className:"highlighted-line"}}]),kt.revealLineInCenter(Zt))})();const vn=(pn=!1)=>{var _t;let Ht=[],gn=[];const Kt=an.getAllDecorations();for(let xn of Kt)xn.options.linesDecorationsClassName==="breakpoints-select"&&(Ht.push((_t=xn==null?void 0:xn.range)==null?void 0:_t.startLineNumber),gn.push(xn==null?void 0:xn.id));if(pn)return{lines:Ht,ids:gn};wt(Ht)},Pn=pn=>Ue(void 0,null,function*(){let _t={range:new et.Range(pn,1,pn,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield an.deltaDecorations([],[_t]),vn()}),wn=pn=>Ue(void 0,null,function*(){let _t=[];const Ht=kt.getLineDecorations(pn);for(let gn of Ht)gn.options.linesDecorationsClassName==="breakpoints-select"&&_t.push(gn.id);yield an.deltaDecorations(_t,[]),vn()}),yn=pn=>{let _t=kt.getLineDecorations(pn);for(let Ht of _t)if(Ht.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,Fe.isEqual)(Lt,vn(!0).lines)){an.deltaDecorations(vn(!0).ids,[]);const pn=Lt.map(_t=>({range:new et.Range(_t,1,_t,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));an.deltaDecorations([],pn)}const Tn=kt.onDidChangeModelContent(pn=>{let _t=kt.getPosition();if(_t){let Ht=_t.lineNumber;clearTimeout(qt.current),qt.current=setTimeout(()=>{un(an.getLineContent(Ht),Ht)?wn(Ht):yn(Ht)?(wn(Ht),Pn(Ht)):vn()},100)}}),Dn=kt.onMouseDown(pn=>{var _t,Ht,gn;if(pn.target.detail&&((gn=(Ht=(_t=pn.target)==null?void 0:_t.element)==null?void 0:Ht.className)!=null&&gn.includes("line-numbers"))){let Kt=pn.target.position.lineNumber;if(un(an.getLineContent(Kt),Kt))return;yn(Kt)?wn(Kt):Pn(Kt)}}),It=pn=>{let _t={range:new et.Range(pn,1,pn,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};At.current=kt.deltaDecorations(At.current,[_t])},qn=()=>{At.current=kt.deltaDecorations(At.current,[])},Nn=kt.onMouseMove(pn=>{var _t,Ht,gn;if(qn(),pn.target.detail&&((gn=(Ht=(_t=pn.target)==null?void 0:_t.element)==null?void 0:Ht.className)!=null&&gn.includes("line-numbers"))){let Kt=pn.target.position.lineNumber;if(un(an.getLineContent(Kt),Kt))return;It(Kt)}}),Yn=kt.onMouseLeave(()=>{qn()});return()=>{Tn.dispose(),Dn.dispose(),Nn.dispose(),Yn.dispose()}}},[Cn.current,hn,Lt,Zt,Jt,$e]),(0,ye.useEffect)(()=>{var Tt;(Tt=Cn.current)!=null&&Tt.instance&&Jt&&Cn.current.instance.setPosition({lineNumber:0,column:0})},[Zt]);function $t(){let Tt=Cn.current.instance;if(Tt){const kt=Tt.getSelection(),an=Cn.current.pastePos||{},on=new et.Range(an.startLineNumber||kt.endLineNumber,an.startColumn||kt.endColumn,an.endLineNumber||kt.endLineNumber,an.endColumn||kt.endColumn);setTimeout(()=>{Tt.executeEdits("",[{range:on,text:""}])},300)}}function zn(Tt){(window.navigator.platform.match("Mac")?Tt.metaKey:Tt.ctrlKey)&&Tt.keyCode==83&&(Tt.preventDefault(),pt())}const mn=()=>{if(mt&&Cn.current.instance){const Tt=Cn.current.instance.getContentHeight();Nt(Tt{if(!dn.current)return;const{keyCode:kt,ctrlKey:an,metaKey:on,target:vn,type:Pn}=Tt;return(Pn==="paste"||(kt===67||kt===86)&&(on||an))&&vn.nodeName==="TEXTAREA"&&(gt(),Tt.preventDefault()),!1};function rr(Tt,kt){var an=window.URL||window.webkitURL||window,on=new Blob([kt]),vn=document.createElementNS("http://www.w3.org/1999/xhtml","a");vn.href=an.createObjectURL(on),vn.download=Tt,Gn(vn)}(0,ye.useEffect)(()=>{mn()},[mn]),(0,ye.useEffect)(()=>{jn.current&&!hn&&Promise.all([Se.e(8909),Se.e(6894)]).then(Se.bind(Se,71448)).then(Tt=>{try{et=Tt,Cn.current.instance=et.editor.create(jn.current,{value:nt,language:at($e),theme:lt,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0},it);const kt=Cn.current.instance;let vn=[...we.BH._menuItems].find(Tn=>Tn[0]._debugName=="EditorContext")[1],Pn=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],wn=(Tn,Dn)=>{var It,qn;let Nn=Tn._first;do Dn.includes((qn=(It=Nn.element)==null?void 0:It.command)==null?void 0:qn.id)&&Tn._remove(Nn);while(Nn=Nn.next)};if(Mt(kt,et),setTimeout(()=>{mn(),Cn.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{rr(cn||"educoder.txt",kt.getValue())}})},500),Cn.current.subscription=kt.onDidChangeModelContent(Tn=>{bt.current?clearTimeout(sn.current):(mn(),xt(kt.getValue(),Tn)),sn.current=setTimeout(()=>{bt.current=!1},500)}),window.Monaco||me(et,at($e)),St&&(wn(vn,Pn),jn.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",An),window.removeEventListener("paste",An),window.addEventListener("keydown",An),window.addEventListener("paste",An)),window.Monaco=et,ut&&kt.onDidBlurEditorWidget(()=>{ut(kt.getValue())}),yt&&kt.onDidFocusEditorText(()=>{yt(kt.getValue())}),St)try{kt.onDidPaste(Tn=>{const Dn=kt.getSelection(),It=Cn.current.pastePos||{},qn=new et.Range(It.startLineNumber||Dn.endLineNumber,It.startColumn||Dn.endColumn,It.endLineNumber||Dn.endLineNumber,It.endColumn||Dn.endColumn);kt.executeEdits("",[{range:Tn.range,text:""}])})}catch(Tn){}let yn=ft();return zt&&typeof zt=="string"&&new xe(zt,kt,et),dt(!0),()=>{const Tn=Cn.current.instance;Tn.dispose();const Dn=Tn.getModel();Dn&&Dn.dispose(),Cn.current.subscription&&Cn.current.subscription.dispose(),yn.unobserve(jn.current)}}catch(kt){}})},[]),(0,ye.useEffect)(()=>{if(Cn.current.instance&&hn)return document.addEventListener("keydown",zn,!1),()=>{document.removeEventListener("keydown",zn)}},[pt,hn]),(0,ye.useEffect)(()=>{let Tt=Cn.current.instance;if(Tt&&hn){let kt=at($e);et.editor.setModelLanguage(Tt.getModel(),kt)}},[$e,hn]),(0,ye.useEffect)(()=>{Cn.current.instance&&hn&&et.editor.setTheme(lt)},[lt,hn]),(0,ye.useEffect)(()=>{let Tt=Cn.current.instance;Ln.current=st,Tt&&hn&&(Tt.updateOptions(Je({},st)),setTimeout(()=>{Tt.getModel().updateOptions(Je({},st))},200))},[JSON.stringify(st),hn]),(0,ye.useEffect)(()=>{let Tt=Cn.current.instance;Tt&&hn&&Tt.layout()},[Re,Xe,hn]);const[Wt,Dt]=(0,ye.useState)(Ie(Re)),[Pt,Nt]=(0,ye.useState)(Ie(Xe)),Ct=rt(Je({},tt),{width:Wt,height:Pt,position:"relative"});return ye.createElement("div",{className:"my-monaco-editor",ref:jn,style:Ct},vt&&ye.createElement(Qe.CopyToClipboard,{text:nt,onCopy:()=>De.ZP.success("\u590D\u5236\u6210\u529F")},ye.createElement(Oe.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 Be({width:Ae="100%",height:Me="100%",original:Re,modified:Xe,language:nt,options:$e={}}){const tt=(0,ye.useRef)(),[st,it]=(0,ye.useState)(null);function lt(mt){let St;return tt.current&&(St=new je.Z(xt=>{for(let Mt of xt)(Mt.target.offsetHeight>0||Mt.target.offsetWidth>0)&&mt.layout()}),St.observe(tt.current)),St}(0,ye.useEffect)(()=>(tt.current&&Promise.all([Se.e(8909),Se.e(9404)]).then(Se.bind(Se,2550)).then(mt=>{et=mt;const St=et.editor.createDiffEditor(tt.current,rt(Je({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},$e),{wordWrap:!0}));it(St);let xt=lt(St);return()=>{St.dispose();const Mt=St.getModel();Mt&&Mt.dispose(),xt.unobserve(tt.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,ye.useEffect)(()=>{st&&st.setModel({original:et.editor.createModel(Re,nt),modified:et.editor.createModel(Xe,nt)})},[Re,Xe,nt,st]);const ut=Ie(Ae),vt=Ie(Me),pt={width:ut,height:vt};return ye.createElement("div",{className:"my-diff-editor",ref:tt,style:pt})}},34043:function(ct,ot,Se){"use strict";var ye=Se(58323),je=Se(57809),E=Se(78673),pe=Se(59301);const he=je.default.Option;ot.Z=({isTheoretical:ce,onFontSizeChange:oe,cmFontSize:ie,cmCodeMode:ue,autoFormat:se,onCodeModeChange:ae,onTabToSpace:re,onAutoFormat:ne,formatDocument:te,className:a="",tabToSpace:y,children:x,code_editor:b,challenge:ee})=>{const z={1:"\u7B80\u5355",2:"\u4E2D\u7B49",3:"\u56F0\u96BE"};return pe.createElement("div",{className:`tpi-code-setting ${a}`},pe.createElement("h3",null,"\u4EE3\u7801\u683C\u5F0F"),pe.createElement("section",null,pe.createElement("div",{className:"file-item"},pe.createElement("b",null,"\u663E\u793A\u6A21\u5F0F"),pe.createElement(je.default,{bordered:!1,size:"small",value:ue,onChange:ae},pe.createElement(he,{value:"vs"},"\u767D\u8272\u80CC\u666F"),pe.createElement(he,{value:"vs-dark"},"\u9ED1\u8272\u80CC\u666F"))),!ce&&pe.createElement(pe.Fragment,null,pe.createElement("div",{className:"file-item"},pe.createElement("b",null,"\u5B57\u4F53\u5927\u5C0F"),pe.createElement(je.default,{bordered:!1,size:"small",value:ie,onChange:oe},pe.createElement(he,{value:12},"12px"),pe.createElement(he,{value:14},"14px"),pe.createElement(he,{value:16},"16px"),pe.createElement(he,{value:18},"18px"),pe.createElement(he,{value:20},"20px"),pe.createElement(he,{value:22},"22px"))),pe.createElement("div",{className:"file-item"},pe.createElement("b",null,"Tab\u8F6C\u6362"),pe.createElement(E.Z,{checked:y,onChange:re})),pe.createElement("div",{className:"file-item",onClick:te},pe.createElement("b",{style:{cursor:"pointer"}},"\u683C\u5F0F\u5316\u4EE3\u7801")))),!ce&&pe.createElement(pe.Fragment,null,pe.createElement("h3",null,"\u5FEB\u6377\u952E"),pe.createElement("section",null,pe.createElement("div",{className:"file-item"},pe.createElement("b",null,"\u4FDD\u5B58\u4EE3\u7801"),pe.createElement("span",null,"Ctrl + S")),pe.createElement("div",{className:"file-item"},pe.createElement("b",null,"\u5524\u51FA\u5FEB\u6377\u952E\u5217\u8868"),pe.createElement("span",null,"F1 / Alt + F1")),pe.createElement("div",{className:"file-item"},pe.createElement("b",null,"\u5DE6\u53F3\u7F29\u8FDB"),pe.createElement("span",null,"Ctrl + ]/[")),pe.createElement("div",{className:"file-item"},pe.createElement("b",null,"\u8DF3\u5230\u5339\u914D\u7684\u62EC\u53F7"),pe.createElement("span",null,"Ctrl + Shift + \\")),pe.createElement("div",{className:"file-item"},pe.createElement("b",null,"\u8F6C\u5230\u884C\u9996"),pe.createElement("span",null,"Home")),pe.createElement("div",{className:"file-item"},pe.createElement("b",null,"\u8F6C\u5230\u884C\u5C3E"),pe.createElement("span",null,"End"))),x),!ce&&pe.createElement(pe.Fragment,null,pe.createElement("h3",null,"\u5FEB\u6377\u952E"),pe.createElement("section",null,pe.createElement("div",{className:"file-item"},pe.createElement("b",null,"\u5B9E\u8BAD\u96BE\u6613\u5EA6"),pe.createElement("span",null,z[ee==null?void 0:ee.difficulty])),pe.createElement("div",{className:"file-item"},pe.createElement("b",null,"\u5B9E\u9A8C\u73AF\u5883"),pe.createElement("span",null,b==null?void 0:b.name)),pe.createElement("div",{className:"file-item"},pe.createElement("b",null,"\u5B9E\u9A8C\u5BB9\u5668\u7F51\u7EDC"),pe.createElement("span",null,b!=null&&b.close_internet?"\u5173\u95ED\u5916\u7F51":"\u5F00\u542F\u5916\u7F51")))))}},50505:function(ct,ot,Se){"use strict";Se.d(ot,{Z:function(){return je}});var ye=Se(59301);function je(E,pe){const he=(0,ye.useRef)();(0,ye.useEffect)(()=>{he.current=E}),(0,ye.useEffect)(()=>{function ce(){he.current()}if(pe!==null){let oe=setInterval(ce,pe);return()=>clearInterval(oe)}},[pe])}},38992:function(ct,ot,Se){"use strict";var ye=Se(59301),je=Se(31797),E=Se(5871),pe=Se(78241),he=Se(43418),ce=Se(71418),oe=Se(1710),ie=Se(92832),ue=Se(95237),se=Se(43604),ae=Se(3113),re=Se(30897),ne=Se(61186),te=Se.n(ne),a=Se(24459),y=Se(88230),x=Se(93261),b=Se(73898),ee=Se(59579),z=Se(59301),le=(me,be,ve)=>new Promise((Pe,Ee)=>{var _e=we=>{try{xe(ve.next(we))}catch(De){Ee(De)}},Ce=we=>{try{xe(ve.throw(we))}catch(De){Ee(De)}},xe=we=>we.done?Pe(we.value):Promise.resolve(we.value).then(_e,Ce);xe((ve=ve.apply(me,be)).next())});const{Countdown:de}=je.default,ge=({value:me,onChange:be,MaxMinutes:ve})=>z.createElement(z.Fragment,null,z.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",z.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",z.createElement("br",null)),z.createElement(E.Z,{value:me,onChange:be,min:0,precision:0,max:ve,style:{width:"100%"},placeholder:`\u6700\u5927\u53EF\u5EF6\u957F\u65F6\u95F4\u4E3A${ve}\u5206\u949F\uFF0C\u5728\u5B66\u751F\u5269\u4F59\u65F6\u95F4\u57FA\u7840\u4E0A\u5EF6\u65F6`,addonAfter:"\u5206\u949F"})),fe=({exercise:me,successCb:be,dispatch:ve})=>{var Pe,Ee,_e,Ce;const xe=(0,a.useParams)(),[we]=pe.default.useForm(),De=pe.default.useWatch("time",we),[Oe,Fe]=(0,ye.useState)(!1),Le=(0,ye.useRef)(),{actionTabs:Qe}=me,[He,ze]=(0,ye.useState)(),[,Ke,Ge,ke]=(0,ee.U)(re.n7,{id:xe.categoryId}),[,Ne,Ve]=(0,ee.U)(re.Cd,{});(0,ye.useEffect)(()=>{me.actionTabs.key==="student-unlock"&&(Fe(!1),we.resetFields())},[me.actionTabs.key]);const Je=()=>new Promise(et=>le(void 0,null,function*(){var qe,Be;return Le.current=yield(0,x.y)({ip_limit:(qe=Qe==null?void 0:Qe.exerciseParams)==null?void 0:qe.ip_limit,ip_bind:(Be=Qe==null?void 0:Qe.exerciseParams)==null?void 0:Be.ip_bind_type}),et()})),rt=()=>le(void 0,null,function*(){var et,qe,Be,Ae,Me;yield we.validateFields();const Re=we.getFieldsValue();if(Fe(!0),(((et=Qe==null?void 0:Qe.exerciseParams)==null?void 0:et.ip_limit)!=="no"||(qe=Qe==null?void 0:Qe.exerciseParams)!=null&&qe.ip_bind_type)&&(yield Je()),(yield(0,re.ZD)((Be=Qe==null?void 0:Qe.exerciseParams)==null?void 0:Be.id,{exercise_user_id:(Ae=Qe==null?void 0:Qe.exerciseParams)==null?void 0:Ae.exercise_user_id,unlock_key:Re.unlock_key,time:Re.time,ip:Le.current})).status===0){if(be){ve({type:"exercise/setActionTabs",payload:{}}),be();return}const nt=Qe==null?void 0:Qe.exerciseParams;(0,y.nr)({inner_ip:nt.inner_ip,public_ip:nt.public_ip,open_camera:nt.open_camera,ip_limit:nt.ip_limit,ip_bind:nt.ip_bind,ip_bind_type:nt.ip_bind_type,exercise_tips:nt.exercise_tips,exerciseId:nt.id,screen_open:nt.screen_open,screen_num:nt.screen_num,screen_sec:nt.screen_sec,coursesId:xe.coursesId,login:(Me=(0,b.eY)())==null?void 0:Me.login,history,identity_verify:nt.identity_verify,open_phone_video_recording:nt.open_phone_video_recording,current_status:nt.current_status}),ve({type:"exercise/setActionTabs",payload:{}})}Fe(!1)}),Ye=[{title:"IP\u5730\u5740",dataIndex:"ip",key:"ip",render:et=>z.createElement("span",{className:et.indexOf("\u5F02\u5E38")>-1?"c-red":"c-green"},et)},{title:"\u6D4F\u89C8\u5668",dataIndex:"browser",key:"browser",render:et=>z.createElement("span",{className:et.indexOf("\u5F02\u5E38")>-1?"c-red":"c-green"},et)},{title:"\u4E0A\u6B21\u767B\u5F55\u65F6\u95F4",dataIndex:"last_login_time",key:"last_login_time"}],Ue=((Pe=Qe==null?void 0:Qe.exerciseParams)==null?void 0:Pe.errorMessage)&&typeof((Ee=Qe==null?void 0:Qe.exerciseParams)==null?void 0:Ee.errorMessage)=="object";(0,ye.useEffect)(()=>{me.actionTabs.key==="student-unlock"&&le(void 0,null,function*(){const et=yield Ve(xe);yield Ge({}),et.status||ze(et)})},[me.actionTabs.key]);const{time:Ie,end_time:Ze}=(He==null?void 0:He.exercise)||{},Te=ke!=null&&ke.user_end_time?te()(ke==null?void 0:ke.user_end_time).add(1,"minutes"):te()(),We=te()(ke==null?void 0:ke.user_total_end_time)>Te?Math.round(te().duration(te()(ke==null?void 0:ke.user_total_end_time).diff(Te.startOf("minute"))).asMinutes()):0,at=((ke==null?void 0:ke.student_left_minutes)||0)+(De||0);return z.createElement(z.Fragment,null,z.createElement(he.default,{width:514,centered:!0,closable:!!((_e=Qe==null?void 0:Qe.exerciseParams)!=null&&_e.unlockClose),maskClosable:!1,keyboard:!1,maskStyle:{background:"#000"},title:"\u63D0\u793A",open:me.actionTabs.key==="student-unlock",footer:null,onCancel:()=>{ve({type:"exercise/setActionTabs",payload:{}})}},z.createElement(ce.Z,{spinning:Ke||Ne},Ue&&z.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 "),!Ue&&z.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"),Ue&&z.createElement(oe.default,{className:"mb20",pagination:{hideOnSinglePage:!0},dataSource:[((Ce=Qe==null?void 0:Qe.exerciseParams)==null?void 0:Ce.errorMessage)||{}],columns:Ye}),z.createElement("div",{className:""},z.createElement(pe.default,{form:we,layout:"vertical",autoComplete:"off"},z.createElement(pe.default.Item,{label:"\u8003\u8BD5\u89E3\u9501\u7801",name:"unlock_key",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8003\u8BD5\u89E3\u9501\u7801"}]},z.createElement(ie.default.Password,{autoComplete:"off",placeholder:"\u8BF7\u8F93\u5165\u8003\u8BD5\u89E3\u9501\u7801",visibilityToggle:!1})),Ie!==-1?z.createElement(z.Fragment,null,z.createElement(pe.default.Item,{name:"time",label:z.createElement("span",null,"\u5EF6\u957F\u65F6\u95F4\uFF08",z.createElement("span",{style:{color:"#9096A3"}},"\u5F53\u524D\u8003\u8BD5\u622A\u6B62\u65F6\u95F4",te()(ke==null?void 0:ke.user_total_end_time).format("YYYY-MM-DD HH:mm")),"\uFF09")},z.createElement(ge,{MaxMinutes:We})),z.createElement("div",{className:"mb20",style:{color:"#FA6400"}},"\u8BE5\u5B66\u751F\u5269\u4F59\u8003\u8BD5\u65F6\u95F4\uFF1A",z.createElement("span",{className:"ml5"},Ke||Ne?"--":at),"\u5206\u949F",at!==0&&(ke==null?void 0:ke.user_end_time)&&z.createElement("span",null,"\uFF0C\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\uFF1A",z.createElement("span",{className:"ml5"},te()(ke==null?void 0:ke.user_end_time).add(De||0,"m").format("YYYY-MM-DD HH:mm:ss"))))):z.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 ",te()(Ze).format("YYYY-MM-DD HH:mm")))),z.createElement(ue.Z,{justify:"space-between",align:"middle"},z.createElement(se.Z,null),z.createElement(se.Z,null,z.createElement(ae.ZP,{loading:Oe,onClick:rt},"\u8FDB\u5165\u8003\u8BD5"))))))};ot.Z=(0,a.connect)(({exercise:me})=>({exercise:me}))(fe)},47365:function(ct,ot,Se){"use strict";Se.d(ot,{Z:function(){return a}});var ye=Se(59301),je=Se(24459),E=Se(43418),pe=Se(3113),he=Se(71418),ce=Se(5247),oe=Se(70037),ie=Se(57800),ue=Se(24334),se=Se(61186),ae=Se.n(se),re=Se(86723),ne=Se(59301),te=(y,x,b)=>new Promise((ee,z)=>{var le=fe=>{try{ge(b.next(fe))}catch(me){z(me)}},de=fe=>{try{ge(b.throw(fe))}catch(me){z(me)}},ge=fe=>fe.done?ee(fe.value):Promise.resolve(fe.value).then(le,de);ge((b=b.apply(y,x)).next())}),a=({open:y,onClose:x})=>{const[b,ee]=(0,ye.useState)(void 0);console.log((0,je.useLocation)(),33);const z=(0,je.useLocation)();(0,ye.useEffect)(()=>{y&&function(){return te(this,null,function*(){const ze=yield(0,ce.X6)(y);ee(ze.data)})}()},[y]);const{status:le,created_at:de,code:ge,name:fe,language:me,pass_sets_count:be,set_count:ve,error_msg:Pe,output:Ee,input:_e,expected_output:Ce,execute_memory:xe,user:we,execute_time:De,input_file_url:Oe,output_file_url:Fe,is_file:Le,expected_output_file_url:Qe}=b||{};return ne.createElement(E.default,{open:y,width:1e3,onCancel:()=>x(!1),footer:ne.createElement(pe.ZP,{type:"primary",onClick:()=>x(!1)},"\u5173\u95ED"),centered:!0},ne.createElement(he.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:le===0?"c-green":"c-red"},oe.Im[le])," "),ne.createElement("li",null," \u63D0\u4EA4\u65F6\u95F4\uFF1A",ne.createElement("span",null,ae()(de).format("YYYY-MM-DD HH:mm:ss"))," "),ne.createElement("li",null," \u8BED\u8A00\uFF1A",ne.createElement("span",null,me)," "),ne.createElement("li",null," \u6267\u884C\u7528\u65F6\uFF1A",ne.createElement("span",null,De*1e3,"ms")," "),ne.createElement("li",null," ",`${le===re.h.HIDE_COMPILE_STATUS?"--":be} / ${ve} \u4E2A\u901A\u8FC7\u7684\u6D4B\u8BD5\u7528\u4F8B`," ")),(0,oe.gZ)({status:le,error_msg:Pe,execute_time:De,output:Ee,input:_e,expected_output:Ce,input_file_url:Oe,output_file_url:Fe,is_file:Le,expected_output_file_url:Qe}),ne.createElement("h2",null," \u63D0\u4EA4\u7684\u5185\u5BB9 "),ne.createElement(ie.ZP,{height:"200px",width:"100%",language:me==null?void 0:me.toLocaleLowerCase(),value:ue.Base64.decode(ge),options:{readOnly:!0}}))):null)))}},21758:function(ct,ot,Se){"use strict";Se.d(ot,{Im:function(){return ve},Y4:function(){return Ee}});var ye=Se(59301),je=Se(92832),E=Se(8591),pe=Se(3113),he=Se(76826),ce=Se(24334),oe=Se.n(ce),ie=Se(7850),ue=Se(7651),se=Se(99325),ae=Se(88230),re=Se(34376),ne=Se.n(re),te=Se(7660),a=Se(24459),y=Se(47365),x=Se(50484),b=Se(5247),ee=Se(50397),z=Se(90853),le=Se(92310),de=Se.n(le),ge=Se(20736),fe=Se(59301),me=(xe,we,De)=>new Promise((Oe,Fe)=>{var Le=ze=>{try{He(De.next(ze))}catch(Ke){Fe(Ke)}},Qe=ze=>{try{He(De.throw(ze))}catch(Ke){Fe(Ke)}},He=ze=>ze.done?Oe(ze.value):Promise.resolve(ze.value).then(Le,Qe);He((De=De.apply(xe,we)).next())});const{TextArea:be}=je.default,ve={[he.h.HIDE_COMPILE_STATUS]:"\u6682\u4E0D\u652F\u6301\u67E5\u770B",[he.h.NOMATCH]:"\u6D4B\u8BD5\u7528\u4F8B\u7ED3\u679C\u4E0D\u5339\u914D",[he.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 Pe=(xe=>(xe[xe.SET_VISIBLE=0]="SET_VISIBLE",xe[xe.SET_TABINDEX=1]="SET_TABINDEX",xe))(Pe||{});function Ee(xe){const{status:we,error_msg:De,output:Oe,input:Fe,expected_output:Le,is_file:Qe,input_file_url:He,output_file_url:ze,expected_output_file_url:Ke,setMonacoValue:Ge,setData:ke}=xe,Ne=(0,ye.useRef)(),Ve=(0,ye.useRef)(),Je=(0,ye.useRef)();let rt=null;const Ye={minHeight:150,marginBottom:10,paddingLeft:24,background:"#070f19",color:"#fff"};switch((0,ye.useEffect)(()=>{if(Oe&&!Qe&&Ne.current){const Ue=new re.Terminal({fontSize:14,letterSpacing:1,cols:83,rows:10});Ue.open(Ne.current);const Ie=(0,ae.pp)(ce.Base64.decode(Oe));Ue.write(Ie),Ue.setOption("theme",{background:"#1e1e1e"})}if(Fe&&!Qe&&Ve.current){const Ue=new re.Terminal({fontSize:14,letterSpacing:1,cols:83,rows:10});Ue.open(Ve.current),Ue.write((0,ae.pp)(Fe)),Ue.setOption("theme",{background:"#1e1e1e"})}if(Le&&!Qe&&Je.current){const Ue=new re.Terminal({fontSize:14,letterSpacing:1,cols:83,rows:10});Ue.open(Je.current),Ue.write((0,ae.pp)(ce.Base64.decode(Le))),Ue.setOption("theme",{background:"#1e1e1e"})}},[Oe]),we){case he.h.NOMATCH:rt=fe.createElement(fe.Fragment,null,fe.createElement("p",{className:"c-red"},"\u5B9E\u9645\u8F93\u51FA\uFF1A"),!Qe&&fe.createElement("div",{ref:Ne}),Qe&&fe.createElement("div",{style:Ye},fe.createElement("a",{style:{fontSize:"16px"},onClick:()=>me(this,null,function*(){const Ue=yield(0,te.ZP)(ze,{method:"Get",headers:{"Content-Type":"application/xml",Accept:"*/*"}});Ge(Ue),setTimeout(()=>{ke(ze)},200)})},Oe)),fe.createElement("p",{className:"c-red"},"\u9884\u671F\u8F93\u51FA\uFF1A"),!Qe&&fe.createElement("div",{ref:Je}),Qe&&fe.createElement("div",{style:Ye},fe.createElement("a",{style:{fontSize:"16px"},onClick:()=>me(this,null,function*(){const Ue=yield fetch(Ke,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}});Ge(yield Ue.text()),setTimeout(()=>{ke(Ke)},200)})},Le)));break;case he.h.EXECUTEFAILURE:rt=fe.createElement(fe.Fragment,null,fe.createElement("div",{style:{border:"1px #F6F7F9 solid"}},fe.createElement("p",{style:{width:"100%",height:40,background:"#F6F7F9",lineHeight:"40px",color:"#666666",paddingLeft:"12px"}},"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A"),!Qe&&fe.createElement(se.Z,{value:Fe,style:Ye}),Qe&&fe.createElement("div",{style:Ye},fe.createElement("a",{onClick:()=>(0,ae.LR)(He,Fe)},Fe))),fe.createElement("div",{style:{border:"1px #F6F7F9 solid",marginTop:"10px"}},fe.createElement("p",{style:{width:"100%",height:40,background:"#F6F7F9",lineHeight:"40px",color:"#666666",paddingLeft:"12px"}},"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),fe.createElement("pre",{className:ie.Z.error,style:{color:"#E30000",padding:"0 10px"}},ce.Base64.decode(De),"111")));break;case he.h.COMPILEFAILURE:rt=fe.createElement(fe.Fragment,null,fe.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),fe.createElement("pre",{className:ie.Z.error},ce.Base64.decode(De)));break;case he.h.PODFAILURE:rt=fe.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case he.h.TIMEOUT:rt=fe.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return fe.createElement(fe.Fragment,null," ",rt," ")}function _e(xe){const{status:we,error_msg:De,execute_time:Oe,output:Fe,input:Le,expected_output:Qe,is_file:He,input_file_url:ze,output_file_url:Ke,expected_output_file_url:Ge}=xe;let ke=null;switch(we){case he.h.OK:case he.h.NOMATCH:case he.h.EXECUTEFAILURE:case he.h.COMPILEFAILURE:ke=fe.createElement("div",{id:"outputResultRef",className:"h100"});break;case he.h.PODFAILURE:ke=fe.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case he.h.TIMEOUT:ke=fe.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return fe.createElement(fe.Fragment,null," ",ke," ")}function Ce({value:xe,className:we}){return fe.createElement("span",{className:we},xe)}ot.ZP=({input:xe,is_file:we,debuging:De,submitting:Oe,executingMessage:Fe,debugResult:Le,onChangeInput:Qe,onDebugCode:He,onSubmitCode:ze,hack:Ke,user:Ge,submitResult:ke,isWhiteTheme:Ne,topDispatch:Ve})=>{const[Je]=(0,a.useSearchParams)(),rt=(0,a.useParams)(),[Ye,Ue]=(0,ye.useState)(!1),[Ie,Ze]=(0,ye.useState)(!1),[Te,We]=(0,ye.useState)(1),[at,et]=(0,ye.useState)(!1),[qe,Be]=(0,ye.useState)(0),[Ae,Me]=(0,ye.useState)(!1),[Re,Xe]=(0,ye.useState)(""),[nt,$e]=(0,ye.useState)(""),tt=(0,ye.useRef)(),st=(0,ye.useRef)(),it=(0,ye.useRef)(null),lt=(0,ye.useRef)(null),ut=(0,ye.useRef)(null);console.log(ke,"submitResult",rt);const{status:vt,id:pt,input:mt,output:St,expected_output:xt,is_file:Mt,input_file_url:yt,output_file_url:wt,expected_output_file_url:Lt,error_msg:cn,hack_sets:Vt}=ke||{};(0,ye.useEffect)(()=>{vt===0&&(We(1),Be(0))},[vt,pt]),(0,ye.useEffect)(()=>{me(void 0,null,function*(){var At;const bt=yield(0,b.rX)(rt==null?void 0:rt.id,"submit");(bt==null?void 0:bt.status)===0&&(bt!=null&&bt.data&&((At=bt==null?void 0:bt.data)==null?void 0:At.status)!==0?(Ve({type:ee.Types.SET_SUBMIT_RESULT,payload:{submitResult:bt==null?void 0:bt.data}}),We(2),Be(320)):(We(1),Be(0)))})},[rt==null?void 0:rt.id]),(0,ye.useEffect)(()=>{if(tt.current){let Ft=function(ft){qt=sn.offsetHeight,dn=!0,hn=ft.pageY,ut.current.style.display="block"},At=function(){dn=!1,ut.current.style.display="none"},bt=function(ft){if(dn){rn();let gt=hn-ft.pageY,Gt=qt+gt;if(Gt<0&&(Gt=0),Gt>window.innerHeight-150&&(Gt=window.innerHeight-150),Te===1){Gt<=34?Be(0):Be(Gt);return}console.log(Gt,"resizeH"),Be(Gt)}};const sn=it.current;let qt=0,dn=!1,hn=0;const dt=document.getElementById("case-y-bar");return dt==null||dt.addEventListener("mousedown",Ft),document.addEventListener("mousemove",bt),document.addEventListener("mouseup",At),()=>{const ft=document.getElementById("case-y-bar");ft==null||ft.removeEventListener("mousedown",Ft),document.removeEventListener("mousemove",bt),document.removeEventListener("mouseup",At)}}},[tt,Te]),(0,ye.useEffect)(()=>{const Ft=x.Z.subscribe("resize-move-bar",rn);if(Je.get("type")!=="exercises")return document.addEventListener((0,ge.gH)(),zt),()=>{document.removeEventListener((0,ge.gH)(),zt),Ft()}},[]),(0,ye.useEffect)(()=>{});function rn(){var Ft,At,bt,sn;const qt=document.getElementById("outputResultRef");if(qt){let dn=qt.dataset.text;st.current.reset(),st.current.writeln(dn);const hn=document.getElementById("outputResultRef").offsetWidth-20,dt=((sn=(bt=(At=(Ft=st.current)==null?void 0:Ft._core)==null?void 0:At._renderService)==null?void 0:bt.dimensions)==null?void 0:sn.actualCellWidth)||10,ft=Math.ceil(hn/dt);st.current.resize(ft,Math.ceil(qt.clientHeight/16))}}function Zt(){Ue(!Ye),setTimeout(()=>{rn()},300),Be(Ye?320:window.innerHeight-150)}function Jt(){Ie?(Ze(!1),(0,ge.BU)()):(Ze(!0),(0,ge.Dj)(lt.current))}const zt=Ft=>{(0,ge.vp)()||Ze(!1)},nn=(0,ye.useMemo)(()=>{if(Le){const{status:Ft,output:At,error_msg:bt}=Le;return setTimeout(()=>{let sn="",qt=document.getElementById("outputResultRef");At?sn=ce.Base64.decode(At):bt&&(sn=ce.Base64.decode(bt)),st.current=new re.Terminal({fontSize:14,theme:{background:"#181e2e",cursor:"transparent"},rendererType:"dom"}),st.current.open(qt),st.current.onKey(function(dn){var hn;if(dn.domEvent.key.toLocaleUpperCase()==="C"&&dn.domEvent.ctrlKey){dn.domEvent.preventDefault();let dt=(hn=st.current)==null?void 0:hn.getSelection();navigator.clipboard.writeText(dt).then(()=>{})}}),qt.dataset.text=sn,st.current.setOption("convertEol",!0),rn()},300),fe.createElement(fe.Fragment,null,_e(Le))}return null},[Le]);function jn(){var Ft,At;if(!(Ke!=null&&Ke.code)||((Ft=Ke==null?void 0:Ke.code)==null?void 0:Ft.trim().length)===0){(At=E.ZP)==null||At.warning("\u4EE3\u7801\u4E0D\u80FD\u4E3A\u7A7A\uFF0C\u8BF7\u5148\u7F16\u5199\u4EE3\u7801\u540E\uFF0C\u518D\u8FDB\u884C\u8BC4\u6D4B\uFF01");return}We(1),Be(320),He()}const Cn=Ft=>me(void 0,null,function*(){let At=yield(0,te.ZP)(`/api/problems/${Ft}/start.json`,{method:"get",params:{hack_user_id:Ge==null?void 0:Ge.user_id}});At&&(window.location.href=`/myproblems/${At==null?void 0:At.identifier}${window.location.search}`)});function Ln(){Mt?navigator.clipboard.writeText(ce.Base64.decode(cn)).then(()=>{E.ZP.success("\u590D\u5236\u9519\u8BEF\u4FE1\u606F\u6210\u529F")}):navigator.clipboard.writeText(ce.Base64.decode(St)).then(()=>{E.ZP.success("\u590D\u5236\u9519\u8BEF\u4FE1\u606F\u6210\u529F")})}return fe.createElement(ye.Fragment,null,fe.createElement("div",{className:de()(ie.Z.case,Ne&&ie.Z.whiteCase),style:{height:qe},ref:it},fe.createElement("div",{className:ie.Z.fullMask,ref:ut}),fe.createElement("div",{className:ie.Z["resize-y-bar"],id:"case-y-bar",ref:tt,draggable:!1},Te===2&&fe.createElement("i",{className:"iconfont icon-guangbiao",draggable:!1})),Te===1&&(qe<=34?fe.createElement("div",{onClick:()=>{Be(320)},className:ie.Z.unfoldBtn},"\u63A7\u5236\u53F0",fe.createElement("i",{className:"iconfont icon-zhankai9 ml10 font12"})):fe.createElement("div",{onClick:()=>{Be(0)},className:ie.Z.unfoldBtn,style:{borderRadius:"0px 0px 8px 8px",top:0}},"\u63A7\u5236\u53F0",fe.createElement("i",{className:"iconfont icon-shouqi8 ml10 font12"}))),fe.createElement("div",null,fe.createElement("div",{className:ie.Z.caseHead},fe.createElement("div",{className:ie.Z.dot}),fe.createElement("div",{className:ie.Z.text},Te===1?"\u8C03\u8BD5\u4EE3\u7801\u7ED3\u679C":"\u8BC4\u6D4B\u7ED3\u679C"),Te===2&&!Oe&&typeof vt=="number"&&fe.createElement(fe.Fragment,null,vt===he.h.OK?fe.createElement("div",{className:ie.Z.pass},fe.createElement("i",{className:"iconfont icon-tongguo font14 mr5"}),"\u8BC4\u6D4B\u901A\u8FC7"):fe.createElement("div",{className:ie.Z.noPass},fe.createElement("i",{className:"iconfont icon-jinggao-3 font14 mr5"}),ve[vt])),fe.createElement("div",{className:ie.Z.btns},Te===2&&!Oe&&fe.createElement(fe.Fragment,null,vt!==he.h.OK&&fe.createElement("div",{onClick:Ln},fe.createElement("i",{className:"iconfont icon-fuzhi8"}),"\u590D\u5236\u9519\u8BEF\u4FE1\u606F"),fe.createElement("div",{onClick:()=>{Me(pt)}},fe.createElement("i",{className:"iconfont icon-danceng-xinjianwenjian"}),"\u663E\u793A\u8BE6\u60C5")),Je.get("type")!=="exercises"&&fe.createElement("div",{title:"\u5C55\u5F00/\u6536\u7F29",onClick:()=>Zt()},fe.createElement("i",{className:`iconfont icon-${Ye?"suoxiao1":"fangda"}`})))),fe.createElement("div",{style:{display:Te===1?"block":"none"}},De?fe.createElement(ue.Z,{style:{color:"#1976d2"},message:"\u670D\u52A1\u542F\u52A8\u4E2D..."}):fe.createElement("div",{style:{height:qe-34}},fe.createElement("div",{className:ie.Z.result},fe.createElement("div",{className:ie.Z.left},fe.createElement("div",{className:ie.Z.title},fe.createElement("i",{style:{color:"#00FA95"},className:"iconfont iconfont icon-zidingyiceshiyongli font14 mr5"}),fe.createElement("span",null,"\u81EA\u5B9A\u4E49\u6D4B\u8BD5\u7528\u4F8B")),fe.createElement("div",{className:ie.Z.leftNode},fe.createElement(be,{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:we?"":xe,onChange:Qe}))),fe.createElement("div",{className:ie.Z.right},fe.createElement("div",{className:ie.Z.title},fe.createElement("i",{style:{color:"#00DFFF"},className:"iconfont iconfont icon-daimazhihangjieguo font14 mr5"}),fe.createElement("span",null,"\u4EE3\u7801\u6267\u884C\u7ED3\u679C")),fe.createElement("div",{className:ie.Z.node},Le?nn:fe.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")))))),fe.createElement("div",{style:{display:Te===2?"block":"none"}},Oe?fe.createElement(ue.Z,{style:{color:"#1976d2"},message:"\u670D\u52A1\u542F\u52A8\u4E2D..."}):fe.createElement("div",{style:{height:qe-34,display:"flex",flexDirection:"column",overflow:"hidden"}},fe.createElement("div",{ref:lt,className:ie.Z.elseNode},fe.createElement("div",{className:ie.Z.nameWrap},fe.createElement("i",{style:{color:"#00DFFF"},className:"iconfont iconfont icon-zidingyiceshiyongli font14 mr5"}),fe.createElement("span",null,"\u5B9E\u9645\u8F93\u5165")),fe.createElement("div",{className:ie.Z.scroll},fe.createElement("pre",{className:ie.Z.scrollBox,style:at?{height:Ie?"calc(100vh - 20px)":200}:{height:24,overflow:"hidden"}},!Mt&&fe.createElement(Ce,{value:mt}),Mt&&fe.createElement("a",{style:{fontSize:"16px"},onClick:()=>me(void 0,null,function*(){const Ft=yield fetch(yt,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}});$e(yield Ft.text()),setTimeout(()=>{Xe(yt)},200)})},mt)),mt&&fe.createElement("div",{className:ie.Z.action},fe.createElement("span",{onClick:()=>et(!at)},at?"\u6536\u8D77":"\u5C55\u5F00"),Je.get("type")!=="exercises"&&fe.createElement("i",{title:"\u5168\u5C4F/\u9000\u51FA\u5168\u5C4F",onClick:()=>Jt(),className:`iconfont icon-${Ie?"suoxiao1":"fangda"}`})))),fe.createElement("div",{className:ie.Z.result,style:{flex:1,overflow:"hidden"}},fe.createElement("div",{className:ie.Z.left},fe.createElement("div",{className:ie.Z.title},fe.createElement("i",{style:{color:"#00FA95"},className:"iconfont iconfont icon-zidingyiceshiyongli font14 mr5"}),fe.createElement("span",null,"\u9884\u671F\u8F93\u51FA")),fe.createElement("div",{className:ie.Z.node,style:{background:"#1B2333",color:"#2ABD8C"}},fe.createElement("pre",null,!Mt&&fe.createElement(Ce,{className:"mb10",value:xt&&ce.Base64.decode(xt)||""}),Mt&&fe.createElement("a",{style:{fontSize:"16px"},onClick:()=>me(void 0,null,function*(){const Ft=yield fetch(Lt,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}});$e(yield Ft.text()),setTimeout(()=>{Xe(Lt)},200)})},xt)))),fe.createElement("div",{className:ie.Z.right},fe.createElement("div",{className:ie.Z.title},fe.createElement("i",{style:{color:"#00DFFF"},className:"iconfont iconfont icon-daimazhihangjieguo font14 mr5"}),fe.createElement("span",null,"\u5B9E\u9645\u8F93\u51FA")),fe.createElement("div",{className:ie.Z.node,style:{color:vt===he.h.OK?"#2ABD8C":"#FF2C29"}},fe.createElement("pre",null,(vt===4||vt===5)&&fe.createElement(Ce,{className:"mb10",value:cn&&ce.Base64.decode(cn)||""}),vt!=4&&vt!=5&&(Mt?fe.createElement("a",{style:{fontSize:"16px"},onClick:()=>me(void 0,null,function*(){const Ft=yield(0,te.ZP)(wt,{method:"Get",headers:{"Content-Type":"application/xml",Accept:"*/*"}});try{$e(Ft)}catch(At){$e("")}setTimeout(()=>{Xe(wt)},200)})},St):fe.createElement(Ce,{className:"mb10",value:St&&ce.Base64.decode(St)||""})))))))))),fe.createElement("div",{className:de()(ie.Z.footer,Ne&&ie.Z.whiteFooter),style:{zIndex:100}},(Ke==null?void 0:Ke.is_program)&&(Ke==null?void 0:Ke.above_question)&&fe.createElement(pe.ZP,{className:"mr10",type:"primary",onClick:()=>Cn(Ke==null?void 0:Ke.above_question),id:"oj-prev",ghost:!0},"\u4E0A\u4E00\u9898"),(Ke==null?void 0:Ke.is_program)&&(Ke==null?void 0:Ke.under_question)&&fe.createElement(pe.ZP,{className:"mr10",type:"primary",onClick:()=>Cn(Ke==null?void 0:Ke.under_question),id:"oj-next",ghost:!0},"\u4E0B\u4E00\u9898"),fe.createElement(pe.ZP,{style:{border:"1px solid #2ABD8C",color:"#2ABD8C"},ghost:!0,disabled:De||Oe,loading:De,color:"#2ABD8C",className:"mr10",onClick:jn},"\u8C03\u8BD5\u4EE3\u7801"),Je.get("qtype")!=="8"&&fe.createElement(pe.ZP,{className:ie.Z.disabled,type:"primary",icon:fe.createElement("i",{className:"iconfont icon-bofang1"}),loading:Oe,disabled:De||Oe,onClick:()=>{var Ft,At;if(!(Ke!=null&&Ke.code)||((Ft=Ke==null?void 0:Ke.code)==null?void 0:Ft.trim().length)===0){(At=E.ZP)==null||At.warning("\u4EE3\u7801\u4E0D\u80FD\u4E3A\u7A7A\uFF0C\u8BF7\u5148\u7F16\u5199\u4EE3\u7801\u540E\uFF0C\u518D\u8FDB\u884C\u8BC4\u6D4B\uFF01");return}We(2),Be(320),ze()}},"\u8BC4\u6D4B\u5E76\u63D0\u4EA4")),fe.createElement(y.Z,{onClose:Me,open:Ae}),fe.createElement(z.Z,{close:!0,data:Re,type:Re.length?"txt":"",onClose:()=>Xe(""),monacoEditor:{value:nt,language:"txt",onChange:()=>{},options:{fontSize:14,readOnly:!0,minimap:{enabled:!1}}}}))}},50397:function(ct,ot,Se){"use strict";Se.r(ot),Se.d(ot,{Types:function(){return br},default:function(){return Lr}});var ye=Se(59301),je=Se(24459),E=Se(31797),pe=Se(43418),he=Se(71418),ce=Se(3113),oe=Se(6848),ie=Se(95237),ue=Se(5247),se=Se(30897),ae=Se(20736),re=Se(31582),ne=Se(38446),te=Se(87169),a=Se(43428),y=Se(57800),x=Se(19647),b=Se(90691),ee=Se(34043),z=Se(59301),le=Object.defineProperty,de=Object.defineProperties,ge=Object.getOwnPropertyDescriptors,fe=Object.getOwnPropertySymbols,me=Object.prototype.hasOwnProperty,be=Object.prototype.propertyIsEnumerable,ve=(ht,Ot,Et)=>Ot in ht?le(ht,Ot,{enumerable:!0,configurable:!0,writable:!0,value:Et}):ht[Ot]=Et,Pe=(ht,Ot)=>{for(var Et in Ot||(Ot={}))me.call(Ot,Et)&&ve(ht,Et,Ot[Et]);if(fe)for(var Et of fe(Ot))be.call(Ot,Et)&&ve(ht,Et,Ot[Et]);return ht},Ee=(ht,Ot)=>de(ht,ge(Ot));const _e={theme:(0,b.G)("ProgrammingCodeMode","vs-dark"),fontSize:(0,b.G)("cmFontSize",14),showEditorSetting:!1,tabToSpace:(0,b.G)("cmTabToSpace",!0)};var Ce=(ht=>(ht[ht.set_font_size=0]="set_font_size",ht[ht.set_theme=1]="set_theme",ht[ht.on_tab_to_space=2]="on_tab_to_space",ht[ht.set_show_editor_setting=3]="set_show_editor_setting",ht))(Ce||{});function xe(ht,Ot){switch(Ot.type){case 3:return Ee(Pe({},ht),{showEditorSetting:Ot.payload});case 1:return Ee(Pe({},ht),{theme:Ot.payload});case 0:return Ee(Pe({},ht),{fontSize:Ot.payload});case 2:return Ee(Pe({},ht),{tabToSpace:Ot.payload});default:throw new Error}}var we=({isLoading:ht,value:Ot,onChange:Et,language:jt,onUpdateCode:Ut,ActionBarRender:Rt,setIsWhiteTheme:ln})=>{const[Xt,tn]=(0,ye.useReducer)(xe,_e),{theme:fn,fontSize:Yt,showEditorSetting:Bn,tabToSpace:En}=Xt,Fn=(0,ye.useRef)(),Mn=(0,ye.useRef)();(0,ye.useEffect)(()=>{ln(fn==="vs")},[fn]);const $n={onFontSizeChange:er=>{tn({type:0,payload:er}),(0,b.t)("cmFontSize",er)},tabToSpace:En,cmFontSize:Yt,className:"oj",cmCodeMode:fn,onTabToSpace:er=>{tn({type:2,payload:er}),(0,b.t)("cmTabToSpace",er)},onCodeModeChange:er=>{tn({type:1,payload:er}),(0,b.t)("ProgrammingCodeMode",er)}};function sr(){tn({type:3,payload:!1})}function Sr(){tn({type:3,payload:!0})}const Pr={value:Ot,language:jt,theme:fn,options:{fontSize:Yt,insertSpaces:En},onChange:er=>{Et(er),Mn.current=er,clearTimeout(Fn.current),Fn.current=setTimeout(()=>{Ut(Mn.current)},1e4)},onEditBlur:er=>{Mn.current&&Ut(Mn.current)}};return z.createElement(ye.Fragment,null,Rt(Sr),z.createElement("div",{style:{flex:1,overflow:"hidden"}},!ht&&z.createElement(y.ZP,Pe({},Pr))),z.createElement(x.Z,null,z.createElement(a.Z,{rootClassName:"oj",title:null,placement:"right",closable:!1,open:Bn,onClose:sr},z.createElement(ee.Z,Pe({},$n)))))},De=Se(60141),Oe=Se(24334),Fe=Se(21758),Le={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"},Qe={pagination:"pagination___yDAjZ",info:"info___ATmsa",wrap:"wrap____KX19"},He=Se(1710),ze=Se(58421),Ke=Se(58617),Ge=Se(47365),ke=Se(61186),Ne=Se.n(ke),Ve=Se(59301);const{Column:Je}=He.default;var rt=({submitResult:ht,submitting:Ot,submitRecords:Et,page:jt,onPageChange:Ut,topicId:Rt})=>{const[ln]=(0,je.useSearchParams)(),{records:Xt,records_count:tn}=Et||{},[fn,Yt]=(0,ye.useState)(!1),Bn=ln.get("type")==="1";return Ve.createElement(he.Z,{spinning:Ot,tip:"\u8BC4\u6D4B\u4E2D...",indicator:Ve.createElement(Ke.Z,{style:{fontSize:24},spin:!0})},(Xt==null?void 0:Xt.length)>0?Ve.createElement(He.default,{dataSource:Xt,rowKey:"id",pagination:!1},Ve.createElement(Je,{title:"\u63D0\u4EA4\u65F6\u95F4",dataIndex:"created_at",key:"created_at",render:(En,Fn)=>Ve.createElement("span",null," ",Ne()(En).format("YYYY-MM-DD HH:mm:ss"))}),Ve.createElement(Je,{title:"\u8BC4\u6D4B\u7ED3\u679C",dataIndex:"status",key:"status",render:(En,Fn)=>{var Mn;return Ve.createElement("span",{className:`${En===0?"c-green":"c-red"} current`,onClick:()=>{Yt(Fn.id)}},(Mn=Fe.Im[En])==null?void 0:Mn.replace("\u8C03\u8BD5","\u8BC4\u6D4B"))}}),Ve.createElement(Je,{title:`\u6267\u884C\u7528\u65F6 (${Bn?"MS":"S"})`,dataIndex:"execute_time",key:"execute_time",render:En=>En?Bn?En:En/1e3:""}),Ve.createElement(Je,{title:`\u5185\u5B58\u6D88\u8017\uFF08${Bn?"KB":"MB"}\uFF09`,dataIndex:"execute_memory",key:"execute_memory",render:En=>En?Bn?En:parseFloat((En/1024).toFixed(2)):""}),Ve.createElement(Je,{title:"\u8BED\u8A00",dataIndex:"language",key:"language"}),Ve.createElement(Je,{title:"\u64CD\u4F5C",dataIndex:"status",key:"status",render:(En,Fn)=>Ve.createElement("span",{className:"c-light-primary current",onClick:()=>{Yt(Fn.id)}},"\u67E5\u770B")})):Ve.createElement("div",{style:{height:300,width:"100%"}}),Ve.createElement(Ge.Z,{onClose:Yt,open:fn}),tn>15?Ve.createElement(ze.Z,{className:Qe.pagination,current:jt,pageSize:15,total:tn,onChange:Ut}):null)},Ye=Se(57816),Ue=Se(12563),Ie={desc:"desc___iOAgd",info:"info___GPALq",info_tag:"info_tag___CFEn8"},Ze=Se(99325),Te=Se(59301);const We={1:{name:"\u7B80\u5355",color:"#52c41a"},2:{name:"\u4E2D\u7B49",color:"#faad14"},3:{name:"\u56F0\u96BE",color:"#f5222d"}};var at=({hack:ht})=>{const{language:Ot,difficult:Et,time_limit:jt,description:Ut}=ht,[Rt]=(0,je.useSearchParams)(),ln=We[Et];return Te.createElement(Te.Fragment,null,Te.createElement("ul",{className:Ie.info},Te.createElement("li",null,"\u7F16\u7A0B\u8BED\u8A00\xA0\xA0",Te.createElement("b",{className:Ie.info_tag},Ot)),Te.createElement("li",null,Te.createElement("span",{className:"ml20"},"\u96BE\u5EA6"),"\xA0\xA0",Te.createElement(Ue.default,{color:ln==null?void 0:ln.color},ln==null?void 0:ln.name)),Te.createElement("li",null,Te.createElement("span",{className:"ml20"},"\u5355\u4E2A\u6D4B\u8BD5\u96C6\u8BC4\u6D4B\u65F6\u957F\u9650\u5236"),"\xA0\xA0",Te.createElement("span",{style:{color:"#333333"}},jt,"\u79D2"))),Rt.get("qtype")==="8"?Te.createElement(Ze.Z,{value:Ut,showProgramFill:!0,className:Ie.desc}):Te.createElement(Ze.Z,{value:Ut,className:Ie.desc}))},et={},qe=Se(59301),Be=({hack:ht,current_user:Ot})=>qe.createElement("div",{className:et.answer},ht!=null&&ht.answer_text?qe.createElement(Ze.Z,{style:{padding:"13px 0"},value:(ht==null?void 0:ht.answer_text)||""}):qe.createElement(Ye.Z,{customText:"\u6682\u672A\u8BBE\u7F6E\u53C2\u8003\u7B54\u6848~"})),Ae=Se(50484),Me=Se(7660);function Re(ht,Ot){return(0,Me.U2)(`/problems/${ht}/comments.json`,{page:Ot,limit:10})}function Xe(ht){return(0,Me.v_)(`/discusses/${ht}/plus.json`,{container_type:"Discuss",type:1})}function nt(ht,Ot,Et){return(0,Me.v_)(`/problems/${ht}/comments/reply.json`,{comments:{content:Et,parent_id:Ot}})}function $e(ht,Ot){return(0,Me.v_)(`/problems/${ht}/comments.json`,{comments:{content:Ot}})}function tt(ht,Ot,Et){return(0,Me.v_)(`/problems/${ht}/comments/${Ot}/hidden.json`,Et)}function st(ht,Ot){return(0,Me.IV)(`/problems/${ht}/comments/${Ot}`)}var it=Se(52649);function lt({author:ht}){return ye.createElement("a",{href:`/users/${ht.login}`,target:"_blank"},ye.createElement("img",{alt:"\u7528\u6237\u5934\u50CF",height:"50",style:{borderRadius:"50%"},src:`${ne.Z.IMG_SERVER}/images/${ht.image_url}`,width:"50"}))}function ut({data:ht,index:Ot,parentDiscussIndex:Et,user:jt,onSetActionType:Ut}){const{author:Rt,can_delete:ln,content:Xt,id:tn,time:fn}=ht;function Yt(){Ut({id:tn,index:Ot,type:"delete-discuss",parentDiscussIndex:Et,message:"\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u6761\u56DE\u590D\u5417"})}const Bn=jt.admin||ln||Rt.user_id===jt.user_id;return ye.createElement("div",{className:"discuss-item-container second-discuss "},ye.createElement(lt,{author:Rt}),ye.createElement("section",null,ye.createElement("div",{className:"discuss-info"},ye.createElement("a",{href:`/users/${Rt.login}`,target:"_blank"},Rt.name),ye.createElement("span",{className:"grey"},fn),ye.createElement("div",{className:"btn-group",style:{marginBottom:0}},Bn?ye.createElement("a",{onClick:Yt,title:"\u5220\u9664"},ye.createElement("i",{className:"iconfont icon-shanchu"})):null)),ye.createElement(Ze.Z,{className:"discuss-content",value:Xt})))}var vt=({user:ht,data:Ot,index:Et,onPlusDiscuss:jt,onSetActionType:Ut,activeDiscussIndex:Rt,onReplyDiscuss:ln,onSetActiveDiscussIndex:Xt})=>{const{content:tn,children:fn,hidden:Yt,id:Bn,praise_count:En,time:Fn,user_praise:Mn,can_delete:$n,author:sr}=Ot;function Sr(){Xt(Bn)}function Pr(){jt(Bn,!Mn,Et)}function er(){Ut({id:Bn,index:Et,type:"delete-discuss",message:"\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u6761\u56DE\u590D\u5417"})}function lr(){Ut({id:Bn,index:Et,params:{hidden:Yt?"0":"1"},type:"hidden-discuss",message:Yt?"\u786E\u5B9A\u8981\u53D6\u6D88\u9690\u85CF\u8BE5\u6761\u56DE\u590D\u5417":"\u786E\u5B9A\u8981\u9690\u85CF\u8BE5\u6761\u56DE\u590D\u5417"})}const Cr=ht.admin||ht.user_id===sr.user_id;return ye.createElement("div",{className:"discuss-item-container",key:Bn},ye.createElement(lt,{author:sr}),ye.createElement("section",null,ye.createElement("div",{className:"discuss-info"},ye.createElement("a",{href:`/users/${sr.login}`,target:"_blank"}," ",sr.name," "),ye.createElement("span",{className:"grey"},Fn)),ye.createElement(Ze.Z,{className:"discuss-content",value:tn}),fn&&fn.length>0?ye.createElement("div",{className:"reply-discuss-container"},fn.map((Bt,Sn)=>ye.createElement(ut,{key:Bt.id,data:Bt,index:Sn,user:ht,onSetActionType:Ut,parentDiscussIndex:Et}))):null,ye.createElement("div",{className:"btn-group"},Cr?ye.createElement("a",{onClick:lr,title:Yt?"\u53D6\u6D88\u9690\u85CF":"\u9690\u85CF\u8BC4\u8BBA"},ye.createElement("i",{className:Yt?"iconfont icon-yincangbiyan":"fa fa-eye"})):null,$n&&(!fn||fn.length==0)?ye.createElement("a",{onClick:er,title:"\u5220\u9664"},ye.createElement("i",{className:"iconfont icon-shanchu"})):null,ye.createElement("a",{onClick:Sr,title:"\u56DE\u590D"}," ",ye.createElement("i",{className:"iconfont icon-huifu1"})," "),ye.createElement("a",{onClick:Pr,className:Mn?"c-orange":""},ye.createElement("i",{className:Mn?"iconfont icon-dianzan mr3":"iconfont icon-dianzan-xian mr3 "}),ye.createElement("span",null,En||""))),ye.createElement(it.Z,{id:Bn,activeDiscussIndex:Rt,onReplyDiscuss:ln})))},pt=Se(85469),mt={"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"},St=Se(64726),xt=(ht,Ot,Et)=>new Promise((jt,Ut)=>{var Rt=tn=>{try{Xt(Et.next(tn))}catch(fn){Ut(fn)}},ln=tn=>{try{Xt(Et.throw(tn))}catch(fn){Ut(fn)}},Xt=tn=>tn.done?jt(tn.value):Promise.resolve(tn.value).then(Rt,ln);Xt((Et=Et.apply(ht,Ot)).next())}),Mt=({user_praise:ht,praise_count:Ot,praisePlus:Et,onCreateDiscuss:jt,discuss_count:Ut})=>{const[Rt,ln]=(0,ye.useState)(!1),[Xt,tn]=(0,ye.useState)("");function fn(Fn){tn(Fn)}function Yt(){ln(!0)}function Bn(){ln(!1)}function En(){return xt(this,null,function*(){jt(Xt),tn(""),ln(!1)})}return ye.createElement("div",{className:`${mt["dis-input-editor-container"]} ${Rt?mt.active:""} `},ye.createElement("div",{className:Rt?`hide ${mt["text-area"]}`:mt["text-area"]},ye.createElement("input",{placeholder:"\u8BF4\u70B9\u4EC0\u4E48",onClick:Yt}),ye.createElement("a",null," ",ye.createElement("i",{className:"iconfont icon-huifu1"})," \xA0 \xA0",Ut," "),ye.createElement("a",{className:"c-light-black",onClick:Et,title:ht?"\u53D6\u6D88\u70B9\u8D5E":"\u70B9\u8D5E"},ye.createElement("i",{className:`mr3 ${ht?"iconfont icon-dianzan c-orange":"iconfont icon-dianzan-xian"} `}),Ot?ye.createElement("span",null,Ot):"")),Rt?ye.createElement("div",{className:mt["input-mask"],onClick:Bn}):null,ye.createElement("div",{className:Rt?mt["md-container"]:`${mt["md-container"]} hide`},ye.createElement(St.Z,{id:"discuss-input-editor",miniToolbar:!0,watch:!1,noStorage:!0,defaultValue:Xt,height:240,onChange:fn}),ye.createElement("div",{className:mt["tip-container"],onClick:Bn},ye.createElement("a",{className:mt["btn-send"],onClick:En}," \u53D1\u9001 "))))},yt=Se(59301),wt=Object.defineProperty,Lt=Object.defineProperties,cn=Object.getOwnPropertyDescriptors,Vt=Object.getOwnPropertySymbols,rn=Object.prototype.hasOwnProperty,Zt=Object.prototype.propertyIsEnumerable,Jt=(ht,Ot,Et)=>Ot in ht?wt(ht,Ot,{enumerable:!0,configurable:!0,writable:!0,value:Et}):ht[Ot]=Et,zt=(ht,Ot)=>{for(var Et in Ot||(Ot={}))rn.call(Ot,Et)&&Jt(ht,Et,Ot[Et]);if(Vt)for(var Et of Vt(Ot))Zt.call(Ot,Et)&&Jt(ht,Et,Ot[Et]);return ht},nn=(ht,Ot)=>Lt(ht,cn(Ot)),jn=(ht,Ot,Et)=>new Promise((jt,Ut)=>{var Rt=tn=>{try{Xt(Et.next(tn))}catch(fn){Ut(fn)}},ln=tn=>{try{Xt(Et.throw(tn))}catch(fn){Ut(fn)}},Xt=tn=>tn.done?jt(tn.value):Promise.resolve(tn.value).then(Rt,ln);Xt((Et=Et.apply(ht,Ot)).next())});const Cn={loading:!1,page:1,data:[],count:0,actionType:null,activeDiscussIndex:null};var Ln=(ht=>(ht[ht.GET_DISCUSSES=0]="GET_DISCUSSES",ht[ht.TOP_OR_DOWN_DISCUSS=1]="TOP_OR_DOWN_DISCUSS",ht[ht.ACTIVE_DISCUSS_INDEX=2]="ACTIVE_DISCUSS_INDEX",ht[ht.PLUS_DISCUSS=3]="PLUS_DISCUSS",ht[ht.SET_ACTION_TYPE=4]="SET_ACTION_TYPE",ht[ht.SET_PAGE=5]="SET_PAGE",ht[ht.SHOW_DISCUSSES_LOADING=6]="SHOW_DISCUSSES_LOADING",ht))(Ln||{});function Ft(ht,Ot){switch(Ot.type){case 6:return nn(zt({},ht),{loading:!0});case 0:return zt(zt({},ht),Ot.payload);case 1:return zt(zt({},ht),Ot.payload);case 4:return zt(zt({},ht),Ot.payload);case 3:return zt(zt({},ht),Ot.payload);case 5:return nn(zt({},ht),{page:Ot.payload});case 2:return zt(zt({},ht),Ot.payload);default:throw new Error}}var At=({user:ht,identifier:Ot,hack:Et,onTriggerPraise:jt,activeIndex:Ut})=>{const[Rt,ln]=(0,ye.useReducer)(Ft,Cn),{loading:Xt,page:tn,data:fn,count:Yt,actionType:Bn,activeDiscussIndex:En}=Rt,Fn=(0,ye.useCallback)(()=>jn(void 0,null,function*(){ln({type:6});const Bt=yield Re(Ot,tn),{comments:Sn,disscuss_count:bn}=Bt;ln({type:0,payload:{data:Sn,count:bn,loading:!1}})}),[tn,Ot]);(0,ye.useEffect)(()=>{Ut==="2"&&Fn()},[Ot,tn,Ut]);function Mn(Bt){ln({type:5,payload:Bt})}function $n(Bt){ln({type:4,payload:{actionType:Bt}})}function sr(Bt){ln(En===Bt?{type:2,payload:{activeDiscussIndex:null}}:{type:2,payload:{activeDiscussIndex:Bt}})}function Sr(Bt,Sn,bn){return jn(this,null,function*(){try{const Qt=yield Xe(Bt);fn[bn].user_praise=Sn,fn[bn].praise_count=Qt.praise_count,ln({type:3,payload:{data:[...fn]}})}catch(Qt){console.log(Qt)}})}function Pr(){return jn(this,null,function*(){const{id:Bt,params:Sn,type:bn,index:Qt,parentDiscussIndex:kn}=Bn;if(bn==="hidden-discuss"&&(yield tt(Ot,Bt,Sn),kn?fn[kn].children[Qt].hidden=Sn.hidden==1:fn[Qt].hidden=Sn.hidden==1,ln({type:4,payload:{actionType:null,data:[...fn]}})),bn==="delete-discuss"){if(yield st(Ot,Bt),kn||kn===0){let Vn=fn[kn].children;for(let Hn=Vn.length-1;Hn>=0;Hn--)if(Vn[Hn].id===Bt){Vn.splice(Hn,1);break}fn[kn].children=Vn}else for(let Vn=fn.length-1;Vn>=0;Vn--)if(fn[Vn].id===Bt){fn.splice(Vn,1);break}ln({type:4,payload:{actionType:null,data:[...fn]}})}})}function er(){ln({type:4,payload:{actionType:null}})}function lr(Bt,Sn){return jn(this,null,function*(){try{yield nt(Ot,Bt,Sn),Fn()}catch(bn){console.log(bn)}})}function Cr(Bt){return jn(this,null,function*(){ln({type:6}),yield $e(Ot,Bt),Fn()})}return yt.createElement(yt.Fragment,null,yt.createElement("div",{className:"discuss-panel"},fn.length===0?yt.createElement(Ye.Z,null):fn.map((Bt,Sn)=>yt.createElement(vt,{onReplyDiscuss:lr,onPlusDiscuss:Sr,onSetActiveDiscussIndex:sr,onSetActionType:$n,data:Bt,index:Sn,user:ht,activeDiscussIndex:En})),Yt>10?yt.createElement("div",{className:"pagination-container"},yt.createElement(ze.Z,{showQuickJumper:!0,onChange:Mn,current:tn,total:Yt})):null),yt.createElement(Mt,{user_praise:Et.user_praise,praise_count:Et.praises_count,praisePlus:jt,discuss_count:Et.comments_count,onCreateDiscuss:Cr}),yt.createElement(x.Z,null,yt.createElement(pe.default,{centered:!0,title:"\u63D0\u793A",open:!!Bn,onOk:Pr,onCancel:er},yt.createElement("p",null,Bn?Bn.message:"")),yt.createElement(pt.Z,null)))},bt=Se(57809),sn=Se(92832),qt=Se(65615),dn={},hn=Se(59301),dt=({hack:ht,current_user:Ot})=>hn.createElement("div",{className:dn.answer},ht!=null&&ht.analysis?hn.createElement(Ze.Z,{style:{padding:"13px 0"},value:(ht==null?void 0:ht.analysis)||""}):hn.createElement(Ye.Z,{customText:"\u6682\u672A\u8BBE\u7F6E\u9898\u76EE\u89E3\u6790~"})),ft={hackSets:"hackSets___tw75g",collapseWrapper:"collapseWrapper___TteKi",panelHeader:"panelHeader___Y_Xjq",rateInput:"rateInput___y1qUi",open:"open___xrixP",close:"close___jb6D2",uploadTableWrapper:"uploadTableWrapper___U9Tz_"},gt=Se(36381),Gt=Se(43604),un=Se(78241),$t=Se(5871),zn=Se(24833),mn=Se(59301);const{TextArea:Gn}=sn.default,{Panel:An}=gt.default;var rr=({data:ht,hack:Ot})=>(console.log(ht,Ot,"data"),Ot!=null&&Ot.is_file?mn.createElement(zn.Y2,{disabled:!0,className:ft.uploadTableWrapper,showScore:!Ot.test_set_score,data:ht,isProgramHomework:!0}):mn.createElement("div",{className:ft.hackSets},ht==null?void 0:ht.map((Et,jt)=>mn.createElement(gt.default,{accordion:!0,bordered:!1,key:jt,defaultActiveKey:jt===0&&Et.id,className:ft.collapseWrapper,expandIcon:({isActive:Ut})=>mn.createElement("i",{className:`iconfont icon-weizhankai ${Ut?ft.open:ft.close}`,style:{fontSize:14,transition:"all .2s"}})},mn.createElement(An,{key:Et.id,header:mn.createElement(ie.Z,{align:"middle",justify:"space-between",wrap:!1},mn.createElement(Gt.Z,{className:ft.panelHeader},mn.createElement("span",null,"\u6D4B\u8BD5\u7528\u4F8B",jt+1)),mn.createElement(Gt.Z,{flex:1},mn.createElement(ie.Z,{align:"middle",justify:"end",wrap:!1},!(Ot!=null&&Ot.test_set_score)&&mn.createElement(Gt.Z,{className:ft.rateInput},mn.createElement("span",{className:"mr20"},"\u8BC4\u5206\u5360\u6BD4"),mn.createElement("div",null,mn.createElement(un.default.Item,{noStyle:!0},mn.createElement($t.Z,{value:Et==null?void 0:Et.score,className:ft.baseFormItem,min:0,max:100,disabled:!0}))),mn.createElement("span",{className:"ml10"},"%")))))},mn.createElement(un.default.Item,{label:"\u8F93\u5165",labelCol:{span:24}},mn.createElement(Gn,{readOnly:!0,value:Et==null?void 0:Et.input,rows:4})),mn.createElement(un.default.Item,{label:"\u8F93\u51FA",labelCol:{span:24}},mn.createElement(Gn,{readOnly:!0,value:Et==null?void 0:Et.output,rows:4}))))))),Wt={tabs:"tabs___p2jIb",tabWarp:"tabWarp___mt05L",tab:"tab___IYGdQ",active:"active___fQMlP",content:"content___GWVJY"},Dt=Se(59301),Nt=(0,ye.forwardRef)(({data:ht=[]},Ot)=>{var Et;const[jt,Ut]=(0,ye.useState)(),Rt=ht.filter(Xt=>Xt.show);(0,ye.useEffect)(()=>{Rt.length&&Ut(Rt[0].id)},[ht==null?void 0:ht.length]);const ln=((Et=Rt.find(Xt=>Xt.id===jt))==null?void 0:Et.element)||null;return(0,ye.useImperativeHandle)(Ot,()=>({setActiveTab:Xt=>Ut(Xt)})),Dt.createElement("div",{className:Wt.tabs},Dt.createElement("div",{className:Wt.tabWarp},Rt.map(Xt=>Dt.createElement("div",{onClick:()=>Ut(Xt.id),className:`${Wt.tab} ${Xt.id===jt?Wt.active:""}`,key:Xt.id},Xt.name))),Dt.createElement("div",{className:Wt.content},ln))}),Ct=Se(59301),Tt=Object.defineProperty,kt=Object.defineProperties,an=Object.getOwnPropertyDescriptors,on=Object.getOwnPropertySymbols,vn=Object.prototype.hasOwnProperty,Pn=Object.prototype.propertyIsEnumerable,wn=(ht,Ot,Et)=>Ot in ht?Tt(ht,Ot,{enumerable:!0,configurable:!0,writable:!0,value:Et}):ht[Ot]=Et,yn=(ht,Ot)=>{for(var Et in Ot||(Ot={}))vn.call(Ot,Et)&&wn(ht,Et,Ot[Et]);if(on)for(var Et of on(Ot))Pn.call(Ot,Et)&&wn(ht,Et,Ot[Et]);return ht},Tn=(ht,Ot)=>kt(ht,an(Ot)),Dn=(ht,Ot,Et)=>new Promise((jt,Ut)=>{var Rt=tn=>{try{Xt(Et.next(tn))}catch(fn){Ut(fn)}},ln=tn=>{try{Xt(Et.throw(tn))}catch(fn){Ut(fn)}},Xt=tn=>tn.done?jt(tn.value):Promise.resolve(tn.value).then(Rt,ln);Xt((Et=Et.apply(ht,Ot)).next())});const It={1:"\u7B80\u5355",2:"\u9002\u4E2D",3:"\u56F0\u96BE"},qn={1:"#2fa34f",2:"#0152d9",3:"#fa6400"};var Nn=({hack:ht,onTriggerPraise:Ot,topicId:Et,page:jt,onPageChange:Ut,user:Rt,current_user:ln,submitRecords:Xt,submitting:tn,submitResult:fn,setActiveIndex:Yt,hack_sets:Bn})=>{var En,Fn;const[Mn]=(0,je.useSearchParams)(),[$n,sr]=(0,ye.useState)("0"),Sr=(0,je.useLocation)(),[Pr,er]=(0,ye.useState)(!1),[lr,Cr]=(0,ye.useState)(null),[Bt,Sn]=(0,ye.useState)([]),[bn,Qt]=(0,ye.useState)([]),[kn,Vn]=(0,ye.useState)({page:1,limit:10}),Hn=(0,ye.useRef)(null),tr=(0,ye.useRef)(null);console.log(Rt,"user");let[Qn,pr]=(0,ye.useState)(Tn(yn({},(0,je.useParams)()),{page:1,per_page:20,name:""}));(0,ye.useEffect)(()=>{tr.current&&(ht==null?void 0:ht.is_close_tips)===!1&&lr===null&&Cr(!0)},[tr.current,ht==null?void 0:ht.is_close_tips,lr]);function Mr(){return Dn(this,null,function*(){yield(0,Me.ZP)("/api/users/close_tips.json",{method:"post"})})}(0,ye.useEffect)(()=>{Yt($n)},[$n]);function Or(Zn){return Dn(this,null,function*(){let mr=Zn.target.id;if(mr==="1"){let Er=yield(0,Me.ZP)(`/api/myproblems/${Qn.id}/redo_logs.json`,{method:"get",params:yn({},kn)});(Er==null?void 0:Er.status)===0&&Qt(Er==null?void 0:Er.data)}sr(mr)})}(0,ye.useEffect)(()=>Ae.Z.subscribe("to-commit-info",()=>{sr("1"),Hn.current&&Hn.current.setActiveTab("1")}),[]),(0,ye.useEffect)(()=>Ae.Z.subscribe("to-reset-info",()=>{Or({target:{id:"1"}}),Hn.current&&Hn.current.setActiveTab("2")}),[]);function Ir(){sr("2")}function gr(){return Dn(this,null,function*(){let Zn=yield(0,Me.ZP)("/api/problems/my_hack_list.json",{method:"get",params:yn({identifier:Qn==null?void 0:Qn.id},Qn)});Sn(Zn)})}const _n=[{title:null,description:Ct.createElement("div",null,Ct.createElement("b",{onClick:()=>{Cr(!1),Mr(),er(!0),gr()},className:"c-light-primary font16 current"},"\u67E5\u770B\u9898\u76EE\u5217\u8868\u5165\u53E3"),Ct.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"),Ct.createElement(ce.ZP,{onClick:()=>{Cr(!1),Mr()},style:{padding:"2px 29px",height:30,float:"right"},type:"primary"},"\u77E5\u9053\u4E86")),target:()=>tr.current}];return Ct.createElement("div",{className:Le["left-panel"]},Ct.createElement("ul",{className:`${Le["s-navs"]} ${Le["bg-white"]} ${Le.b1}`},(ht==null?void 0:ht.is_program)&&!Mn.get("pageId")&&Ct.createElement(oe.Z,{title:"\u9898\u76EE\u5217\u8868"},Ct.createElement("div",{onClick:()=>{gr(),er(!0)},className:Le.btns,ref:tr,style:lr?{pointerEvents:"none"}:{}},Ct.createElement("i",{className:"iconfont icon-yidongdaomulu1 font14 c-white"}))),Ct.createElement("li",{style:{marginLeft:20}},Ct.createElement("a",{className:$n==="0"?Le.active:"",id:"0",onClick:Or},"\u9898\u76EE\u63CF\u8FF0")),Ct.createElement("li",null,Ct.createElement("a",{className:$n==="1"?Le.active:"",id:"1",onClick:Or},"\u64CD\u4F5C\u8BB0\u5F55")),(Mn.get("type")!=="exercises"&&(ht==null?void 0:ht.answer_text_show)||Mn.get("type")!=="exercises"&&(ht==null?void 0:ht.analysis_show))&&Ct.createElement("li",null,Ct.createElement("a",{className:$n==="4"?Le.active:"",id:"4",onClick:Or},"\u89E3\u7B54\u53C2\u8003")),Mn.get("type")!=="exercises"&&Ct.createElement("li",null,Ct.createElement("a",{className:$n==="2"?Le.active:"",id:"2",onClick:Or},"\u8BC4\u8BBA")),!!(Bn!=null&&Bn.length)&&Mn.get("type")!=="exercises"&&Mn.get("type")!=="1"&&Ct.createElement("li",null,Ct.createElement("a",{className:$n==="5"?Le.active:"",id:"5",onClick:Or},"\u6D4B\u8BD5\u7528\u4F8B"))),Ct.createElement("div",{className:`${Le["tab-panel-body"]} ${$n==="0"?"":"hide"}`,style:{borderRight:"1px #dddddd solid",padding:0}},Ct.createElement(at,{hack:ht,onTriggerPraise:Ot,toDiscuss:Ir})),Ct.createElement("div",{style:{padding:"12px"},className:`${Le["tab-panel-body"]} ${$n==="1"?"":"hide"}`},Ct.createElement(Nt,{ref:Hn,data:[{id:"1",show:Mn.get("qtype")!=="8",name:"\u63D0\u4EA4\u8BB0\u5F55",element:Ct.createElement(Ct.Fragment,null,Xt!=null&&Xt.records_count||tn?Ct.createElement(rt,{page:jt,onPageChange:Ut,topicId:Et,submitting:tn,key:(fn==null?void 0:fn.id)||1,submitRecords:Xt,submitResult:fn}):Ct.createElement(Ye.Z,null))},{id:"2",show:Mn.get("type")==="exercises"||(ht==null?void 0:ht.homework_common_id),name:"\u91CD\u7F6E\u8BB0\u5F55",element:Ct.createElement(Ct.Fragment,null,Ct.createElement(He.default,{pagination:!1,dataSource:bn==null?void 0:bn.list,columns:[{title:"\u6062\u590D\u521D\u59CB\u4EE3\u7801\u65F6\u95F4",dataIndex:"created_at",render:(Zn,mr,Er)=>Ne()(Zn).format("YYYY-MM-DD HH:mm:ss")},{title:"\u64CD\u4F5C",dataIndex:"redo_type",render:(Zn,mr,Er)=>{var Nr;return(Nr=[{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(Vr=>Vr.id===Zn))==null?void 0:Nr.name}}]}),Ct.createElement(ze.Z,{style:{marginTop:10},current:kn.page,total:bn==null?void 0:bn.count,hideOnSinglePage:!0,onChange:Zn=>Dn(void 0,null,function*(){kn.page=Zn,Vn(kn);let mr=yield(0,Me.ZP)(`/api/myproblems/${Qn.id}/redo_logs.json`,{method:"get",params:Tn(yn({},kn),{courseId:Qn.courseId})});(mr==null?void 0:mr.status)===0&&Qt(mr==null?void 0:mr.data)})}))}]})),Ct.createElement("div",{style:{padding:"12px"},className:`${Le["tab-panel-body"]} ${$n==="4"?"":"hide"}`},Ct.createElement(Nt,{data:[{id:"1",show:Mn.get("type")!=="exercises"&&(ht==null?void 0:ht.answer_text_show),name:"\u7B54\u6848",element:Ct.createElement(Ct.Fragment,null,Ct.createElement(Be,{hack:ht,current_user:ln}))},{id:"2",show:Mn.get("type")!=="exercises"&&(ht==null?void 0:ht.analysis_show),name:"\u89E3\u6790",element:Ct.createElement(Ct.Fragment,null,Ct.createElement(dt,{hack:ht,current_user:ln}))}]})),Ct.createElement("div",{className:`${Le["tab-panel-body"]} ${$n==="2"?"":"hide"}`,style:{padding:0}},Ct.createElement(At,{user:Rt,activeIndex:$n,identifier:ht.identifier,hack:ht,onTriggerPraise:Ot})),Ct.createElement("div",{className:`${Le["tab-panel-body"]} ${$n==="5"?"":"hide"}`,style:{padding:12}},Ct.createElement(rr,{data:Bn||[],hack:ht})),Ct.createElement(a.Z,{rootClassName:Le.drawer,closable:!1,title:null,bodyStyle:{background:"#1B2333",padding:25,display:"flex",flexDirection:"column"},footer:null,width:500,placement:"left",onClose:()=>er(!1),open:Pr},Ct.createElement(ie.Z,null,Ct.createElement("b",{style:{color:"#008CFF",fontWeight:500,lineHeight:"19px"},className:"font16"},"\u9898\u76EE\u5217\u8868"),Ct.createElement("span",{style:{color:"#FA8D30",fontWeight:500},className:"font12 ml10"},"\u5171",Bt==null?void 0:Bt.total_count,"\u9898\xA0[\xA0",Bt==null?void 0:Bt.total_score,"\u5206\xA0]\xA0"),!(Rt!=null&&Rt.hack_manager)&&Ct.createElement("span",{style:{color:"#FA8D30",fontWeight:500,marginLeft:"auto"},className:"font12"},"\u6211\u7684\u5F97\u5206\xA0:\xA0",Bt==null?void 0:Bt.work_score,"\u5206")),Ct.createElement("div",{style:{height:1,background:"#1C313F",marginTop:12}}),Ct.createElement(ie.Z,{align:"middle",className:"mt10 mb10"},!(Rt!=null&&Rt.hack_manager)&&Ct.createElement(bt.default,{size:"large",className:"mr10",style:{width:104},placeholder:"\u901A\u8FC7\u60C5\u51B5",onChange:Zn=>{Qn.page=1,Qn.finish_status=Zn,pr(yn({},Qn)),gr()}},Ct.createElement(bt.default.Option,{value:""},"\u5168\u90E8"),Ct.createElement(bt.default.Option,{value:0},"\u672A\u5F00\u59CB"),Ct.createElement(bt.default.Option,{value:1},"\u8FDB\u884C\u4E2D"),Ct.createElement(bt.default.Option,{value:2},"\u5DF2\u5B8C\u6210")),Ct.createElement(bt.default,{size:"large",className:"mr10",style:{width:104},placeholder:"\u9898\u76EE\u96BE\u5EA6",onChange:Zn=>{Qn.page=1,Qn.difficult=Zn||null,pr(yn({},Qn)),gr()}},Ct.createElement(bt.default.Option,{value:0},"\u5168\u90E8"),Ct.createElement(bt.default.Option,{value:1},"\u7B80\u5355"),Ct.createElement(bt.default.Option,{value:2},"\u9002\u4E2D"),Ct.createElement(bt.default.Option,{value:3},"\u56F0\u96BE")),Ct.createElement(sn.default.Search,{size:"large",onSearch:Zn=>{Qn.name=Zn,Qn.page=1,pr(yn({},Qn)),gr()},style:{flex:1},placeholder:"\u8BF7\u8F93\u5165\u9898\u76EE\u540D\u79F0\u8FDB\u884C\u641C\u7D22"})),Ct.createElement("div",{className:Le.list,style:{height:36,background:"#3D445C"}},!(Rt!=null&&Rt.hack_manager)&&Ct.createElement("span",null,"\u72B6\u6001"),Ct.createElement("span",null,"\u5E8F\u53F7"),Ct.createElement("span",{style:{flex:1}},"\u9898\u76EE\u540D\u79F0"),Ct.createElement("span",{style:{flexBasis:48,paddingRight:0}},"\u96BE\u5EA6")),Ct.createElement("div",{style:{overflow:"auto",flex:1}},(En=Bt==null?void 0:Bt.data)!=null&&En.length?(Fn=Bt==null?void 0:Bt.data)==null?void 0:Fn.map((Zn,mr)=>Ct.createElement("div",{onClick:()=>Dn(void 0,null,function*(){let Er=yield(0,Me.ZP)(`/api/problems/${Zn==null?void 0:Zn.identifier}/start.json`,{method:"get",params:{hack_user_id:Rt==null?void 0:Rt.user_id}});Er&&(je.history.replace(`/myproblems/${Er==null?void 0:Er.identifier}${window.location.search}`),window.location.reload())}),className:`${Le.list} ${Zn!=null&&Zn.checked?Le.active:""}`},!(Rt!=null&&Rt.hack_manager)&&Ct.createElement(Ct.Fragment,null,!(Zn!=null&&Zn.opened)&&Ct.createElement("span",{style:{color:"#E02020"}},"\u672A\u5F00\u59CB"),(Zn==null?void 0:Zn.opened)&&!(Zn!=null&&Zn.passed)&&Ct.createElement("span",{style:{color:"#FA6400"}},"\u8FDB\u884C\u4E2D"),(Zn==null?void 0:Zn.opened)&&(Zn==null?void 0:Zn.passed)&&Ct.createElement("span",{style:{color:"#24C074"}},"\u5DF2\u5B8C\u6210")),Ct.createElement("span",null,(Qn.page-1)*20+(mr+1)),Ct.createElement("span",{style:{flex:1},title:Zn.name},`[${Zn==null?void 0:Zn.score}\u5206]`,"\xA0",Zn.name),Ct.createElement("span",{style:{flexBasis:48,paddingRight:0}},It[Zn.difficult]))):Ct.createElement(Ye.Z,null)),Ct.createElement(ze.Z,{current:Qn.page,className:"mt20",hideOnSinglePage:!0,total:Bt==null?void 0:Bt.count,pageSize:Qn.per_page,onChange:(Zn,mr)=>{Qn.page=Zn,Qn.per_page=mr,gr()}})),Ct.createElement(qt.Z,{rootClassName:Le.tour,closeIcon:!1,open:!!lr,steps:_n,gap:{offset:3,radius:2}}))},Yn=Se(62522),pn=Se(93261),_t=Se(46942),Ht=Se(38992),gn=Se(39649),Kt=Se(71400),xn=Se(7850),Wn=Se(92310),In=Se.n(Wn),Un=Se(48569),nr=Se(18378),yr=Se(54318),hr=Se(71302),en=Se(59301),Ar=Object.defineProperty,_r=Object.defineProperties,xr=Object.getOwnPropertyDescriptors,ur=Object.getOwnPropertySymbols,vr=Object.prototype.hasOwnProperty,fr=Object.prototype.propertyIsEnumerable,ar=(ht,Ot,Et)=>Ot in ht?Ar(ht,Ot,{enumerable:!0,configurable:!0,writable:!0,value:Et}):ht[Ot]=Et,Rn=(ht,Ot)=>{for(var Et in Ot||(Ot={}))vr.call(Ot,Et)&&ar(ht,Et,Ot[Et]);if(ur)for(var Et of ur(Ot))fr.call(Ot,Et)&&ar(ht,Et,Ot[Et]);return ht},Kn=(ht,Ot)=>_r(ht,xr(Ot)),cr=(ht,Ot)=>{var Et={};for(var jt in ht)vr.call(ht,jt)&&Ot.indexOf(jt)<0&&(Et[jt]=ht[jt]);if(ht!=null&&ur)for(var jt of ur(ht))Ot.indexOf(jt)<0&&fr.call(ht,jt)&&(Et[jt]=ht[jt]);return Et},Xn=(ht,Ot,Et)=>new Promise((jt,Ut)=>{var Rt=tn=>{try{Xt(Et.next(tn))}catch(fn){Ut(fn)}},ln=tn=>{try{Xt(Et.throw(tn))}catch(fn){Ut(fn)}},Xt=tn=>tn.done?jt(tn.value):Promise.resolve(tn.value).then(Rt,ln);Xt((Et=Et.apply(ht,Ot)).next())});const{Countdown:dr}=E.default,or={Java:"java",C:"c",Python:"py","C++":"c"};var br=(ht=>(ht[ht.SET_LOADING=0]="SET_LOADING",ht[ht.GET_DATA=1]="GET_DATA",ht[ht.GET_SUBMIT_RECORDS=2]="GET_SUBMIT_RECORDS",ht[ht.SET_DATA=3]="SET_DATA",ht[ht.SET_DEBUGING=4]="SET_DEBUGING",ht[ht.SET_SUBMITING=5]="SET_SUBMITING",ht[ht.SET_EXECUTE_MESSAGE=6]="SET_EXECUTE_MESSAGE",ht[ht.SET_EXECUTE_RESULT=7]="SET_EXECUTE_RESULT",ht[ht.SET_SUBMIT_RESULT=8]="SET_SUBMIT_RESULT",ht[ht.SET_SHOW_NOTE=9]="SET_SHOW_NOTE",ht[ht.SET_PAGE=10]="SET_PAGE",ht))(br||{});function wr(){return new Date().getTime()}const ir={loading:!0,data:void 0,showNote:!1,debugResult:void 0,submitResult:void 0,debuging:!1,submitting:!1,submitRecords:void 0,submitRecordPage:1,executingMessage:""};function Br(ht,Ot){switch(Ot.type){case 1:return Rn(Rn({},ht),Ot.payload);case 3:return Kn(Rn({},ht),{data:Ot.payload});case 0:return Kn(Rn({},ht),{loading:Ot.payload});case 9:return Kn(Rn({},ht),{showNote:Ot.payload});case 4:return Kn(Rn({},ht),{debuging:Ot.payload});case 5:return Kn(Rn({},ht),{submitting:Ot.payload});case 2:return Kn(Rn({},ht),{submitRecords:Ot.payload});case 10:return Kn(Rn({},ht),{submitRecordPage:Ot.payload});case 6:return Kn(Rn({},ht),{executingMessage:Ot.payload});case 7:return Rn(Rn({},ht),Ot.payload);case 8:return Rn(Rn({},ht),Ot.payload);default:throw new Error}}var Lr=({children:ht})=>{var Ot,Et,jt,Ut,Rt;const[ln,Xt]=(0,ye.useReducer)(Br,ir),{id:tn}=(0,je.useParams)(),fn=(0,je.useLocation)(),[Yt]=(0,je.useSearchParams)(),{loading:Bn,data:En,debugResult:Fn,submitResult:Mn,submitRecords:$n,submitRecordPage:sr,showNote:Sr,debuging:Pr,submitting:er,executingMessage:lr}=ln,[Cr,Bt]=(0,ye.useState)("#37AD83"),[Sn,bn]=(0,ye.useState)(null),[Qt,kn]=(0,ye.useState)({}),[Vn,Hn]=(0,ye.useState)(!0),[tr,Qn]=(0,ye.useState)(!1),[pr,Mr]=(0,ye.useState)(!1),Or=(0,ye.useRef)(null),Ir=(0,ye.useRef)(0),gr=En==null?void 0:En.user,_n=En==null?void 0:En.hack,[Zn,mr]=(0,ye.useState)(!1),Er=(0,ye.useRef)(1),Nr=(0,ye.useRef)(!1);(0,Un.y)(Yt.get("type")==="exercises");const{setOpenDisableCopyAndPaste:Vr}=(0,Un.X)(),[Qr,qr]=(0,ye.useState)(""),$r=(0,gn._)(Qt);(0,ye.useEffect)(()=>{function On(){return Xn(this,null,function*(){var Jn,Fr,Rr,Gr,Ur;Hn(!0);const kr=yield(0,ue.fu)(tn,{exercise_id:Yt.get("exercisesId")});if(setTimeout(()=>{Hn(!1)},800),kr.status!==401){try{kr.hack.code=Oe.Base64.decode(kr.hack.code)}catch(Tr){console.log(Tr)}kr.hack=Kn(Rn({},kr.hack),{is_program:Yt.get("type")==="1"}),Xt({type:1,payload:{loading:!1,data:kr}})}if(Yt.get("type")==="exercises"){if(window.self===window.top){window.top.location.href="/";return}let Tr;Yt.get("coursesId")=="coursesId"?Tr=yield(0,se._F)({categoryId:Yt.get("exercisesId"),login:Yt.get("login")}):Tr=yield(0,se._B)({categoryId:Yt.get("exercisesId"),login:Yt.get("login")}),kn(Rn({},Tr)),Vr((Jn=Tr==null?void 0:Tr.exercise)==null?void 0:Jn.forbid_copy),typeof((Fr=Tr==null?void 0:Tr.exercise)==null?void 0:Fr.left_time)=="number"&&(bn(Date.now()+((Rr=Tr==null?void 0:Tr.exercise)==null?void 0:Rr.left_time)*1e3),setTimeout(()=>{Bt("red")},(((Gr=Tr==null?void 0:Tr.exercise)==null?void 0:Gr.left_time)-300>0?((Ur=Tr==null?void 0:Tr.exercise)==null?void 0:Ur.left_time)-300:0)*1e3))}})}tn&&On()},[tn]),(0,ye.useEffect)(()=>{var On;return Yt.get("type")==="exercises"&&((On=Qt==null?void 0:Qt.exercise)!=null&&On.screen_open)&&(window.removeEventListener("blur",Wr,!1),Kt.U.forEach((Jn,Fr)=>{window.addEventListener(Jn,Wr,!1)}),window.addEventListener("blur",Wr,!1),window.focus()),()=>{document.removeEventListener((0,ae.gH)(),Wr)}},[Qt]),(0,ye.useEffect)(()=>{Qr==="1"&&tn&&_n!=null&&_n.language&&ta()},[tn,sr,_n==null?void 0:_n.language,Qr]),(0,ye.useEffect)(()=>(_n!=null&&_n.is_program&&(Ir.current=0,Or.current=setInterval(()=>{ea()},15e3)),()=>{clearInterval(Or.current)}),[_n==null?void 0:_n.is_program]);const ea=()=>Xn(void 0,null,function*(){let On=yield(0,Me.ZP)(`/api/myproblems/${tn}/save_long_time.json`,{method:"get",params:{answer_long_time:Ir.current}})}),Wr=()=>{Nr.current||(0,ae.BU)(),window.parent.postMessage("backExercise","*")};function ta(){return Xn(this,null,function*(){try{const On=yield(0,ue.zO)(tn,{limit:15,page:sr,language:_n==null?void 0:_n.language});Xt({type:2,payload:On})}catch(On){console.log(On)}})}function na(On){Xt({type:10,payload:On})}function Hr(On){return Xn(this,null,function*(){var Jn;let Fr;(Yt.get("ip_limit")==="inner"||Yt.get("ip_bind_type")==="true")&&(Fr=yield(0,pn.y)({ip_limit:Yt.get("ip_limit"),ip_bind:Yt.get("ip_bind_type")==="true"}));const Rr=yield(0,ue.n4)(tn,{code:Oe.Base64.encode(On||_n.code),language:_n==null?void 0:_n.language,exercise_id:Yt.get("exercisesId"),question_id:Yt.get("questionId"),ip:Fr});return Rr.status===-5&&(0,je.getDvaApp)()._store.dispatch({type:"exercise/setActionTabs",payload:{key:"student-unlock",exerciseParams:Kn(Rn({errorMessage:Rr==null?void 0:Rr.message},(Qt==null?void 0:Qt.exercise)||{}),{exercise_user_id:(Jn=Qt==null?void 0:Qt.exercise)==null?void 0:Jn.exercise_user_id,id:Yt.get("exercisesId")})}}),Rr})}function Kr(){return Xn(this,null,function*(){if(Er.current=2,!er){Xt({type:5,payload:!0});try{Ae.Z.publish("to-commit-info");const On=yield Hr();if(console.log(On,1),On.status===0){let kr=function(){return Xn(this,null,function*(){const{status:Tr,data:zr}=yield(0,ue.rX)(tn,"submit"),Zr=wr()-Ur>(Rr*Gr+3)*1e3;if(Tr!==0&&!Zr&&setTimeout(kr,1e3),Zr){pe.default.error({centered:!0,okText:"\u77E5\u9053\u5566",title:"\u8BC4\u6D4B\u4EE3\u7801\u8D85\u65F6"}),Xt({type:5,payload:!1});return}if(Tr===0){zr.status===2&&pe.default.error({centered:!0,okText:"\u77E5\u9053\u5566",title:"\u8BC4\u6D4B\u4EE3\u7801\u8D85\u65F6"}),(zr==null?void 0:zr.status)===0&&Yt.get("type")==="1"&&Mr(!0);const ma=yield(0,ue.zO)(tn,{limit:15,page:sr,language:_n==null?void 0:_n.language});Xt({type:8,payload:Kn(Rn({},ln),{submitResult:zr,submitting:!1,submitRecords:ma})})}})},Jn={};if(Yt.get("type")==="exercises"&&(Jn.extras={exercise_id:Yt.get("exercisesId"),question_id:Yt.get("questionId")},(Yt.get("ip_limit")==="inner"||Yt.get("ip_bind_type")==="true")&&(Jn.extras.ip=yield(0,pn.y)({ip_limit:Yt.get("ip_limit"),ip_bind:Yt.get("ip_bind_type")==="true"}))),(yield(0,ue.bM)(tn,Jn)).status===-1&&Yt.get("exercisesId")){window.parent.location.href=`/classrooms/${Yt.get("coursesId")}/exercise/${Yt.get("exercisesId")}/detail`;return}const{time_limit:Rr,test_case_size:Gr}=_n,Ur=wr();kr()}else Xt({type:5,payload:!1})}catch(On){console.log(On),Xt({type:5,payload:!1})}mr(!1)}})}function Xr(){return Xn(this,null,function*(){Er.current=1,ln.debuging=!0,Xt({type:4,payload:!0});try{if((yield Hr()).status===0){let Ur=function(){return Xn(this,null,function*(){const{status:kr,message:Tr,data:zr}=yield(0,ue.rX)(tn,"debug"),Zr=wr()-Gr>(Jn+3)*1e3;if(kr!==0&&!Zr&&(Xt({type:6,payload:Tr}),setTimeout(Ur,1e3)),Zr){pe.default.error({title:"\u63D0\u793A",centered:!0,okText:"\u77E5\u9053\u5566",content:"\u8C03\u8BD5\u4EE3\u7801\u8D85\u65F6"}),Xt({type:4,payload:!1}),Xt({type:7,payload:Kn(Rn({},ln),{debugResult:{status:2},debuging:!1})});return}kr===0&&(zr.status===2&&pe.default.error({title:"\u63D0\u793A",centered:!0,okText:"\u77E5\u9053\u5566",content:"\u8C03\u8BD5\u4EE3\u7801\u8D85\u65F6"}),Xt({type:4,payload:!1}),Xt({type:7,payload:Kn(Rn({},ln),{debugResult:zr,debuging:!1})}))})};const{time_limit:Jn}=_n;let Fr={input:encodeURIComponent(En.test_case.input)};if(Yt.get("type")==="exercises"&&(Fr.exercise_id=Yt.get("exercisesId")),(yield(0,ue.MU)(tn,Fr)).status===-1&&Yt.get("exercisesId")){window.parent.location.href=`/classrooms/${Yt.get("coursesId")}/exercise/${Yt.get("exercisesId")}/detail`;return}const Gr=wr();Ur()}else Xt({type:4,payload:!1})}catch(On){console.log(On)}finally{}})}function Yr(On,Jn){const Fr=Jn?{modify_code:!1}:{};Xt({type:3,payload:Kn(Rn({},En),{hack:Rn(Kn(Rn({},_n),{code:On}),Fr)})}),mr(!0)}const ra=On=>Xn(void 0,null,function*(){let Jn=yield(0,Me.ZP)(`/api/problems/${_n==null?void 0:_n.identifier}/start.json`,{method:"get",params:{language:On==="C++"||On==="c++"?encodeURIComponent(On):On,hack_user_id:gr==null?void 0:gr.user_id}});Jn.status!==-1&&je.history.replace(`/myproblems/${Jn==null?void 0:Jn.identifier}${window.location.search}`)});function aa(On){let Jn=On.target.value;Xt({type:3,payload:Kn(Rn({},En),{test_case:{input:Jn}})})}function oa(){return Xn(this,null,function*(){try{let On={};Yt.get("type")==="exercises"?On.exercise_id=Yt.get("exercisesId"):_n!=null&&_n.homework_common_id&&(On.homework_common_id=_n==null?void 0:_n.homework_common_id);const Jn=yield(0,ue.H7)(tn,Rn({},On));Jn.status===401||(Yr(Oe.Base64.decode(Jn.code)),(Yt.get("type")==="exercises"||_n!=null&&_n.homework_common_id)&&Ae.Z.publish("to-reset-info"))}catch(On){console.log(On)}})}function ia(){pe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:en.createElement("p",null,"\u521D\u59CB\u4EE3\u7801\u6709\u4FEE\u6539\uFF0C\u66F4\u65B0\u540E\u5C06\u8986\u76D6\u73B0\u6709\u4EE3\u7801\u54E6~ ",en.createElement("br",null),"\u8BF7\u5C06\u60A8\u7F16\u8F91\u7684\u4EE3\u7801\u4FDD\u5B58\u81F3\u672C\u5730\uFF0C\u4EE5\u9632\u4E22\u5931"),onOk(){return Xn(this,null,function*(){const On=yield(0,ue.fi)(tn);On.status===401||Yr(Oe.Base64.decode(On.code),!0)})}})}function sa(){Xt({type:9,payload:!0})}function la(){Xt({type:9,payload:!1})}function ua(On){return Xn(this,null,function*(){yield(0,ue.MK)(tn,On),Xt({type:1,payload:{showNote:!1,data:Kn(Rn({},En),{hack:Kn(Rn({},_n),{notes:On.notes})})}})})}const ca={hack:_n,isLoading:Vn,input:(Ot=En==null?void 0:En.test_case)==null?void 0:Ot.input,is_file:(Et=En==null?void 0:En.test_case)==null?void 0:Et.is_file,language:_n==null?void 0:_n.language,code:_n==null?void 0:_n.code,title:"main."+or[_n==null?void 0:_n.language],modify_code:_n==null?void 0:_n.modify_code,notes:_n==null?void 0:_n.notes,debugResult:Fn,debuging:Pr,submitting:er,submitResult:Mn,executingMessage:lr,onCancelNote:la,onAddNote:ua,showNote:Sr,user:gr,onShowNote:sa,onSubmitCode:Kr,onChangeCode:Yr,onChangeInput:aa,onDebugCode:Xr,onResetCode:oa,onSyncCode:ia,onUpdateCode:Hr,onChangeLanguage:ra,isWhiteTheme:tr,setIsWhiteTheme:Qn,topDispatch:Xt};function da(){return Xn(this,null,function*(){const{praise_count:On}=yield(0,ue.vl)(_n.id,{container_type:"Hack",type:1});let Jn=Kn(Rn({},En),{hack:Kn(Rn({},_n),{praises_count:On,user_praise:!_n.user_praise})});Xt({type:3,payload:Jn})})}const fa={topicId:tn,submitResult:Mn,submitRecords:$n,submitting:er,page:sr,onPageChange:na,hack:_n,user:En==null?void 0:En.user,hack_sets:En==null?void 0:En.hack_sets,current_user:En==null?void 0:En.current_user,onTriggerPraise:da,setActiveIndex:qr};console.log(Qt);const ga=()=>Yt.get("type")==="exercises"?!1:!!(Yt.get("type")==="1"&&Object.values((_n==null?void 0:_n.homework_extension)||{}).some(Boolean));return en.createElement(en.Fragment,null,en.createElement(he.Z,{spinning:Bn,delay:500},En?en.createElement(en.Fragment,null,en.createElement("header",{className:In()(xn.Z.header,tr&&xn.Z.whiteHeader)},Yt.get("type")!=="exercises"&&en.createElement("div",null,en.createElement("img",{src:`${ne.Z.IMG_SERVER}/images/${gr==null?void 0:gr.image_url}`,alt:"user",width:36}),en.createElement("span",{style:{color:tr?"#333":"#B2BACB",fontSize:16}},gr==null?void 0:gr.name)),Yt.get("type")==="exercises"&&en.createElement("div",null,en.createElement("div",{className:"exercise_user_info"},"\u59D3\u540D",en.createElement("span",{className:"ml10"},(jt=Qt==null?void 0:Qt.exercise)==null?void 0:jt.user_name)),en.createElement("div",{className:"exercise_user_info ml30"},"\u5B66\u53F7",en.createElement("span",{className:"ml10"},(Ut=Qt==null?void 0:Qt.exercise)==null?void 0:Ut.student_id))),en.createElement("h2",{className:"flex-wrp flex_box_column flex_box_center"},en.createElement("div",null,_n.name)),(_n==null?void 0:_n.is_program)&&en.createElement(_t.Z,{defaultValue:_n==null?void 0:_n.answer_long_time,onChange:On=>{Ir.current=On},className:xn.Z.timepiece}),gr!=null&&gr.hack_manager?en.createElement(je.Link,{className:xn.Z.btn_edit,to:Yt.get("type")==="1"?Yt.get("pageId")?`/problems/newedit/${_n.identifier}?type=1&pageId=${Yt.get("pageId")}&backUrl=${Yt.get("backUrl")}`:`/problems/newedit/${_n.identifier}?type=1`:`/problems/newedit/${_n.identifier}`}," ",en.createElement("i",{className:"iconfont icon-bianji13 font14 mr5"})," \u7F16\u8F91"):null,((Rt=Qt==null?void 0:Qt.exercise)==null?void 0:Rt.left_time)&&en.createElement(en.Fragment,null,en.createElement("span",{style:{color:Cr,marginRight:6},className:`iconfont icon-daojishi ${xn.Z.djs}`}),en.createElement("span",{className:"c-white mr20"},en.createElement(dr,{valueStyle:{color:Cr,fontSize:20,fontWeight:500},title:en.createElement("span",{style:{color:Cr,fontSize:14,marginRight:10},className:"time"},"\u5269\u4F59\u7B54\u9898\u65F6\u957F"),value:Sn,onFinish:()=>Xn(void 0,null,function*(){const On=yield(0,se.VL)({categoryId:Yt.get("exercisesId"),commit_method:2});if((On==null?void 0:On.status)===0&&(Hr(),pe.default.info({width:530,title:"\u63D0\u793A",centered:!0,okText:"\u786E\u5B9A",content:en.createElement("div",{className:"tc font16"},"\u7B54\u9898\u7ED3\u675F\u4E86\uFF0C\u7CFB\u7EDF\u5DF2\u81EA\u52A8\u63D0\u4EA4\u8BD5\u5377",en.createElement("br",null),"\u4E0D\u80FD\u518D\u4FEE\u6539\u7B54\u9898"),onOk:()=>Xn(void 0,null,function*(){window.parent.location.href=`/classrooms/${Yt.get("coursesId")}/exercise/${Yt.get("exercisesId")}/detail`})})),(On==null?void 0:On.status)===-3){const Jn=parseInt(On==null?void 0:On.message);bn(Date.now()+Jn*1e3)}})}))),Yt.get("type")==="exercises"?en.createElement(ce.ZP,{type:"primary",onClick:()=>{const On=()=>Xn(void 0,null,function*(){yield Hr(),mr(!1),$r(),Nr.current=!0,Wr()});if(!($n!=null&&$n.records_count)||Zn){pe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",icon:null,title:"\u63D0\u793A",content:en.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:On});return}On()}},en.createElement("span",{className:"iconfont icon-yiguanbi mr5 font14"})," \u8FD4\u56DE\u8BD5\u5377"):en.createElement("span",{onClick:()=>{var On;if(Yt.get("backUrl"))je.history.push(Yt.get("backUrl"));else if(Yt.get("type")==="1"){let Jn=(On=localStorage.getItem("program_homework"))==null?void 0:On.split(",");je.history.push(`/classrooms/${Jn==null?void 0:Jn[0]}/program_homework/${Jn==null?void 0:Jn[1]}/detail`)}else je.history.push("/problemset")}},en.createElement(oe.Z,{title:"\u5173\u95ED"},en.createElement("i",{style:{color:tr?"#8D929F":"#fff"},className:"iconfont icon-fanhuishijuan font16 "})))),en.createElement(he.Z,{size:"large",spinning:Vn},en.createElement(re.Z,{className:In()(xn.Z.myProblems,tr&&xn.Z.whiteMyProblems),leftChild:en.createElement(Nn,Rn({},fa)),rightChild:en.createElement(jr,Rn({},ca))}))):null,en.createElement(pe.default,{centered:!0,closable:!1,width:680,footer:null,open:pr,className:"oj-modal"},en.createElement("section",{className:"oj-modal-content"},en.createElement("div",{className:"oj-modal-head"},en.createElement("img",{src:Yn,alt:""}),en.createElement("i",{onClick:()=>Mr(!1),className:"iconfont icon-guanbi1"})),en.createElement("aside",null,en.createElement("img",{className:"mr30",src:hr.Z}),"\u8FD0\u884C\u65F6\u95F4:\xA0",en.createElement("span",{style:{color:"#75d6ba",marginRight:100}},Mn==null?void 0:Mn.execute_time,"ms"),"\u4F18\u4E8E",en.createElement("span",{style:{color:"#f3b087",margin:"0 5px"}},(Mn==null?void 0:Mn.time_better_than)||100,"%"),"\u7684\u7528\u6237"),en.createElement("aside",{className:"mb50"},en.createElement("img",{src:yr.Z,className:"mr30"}),en.createElement("span",{className:"oj-modal-tt"},en.createElement("span",null,en.createElement("span",null,"\u5360\u7528\u5185\u5B58:\xA0"),en.createElement("span",{className:"c-light-primary"},Mn==null?void 0:Mn.execute_memory,"kb")),en.createElement("span",null,en.createElement("span",null))),"\u4F18\u4E8E",en.createElement("span",{style:{color:"#f3b087",margin:"0 5px"}},(Mn==null?void 0:Mn.memory_better_than)||100,"%"),"\u7684\u7528\u6237"),en.createElement("div",{id:"oj-modal-next",onClick:()=>Xn(void 0,null,function*(){var On;if(Mn!=null&&Mn.next_identifier){let Jn=yield(0,Me.ZP)(`/api/problems/${Mn==null?void 0:Mn.next_identifier}/start.json`,{method:"get",params:{hack_user_id:gr==null?void 0:gr.user_id}});Jn&&(je.history.replace(`/myproblems/${Jn==null?void 0:Jn.identifier}${window.location.search}`),window.location.reload())}else{let Jn=(On=localStorage.getItem("program_homework"))==null?void 0:On.split(",");je.history.push(`/classrooms/${Jn==null?void 0:Jn[0]}/program_homework/${Jn==null?void 0:Jn[1]}/detail`)}}),className:"oj-modal-btn"},Mn!=null&&Mn.next_identifier?"\u8FDB\u5165\u4E0B\u4E00\u9898":"\u56DE\u5230\u4F5C\u4E1A\u8BE6\u60C5\u9875"))),ga()&&en.createElement(nr.Z,{showData:_n==null?void 0:_n.homework_extension,description:_n==null?void 0:_n.description,code:_n.code,sendParams:{source:"hack"}})),en.createElement(Ht.Z,{successCb:()=>{Er.current===1?Xr():Kr()}}))};function Dr({title:ht,modify_code:Ot,onSyncCode:Et,onShowCodeSetting:jt,onResetCode:Ut,hack:Rt,onChangeLanguage:ln,isWhiteTheme:Xt}){var tn;const fn=()=>{pe.default.confirm({title:"\u6062\u590D\u521D\u59CB\u4EE3\u7801",icon:en.createElement(te.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:Ut})},[Yt]=(0,je.useSearchParams)(),Bn=Yt.get("language"),En=Fn=>Fn==="1"?"c++":Fn==="2"?"C++":Fn;return(0,ye.useEffect)(()=>{Bn&&ln(En(Bn))},[]),(0,ye.useEffect)(()=>{Rt!=null&&Rt.tpm_code_modified&&pe.default.confirm({title:"\u66F4\u65B0\u521D\u59CB\u4EE3\u7801",icon:en.createElement(te.Z,null),content:en.createElement("div",null,en.createElement("div",null,"\u7F16\u7A0B\u9898\u7684\u521D\u59CB\u4EE3\u7801\u5185\u5BB9\u6709\u66F4\u65B0,"),en.createElement("div",null,"\u66F4\u65B0\u64CD\u4F5C\u5C06\u4FDD\u7559\u5DF2\u5B8C\u6210\u7684\u8BC4\u6D4B\u8BB0\u5F55\u548C\u6210\u7EE9,"),en.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:()=>Ut()})},[Rt==null?void 0:Rt.language]),console.log(Rt,Xt,"hack"),en.createElement("div",{className:`${xn.Z.codeHead} ${Xt?xn.Z.whiteCodeHead:""}`},en.createElement("div",{className:xn.Z.navWrap},(tn=Rt==null?void 0:Rt.all_language)==null?void 0:tn.map(Fn=>en.createElement("div",{className:`${xn.Z.nav} ${Fn===(Rt==null?void 0:Rt.language)?xn.Z.active:""}`,key:Fn,onClick:()=>ln(Fn)},en.createElement(oe.Z,{title:"\u7F16\u7A0B\u8BED\u8A00"},en.createElement("i",{className:"iconfont icon-bianchengyuyan1"})),en.createElement("span",null,Fn)))),en.createElement(ie.Z,{align:"middle",style:{marginLeft:"auto"}},Ot?en.createElement("a",{title:"\u66F4\u65B0\u901A\u77E5",onClick:Et},en.createElement("img",{src:De,alt:"notice",style:{height:13,transform:"translateY(-2px)"}})):null,en.createElement("a",{onClick:fn},en.createElement(oe.Z,{title:"\u6062\u590D\u521D\u59CB\u4EE3\u7801"},en.createElement("i",{style:{color:"#8D929F"},className:"iconfont icon-huifuchushihuashezhi mr15"}))),en.createElement("a",{onClick:jt},en.createElement(oe.Z,{title:"\u8BBE\u7F6E"},en.createElement("i",{style:{color:"#8D929F"},className:"iconfont icon-shezhi8 font14 mr15"})))))}function jr(ht){var Ot=ht,{input:Et,is_file:jt,showNote:Ut,onShowNote:Rt,notes:ln,onCancelNote:Xt,onAddNote:tn,debugResult:fn,language:Yt,debuging:Bn,submitting:En,executingMessage:Fn,code:Mn,onSubmitCode:$n,onDebugCode:sr,onChangeCode:Sr,onChangeInput:Pr,onUpdateCode:er,user:lr,isLoading:Cr,submitResult:Bt}=Ot,Sn=cr(Ot,["input","is_file","showNote","onShowNote","notes","onCancelNote","onAddNote","debugResult","language","debuging","submitting","executingMessage","code","onSubmitCode","onDebugCode","onChangeCode","onChangeInput","onUpdateCode","user","isLoading","submitResult"]);function bn(kn){return en.createElement(Dr,Kn(Rn({},Sn),{onShowCodeSetting:kn}))}const Qt=Rn({input:Et,is_file:jt,debugResult:fn,debuging:Bn,submitting:En,executingMessage:Fn,onDebugCode:sr,onChangeCode:Sr,onSubmitCode:$n,onChangeInput:Pr,user:lr,submitResult:Bt},Sn);return en.createElement("div",{style:{display:"flex",flexDirection:"column",height:"100%",background:"#1B2333"}},en.createElement(we,{setIsWhiteTheme:Sn==null?void 0:Sn.setIsWhiteTheme,isLoading:Cr,language:Yt,value:Mn,onChange:Sr,onUpdateCode:er,ActionBarRender:bn}),en.createElement(Fe.ZP,Rn({},Qt)))}},76826:function(ct,ot,Se){"use strict";Se.d(ot,{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||{})},5247:function(ct,ot,Se){"use strict";Se.d(ot,{H7:function(){return a},MK:function(){return te},MU:function(){return se},X6:function(){return re},bM:function(){return ue},fi:function(){return y},fu:function(){return ie},n4:function(){return x},rX:function(){return ne},vl:function(){return b},zO:function(){return ae}});var ye=Se(7660),je=Object.defineProperty,E=Object.getOwnPropertySymbols,pe=Object.prototype.hasOwnProperty,he=Object.prototype.propertyIsEnumerable,ce=(ee,z,le)=>z in ee?je(ee,z,{enumerable:!0,configurable:!0,writable:!0,value:le}):ee[z]=le,oe=(ee,z)=>{for(var le in z||(z={}))pe.call(z,le)&&ce(ee,le,z[le]);if(E)for(var le of E(z))he.call(z,le)&&ce(ee,le,z[le]);return ee};function ie(ee,z){return(0,ye.U2)(`myproblems/${ee}.json`,oe({hidePopLogin:!0},z||{}))}function ue(ee,z){return(0,ye.v_)(`myproblems/${ee}/code_submit.json`,z)}function se(ee,z){return(0,ye.v_)(`myproblems/${ee}/code_debug.json`,z)}function ae(ee,z){return z.language&&(z.language=encodeURIComponent(z.language)),(0,ye.U2)(`myproblems/${ee}/submit_records.json`,z)}function re(ee){return(0,ye.U2)("myproblems/record_detail.json",{id:ee})}function ne(ee,z){return(0,ye.U2)(`myproblems/${ee}/result.json`,{mode:z})}function te(ee,z){return(0,ye.v_)(`myproblems/${ee}/add_notes.json`,z)}function a(ee,z){return(0,ye.v_)(`myproblems/${ee}/restore_initial_code.json`,z)}function y(ee){return(0,ye.v_)(`myproblems/${ee}/sync_code.json`)}function x(ee,z){return(0,ye.v_)(`myproblems/${ee}/update_code.json`,z)}function b(ee,z){return(0,ye.v_)(`discusses/${ee}/plus.json`,z)}},36391:function(ct,ot,Se){"use strict";var ye=Se(59301),je=Se(24459),E=Se(8591),pe=Se(43418),he=Se(89392),ce=Se.n(he),oe=Se(43219),ie=Se(99325),ue=Se(24334),se=Se.n(ue),ae=Se(7660),re=Se(5247),ne=Se(21758),te=Se(61186),a=Se.n(te),y=Se(59301),x=Object.defineProperty,b=Object.defineProperties,ee=Object.getOwnPropertyDescriptors,z=Object.getOwnPropertySymbols,le=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,ge=(Pe,Ee,_e)=>Ee in Pe?x(Pe,Ee,{enumerable:!0,configurable:!0,writable:!0,value:_e}):Pe[Ee]=_e,fe=(Pe,Ee)=>{for(var _e in Ee||(Ee={}))le.call(Ee,_e)&&ge(Pe,_e,Ee[_e]);if(z)for(var _e of z(Ee))de.call(Ee,_e)&&ge(Pe,_e,Ee[_e]);return Pe},me=(Pe,Ee)=>b(Pe,ee(Ee)),be=(Pe,Ee,_e)=>new Promise((Ce,xe)=>{var we=Fe=>{try{Oe(_e.next(Fe))}catch(Le){xe(Le)}},De=Fe=>{try{Oe(_e.throw(Fe))}catch(Le){xe(Le)}},Oe=Fe=>Fe.done?Ce(Fe.value):Promise.resolve(Fe.value).then(we,De);Oe((_e=_e.apply(Pe,Ee)).next())});const ve=({problemset:Pe,dispatch:Ee})=>{var _e,Ce,xe,we,De;const[Oe,Fe]=(0,ye.useState)({}),[Le,Qe]=(0,ye.useState)([]),[He,ze]=(0,ye.useState)(!1),[Ke,Ge]=(0,ye.useState)(!1),[ke,Ne]=(0,ye.useState)({}),Ve=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];(0,ye.useEffect)(()=>{var Ue,Ie,Ze;if(((Ue=Pe==null?void 0:Pe.actionTabs)==null?void 0:Ue.key)==="BPROGRAM"){const Te=(0,he.cloneDeep)((Ie=Pe==null?void 0:Pe.actionTabs)==null?void 0:Ie.params);Fe(Te),Qe((Ze=Te==null?void 0:Te.standard_answer)==null?void 0:Ze.map(We=>({value:"",answer:(We==null?void 0:We.answer_text)||[]})))}},[(_e=Pe==null?void 0:Pe.actionTabs)==null?void 0:_e.key]);function Je(){return new Date().getTime()}const rt=()=>be(void 0,null,function*(){var Ue,Ie,Ze,Te,We;if(Le.some(qe=>(qe==null?void 0:qe.value)==="")&&!He){E.ZP.warning("\u8BF7\u60A8\u4F5C\u7B54\u540E\u518D\u63D0\u4EA4");return}if(He){const qe=(0,he.cloneDeep)((Ue=Pe==null?void 0:Pe.actionTabs)==null?void 0:Ue.params);Qe([...(Ie=qe==null?void 0:qe.standard_answer)==null?void 0:Ie.map(Be=>({value:"",answer:(Be==null?void 0:Be.answer_text)||[],type:""}))]),ze(!He);return}else{let qe=Le==null?void 0:Le.map((Be,Ae)=>me(fe({},Be),{type:Be.types}));Qe(qe)}console.log(Le),Ge(!0);let at=yield(0,ae.ZP)(`/api/problems/${(Ze=Oe==null?void 0:Oe.program_attr)==null?void 0:Ze.identifier}/start.json`,{method:"get"});const et=yield(0,re.n4)(at==null?void 0:at.identifier,{code:(Te=Oe==null?void 0:Oe.program_attr)==null?void 0:Te.code,language:(We=Oe==null?void 0:Oe.program_attr)==null?void 0:We.language,answers:Le==null?void 0:Le.map(qe=>qe.value)});if((et==null?void 0:et.status)===0){let Be=function(){return be(this,null,function*(){const{status:Ae,message:Me,data:Re}=yield(0,re.rX)(at==null?void 0:at.identifier,"submit"),nt=Je()-qe>10*1e3*(Le==null?void 0:Le.length);if(Ae!==0&&!nt&&setTimeout(Be,1e3),nt){pe.default.error({centered:!0,okText:"\u77E5\u9053\u5566",title:"\u8C03\u8BD5\u4EE3\u7801\u8D85\u65F6",content:"\u8BF7\u68C0\u67E5\u7A0B\u5E8F\u4EE3\u7801\u662F\u5426\u5B58\u5728\u6B7B\u5FAA\u73AF"}),Ge(!1);return}if(Ae===0){Ge(!1);let $e=Le==null?void 0:Le.map((tt,st)=>me(fe({},tt),{type:(Re==null?void 0:Re.right_arr[st])===1?"success":"warning"}));Qe($e),Ne(Re),Re.status===2&&(Ge(!1),pe.default.error({centered:!0,okText:"\u77E5\u9053\u5566",title:"\u8C03\u8BD5\u4EE3\u7801\u8D85\u65F6"}))}})};const qe=Je();yield(0,re.bM)(at==null?void 0:at.identifier,{}),Be()}else Ge(!1);ze(!He)}),Ye=()=>{Fe({}),Qe([]),ze(!1),Ee({type:"problemset/setActionTabs",payload:{}})};return y.createElement(y.Fragment,null,y.createElement(pe.default,{centered:!0,destroyOnClose:!0,open:Pe.actionTabs.key==="BPROGRAM",title:"\u8BD5\u9898\u4F53\u9A8C",okText:He?"\u91CD\u65B0\u7B54\u9898":"\u63D0\u4EA4\u4EE3\u7801",cancelText:"\u53D6\u6D88",width:708,onOk:rt,onCancel:Ye,okButtonProps:{loading:Ke}},y.createElement("div",null,y.createElement("div",{className:"c-light-primary mb5 font16"},"\u7A0B\u5E8F\u586B\u7A7A\u9898"),y.createElement(ie.Z,{value:(Ce=Oe==null?void 0:Oe.program_attr)==null?void 0:Ce.description}),((xe=Oe==null?void 0:Oe.program_attr)==null?void 0:xe.code)&&y.createElement(ie.Z,{showProgramFill:!0,onFillChange:Ue=>{let Ie=Ue==null?void 0:Ue.map((Ze,Te)=>fe({},Ze));Qe(Ie)},programFillValue:Le,value:ue.Base64.decode((we=Oe==null?void 0:Oe.program_attr)==null?void 0:we.code)}),He&&y.createElement(ye.Fragment,null,y.createElement("div",{className:oe.Z.line}),(De=Oe==null?void 0:Oe.standard_answer)==null?void 0:De.map((Ue,Ie)=>y.createElement("div",{className:"c-grey-333 mb5",style:{display:"flex",alignItems:"baseline"}},y.createElement("b",null,"\u586B\u7A7A",Ie+1,"\u7B54\u6848:\xA0"),y.createElement("pre",null,(Ue==null?void 0:Ue.answer_text)||""))),y.createElement("div",{className:"c-grey-333 mb10"},y.createElement("b",null,"\u89E3\u6790:\xA0"),(Oe==null?void 0:Oe.analysis)||"\u6682\u65E0\u89E3\u6790")))),(ke==null?void 0:ke.id)&&ke.status!==2&&y.createElement(pe.default,{open:(ke==null?void 0:ke.id)&&ke.status!==2,title:"\u8FD0\u884C\u7ED3\u679C",width:1100,footer:!1,onOk:()=>{Ne({})},onCancel:()=>{Ne({})}},y.createElement("div",{style:{maxHeight:600,overflow:"auto",marginBottom:15}},y.createElement("div",{style:{marginBottom:20,display:"flex",justifyContent:"space-between",fontSize:14}},y.createElement("div",null,y.createElement("span",{style:{color:"#666666"}},"\u72B6\u6001"),y.createElement("span",{style:{marginLeft:12,color:ke.status!==0&&"#E30000"}},ne.Im[ke.status])),y.createElement("div",null,y.createElement("span",{style:{color:"#666666"}},"\u63D0\u4EA4\u65F6\u95F4"),y.createElement("span",{style:{marginLeft:12}},a()(ke.created_at).format("YYYY-MM-DD HH:mm:ss"))),y.createElement("div",null,y.createElement("span",{style:{color:"#666666"}},"\u8BED\u8A00"),y.createElement("span",{style:{marginLeft:12}},ke.language)),y.createElement("div",null,y.createElement("span",{style:{color:"#666666"}},"\u6267\u884C\u7528\u65F6"),y.createElement("span",{style:{marginLeft:12}},ke.execute_time,"ms"))),y.createElement(ne.Y4,fe({},ke)))))};ot.Z=(0,je.connect)(({problemset:Pe})=>({problemset:Pe}))(ve)},95380:function(ct,ot,Se){"use strict";Se.d(ot,{Z:function(){return Mt}});var ye=Se(59301),je=Se(24459),E=Se(8591),pe=Se(43418),he=Se(89392),ce=Se(99325),oe=Se(5112),ie=Se(3113),ue=Se(28103),se=Se(43219),ae=Se(59301),re=Object.defineProperty,ne=Object.defineProperties,te=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,b=(yt,wt,Lt)=>wt in yt?re(yt,wt,{enumerable:!0,configurable:!0,writable:!0,value:Lt}):yt[wt]=Lt,ee=(yt,wt)=>{for(var Lt in wt||(wt={}))y.call(wt,Lt)&&b(yt,Lt,wt[Lt]);if(a)for(var Lt of a(wt))x.call(wt,Lt)&&b(yt,Lt,wt[Lt]);return yt},z=(yt,wt)=>ne(yt,te(wt)),le=(yt,wt,Lt)=>new Promise((cn,Vt)=>{var rn=zt=>{try{Jt(Lt.next(zt))}catch(nn){Vt(nn)}},Zt=zt=>{try{Jt(Lt.throw(zt))}catch(nn){Vt(nn)}},Jt=zt=>zt.done?cn(zt.value):Promise.resolve(zt.value).then(rn,Zt);Jt((Lt=Lt.apply(yt,wt)).next())});const de=({problemset:yt,dispatch:wt,showdiv:Lt,data:cn})=>{const[Vt,rn]=(0,ye.useState)([]),[Zt,Jt]=(0,ye.useState)(!1),zt=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];(0,ye.useEffect)(()=>{var Ln;((Ln=Object.keys(cn))==null?void 0:Ln.length)>0&&rn(cn.choices)},[cn]);const nn=()=>le(void 0,null,function*(){if(!Vt.some(Ln=>Ln==null?void 0:Ln.checked)){E.ZP.warning("\u8BF7\u60A8\u4F5C\u7B54\u540E\u518D\u63D0\u4EA4");return}if(Zt){const Ln=(0,he.cloneDeep)(cn);rn(Ln.choices)}Jt(!Zt)}),jn=(Ln,Ft)=>{console.log(Ln.target.checked);const At=Vt.map((bt,sn)=>z(ee({},bt),{checked:sn===Ft?Ln.target.checked:!1}));rn(At)},Cn=()=>{rn([]),Jt(!1),wt({type:"problemset/setActionTabs",payload:{}})};return ae.createElement("div",null,ae.createElement("div",{className:"c-light-primary mb5 font16"},"\u5355\u9009\u9898"),ae.createElement(ce.Z,{value:cn==null?void 0:cn.name}),Vt==null?void 0:Vt.map((Ln,Ft)=>{const{is_answer:At,checked:bt,choice_text:sn}=Ln;let qt="";return Zt&&At&&(qt=se.Z.green),Zt&&!At&&bt&&(qt=se.Z.red),ae.createElement("div",{key:Ft,style:{pointerEvents:Zt?"none":"auto"},className:`${se.Z.row} ${qt}`},ae.createElement(oe.ZP,{onChange:dn=>jn(dn,Ft),checked:bt}),ae.createElement("span",null,zt[Ft],".\xA0"),ae.createElement(ce.Z,{className:se.Z.html,value:sn}),Zt&&At&&ae.createElement("span",{style:{paddingTop:4},className:"iconfont icon-duigou1 font16"}),Zt&&!At&&bt&&ae.createElement("span",{style:{fontWeight:600,paddingTop:5},className:"iconfont icon-guanbi font16"}))}),Zt&&ae.createElement(ye.Fragment,null,ae.createElement("div",{style:{background:"#F6F7F9",padding:10,marginTop:10}},ae.createElement("div",{className:"c-grey-333 mb5"},ae.createElement("b",null,"\u6B63\u786E\u7B54\u6848:\xA0"),zt[Vt.findIndex(Ln=>Ln.is_answer)]),ae.createElement("div",{className:"c-grey-333 mb10"},ae.createElement("b",null,"\u89E3\u6790:\xA0"),(cn==null?void 0:cn.analysis)||"\u6682\u65E0\u89E3\u6790"))),ae.createElement("div",{style:{textAlign:"end",marginTop:10}},ae.createElement(ie.ZP,{type:"primary",onClick:()=>{nn()}},Zt?"\u91CD\u65B0\u7B54\u9898":"\u63D0\u4EA4\u7B54\u6848")),!Lt&&ae.createElement(ue.Z,null))};var ge=(0,je.connect)(({problemset:yt})=>({problemset:yt}))(de),fe=Se(92832),me=Se(72714),be=Se(59301),ve=Object.defineProperty,Pe=Object.defineProperties,Ee=Object.getOwnPropertyDescriptors,_e=Object.getOwnPropertySymbols,Ce=Object.prototype.hasOwnProperty,xe=Object.prototype.propertyIsEnumerable,we=(yt,wt,Lt)=>wt in yt?ve(yt,wt,{enumerable:!0,configurable:!0,writable:!0,value:Lt}):yt[wt]=Lt,De=(yt,wt)=>{for(var Lt in wt||(wt={}))Ce.call(wt,Lt)&&we(yt,Lt,wt[Lt]);if(_e)for(var Lt of _e(wt))xe.call(wt,Lt)&&we(yt,Lt,wt[Lt]);return yt},Oe=(yt,wt)=>Pe(yt,Ee(wt)),Fe=(yt,wt,Lt)=>new Promise((cn,Vt)=>{var rn=zt=>{try{Jt(Lt.next(zt))}catch(nn){Vt(nn)}},Zt=zt=>{try{Jt(Lt.throw(zt))}catch(nn){Vt(nn)}},Jt=zt=>zt.done?cn(zt.value):Promise.resolve(zt.value).then(rn,Zt);Jt((Lt=Lt.apply(yt,wt)).next())});const Le=({problemset:yt,datas:wt,showdiv:Lt,dispatch:cn})=>{var Vt;const[rn,Zt]=(0,ye.useState)({}),[Jt,zt]=(0,ye.useState)([]),[nn,jn]=(0,ye.useState)(!1),Cn=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];(0,ye.useEffect)(()=>{var bt;if(Object.keys(wt)){const sn=(0,he.cloneDeep)(wt);Zt(sn),zt((bt=sn==null?void 0:sn.standard_answer)==null?void 0:bt.map(qt=>De({value:"",answer:(qt==null?void 0:qt.answer_text)||[]},qt)))}},[wt]);const Ln=()=>Fe(void 0,null,function*(){var bt;if(Jt.some(sn=>(sn==null?void 0:sn.value)==="")){E.ZP.warning("\u8BF7\u60A8\u4F5C\u7B54\u540E\u518D\u63D0\u4EA4");return}if(nn){const sn=(0,he.cloneDeep)(wt);zt((bt=sn==null?void 0:sn.standard_answer)==null?void 0:bt.map(qt=>De({value:"",answer:(qt==null?void 0:qt.answer_text)||[]},qt)))}jn(!nn)}),Ft=(bt,sn)=>{const qt=Jt.map((dn,hn)=>Oe(De({},dn),{value:hn===sn?bt.target.value:dn.value}));zt(qt)},At=()=>{Zt({}),zt([]),jn(!1),cn({type:"problemset/setActionTabs",payload:{}})};return be.createElement("div",null,be.createElement("div",{className:"c-light-primary mb5 font16"},"\u586B\u7A7A\u9898"),be.createElement(ce.Z,{value:rn==null?void 0:rn.name}),Jt==null?void 0:Jt.map((bt,sn)=>{const{value:qt,answer:dn}=bt;let hn="";return nn&&(dn!=null&&dn.includes(qt))&&(hn=se.Z.green),nn&&!(dn!=null&&dn.includes(qt))&&(hn=se.Z.red),be.createElement("div",{key:sn,style:{pointerEvents:nn?"none":"auto",marginTop:10},className:`${se.Z.row} ${hn}`},be.createElement("div",{style:{minWidth:80}},"\u586B\u7A7A",sn+1,"\u7B54\u6848:"),(bt==null?void 0:bt.model)===1?be.createElement(fe.default.TextArea,{className:se.Z.textArea,style:{width:610,marginRight:10},onChange:dt=>Ft(dt,sn),value:qt}):be.createElement(me.Z,{value:qt,onChange:dt=>{const ft=Jt.map((gt,Gt)=>Oe(De({},gt),{value:Gt===sn?dt:gt.value}));zt(ft)}}),nn&&(dn==null?void 0:dn.includes(qt))&&be.createElement("span",{style:{paddingTop:4},className:"iconfont icon-duigou1 font16"}),nn&&!(dn!=null&&dn.includes(qt))&&be.createElement("span",{style:{fontWeight:600,paddingTop:5},className:"iconfont icon-guanbi font16"}))}),nn&&be.createElement(ye.Fragment,null,be.createElement("div",{style:{background:"#F6F7F9",padding:10,marginTop:10}},(Vt=rn==null?void 0:rn.standard_answer)==null?void 0:Vt.map((bt,sn)=>{var qt,dn;return be.createElement("div",{className:"c-grey-333 mb5"},be.createElement("b",null,"\u586B\u7A7A",sn+1,"\u7B54\u6848:\xA0"),(bt==null?void 0:bt.model)===1?((qt=bt==null?void 0:bt.answer_text)==null?void 0:qt.join("\u3001"))||"":be.createElement(me.Z,{value:(dn=bt==null?void 0:bt.answer_text)==null?void 0:dn.join("\u3001"),disabled:!0}))}),be.createElement("div",{className:"c-grey-333 mb10"},be.createElement("b",null,"\u89E3\u6790:\xA0"),(rn==null?void 0:rn.analysis)||"\u6682\u65E0\u89E3\u6790"))),be.createElement("div",{style:{textAlign:"end",marginTop:10}},be.createElement(ie.ZP,{type:"primary",onClick:()=>{Ln()}},nn?"\u91CD\u65B0\u7B54\u9898":"\u63D0\u4EA4\u7B54\u6848")),!Lt&&be.createElement(ue.Z,null))};var Qe=(0,je.connect)(({problemset:yt})=>({problemset:yt}))(Le),He=Se(59301),ze=Object.defineProperty,Ke=Object.defineProperties,Ge=Object.getOwnPropertyDescriptors,ke=Object.getOwnPropertySymbols,Ne=Object.prototype.hasOwnProperty,Ve=Object.prototype.propertyIsEnumerable,Je=(yt,wt,Lt)=>wt in yt?ze(yt,wt,{enumerable:!0,configurable:!0,writable:!0,value:Lt}):yt[wt]=Lt,rt=(yt,wt)=>{for(var Lt in wt||(wt={}))Ne.call(wt,Lt)&&Je(yt,Lt,wt[Lt]);if(ke)for(var Lt of ke(wt))Ve.call(wt,Lt)&&Je(yt,Lt,wt[Lt]);return yt},Ye=(yt,wt)=>Ke(yt,Ge(wt)),Ue=(yt,wt,Lt)=>new Promise((cn,Vt)=>{var rn=zt=>{try{Jt(Lt.next(zt))}catch(nn){Vt(nn)}},Zt=zt=>{try{Jt(Lt.throw(zt))}catch(nn){Vt(nn)}},Jt=zt=>zt.done?cn(zt.value):Promise.resolve(zt.value).then(rn,Zt);Jt((Lt=Lt.apply(yt,wt)).next())});const Ie=({problemset:yt,datas:wt,showdiv:Lt,dispatch:cn})=>{var Vt;const[rn,Zt]=(0,ye.useState)({}),[Jt,zt]=(0,ye.useState)([]),[nn,jn]=(0,ye.useState)(!1),Cn=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];(0,ye.useEffect)(()=>{if(Object.keys(wt)){const bt=(0,he.cloneDeep)(wt);Zt(bt),zt(bt.choices)}},[wt]);const Ln=()=>Ue(void 0,null,function*(){if(!Jt.some(bt=>bt==null?void 0:bt.checked)){E.ZP.warning("\u8BF7\u60A8\u4F5C\u7B54\u540E\u518D\u63D0\u4EA4");return}if(nn){const bt=(0,he.cloneDeep)(wt);zt(bt.choices)}jn(!nn)}),Ft=(bt,sn)=>{console.log(bt.target.checked);const qt=Jt.map((dn,hn)=>Ye(rt({},dn),{checked:hn===sn?bt.target.checked:!1}));zt(qt)},At=()=>{Zt({}),zt([]),jn(!1),cn({type:"problemset/setActionTabs",payload:{}})};return He.createElement("div",null,He.createElement("div",{className:"c-light-primary mb5 font16"},"\u5224\u65AD\u9898"),He.createElement(ce.Z,{value:rn==null?void 0:rn.name}),Jt==null?void 0:Jt.map((bt,sn)=>{const{is_answer:qt,checked:dn,choice_text:hn}=bt;let dt="";return nn&&qt&&(dt=se.Z.green),nn&&!qt&&dn&&(dt=se.Z.red),He.createElement("div",{key:sn,style:{pointerEvents:nn?"none":"auto"},className:`${se.Z.row} ${dt}`},He.createElement(oe.ZP,{onChange:ft=>Ft(ft,sn),checked:dn}),He.createElement(ce.Z,{className:se.Z.html,value:hn}),nn&&qt&&He.createElement("span",{style:{paddingTop:4},className:"iconfont icon-duigou1 font16"}),nn&&!qt&&dn&&He.createElement("span",{style:{fontWeight:600,paddingTop:5},className:"iconfont icon-guanbi font16"}))}),nn&&He.createElement(ye.Fragment,null,He.createElement("div",{style:{background:"#F6F7F9",padding:10,marginTop:10}},He.createElement("div",{className:"c-grey-333 mb5"},He.createElement("b",null,"\u6B63\u786E\u7B54\u6848:\xA0"),(Vt=Jt.find(bt=>bt.is_answer))==null?void 0:Vt.choice_text),He.createElement("div",{className:"c-grey-333 mb10"},He.createElement("b",null,"\u89E3\u6790:\xA0"),(rn==null?void 0:rn.analysis)||"\u6682\u65E0\u89E3\u6790"))),He.createElement("div",{style:{textAlign:"end",marginTop:10}},He.createElement(ie.ZP,{type:"primary",onClick:()=>{Ln()}},nn?"\u91CD\u65B0\u7B54\u9898":"\u63D0\u4EA4\u7B54\u6848")),!Lt&&He.createElement(ue.Z,null))};var Ze=(0,je.connect)(({problemset:yt})=>({problemset:yt}))(Ie),Te=Se(24905),We=Se(59301),at=Object.defineProperty,et=Object.defineProperties,qe=Object.getOwnPropertyDescriptors,Be=Object.getOwnPropertySymbols,Ae=Object.prototype.hasOwnProperty,Me=Object.prototype.propertyIsEnumerable,Re=(yt,wt,Lt)=>wt in yt?at(yt,wt,{enumerable:!0,configurable:!0,writable:!0,value:Lt}):yt[wt]=Lt,Xe=(yt,wt)=>{for(var Lt in wt||(wt={}))Ae.call(wt,Lt)&&Re(yt,Lt,wt[Lt]);if(Be)for(var Lt of Be(wt))Me.call(wt,Lt)&&Re(yt,Lt,wt[Lt]);return yt},nt=(yt,wt)=>et(yt,qe(wt)),$e=(yt,wt,Lt)=>new Promise((cn,Vt)=>{var rn=zt=>{try{Jt(Lt.next(zt))}catch(nn){Vt(nn)}},Zt=zt=>{try{Jt(Lt.throw(zt))}catch(nn){Vt(nn)}},Jt=zt=>zt.done?cn(zt.value):Promise.resolve(zt.value).then(rn,Zt);Jt((Lt=Lt.apply(yt,wt)).next())});const tt=({problemset:yt,data:wt,showdiv:Lt,dispatch:cn})=>{const[Vt,rn]=(0,ye.useState)([]),[Zt,Jt]=(0,ye.useState)(!1),zt=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];(0,ye.useEffect)(()=>{var Ln;((Ln=Object.keys(wt))==null?void 0:Ln.length)>0&&rn(wt.choices)},[wt]);const nn=()=>$e(void 0,null,function*(){if(!Vt.some(Ln=>Ln==null?void 0:Ln.checked)){E.ZP.warning("\u8BF7\u60A8\u4F5C\u7B54\u540E\u518D\u63D0\u4EA4");return}if(Zt){const Ln=(0,he.cloneDeep)(wt);rn(Ln.choices)}Jt(!Zt)}),jn=(Ln,Ft)=>{console.log(Ln.target.checked);const At=Vt.map((bt,sn)=>nt(Xe({},bt),{checked:sn===Ft?Ln.target.checked:bt.checked}));rn(At)},Cn=()=>{let Ln="";return Vt.forEach((Ft,At)=>{Ft.is_answer&&(Ln=Ln+zt[At])}),Ln};return We.createElement("div",null,We.createElement("div",{className:"c-light-primary mb5 font16"},"\u591A\u9009\u9898"),We.createElement(ce.Z,{value:wt==null?void 0:wt.name}),Vt==null?void 0:Vt.map((Ln,Ft)=>{const{is_answer:At,checked:bt,choice_text:sn}=Ln;let qt="";return Zt&&At&&(qt=se.Z.green),Zt&&!At&&bt&&(qt=se.Z.red),We.createElement("div",{key:Ft,style:{pointerEvents:Zt?"none":"auto"},className:`${se.Z.row} ${qt}`},We.createElement(Te.default,{style:{padding:3},onChange:dn=>jn(dn,Ft),checked:bt}),We.createElement("span",null,zt[Ft],".\xA0"),We.createElement(ce.Z,{className:se.Z.html,value:sn}),Zt&&At&&We.createElement("span",{style:{paddingTop:4},className:"iconfont icon-duigou1 font16"}),Zt&&!At&&bt&&We.createElement("span",{style:{fontWeight:600,paddingTop:5},className:"iconfont icon-guanbi font16"}))}),Zt&&We.createElement(ye.Fragment,null,We.createElement("div",{style:{background:"#F6F7F9",padding:10,marginTop:10}},We.createElement("div",{className:"c-grey-333 mb5"},We.createElement("b",null,"\u6B63\u786E\u7B54\u6848:\xA0"),Cn()),We.createElement("div",{className:"c-grey-333 mb10"},We.createElement("b",null,"\u89E3\u6790:\xA0"),(wt==null?void 0:wt.analysis)||"\u6682\u65E0\u89E3\u6790"))),We.createElement("div",{style:{textAlign:"end",marginTop:10}},We.createElement(ie.ZP,{type:"primary",onClick:()=>{nn()}},Zt?"\u91CD\u65B0\u7B54\u9898":"\u63D0\u4EA4\u7B54\u6848")),!Lt&&We.createElement(ue.Z,null))};var st=(0,je.connect)(({problemset:yt})=>({problemset:yt}))(tt),it=Se(64726),lt=Se(59301),ut=(yt,wt,Lt)=>new Promise((cn,Vt)=>{var rn=zt=>{try{Jt(Lt.next(zt))}catch(nn){Vt(nn)}},Zt=zt=>{try{Jt(Lt.throw(zt))}catch(nn){Vt(nn)}},Jt=zt=>zt.done?cn(zt.value):Promise.resolve(zt.value).then(rn,Zt);Jt((Lt=Lt.apply(yt,wt)).next())});const vt=({problemset:yt,dispatch:wt,showdiv:Lt,datas:cn})=>{var Vt,rn,Zt;const[Jt,zt]=(0,ye.useState)({}),[nn,jn]=(0,ye.useState)(!1),[Cn,Ln]=(0,ye.useState)(!0),[Ft,At]=(0,ye.useState)("");(0,ye.useEffect)(()=>{if(Object.keys(cn)){const qt=(0,he.cloneDeep)(cn);zt(qt)}},[cn]);const bt=()=>ut(void 0,null,function*(){if(!Ft){E.ZP.warning("\u8BF7\u60A8\u4F5C\u7B54\u540E\u518D\u63D0\u4EA4");return}nn&&At(""),jn(!nn)}),sn=()=>{zt({}),Ln(!0),jn(!1),At(""),wt({type:"problemset/setActionTabs",payload:{}})};return lt.createElement("div",null,lt.createElement("div",{className:"c-light-primary mb5 font16"},"\u7B80\u7B54\u9898"),lt.createElement(ce.Z,{value:Jt==null?void 0:Jt.name,style:{marginBottom:10}}),Cn?lt.createElement("div",{style:{border:"1px solid #f1f1f1",padding:10},onClick:()=>{Ln(!1)}}," \u70B9\u51FB\u5F00\u59CB\u4F5C\u7B54"):lt.createElement(it.Z,{defaultValue:Ft,onChange:qt=>{At(qt)}}),nn&<.createElement(ye.Fragment,null,lt.createElement("div",{style:{background:"#F6F7F9",padding:10,marginTop:10}},lt.createElement("span",{style:{color:"#5F6368"}},"\u53C2\u8003\u7B54\u6848\uFF1A"),lt.createElement("br",null),((Vt=Jt==null?void 0:Jt.answer_texts)==null?void 0:Vt[0])||"\u6682\u65E0\u53C2\u8003\u7B54\u6848",((rn=Jt==null?void 0:Jt.keywords)==null?void 0:rn.length)>0&<.createElement("div",{style:{marginTop:10,marginBottom:10}},lt.createElement("span",{style:{color:"#5F6368"}},"\u5173\u952E\u8BCD\uFF1A"),(Zt=Jt==null?void 0:Jt.keywords)==null?void 0:Zt.map(qt=>{var dn,hn,dt;return((dn=qt==null?void 0:qt.keyword)==null?void 0:dn.length)>1?((hn=qt==null?void 0:qt.keyword)==null?void 0:hn.join("\u6216"))+"\uFF1B":((dt=qt==null?void 0:qt.keyword)==null?void 0:dt[0])+"\uFF1B"})),lt.createElement("div",{style:{color:"#5F6368"}},lt.createElement("b",null,"\u89E3\u6790:"),lt.createElement("br",null),(Jt==null?void 0:Jt.analysis)||"\u6682\u65E0\u89E3\u6790"))),lt.createElement("div",{style:{textAlign:"end",marginTop:10}},lt.createElement(ie.ZP,{type:"primary",onClick:()=>{bt()}},nn?"\u91CD\u65B0\u7B54\u9898":"\u63D0\u4EA4\u7B54\u6848")),!Lt&<.createElement(ue.Z,null))};var pt=(0,je.connect)(({problemset:yt})=>({problemset:yt}))(vt),mt=Se(59301),St=(yt,wt,Lt)=>new Promise((cn,Vt)=>{var rn=zt=>{try{Jt(Lt.next(zt))}catch(nn){Vt(nn)}},Zt=zt=>{try{Jt(Lt.throw(zt))}catch(nn){Vt(nn)}},Jt=zt=>zt.done?cn(zt.value):Promise.resolve(zt.value).then(rn,Zt);Jt((Lt=Lt.apply(yt,wt)).next())});const xt=({problemset:yt,dispatch:wt})=>{var Lt,cn;const[Vt,rn]=(0,ye.useState)({}),[Zt,Jt]=(0,ye.useState)(!1),[zt,nn]=(0,ye.useState)(!0),[jn,Cn]=(0,ye.useState)("");(0,ye.useEffect)(()=>{var At,bt;if(((At=yt==null?void 0:yt.actionTabs)==null?void 0:At.key)==="COMBINATION"){const sn=(0,he.cloneDeep)((bt=yt==null?void 0:yt.actionTabs)==null?void 0:bt.params);rn(sn)}},[(Lt=yt==null?void 0:yt.actionTabs)==null?void 0:Lt.key]);const Ln=()=>St(void 0,null,function*(){if(!jn){E.ZP.warning("\u8BF7\u60A8\u4F5C\u7B54\u540E\u518D\u63D0\u4EA4");return}Jt(!Zt)}),Ft=()=>{rn({}),nn(!0),Jt(!1),Cn(""),wt({type:"problemset/setActionTabs",payload:{}})};return mt.createElement(pe.default,{centered:!0,destroyOnClose:!0,open:yt.actionTabs.key==="COMBINATION",title:"\u8BD5\u9898\u4F53\u9A8C",okText:Zt?"\u91CD\u65B0\u7B54\u9898":"\u63D0\u4EA4\u7B54\u6848",cancelText:"\u53D6\u6D88",footer:!1,width:708,bodyStyle:{maxHeight:600,overflow:"auto"},onOk:Ln,onCancel:Ft},mt.createElement("div",null,mt.createElement("div",{className:"c-light-primary mb5 font16"},"\u7EC4\u5408\u9898"),mt.createElement(ce.Z,{value:Vt==null?void 0:Vt.name,style:{marginBottom:10}}),(cn=Vt==null?void 0:Vt.sub_item_banks)==null?void 0:cn.map((At,bt)=>{var sn,qt,dn,hn,dt;if((At==null?void 0:At.item_type)==="SINGLE")return mt.createElement(ge,{data:At,showdiv:((sn=Vt==null?void 0:Vt.sub_item_banks)==null?void 0:sn.length)-1===bt});if((At==null?void 0:At.item_type)==="MULTIPLE")return mt.createElement(st,{data:At,showdiv:((qt=Vt==null?void 0:Vt.sub_item_banks)==null?void 0:qt.length)-1===bt});if((At==null?void 0:At.item_type)==="JUDGMENT")return mt.createElement(Ze,{datas:At,showdiv:((dn=Vt==null?void 0:Vt.sub_item_banks)==null?void 0:dn.length)-1===bt});if((At==null?void 0:At.item_type)==="COMPLETION")return mt.createElement(Qe,{datas:At,showdiv:((hn=Vt==null?void 0:Vt.sub_item_banks)==null?void 0:hn.length)-1===bt});if((At==null?void 0:At.item_type)==="SUBJECTIVE")return mt.createElement(pt,{datas:At,showdiv:((dt=Vt==null?void 0:Vt.sub_item_banks)==null?void 0:dt.length)-1===bt})})))};var Mt=(0,je.connect)(({problemset:yt})=>({problemset:yt}))(xt)},74517:function(ct,ot,Se){"use strict";var ye=Se(59301),je=Se(24459),E=Se(8591),pe=Se(43418),he=Se(92832),ce=Se(89392),oe=Se.n(ce),ie=Se(43219),ue=Se(99325),se=Se(72714),ae=Se(59301),re=Object.defineProperty,ne=Object.defineProperties,te=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,b=(ge,fe,me)=>fe in ge?re(ge,fe,{enumerable:!0,configurable:!0,writable:!0,value:me}):ge[fe]=me,ee=(ge,fe)=>{for(var me in fe||(fe={}))y.call(fe,me)&&b(ge,me,fe[me]);if(a)for(var me of a(fe))x.call(fe,me)&&b(ge,me,fe[me]);return ge},z=(ge,fe)=>ne(ge,te(fe)),le=(ge,fe,me)=>new Promise((be,ve)=>{var Pe=Ce=>{try{_e(me.next(Ce))}catch(xe){ve(xe)}},Ee=Ce=>{try{_e(me.throw(Ce))}catch(xe){ve(xe)}},_e=Ce=>Ce.done?be(Ce.value):Promise.resolve(Ce.value).then(Pe,Ee);_e((me=me.apply(ge,fe)).next())});const de=({problemset:ge,dispatch:fe})=>{var me,be;const[ve,Pe]=(0,ye.useState)({}),[Ee,_e]=(0,ye.useState)([]),[Ce,xe]=(0,ye.useState)(!1),we=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];(0,ye.useEffect)(()=>{var Le,Qe,He;if(((Le=ge==null?void 0:ge.actionTabs)==null?void 0:Le.key)==="COMPLETION"){const ze=(0,ce.cloneDeep)((Qe=ge==null?void 0:ge.actionTabs)==null?void 0:Qe.params);Pe(ze),_e((He=ze==null?void 0:ze.standard_answer)==null?void 0:He.map(Ke=>ee({value:"",answer:(Ke==null?void 0:Ke.answer_text)||[]},Ke)))}},[(me=ge==null?void 0:ge.actionTabs)==null?void 0:me.key]);const De=()=>le(void 0,null,function*(){var Le,Qe;if(Ee.some(He=>(He==null?void 0:He.value)==="")){E.ZP.warning("\u8BF7\u60A8\u4F5C\u7B54\u540E\u518D\u63D0\u4EA4");return}if(Ce){const He=(0,ce.cloneDeep)((Le=ge==null?void 0:ge.actionTabs)==null?void 0:Le.params);_e((Qe=He==null?void 0:He.standard_answer)==null?void 0:Qe.map(ze=>ee({value:"",answer:(ze==null?void 0:ze.answer_text)||[]},ze)))}xe(!Ce)}),Oe=(Le,Qe)=>{const He=Ee.map((ze,Ke)=>z(ee({},ze),{value:Ke===Qe?Le.target.value:ze.value}));_e(He)},Fe=()=>{Pe({}),_e([]),xe(!1),fe({type:"problemset/setActionTabs",payload:{}})};return ae.createElement(pe.default,{centered:!0,destroyOnClose:!0,open:ge.actionTabs.key==="COMPLETION",title:"\u8BD5\u9898\u4F53\u9A8C",okText:Ce?"\u91CD\u65B0\u7B54\u9898":"\u63D0\u4EA4\u7B54\u6848",cancelText:"\u53D6\u6D88",width:708,onOk:De,onCancel:Fe},ae.createElement("div",null,ae.createElement("div",{className:"c-light-primary mb5 font16"},"\u586B\u7A7A\u9898"),ae.createElement(ue.Z,{value:ve==null?void 0:ve.name}),Ee==null?void 0:Ee.map((Le,Qe)=>{const{value:He,answer:ze}=Le;let Ke="";return Ce&&(ze!=null&&ze.includes(He))&&(Ke=ie.Z.green),Ce&&!(ze!=null&&ze.includes(He))&&(Ke=ie.Z.red),ae.createElement("div",{key:Qe,style:{pointerEvents:Ce?"none":"auto",marginTop:10},className:`${ie.Z.row} ${Ke}`},ae.createElement("div",{style:{minWidth:80}},"\u586B\u7A7A",Qe+1,"\u7B54\u6848:"),(Le==null?void 0:Le.model)===1?ae.createElement(he.default.TextArea,{className:ie.Z.textArea,style:{width:610,marginRight:10},onChange:Ge=>Oe(Ge,Qe),value:He}):ae.createElement(se.Z,{value:He,onChange:Ge=>{const ke=Ee.map((Ne,Ve)=>z(ee({},Ne),{value:Ve===Qe?Ge:Ne.value}));_e(ke)}}),Ce&&(ze==null?void 0:ze.includes(He))&&ae.createElement("span",{style:{paddingTop:4},className:"iconfont icon-duigou1 font16"}),Ce&&!(ze!=null&&ze.includes(He))&&ae.createElement("span",{style:{fontWeight:600,paddingTop:5},className:"iconfont icon-guanbi font16"}))}),Ce&&ae.createElement(ye.Fragment,null,ae.createElement("div",{className:ie.Z.line}),(be=ve==null?void 0:ve.standard_answer)==null?void 0:be.map((Le,Qe)=>{var He,ze;return ae.createElement("div",{className:"c-grey-333 mb5"},ae.createElement("b",null,"\u586B\u7A7A",Qe+1,"\u7B54\u6848:\xA0"),(Le==null?void 0:Le.model)===1?((He=Le==null?void 0:Le.answer_text)==null?void 0:He.join("\u3001"))||"":ae.createElement(se.Z,{value:(ze=Le==null?void 0:Le.answer_text)==null?void 0:ze.join("\u3001"),disabled:!0}))}),ae.createElement("div",{className:"c-grey-333 mb10"},ae.createElement("b",null,"\u89E3\u6790:\xA0"),(ve==null?void 0:ve.analysis)||"\u6682\u65E0\u89E3\u6790"))))};ot.Z=(0,je.connect)(({problemset:ge})=>({problemset:ge}))(de)},64634:function(ct,ot,Se){"use strict";var ye=Se(59301),je=Se(24459),E=Se(8591),pe=Se(43418),he=Se(5112),ce=Se(89392),oe=Se.n(ce),ie=Se(43219),ue=Se(99325),se=Object.defineProperty,ae=Object.defineProperties,re=Object.getOwnPropertyDescriptors,ne=Object.getOwnPropertySymbols,te=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,y=(le,de,ge)=>de in le?se(le,de,{enumerable:!0,configurable:!0,writable:!0,value:ge}):le[de]=ge,x=(le,de)=>{for(var ge in de||(de={}))te.call(de,ge)&&y(le,ge,de[ge]);if(ne)for(var ge of ne(de))a.call(de,ge)&&y(le,ge,de[ge]);return le},b=(le,de)=>ae(le,re(de)),ee=(le,de,ge)=>new Promise((fe,me)=>{var be=Ee=>{try{Pe(ge.next(Ee))}catch(_e){me(_e)}},ve=Ee=>{try{Pe(ge.throw(Ee))}catch(_e){me(_e)}},Pe=Ee=>Ee.done?fe(Ee.value):Promise.resolve(Ee.value).then(be,ve);Pe((ge=ge.apply(le,de)).next())});const z=({problemset:le,dispatch:de})=>{var ge,fe;const[me,be]=(0,ye.useState)({}),[ve,Pe]=(0,ye.useState)([]),[Ee,_e]=(0,ye.useState)(!1),Ce=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];(0,ye.useEffect)(()=>{var Oe,Fe;if(((Oe=le==null?void 0:le.actionTabs)==null?void 0:Oe.key)==="JUDGMENT"){const Le=(0,ce.cloneDeep)((Fe=le==null?void 0:le.actionTabs)==null?void 0:Fe.params);be(Le),Pe(Le.choices)}},[(ge=le==null?void 0:le.actionTabs)==null?void 0:ge.key]);const xe=()=>ee(void 0,null,function*(){var Oe;if(!ve.some(Fe=>Fe==null?void 0:Fe.checked)){E.ZP.warning("\u8BF7\u60A8\u4F5C\u7B54\u540E\u518D\u63D0\u4EA4");return}if(Ee){const Fe=(0,ce.cloneDeep)((Oe=le==null?void 0:le.actionTabs)==null?void 0:Oe.params);Pe(Fe.choices)}_e(!Ee)}),we=(Oe,Fe)=>{console.log(Oe.target.checked);const Le=ve.map((Qe,He)=>b(x({},Qe),{checked:He===Fe?Oe.target.checked:!1}));Pe(Le)},De=()=>{be({}),Pe([]),_e(!1),de({type:"problemset/setActionTabs",payload:{}})};return ye.createElement(pe.default,{centered:!0,destroyOnClose:!0,open:le.actionTabs.key==="JUDGMENT",title:"\u8BD5\u9898\u4F53\u9A8C",okText:Ee?"\u91CD\u65B0\u7B54\u9898":"\u63D0\u4EA4\u7B54\u6848",cancelText:"\u53D6\u6D88",width:708,onOk:xe,onCancel:De},ye.createElement("div",null,ye.createElement("div",{className:"c-light-primary mb5 font16"},"\u5224\u65AD\u9898"),ye.createElement(ue.Z,{value:me==null?void 0:me.name}),ve==null?void 0:ve.map((Oe,Fe)=>{const{is_answer:Le,checked:Qe,choice_text:He}=Oe;let ze="";return Ee&&Le&&(ze=ie.Z.green),Ee&&!Le&&Qe&&(ze=ie.Z.red),ye.createElement("div",{key:Fe,style:{pointerEvents:Ee?"none":"auto"},className:`${ie.Z.row} ${ze}`},ye.createElement(he.ZP,{onChange:Ke=>we(Ke,Fe),checked:Qe}),ye.createElement(ue.Z,{className:ie.Z.html,value:He}),Ee&&Le&&ye.createElement("span",{style:{paddingTop:4},className:"iconfont icon-duigou1 font16"}),Ee&&!Le&&Qe&&ye.createElement("span",{style:{fontWeight:600,paddingTop:5},className:"iconfont icon-guanbi font16"}))}),Ee&&ye.createElement(ye.Fragment,null,ye.createElement("div",{className:ie.Z.line}),ye.createElement("div",{className:"c-grey-333 mb5"},ye.createElement("b",null,"\u6B63\u786E\u7B54\u6848:\xA0"),(fe=ve.find(Oe=>Oe.is_answer))==null?void 0:fe.choice_text),ye.createElement("div",{className:"c-grey-333 mb10"},ye.createElement("b",null,"\u89E3\u6790:\xA0"),(me==null?void 0:me.analysis)||"\u6682\u65E0\u89E3\u6790"))))};ot.Z=(0,je.connect)(({problemset:le})=>({problemset:le}))(z)},41808:function(ct,ot,Se){"use strict";var ye=Se(59301),je=Se(24459),E=Se(8591),pe=Se(43418),he=Se(24905),ce=Se(89392),oe=Se.n(ce),ie=Se(43219),ue=Se(99325),se=Object.defineProperty,ae=Object.defineProperties,re=Object.getOwnPropertyDescriptors,ne=Object.getOwnPropertySymbols,te=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,y=(le,de,ge)=>de in le?se(le,de,{enumerable:!0,configurable:!0,writable:!0,value:ge}):le[de]=ge,x=(le,de)=>{for(var ge in de||(de={}))te.call(de,ge)&&y(le,ge,de[ge]);if(ne)for(var ge of ne(de))a.call(de,ge)&&y(le,ge,de[ge]);return le},b=(le,de)=>ae(le,re(de)),ee=(le,de,ge)=>new Promise((fe,me)=>{var be=Ee=>{try{Pe(ge.next(Ee))}catch(_e){me(_e)}},ve=Ee=>{try{Pe(ge.throw(Ee))}catch(_e){me(_e)}},Pe=Ee=>Ee.done?fe(Ee.value):Promise.resolve(Ee.value).then(be,ve);Pe((ge=ge.apply(le,de)).next())});const z=({problemset:le,dispatch:de})=>{var ge;const[fe,me]=(0,ye.useState)({}),[be,ve]=(0,ye.useState)([]),[Pe,Ee]=(0,ye.useState)(!1),_e=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];(0,ye.useEffect)(()=>{var Oe,Fe;if(((Oe=le==null?void 0:le.actionTabs)==null?void 0:Oe.key)==="MULTIPLE"){const Le=(0,ce.cloneDeep)((Fe=le==null?void 0:le.actionTabs)==null?void 0:Fe.params);me(Le),ve(Le.choices)}},[(ge=le==null?void 0:le.actionTabs)==null?void 0:ge.key]);const Ce=()=>ee(void 0,null,function*(){var Oe;if(!be.some(Fe=>Fe==null?void 0:Fe.checked)){E.ZP.warning("\u8BF7\u60A8\u4F5C\u7B54\u540E\u518D\u63D0\u4EA4");return}if(Pe){const Fe=(0,ce.cloneDeep)((Oe=le==null?void 0:le.actionTabs)==null?void 0:Oe.params);ve(Fe.choices)}Ee(!Pe)}),xe=(Oe,Fe)=>{console.log(Oe.target.checked);const Le=be.map((Qe,He)=>b(x({},Qe),{checked:He===Fe?Oe.target.checked:Qe.checked}));ve(Le)},we=()=>{me({}),ve([]),Ee(!1),de({type:"problemset/setActionTabs",payload:{}})},De=()=>{let Oe="";return be.forEach((Fe,Le)=>{Fe.is_answer&&(Oe=Oe+_e[Le])}),Oe};return ye.createElement(pe.default,{centered:!0,destroyOnClose:!0,open:le.actionTabs.key==="MULTIPLE",title:"\u8BD5\u9898\u4F53\u9A8C",okText:Pe?"\u91CD\u65B0\u7B54\u9898":"\u63D0\u4EA4\u7B54\u6848",cancelText:"\u53D6\u6D88",width:708,onOk:Ce,onCancel:we},ye.createElement("div",null,ye.createElement("div",{className:"c-light-primary mb5 font16"},"\u591A\u9009\u9898"),ye.createElement(ue.Z,{value:fe==null?void 0:fe.name}),be==null?void 0:be.map((Oe,Fe)=>{const{is_answer:Le,checked:Qe,choice_text:He}=Oe;let ze="";return Pe&&Le&&(ze=ie.Z.green),Pe&&!Le&&Qe&&(ze=ie.Z.red),ye.createElement("div",{key:Fe,style:{pointerEvents:Pe?"none":"auto"},className:`${ie.Z.row} ${ze}`},ye.createElement(he.default,{style:{padding:3},onChange:Ke=>xe(Ke,Fe),checked:Qe}),ye.createElement("span",null,_e[Fe],".\xA0"),ye.createElement(ue.Z,{className:ie.Z.html,value:He}),Pe&&Le&&ye.createElement("span",{style:{paddingTop:4},className:"iconfont icon-duigou1 font16"}),Pe&&!Le&&Qe&&ye.createElement("span",{style:{fontWeight:600,paddingTop:5},className:"iconfont icon-guanbi font16"}))}),Pe&&ye.createElement(ye.Fragment,null,ye.createElement("div",{className:ie.Z.line}),ye.createElement("div",{className:"c-grey-333 mb5"},ye.createElement("b",null,"\u6B63\u786E\u7B54\u6848:\xA0"),De()),ye.createElement("div",{className:"c-grey-333 mb10"},ye.createElement("b",null,"\u89E3\u6790:\xA0"),(fe==null?void 0:fe.analysis)||"\u6682\u65E0\u89E3\u6790"))))};ot.Z=(0,je.connect)(({problemset:le})=>({problemset:le}))(z)},49417:function(ct,ot,Se){"use strict";var ye=Se(59301),je=Se(24459),E=Se(8591),pe=Se(43418),he=Se(5112),ce=Se(89392),oe=Se.n(ce),ie=Se(43219),ue=Se(99325),se=Se(59301),ae=Object.defineProperty,re=Object.defineProperties,ne=Object.getOwnPropertyDescriptors,te=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable,x=(de,ge,fe)=>ge in de?ae(de,ge,{enumerable:!0,configurable:!0,writable:!0,value:fe}):de[ge]=fe,b=(de,ge)=>{for(var fe in ge||(ge={}))a.call(ge,fe)&&x(de,fe,ge[fe]);if(te)for(var fe of te(ge))y.call(ge,fe)&&x(de,fe,ge[fe]);return de},ee=(de,ge)=>re(de,ne(ge)),z=(de,ge,fe)=>new Promise((me,be)=>{var ve=_e=>{try{Ee(fe.next(_e))}catch(Ce){be(Ce)}},Pe=_e=>{try{Ee(fe.throw(_e))}catch(Ce){be(Ce)}},Ee=_e=>_e.done?me(_e.value):Promise.resolve(_e.value).then(ve,Pe);Ee((fe=fe.apply(de,ge)).next())});const le=({problemset:de,dispatch:ge})=>{var fe;const[me,be]=(0,ye.useState)({}),[ve,Pe]=(0,ye.useState)([]),[Ee,_e]=(0,ye.useState)(!1),Ce=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];(0,ye.useEffect)(()=>{var Oe,Fe;if(((Oe=de==null?void 0:de.actionTabs)==null?void 0:Oe.key)==="SINGLE"){const Le=(0,ce.cloneDeep)((Fe=de==null?void 0:de.actionTabs)==null?void 0:Fe.params);be(Le),Pe(Le.choices)}},[(fe=de==null?void 0:de.actionTabs)==null?void 0:fe.key]);const xe=()=>z(void 0,null,function*(){var Oe;if(!ve.some(Fe=>Fe==null?void 0:Fe.checked)){E.ZP.warning("\u8BF7\u60A8\u4F5C\u7B54\u540E\u518D\u63D0\u4EA4");return}if(Ee){const Fe=(0,ce.cloneDeep)((Oe=de==null?void 0:de.actionTabs)==null?void 0:Oe.params);Pe(Fe.choices)}_e(!Ee)}),we=(Oe,Fe)=>{console.log(Oe.target.checked);const Le=ve.map((Qe,He)=>ee(b({},Qe),{checked:He===Fe?Oe.target.checked:!1}));Pe(Le)},De=()=>{be({}),Pe([]),_e(!1),ge({type:"problemset/setActionTabs",payload:{}})};return se.createElement(pe.default,{centered:!0,destroyOnClose:!0,open:de.actionTabs.key==="SINGLE",title:"\u8BD5\u9898\u4F53\u9A8C",okText:Ee?"\u91CD\u65B0\u7B54\u9898":"\u63D0\u4EA4\u7B54\u6848",cancelText:"\u53D6\u6D88",width:708,onOk:xe,onCancel:De},se.createElement("div",null,se.createElement("div",{className:"c-light-primary mb5 font16"},"\u5355\u9009\u9898"),se.createElement(ue.Z,{value:me==null?void 0:me.name}),ve==null?void 0:ve.map((Oe,Fe)=>{const{is_answer:Le,checked:Qe,choice_text:He}=Oe;let ze="";return Ee&&Le&&(ze=ie.Z.green),Ee&&!Le&&Qe&&(ze=ie.Z.red),se.createElement("div",{key:Fe,style:{pointerEvents:Ee?"none":"auto"},className:`${ie.Z.row} ${ze}`},se.createElement(he.ZP,{onChange:Ke=>we(Ke,Fe),checked:Qe}),se.createElement("span",null,Ce[Fe],".\xA0"),se.createElement(ue.Z,{className:ie.Z.html,value:He}),Ee&&Le&&se.createElement("span",{style:{paddingTop:4},className:"iconfont icon-duigou1 font16"}),Ee&&!Le&&Qe&&se.createElement("span",{style:{fontWeight:600,paddingTop:5},className:"iconfont icon-guanbi font16"}))}),Ee&&se.createElement(ye.Fragment,null,se.createElement("div",{className:ie.Z.line}),se.createElement("div",{className:"c-grey-333 mb5"},se.createElement("b",null,"\u6B63\u786E\u7B54\u6848:\xA0"),Ce[ve.findIndex(Oe=>Oe.is_answer)]),se.createElement("div",{className:"c-grey-333 mb10"},se.createElement("b",null,"\u89E3\u6790:\xA0"),(me==null?void 0:me.analysis)||"\u6682\u65E0\u89E3\u6790"))))};ot.Z=(0,je.connect)(({problemset:de})=>({problemset:de}))(le)},35503:function(ct,ot,Se){"use strict";var ye=Se(59301),je=Se(24459),E=Se(8591),pe=Se(43418),he=Se(89392),ce=Se.n(he),oe=Se(43219),ie=Se(99325),ue=Se(64726),se=Se(59301),ae=(ne,te,a)=>new Promise((y,x)=>{var b=le=>{try{z(a.next(le))}catch(de){x(de)}},ee=le=>{try{z(a.throw(le))}catch(de){x(de)}},z=le=>le.done?y(le.value):Promise.resolve(le.value).then(b,ee);z((a=a.apply(ne,te)).next())});const re=({problemset:ne,dispatch:te})=>{var a,y,x,b,ee;const[z,le]=(0,ye.useState)({}),[de,ge]=(0,ye.useState)(!1),[fe,me]=(0,ye.useState)(!0),[be,ve]=(0,ye.useState)("");(0,ye.useEffect)(()=>{var _e,Ce;if(((_e=ne==null?void 0:ne.actionTabs)==null?void 0:_e.key)==="SUBJECTIVE"){const xe=(0,he.cloneDeep)((Ce=ne==null?void 0:ne.actionTabs)==null?void 0:Ce.params);le(xe)}},[(a=ne==null?void 0:ne.actionTabs)==null?void 0:a.key]);const Pe=()=>ae(void 0,null,function*(){if(!be){E.ZP.warning("\u8BF7\u60A8\u4F5C\u7B54\u540E\u518D\u63D0\u4EA4");return}de&&ve(""),ge(!de)}),Ee=()=>{le({}),me(!0),ge(!1),ve(""),te({type:"problemset/setActionTabs",payload:{}})};return console.log("----",de),se.createElement(pe.default,{centered:!0,destroyOnClose:!0,open:ne.actionTabs.key==="SUBJECTIVE",title:"\u8BD5\u9898\u4F53\u9A8C",okText:de?"\u91CD\u65B0\u7B54\u9898":"\u63D0\u4EA4\u7B54\u6848",cancelText:"\u53D6\u6D88",width:800,onOk:Pe,bodyStyle:{maxHeight:600,overflow:"auto"},onCancel:Ee},se.createElement("div",null,se.createElement("div",{className:"c-light-primary mb5 font16"},"\u7B80\u7B54\u9898"),se.createElement(ie.Z,{value:z==null?void 0:z.name,style:{marginBottom:10,color:"#5f6368"}}),fe?se.createElement("div",{style:{border:"1px solid #f1f1f1",padding:10},onClick:()=>{me(!1)}}," \u70B9\u51FB\u5F00\u59CB\u4F5C\u7B54"):se.createElement(ue.Z,{height:160,defaultValue:be,onChange:_e=>{ve(_e)}}),de&&se.createElement(ye.Fragment,null,se.createElement("div",{className:oe.Z.line}),se.createElement("span",{style:{color:"#5F6368"}},"\u53C2\u8003\u7B54\u6848\uFF1A"),se.createElement("div",{style:{marginTop:10}},((y=z==null?void 0:z.answer_texts)==null?void 0:y[0])||"\u6682\u65E0\u53C2\u8003\u7B54\u6848"),((x=z==null?void 0:z.keywords)==null?void 0:x.length)>0&&se.createElement("div",{style:{marginTop:10,marginBottom:10}},se.createElement("span",{style:{color:"#5F6368"}},"\u5173\u952E\u8BCD\uFF1A"),(b=z==null?void 0:z.keywords)==null?void 0:b.map(_e=>{var Ce,xe,we;return((Ce=_e==null?void 0:_e.keyword)==null?void 0:Ce.length)>1?((xe=_e==null?void 0:_e.keyword)==null?void 0:xe.join("\u6216"))+"\uFF1B":((we=_e==null?void 0:_e.keyword)==null?void 0:we[0])+"\uFF1B"})),se.createElement("div",{style:{color:"#5F6368",marginTop:((ee=z==null?void 0:z.keywords)==null?void 0:ee.length)<=0?20:10}},se.createElement("b",null,"\u89E3\u6790:")),se.createElement("div",{style:{marginTop:10,color:"#9096A3"}},(z==null?void 0:z.analysis)||"\u6682\u65E0\u89E3\u6790"))))};ot.Z=(0,je.connect)(({problemset:ne})=>({problemset:ne}))(re)},96401:function(ct,ot,Se){"use strict";Se.d(ot,{N:function(){return z},Z:function(){return le}});var ye=Se(59301),je=Se(99325),E=Se(5112),pe=Se(6848),he=Se(95237),ce=Se(43604),oe=Se(24905),ie=Se(20834),ue=Se(38854),se={flex_box_center:"flex_box_center___K3pXk",flex_space_between:"flex_space_between___JNXiy",flex_box_vertical_center:"flex_box_vertical_center___lX_K7",flex_box_center_end:"flex_box_center_end___ESJAL",flex_box_column:"flex_box_column___nMTYm",line:"line___cNtUM",b1:"b1___xIRxk",b2:"b2___N5uit",list:"list___SBMGo",title:"title___zQP91",tr:"tr___uaxLL",itemDetail:"itemDetail___Ye51x",answerWrapper:"answerWrapper___WJAPa",decoration:"decoration___fOLFB",row:"row___FvSRM",typeRow:"typeRow___qpDsw",type:"type___a8Bs6",typeName:"typeName___EfvMr",typeIcon:"typeIcon___XnhBc",unpublished:"unpublished___h3A34",private:"private___Ok_kP",public:"public___V5_HF",reviewFlag:"reviewFlag___MWDMc",typeRightAction:"typeRightAction___zwJ4e",actionLink:"actionLink___XxdsL",actionIcon:"actionIcon___YoZs8",topicTitle:"topicTitle___TXfB_",topicTitleContent:"topicTitleContent___MceUW",judgmentContent:"judgmentContent___Adte7",programContent:"programContent___R8AFa",otherContent:"otherContent___CNAVC",combinationContent:"combinationContent___NWKpD",con:"con___MJkTE",otherContentItem:"otherContentItem___sXGMT",otehrContentHtml:"otehrContentHtml___MKkjT",difficultyRow:"difficultyRow___E6YVK",updateTimeRow:"updateTimeRow___MPFJY",updateTimeWrap:"updateTimeWrap___iIz5W",updateTimeContent:"updateTimeContent___CpqJg",programLanguage:"programLanguage___lku0d",updateTimeRowAction:"updateTimeRowAction___Y6grB",bottomAction:"bottomAction___sQwM3",borderColorBlue:"borderColorBlue___vZe0j",borderColorRed:"borderColorRed___GPm9E",borderColorFFF:"borderColorFFF___izaeA",borderColorGray:"borderColorGray___WdIyN",selectIcon:"selectIcon___I35Ch",colorGreen:"colorGreen___yFw84",parseAnswerBorder:"parseAnswerBorder___tmhXi",answer:"answer___c9YYj",answerHtml:"answerHtml___sp4Xx",parse:"parse___Lif5r",parseText:"parseText___KMhnK",parseAnswer:"parseAnswer___aFs0o",parseAnswerHtml:"parseAnswerHtml___AfP6o",actionBar:"actionBar___Q6e1E",know:"know___EtJbV",menu:"menu___ODbWA",bottom:"bottom___yLg8j",textBtn:"textBtn___p8TrW"},ae=Se(73898),re="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAACMgAAAA6CAYAAABPwffJAAAAAXNSR0IArs4c6QAAH35JREFUeF7t3Q2MZWV9x/H/c849d17uzL6y7K4M76xLNIAKoiBQak0oRgsiYKyxUEq0LwZLYmqa0hqtpi8xodam1daKRFtbRITYBmlspRBBAXmRaHddsCyO7Bsssztzd2buveec5jl37jC7bN155l7OL7P3ewmZfTnn+Z37+f9nsjn3n+c4W8JrfHx8bGam9ZfNZutif3q1Wrl3YKDyB2NjY+NLWC74FHV+8AVzQlcC6nqr87vC4+RgAXW91fnBYJyAAAIIIIAAAggggAACCCCAAAIIIIAAAggggAACpr6/r86nBcoVUNdbnV+uNmnqevcy34WW84knto0513giz22NWef03P9qb27Vs846a9MrOiSjzg/14vjuBNT1Vud3p8fZoQLqeqvzQ704HgEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBMzU9/fV+fRAuQLqeqvzy9UmTV3vXucHD8g88shj/2zm3ttoNOa7wZmzJEnMnPvqOeec9euvZJuo81/J98baLxdQ11udT0+UK6Cutzq/XG3SEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBA4OgTU9/fV+UdHFZfPu1DXW52/fCp1dFyput69zg8ekLnvvu8+l+e28XDldM52XHTRW171SpZanf9KvjfWfrmAut7qfHqiXAF1vdX55WqThgACCCCAAAIIIIAAAggggAACCCCAAAIIIIDA0SGgvr+vzj86qrh83oW63ur85VOpo+NK1fXudX7wgMy3v31vnue5NZtNc84sz9sPWkqq1aLCb3vbxcFrhrSGOj/kWjm2ewF1vdX53QuyQoiAut7q/BArjkUAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAIG2gPr+vjqfPihXQF1vdX652qSp693r/OBhlrvu+ve8PRiTmx+N6QzJtFsjt8sue0fwmiFtpc4PuVaO7V5AXW91fveCrBAioK63Oj/EimMRQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEECgLaC+v6/Opw/KFVDXW51frjZp6nr3Oj94mOX22+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ZC3mi3Lbe65SvM94axaTeyzn/1M8JohbaXOD7lWju1eQF1vdX73gqwQIqCutzo/xIpjEUAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAoC2gvr+vzqcPyhVQ11udX642aep69zo/eJjluuuuf2kyxv/KrzD3Nc9zu+WWfwxeM6St1Pkh18qx3Quo663O716QFUIE1PVW54dYcSwCCCCAAAIIIIAAAggggAACCCCAAAIIIIAAAgi0BdT399X59EG5Aup6q/PL1SZNXe9e5wcPs7z//dfkzUbjoP1j/COX/KOWqtWqffnLtwavGdJW6vyQa+XY7gXU9Vbndy/ICiEC6nqr80OsOBYBBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQTaAur7++p8+qBcAXW91fnlapOmrnev84OHWa644sp8fsuY+X7obCrj7I47bg9eM6St1Pkh18qx3Quo663O716QFUIE1PVW54dYcSwCCCCAAAIIIIAAAggggAACCCCAAAIIIIAAAgi0BdT399X59EG5Aup6q/PL1SZNXe9e5wcPs7zjHb+Wt1rNYseY9is359z8DjLf/OZdwWuGtJU6P+RaObZ7AXW91fndC7JCiIC63ur8ECuORQABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAgbaA+v6+Op8+KFdAXW91frnapKnr3ev84GGWSy65NG82m0UnNJuN4muSJMVX/4ilb33r7uA1Q9pKnR9yrRzbvYC63ur87gVZIURAXW91fogVxyKAAAIIIIAAAggggAACCCCAAAIIIIAAAggggEBbQH1/X51PH5QroK63Or9cbdLU9e51fvAwy4UXXpT73WP8kIxzZv43fgeZJKkWu8ncf/99wWuGtJU6P+RaObZ7AXW91fndC7JCiIC63ur8ECuORQABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAgbaA+v6+Op8+KFdAXW91frnapKnr3ev84GGWN73pzXmr1SoGYzo7yfgdZPyQTKVSse9//3vBa4a0lTo/5Fo5tnsBdb3V+d0LskKIgLre6vwQK45FAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQACBtoD6/r46nz4oV0Bdb3V+udqkqevd6/zgYZazzz4nbzQaxXBMsXuM74liB5mk2EXm0UcfCV4zpK3U+SHXyrHdC6jrrc7vXpAVQgTU9Vbnh1hxLAIIIIAAAggggAACCCCAAAIIIIAAAggggAACCLQF1Pf31fn0QbkC6nqr88vVJk1d717nBw+zbN58et7ZOabZbPjpGKtWE/OPXapWq7Zly/8ErxnSVur8kGvl2O4F1PVW53cvyAohAup6q/NDrDgWAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEE2gLq+/vqfPqgXAF1vdX55WqTpq53r/ODh1lOOeXUYkCmMyRjls8Px/gBmaeffip4zZC2UueHXCvHdi+grrc6v3tBVggRUNdbnR9ixbEIIIAAAggggAACCCCAAAIIIIAAAggggAACCCDQFlDf31fn0wflCqjrrc4vV5s0db17nR88zOIv4MCBujUafkimYa7zeKVKYsO1mv30p08HrxnSVur8kGvl2O4F1PVW53cvyAohAup6q/NDrDgWAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEE2gLq+/vqfPqgXAF1vdX55WqTpq53r/MXNcyS57m75557Vq9atfbCq656951+95h6fWp+F5kkqVqtVrMkSexrX/v65RMTL9x/ySWXvOicy3vRMur8XrwH1li8gLre6vzFS3FkLwTU9Vbn98KQNRBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQ6DcB9f19dX6/1Vv9ftX1Vuer/fstX13vVzL//x2Q8aG+0HfffXd1zbp1v3rssSe8rzay4opzXrc5rtfr1mo1bWpqqthBZnh42DpDMo88vjWtT+2/Y/fuZ/9p754937r00ksbfp3QYRl1fr81ufr9quutzlf791u+ut7q/H6rN+8XAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAIFeCKjv76vze2HIGosXUNdbnb94KY7shYC63mXlH3ZAphN+7733Dqw5ZsONGzae9Ie55aMe9o2vP714tJIfkvE7yZi5YueYzg4yDz+2pfB35iZ37njmz/ZPPP+5Cy64YKL4s0XuKKPO70UDscbiBdT1VucvXoojeyGgrrc6vxeGrIEAAggggAACCCCAAAIIIIA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AfX9fnd8LQ9ZYvIC63ur8xUtxZC8E1PVW5i8ckInMLN761M/+YuWqtb/fGY7ZvXunfeHzf21xHFujMWNbtmwthmOKV95+XtLcnIxVk6q9evMmGxgYsjRN7foP3mDHHrth/ph9Ey/81ebTjv+omaULd5HpTAep8nvRRKyxeAF1vdX5i5fiyF4IqOutzu+FIWsggAACCCCAAAIIIIAAAggggAACCCCAAAIIINBvAur7++r8fqu3+v2q663OV/v3W7663sp8t2A6J37ooR+OverEE2+pxMkv5Zkffsnt3v+6x3705GOWZZkdODBlW7duKwZiGg0/JFOMx8w/Zsn/+aZNp1mtNup3jLHXnvF6u/itlxSPWHKRWStt/vdz27f/5rnnnjk+NyTjF/Avv4gk/9BHPfVb85f9fuk31+n5sun7Mo9+o9/6svF50wgggAACCCCAAAIIIIAAAggggAACCCCAAAJdCfD5Ap8vdNVAgSfTb/RbYMt0dXjf99vC6Zz77ntw8+mvOesbae5OzX0fZpnd/q9ftqmpSZua2metZtOeeeZZm56ents1xhWPW2rvIONscHDQTjrpBKskiY2MrLSRkVG78j3v989XMpc7i13+9JYfP/Guiy46b2tnF5m56hW71yjyGZDp6vsn+GT6jR/wwU3TxQn0G/3WRftwKgIIIIAAAggggAACCCCAAAIIIIAAAggggECfCvD5Ap8vlNn69Bv9Rr+VN5/S2UEmesYs2fPw4284/uTN/2FZXsssszxzdvttXzLnnL3w/K5iGGbHjp02NVW3RmN2buMXX67cqtWqjYyM2MaNG4rdY9asPbb483dfda25KLfIIrPI1Z956keXbHjzOT84ycxvQZN1BmRU+QzIlPntZr6H/DgV/VYue9+m0W/8g6Jvm583jgACCCCAAAIIIIAAAggggAACCCCAAAIIILBkAT5f4POFJTfPEk6k3+i3JbTNkk/p+36bA4jHxy3Z/txD55x2ypl3Z3lWy/PMbyBjd//bbRZFse3e9VzxmKVWq1XsIpOmaTEw419+gMYPxZx88olWqVSK36/fcFxxzNvfebXfQMaciyxyUX3rTx59+yknnP/w2FgxIJPOVU6Wz4DMkr93lnQi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2wanWmnjQrUdJqumQ4GozrrcmKa7j2I5qqeV6rjLYOZDNpJcmbSStrNgZrzYFZa8yus3TMzA/HFI9VOtxwTKfq6nxZ9/VpsLre6vw+Lbvsbavrrc6XwROMAAIIIIAAAggggAACCCCAAAIIIIAAAggggMAyFlDf31fnL+PSLctLV9dbnb8si7aML1pdb0X+QQMyvnaHXIT/e//IpUqlYlGSWKUeT8Zx3UVx7IrdYzqvNM3TtJZntXQ0bTat1WpZtnHjwYMxv2g4prOOOn8Z9++yvHR1vdX5y7Joy/ii1fVW5y/j0nHpCCCAAAIIIIAAAggggAACCCCAAAIIIIAAAgjIBNT399X5Mvg+DVbXW53fp2WXvW11vcvOf9mAjJefuwj/y84jl6LOr8fHLYpjc1FU/N38K8ssT1PLx8Ze2ilm4a4xxWLO+R1kjvhS5x/xAjmgpwLqeqvze4rJYkcUUNdbnX9EIA5AAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQACBlwmo7++r82mJcgXU9Vbnl6tNmrreZeYfdkDGt8CCi/C/7QzKHPrrQ7uleITS3B8u/PWih2M6C6rz+TYoV0Bdb3V+udqkqeutzqcDEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAIFxAfX9fnR8uxhndCKjrrc7vxo5zwwXU9S4r//8dkFlIdsjFdP7q0HNftjvMYneMOVJ51PlHuj7+vrcC6nqr83uryWpHElDXW51/JB/+HgEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBF4uoL6/r86nJ8oVUNdbnV+uNmnqer+S+f8HabRiLm3R4IUAAAAASUVORK5CYII=",ne=Se(24334),te=Se(72714),a=Se(88230),y=Se(50484);const x=["A\uFF0E","B\uFF0E","C\uFF0E","D\uFF0E","E\uFF0E","F\uFF0E","G\uFF0E","H\uFF0E","I\uFF0E","J\uFF0E","K\uFF0E","L\uFF0E","M\uFF0E","N\uFF0E","O\uFF0E","P\uFF0E","Q\uFF0E","R\uFF0E","S\uFF0E","T\uFF0E","U\uFF0E","V\uFF0E","W\uFF0E","X\uFF0E","Y\uFF0E","Z\uFF0E"],b=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],ee=({data:de,selectIds:ge,onSelectCheckBox:fe=()=>{},showCheckbox:me=!0})=>{var be,ve,Pe;const[Ee,_e]=(0,ye.useState)(!1),Ce=()=>{var Oe,Fe;return de.item_type==="JUDGMENT"?ye.createElement("div",{className:se.judgmentContent},de.choices.map((Le,Qe)=>ye.createElement(E.ZP,{key:Qe,disabled:!0},Le.choice_text))):de.item_type==="PROGRAM"?ye.createElement("div",{className:se.programContent},ye.createElement(je.Z,{value:(Oe=de.program_attr)==null?void 0:Oe.description})):de.item_type==="COMBINATION"?ye.createElement("div",{className:se.combinationContent},(Fe=de==null?void 0:de.sub_item_banks)==null?void 0:Fe.map((Le,Qe)=>{var He,ze,Ke,Ge,ke,Ne;const Ve=`(\u9898\u76EE${Qe+1}-${(Le==null?void 0:Le.item_type)=="SINGLE"?"\u5355\u9009\u9898":(Le==null?void 0:Le.item_type)=="MULTIPLE"?"\u591A\u9009\u9898":(Le==null?void 0:Le.item_type)=="COMPLETION"?"\u586B\u7A7A\u9898":(Le==null?void 0:Le.item_type)=="JUDGMENT"?"\u5224\u65AD\u9898":"\u7B80\u7B54\u9898"}) `;return ye.createElement(ye.Fragment,null,ye.createElement("div",{style:{marginTop:10,marginBottom:10}},ye.createElement(je.Z,{value:Ve+Le.name})),((Le==null?void 0:Le.item_type)=="SINGLE"||(Le==null?void 0:Le.item_type)=="MULTIPLE")&&Le.choices.map((Je,rt)=>ye.createElement("div",{key:rt,className:se.otherContentItem},ye.createElement("p",null,x[rt]),ye.createElement(je.Z,{className:se.otehrContentHtml,value:Je.choice_text}))),(Le==null?void 0:Le.item_type)=="JUDGMENT"&&ye.createElement("div",{style:{display:"flex",marginBottom:10}},Le.choices.map((Je,rt)=>ye.createElement(E.ZP,{key:rt,disabled:!0},Je.choice_text))),ye.createElement("div",{className:se.con},(Le==null?void 0:Le.item_type)=="SINGLE"&&ye.createElement("b",{className:"c-grey-333 font14"}," \u7B54\u6848\uFF1A",b==null?void 0:b[(He=Le==null?void 0:Le.choices)==null?void 0:He.findIndex(Je=>Je==null?void 0:Je.is_answer)]," "),(Le==null?void 0:Le.item_type)=="COMPLETION"&&((ze=Le==null?void 0:Le.standard_answer)==null?void 0:ze.map((Je,rt)=>{var Ye;return ye.createElement("div",{key:rt,className:se.answerHtml},`\u7B54\u6848\uFF08\u586B\u7A7A${Je.position}\uFF09\uFF1A${(Ye=Je==null?void 0:Je.answer_text)==null?void 0:Ye.join("\u3001")}`)})),(Le==null?void 0:Le.item_type)=="MULTIPLE"&&ye.createElement("b",{className:"c-grey-333 font14"}," \u7B54\u6848\uFF1A",(Ke=Le==null?void 0:Le.choices)==null?void 0:Ke.map((Je,rt)=>{if(Je!=null&&Je.is_answer)return(b==null?void 0:b[rt])+" "})," "),(Le==null?void 0:Le.item_type)=="JUDGMENT"&&ye.createElement("div",null,"\u7B54\u6848\uFF1A",(ke=(Ge=Le==null?void 0:Le.choices)==null?void 0:Ge.find(Je=>Je.is_answer))==null?void 0:ke.choice_text),(Le==null?void 0:Le.item_type)=="SUBJECTIVE"&&ye.createElement("div",null,"\u7B54\u6848\uFF1A",(Ne=Le==null?void 0:Le.answer_texts)==null?void 0:Ne[0]),ye.createElement("div",null,ye.createElement("span",null,"\u89E3\u6790\uFF1A"),ye.createElement(je.Z,{className:se.parseAnswerHtml,value:Le.analysis||"\u6682\u65E0\u89E3\u6790"})),ye.createElement("div",null,ye.createElement("span",null,"\u77E5\u8BC6\u70B9\uFF1A"),ye.createElement(pe.Z,{title:(de==null?void 0:de.tag_discipline)||"--"},ye.createElement("span",{style:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}},(de==null?void 0:de.tag_discipline)||"--")))))})):ye.createElement("div",{className:se.otherContent},de.choices.map((Le,Qe)=>ye.createElement("div",{key:Qe,className:se.otherContentItem},ye.createElement("p",null,x[Qe]),ye.createElement(je.Z,{className:se.otehrContentHtml,value:Le.choice_text}))))},xe=()=>{var Oe;if((de==null?void 0:de.item_type)!=="BPROGRAM")return ye.createElement("div",null,(Oe=de.standard_answer)==null?void 0:Oe.map((Fe,Le)=>{var Qe,He;return ye.createElement("div",{key:Le,className:se.answerHtml},(Fe==null?void 0:Fe.model)===1?`\u7B54\u6848\uFF08\u586B\u7A7A${Fe.position}\uFF09\uFF1A${(Qe=Fe==null?void 0:Fe.answer_text)==null?void 0:Qe.join("\u3001")}`:ye.createElement("div",{style:{display:"flex",alignItems:"center"}},ye.createElement("span",{style:{minWidth:110}},"\u7B54\u6848\uFF08\u586B\u7A7A",Fe.position,"\uFF09\uFF1A"),ye.createElement(te.Z,{value:(He=Fe==null?void 0:Fe.answer_text)==null?void 0:He.join("\u3001"),readOnly:!0})))}))},we=()=>{var Oe,Fe,Le,Qe,He,ze;const Ke={SUBJECTIVE:(Oe=de.answer_texts)==null?void 0:Oe[0],JUDGMENT:(Le=(Fe=de.choices)==null?void 0:Fe.find(Ue=>Ue.is_answer))==null?void 0:Le.choice_text},Ge=de.choices.map(Ue=>Ue.is_answer).findIndex(Ue=>Ue),ke=Ge>-1?b[Ge]:"";let Ne="";de.choices.map((Ue,Ie)=>{Ue.is_answer&&(Ne+=b[Ie])});const Ve=Ke[de.item_type];let Je=((Qe=de==null?void 0:de.program_attr)==null?void 0:Qe.code)||"";try{Je=ne.Base64.decode(((He=de==null?void 0:de.program_attr)==null?void 0:He.code)||"")}catch(Ue){}const rt={SINGLE:ye.createElement(he.Z,null,ye.createElement(ce.Z,{className:"mt3"},"\u7B54\u6848\uFF1A"),ye.createElement(ce.Z,{flex:1},ye.createElement(je.Z,{className:se.answerHtml,value:`\u7B54\u6848\uFF1A${ke||"\u65E0"}`}))),MULTIPLE:ye.createElement(he.Z,null,ye.createElement(ce.Z,{className:"mt3"},"\u7B54\u6848\uFF1A"),ye.createElement(ce.Z,{flex:1},ye.createElement(je.Z,{className:se.answerHtml,value:`\u7B54\u6848\uFF1A${Ne||"\u65E0"}`}))),COMPLETION:xe(),BPROGRAM:ye.createElement("div",null,ye.createElement(je.Z,{className:se.answerHtml,showProgramFill:!0,value:Je}),(ze=de.standard_answer)==null?void 0:ze.map((Ue,Ie)=>ye.createElement("div",{key:Ie,className:se.answerHtml},`\u7B54\u6848\uFF08\u586B\u7A7A${Ue.position}\uFF09\uFF1A${Ue==null?void 0:Ue.answer_text}`)))},Ye=ye.createElement(he.Z,null,ye.createElement(ce.Z,{className:"mt3"},"\u7B54\u6848\uFF1A"),ye.createElement(ce.Z,{flex:1},ye.createElement(je.Z,{className:se.answerHtml,value:`${Ve||"\u65E0"}`})));return rt[de.item_type]||Ye},De=Oe=>{let Fe=[...ge];Oe.target.checked?Fe.push(de.id):Fe=Fe.filter(Le=>Le!==de.id),fe(Fe)};return ye.createElement("div",{className:se.itemWrap},ye.createElement("div",{className:se.list},me&&ye.createElement(oe.default,{className:"mr10",onChange:De,checked:ge.includes(de.id)}),ye.createElement("div",{onClick:()=>_e(!Ee),className:se.title},ye.createElement(je.Z,{key:1,showLines:1,showTextOnly:!0,className:se.topicTitleContent,value:(de==null?void 0:de.item_type)==="BPROGRAM"?(be=de==null?void 0:de.program_attr)==null?void 0:be.description:de.name})),ye.createElement("div",{onClick:()=>_e(!Ee),className:se.tr},ye.createElement("i",{style:{transform:Ee?"scale(0.5) rotate(-180deg)":"scale(0.5) rotate(0deg)"},className:"iconfont icon-zhankai4"}))),ye.createElement("aside",{style:Ee?{display:"block"}:{display:"none"},className:se.itemDetail},ye.createElement("div",{style:{marginBottom:44}},ye.createElement(je.Z,{key:2,className:se.topicTitleContent,value:(de==null?void 0:de.item_type)==="BPROGRAM"?(ve=de==null?void 0:de.program_attr)==null?void 0:ve.description:de.name}),ye.createElement("div",{className:`${se.row} mt15`},Ce()),ye.createElement("div",{className:se.row},ye.createElement("div",{className:se.updateTimeRow},ye.createElement("div",{className:se.updateTimeWrap},de.item_type==="PROGRAM"&&ye.createElement("p",{className:se.programLanguage},"\u7F16\u7A0B\u8BED\u8A00\uFF1A",(Pe=de==null?void 0:de.languages)==null?void 0:Pe.join("/")))))),de.item_type!=="COMBINATION"&&ye.createElement("div",{className:se.answerWrapper},ye.createElement("img",{src:re,alt:"",className:se.decoration}),ye.createElement("div",{className:se.answer},we()),ye.createElement("div",{className:se.parse},ye.createElement("div",{className:se.parseText},"\u89E3\u6790\uFF1A"),ye.createElement("div",{className:se.parseAnswer},de.analysis?ye.createElement(je.Z,{className:se.parseAnswerHtml,value:de.analysis}):"\u6682\u65E0\u89E3\u6790")),ye.createElement("div",{className:se.parse},ye.createElement("div",{className:se.parseText},"\u77E5\u8BC6\u70B9\uFF1A"),ye.createElement(pe.Z,{title:(de==null?void 0:de.tag_discipline)||"--"},ye.createElement("div",{className:se.parseAnswer,style:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}},(de==null?void 0:de.tag_discipline)||"--"))))))},z=({SubjectShare:de,isProblemset:ge,data:fe,user:me,page:be,activeTabsKey:ve,onPublicReview:Pe=()=>{},onStartExperience:Ee=()=>{},onSetPrivate:_e=()=>{},onCorrection:Ce=()=>{},onChangeTag:xe=()=>{},onCollect:we=()=>{},onSetPublic:De=()=>{},onDelete:Oe=()=>{},onCancel:Fe=()=>{},onSelect:Le=()=>{},onMoveTo:Qe=()=>{},addProblemset:He=()=>{},onSetShare:ze=()=>{},onCancelShare:Ke=()=>{},onPublish:Ge=()=>{},onCancelPublish:ke=()=>{}})=>{var Ne,Ve,Je,rt,Ye,Ue,Ie,Ze,Te,We,at,et,qe,Be,Ae;const Me=fe.item_type==="PROGRAM"?`/problems/newedit/${(Ne=fe.program_attr)==null?void 0:Ne.identifier}?tabs_key=${ve}&page=${be}`:fe.item_type==="BPROGRAM"?`/problemset/edit/${(Ve=fe.program_attr)==null?void 0:Ve.identifier}?type=1&tabs_key=${ve}&page=${be}`:`/problemset/edit/${fe.id}?tabs_key=${ve}&page=${be}`,Re=ve==="0"&&!fe.public&&!fe.apply&&(fe.item_type==="PROGRAM"&&((Je=fe.program_attr)==null?void 0:Je.status)!==0||fe.item_type!=="PROGRAM"),Xe=[{label:ye.createElement("a",{className:se.actionLink,onClick:()=>{y.Z.publish("model-change-problem",fe)}},"\u4EE5\u9898\u6362\u9898"),key:"14",show:(0,ae.$O)()&&["SINGLE","MULTIPLE","JUDGMENT","COMPLETION","SUBJECTIVE"].includes(fe.item_type)},{label:ye.createElement("a",{className:se.actionLink,onClick:()=>{var st;return ke((st=fe==null?void 0:fe.program_attr)==null?void 0:st.identifier)}},"\u64A4\u9500\u53D1\u5E03"),key:"0",show:(ve==="0"||ve==="3")&&fe.item_type==="PROGRAM"&&((rt=fe.program_attr)==null?void 0:rt.status)!==0&&!fe.public&&((Ye=fe.author)==null?void 0:Ye.login)===((Ue=me.userInfo)==null?void 0:Ue.login)},{label:ye.createElement("a",{className:se.actionLink,onClick:()=>Qe(fe.id)},"\u79FB\u52A8\u5230"),key:"1",show:ve==="0"},{label:ye.createElement("a",{className:se.actionLink,onClick:()=>{fe.is_share?Ke(fe.id):ze(fe.id)}},"\u5171\u4EAB"),key:"3",show:ve==="0"&&de},{label:ye.createElement("a",{className:se.actionLink,onClick:()=>De(fe)},"\u516C\u5F00"),key:"4",show:Re},{label:ye.createElement("a",{className:se.reviewFlag,onClick:Pe},"\u516C\u5F00\u5BA1\u6838\u4E2D"),key:"5",show:ve==="0"&&!fe.public&&fe.apply&&(fe.item_type==="PROGRAM"&&fe.program_attr.status!==0||fe.item_type!=="PROGRAM")},{label:ye.createElement("a",{className:se.actionLink,onClick:()=>_e(fe.id)},"\u64A4\u9500\u516C\u5F00"),key:"6",show:(ve==="0"||ve==="1")&&fe.public&&((Ie=fe.author)==null?void 0:Ie.login)===((Ze=me.userInfo)==null?void 0:Ze.login)||ve==="1"&&(0,ae.ag)()},{label:ye.createElement("a",{className:se.actionLink,onClick:()=>we(fe.id,fe.is_collected)},"\u53D6\u6D88\u6536\u85CF"),key:"7",show:ve==="2"},{label:ye.createElement("a",{className:se.actionLink,onClick:()=>{var st;return Ge((st=fe==null?void 0:fe.program_attr)==null?void 0:st.identifier)}},"\u53D1\u5E03"),key:"8",show:(ve==="0"||ve==="3")&&fe.item_type==="PROGRAM"&&((Te=fe.program_attr)==null?void 0:Te.status)===0&&!fe.public&&((We=fe.author)==null?void 0:We.login)===((at=me.userInfo)==null?void 0:at.login)},{label:ye.createElement("a",{className:se.actionLink,onClick:()=>we(fe.id,fe.is_collected)},fe.is_collected?"\u53D6\u6D88\u6536\u85CF":"\u6536\u85CF"),key:"9",show:(ve==="1"||ve==="3")&&!(0,ae.ag)()&&!(0,ae.JA)()&&((et=fe.author)==null?void 0:et.login)!==((qe=me.userInfo)==null?void 0:qe.login)},{label:ye.createElement("a",{className:se.actionLink,onClick:()=>Ce(fe.id)},"\u7EA0\u9519"),key:"10",show:ve!=="0"&&!(0,ae.ag)()&&!(0,ae.JA)()},{label:ye.createElement("a",{className:se.actionLink,onClick:()=>xe(fe)},"\u4FEE\u6539\u77E5\u8BC6\u70B9"),key:"15",show:ve==="0"||ve==="3"&&(fe==null?void 0:fe.edit_item_bank)},{label:ye.createElement("a",{className:se.actionLink,onClick:()=>Oe(fe.id)},"\u5220\u9664"),key:"11",show:ve==="0"&&!fe.public||ve==="1"&&(0,ae.ag)()&&((Be=fe.author)==null?void 0:Be.login)!==((Ae=me.userInfo)==null?void 0:Ae.login)},{label:ye.createElement("a",{className:se.actionLink,onClick:()=>He(fe.id)},"\u52A0\u5165\u6211\u7684\u9898\u5E93"),key:"12",show:ve==="1"||ve==="3"}].filter(st=>st.show),nt=ye.createElement(ie.default,{forceSubMenuRender:!0,className:se.menu,items:Xe}),$e=ye.createElement(ie.default,{forceSubMenuRender:!0,className:se.menu},ye.createElement(ie.default.Item,{key:"10"},ye.createElement("a",{className:se.actionLink,onClick:()=>Ce(fe.id)},"\u7EA0\u9519"))),tt=ve!=="0"&&!(0,ae.ag)()&&!(0,ae.JA)();return ye.createElement(ye.Fragment,null,ge?ye.createElement(ye.Fragment,null,(ve==="0"||ve==="3"&&(fe==null?void 0:fe.edit_item_bank))&&!fe.public&&ye.createElement("span",{className:se.textBtn,style:{cursor:"pointer"},onClick:()=>{(0,a.xg)(Me);const st=document.getElementById(fe.id),it=window.pageYOffset||document.documentElement.scrollTop;localStorage.setItem("problemsetid",st.getBoundingClientRect().top+it+"")}},ye.createElement("div",{className:se.line},ye.createElement("b",{className:se.b1}),ye.createElement("b",{className:se.b2})),ye.createElement("i",{className:"iconfont icon-bianji10 font14 mr5"}),"\u7F16\u8F91"),ye.createElement("span",{className:se.textBtn,style:{cursor:"pointer"},onClick:()=>Ee(fe)},ye.createElement("div",{className:se.line},ye.createElement("b",{className:se.b1}),ye.createElement("b",{className:se.b2})),ye.createElement("i",{className:"iconfont icon-tiyan font14 mr5"}),"\u4F53\u9A8C",ye.createElement("div",{className:se.line},ye.createElement("b",{className:se.b1}),ye.createElement("b",{className:se.b2}))),Xe.length>0&&ye.createElement(ue.Z,{dropdownRender:()=>nt},ye.createElement("span",{style:{cursor:"default",width:"105px"},onClick:st=>st.preventDefault()},ye.createElement("span",{className:se.textBtn},ye.createElement("i",{className:"iconfont icon-gengduo5 font14 mr5"}),"\u66F4\u591A",ye.createElement("div",{className:se.line},ye.createElement("b",{className:se.b1}),ye.createElement("b",{className:se.b2})))))):tt?ye.createElement(ue.Z,{className:"ml40",dropdownRender:()=>$e},ye.createElement("span",{style:{cursor:"default",width:"105px"},onClick:st=>st.preventDefault()},ye.createElement("span",{className:se.textBtn},ye.createElement("i",{className:"iconfont icon-gengduo5 font14 mr5"}),"\u66F4\u591A",ye.createElement("div",{className:se.line},ye.createElement("b",{className:se.b1}),ye.createElement("b",{className:se.b2}))))):ye.createElement("span",null))};var le=ee},70037:function(ct,ot,Se){"use strict";Se.d(ot,{Im:function(){return ve},ZP:function(){return we},gZ:function(){return Ce}});var ye=Se(59301),je=Se(92832),E=Se(3113),pe=Se(84105),he=Se(87395),ce=Se(86723),oe=Se(24334),ie=Se(7651),ue=Se(99325),se=Se(88230),ae=Se(75618),re=Se(34376),ne=Se(92310),te=Se.n(ne),a=Se(59301),y=Object.defineProperty,x=Object.defineProperties,b=Object.getOwnPropertyDescriptors,ee=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,le=Object.prototype.propertyIsEnumerable,de=(De,Oe,Fe)=>Oe in De?y(De,Oe,{enumerable:!0,configurable:!0,writable:!0,value:Fe}):De[Oe]=Fe,ge=(De,Oe)=>{for(var Fe in Oe||(Oe={}))z.call(Oe,Fe)&&de(De,Fe,Oe[Fe]);if(ee)for(var Fe of ee(Oe))le.call(Oe,Fe)&&de(De,Fe,Oe[Fe]);return De},fe=(De,Oe)=>x(De,b(Oe));const{TextArea:me}=je.default,be={visible:!1,tabIndex:"0"},ve={[ce.h.HIDE_COMPILE_STATUS]:"\u6682\u4E0D\u652F\u6301\u67E5\u770B",[ce.h.NOMATCH]:"\u6D4B\u8BD5\u7528\u4F8B\u7ED3\u679C\u4E0D\u5339\u914D",[ce.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 Pe=(De=>(De[De.SET_VISIBLE=0]="SET_VISIBLE",De[De.SET_TABINDEX=1]="SET_TABINDEX",De))(Pe||{});function Ee(De,Oe){switch(Oe.type){case 0:return fe(ge({},De),{visible:Oe.payload});case 1:return fe(ge({},De),{tabIndex:Oe.payload});default:throw new Error}}function _e({value:De,className:Oe}){const[Fe,Le]=(0,ye.useState)(!1),Qe=(0,ye.useRef)(),He=(0,ye.useRef)();return(0,ye.useEffect)(()=>{Fe&&(He.current.reset(),He.current.write((0,se.pp)(De||"")))},[De,Fe]),(0,ye.useEffect)(()=>{var ze,Ke,Ge,ke;if(Qe.current){He.current=new re.Terminal({fontSize:14,disableStdin:!0}),He.current.open(Qe.current);const Ne=Qe.current.offsetWidth-14,Ve=((ke=(Ge=(Ke=(ze=He.current)==null?void 0:ze._core)==null?void 0:Ke._renderService)==null?void 0:Ge.dimensions)==null?void 0:ke.actualCellWidth)||9.5,Je=Math.ceil(Ne/Ve);He.current.resize(Je,8),Le(!0)}},[]),a.createElement("div",{ref:Qe,className:te()("XtermText-valueRef",Oe)})}function Ce(De){const{status:Oe,error_msg:Fe,output:Le,input:Qe,expected_output:He,is_file:ze,input_file_url:Ke,output_file_url:Ge,expected_output_file_url:ke}=De;let Ne=null;const Ve={minHeight:150,marginBottom:10,paddingLeft:24,background:"#070f19",color:"#fff"};switch(Oe){case ce.h.NOMATCH:Ne=a.createElement(a.Fragment,null,a.createElement("p",{className:"c-red"},"\u5B9E\u9645\u8F93\u5165\uFF1A"),!ze&&a.createElement(_e,{className:"mb10",value:Qe}),ze&&a.createElement("div",{style:Ve},a.createElement("a",{onClick:()=>(0,se.LR)(Ke,Qe)},Qe)),a.createElement("p",{className:"c-red"},"\u5B9E\u9645\u8F93\u51FA\uFF1A"),!ze&&a.createElement(_e,{className:"mb10",value:Le&&oe.Base64.decode(Le)||""}),ze&&a.createElement("div",{style:Ve},a.createElement("a",{onClick:()=>(0,se.LR)(Ge,Le)},Le)),a.createElement("p",{className:"c-red"},"\u9884\u671F\u8F93\u51FA\uFF1A"),!ze&&a.createElement(_e,{className:"mb10",value:He&&oe.Base64.decode(He)||""}),ze&&a.createElement("div",{style:Ve},a.createElement("a",{onClick:()=>(0,se.LR)(ke,He)},He)));break;case ce.h.EXECUTEFAILURE:Ne=a.createElement(a.Fragment,null,a.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A"),!ze&&a.createElement(ue.Z,{value:Qe,style:Ve}),ze&&a.createElement("div",{style:Ve},a.createElement("a",{onClick:()=>(0,se.LR)(Ke,Qe)},Qe)),a.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),a.createElement("pre",{className:"error"},oe.Base64.decode(Fe)));break;case ce.h.COMPILEFAILURE:Ne=a.createElement(a.Fragment,null,a.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A"),!ze&&a.createElement(ue.Z,{value:Qe,style:Ve}),ze&&a.createElement("div",{style:Ve},a.createElement("a",{onClick:()=>(0,se.LR)(Ke,Qe)},Qe)),a.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),a.createElement("pre",{className:"error"},oe.Base64.decode(Fe)));break;case ce.h.PODFAILURE:Ne=a.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case ce.h.TIMEOUT:Ne=a.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return a.createElement(a.Fragment,null," ",Ne," ")}function xe(De){const{status:Oe,error_msg:Fe,execute_time:Le,output:Qe,input:He,expected_output:ze,is_file:Ke,input_file_url:Ge,output_file_url:ke,expected_output_file_url:Ne}=De;let Ve=null;switch(Oe){case ce.h.OK:Ve=a.createElement(a.Fragment,null,a.createElement("p",null,"\u6267\u884C\u7528\u65F6\uFF1A",Le,"\u79D2"),a.createElement("p",null,"\u6267\u884C\u7ED3\u679C\uFF1A"),a.createElement("pre",null,oe.Base64.decode(Qe)));break;case ce.h.NOMATCH:Ve=a.createElement(a.Fragment,null,a.createElement("p",null,"\u8F93\u5165\uFF1A",a.createElement("pre",null,He)),a.createElement("p",null,"\u8F93\u51FA\uFF1A",Qe&&oe.Base64.decode(Qe)),a.createElement("p",null,"\u9884\u671F\u8F93\u51FA\uFF1A",ze&&oe.Base64.decode(ze)));break;case ce.h.EXECUTEFAILURE:Ve=a.createElement(a.Fragment,null,a.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",a.createElement("pre",null,He)),a.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),a.createElement("pre",{className:"error"},oe.Base64.decode(Fe)));break;case ce.h.COMPILEFAILURE:Ve=a.createElement(a.Fragment,null,a.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",a.createElement("pre",null,He)),a.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),a.createElement("pre",{className:"error"},oe.Base64.decode(Fe)));break;case ce.h.PODFAILURE:Ve=a.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case ce.h.TIMEOUT:Ve=a.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return a.createElement(a.Fragment,null," ",Ve," ")}var we=({id:De,is_file:Oe,input:Fe,debuging:Le,submitting:Qe,executingMessage:He,debugResult:ze,onChangeInput:Ke,onDebugCode:Ge,onSubmitCode:ke})=>{const[Ne,Ve]=(0,ye.useReducer)(Ee,be),{visible:Je,tabIndex:rt}=Ne;(0,ye.useEffect)(()=>{Ve({type:0,payload:!1})},[De]);function Ye(Te){let We=Te.target.id;Ve({type:1,payload:We})}function Ue(){Ve({type:0,payload:!Je})}const Ie=(0,ye.useMemo)(()=>{if(ze){const{status:Te}=ze;return a.createElement(a.Fragment,null,xe(ze))}return null},[ze]);function Ze(){Ve({type:0,payload:!0}),Ve({type:1,payload:"1"}),Ge()}return a.createElement("div",{className:"test-case-panel"},a.createElement("div",{className:`test-case-panel-body ${Je?"active":""}`},a.createElement("ul",{className:"s-navs"},a.createElement("li",null,a.createElement("a",{className:"active"},"\u8C03\u8BD5\u4EE3\u7801\u7ED3\u679C"))),a.createElement(ae.Z,{leftTitle:"\u81EA\u5B9A\u4E49\u6D4B\u8BD5\u7528\u4F8B",rightTitle:"\u4EE3\u7801\u6267\u884C\u7ED3\u679C",style:{height:240},leftNode:a.createElement(me,{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:Oe?"":Fe,onChange:Ke}),rightNode:Le?a.createElement(ie.Z,{message:"\u4EE3\u7801\u6267\u884C\u4E2D..."}):ze?Ie: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 ${Je?"up":""}`,onClick:Ue},Je?a.createElement(pe.Z,null):a.createElement(he.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:Le,onClick:Ze},"\u8C03\u8BD5\u4EE3\u7801"),a.createElement(E.ZP,{type:"primary",className:"custom-ant-disabled",loading:Qe,disabled:Qe,onClick:()=>{Ve({type:0,payload:!1}),ke()}},"\u8BC4\u6D4B\u5E76\u63D0\u4EA4"))))}},86723:function(ct,ot,Se){"use strict";Se.d(ot,{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||{})},24833:function(ct,ot,Se){"use strict";Se.d(ot,{Y2:function(){return De},ZP:function(){return Oe}});var ye=Se(59301),je=Se(54580),E=Se(8591),pe=Se(43418),he=Se(95237),ce=Se(5112),oe=Se(3113),ie=Se(24905),ue=Se(6848),se=Se(92832),ae={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+UBVJpAViAnEoinV16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0qxHmhtB8S0OmMxroLbx5ujtZp6HA/8OSerKXK9sYFYPW37GrkiwCYhq1ViS5fYXprMWSBm0jZVQVfZPm5aiV2A7HAxlqpMVY49DAaI2fFKX6SVq6/lgjepxC5gxlmZvoRbjwiIWXFKU5wbwuu07M0hNh/6U5VpSrt7sQAxCy5pirEBwDY7E7unMzDTlIE3sQAx1fYoCq4RvJpWYtfyAzNFCfkRChBTaYuioBrDSxXETsEAM0UJGgIQU2WHkmCG8X2KpMR3HkutqMmZWEzwAC1GpaptgFhVeU0NvgvD+FsTuJbqqYXYMkiA1iThgVgT2dVMqhpc5iB2A7T5kcR852z68NaMOnkPxOroqnXUGVrhb9iV/m5j7QWbqMSeiTBXatPnU/gSxuHzSntA90zE238HYnLNWvTYXU26lusfbSZQnT4GgbUm8P/6C+VmwqlgeQAAAABJRU5ErkJggg==",ne=Se(47257),te=Se.n(ne),a=Se(49894),y=Se(7660),x=Se(1012),b=Se(88230),ee=Se(90853),z=Se(59301),le=Object.defineProperty,de=Object.defineProperties,ge=Object.getOwnPropertyDescriptors,fe=Object.getOwnPropertySymbols,me=Object.prototype.hasOwnProperty,be=Object.prototype.propertyIsEnumerable,ve=(Fe,Le,Qe)=>Le in Fe?le(Fe,Le,{enumerable:!0,configurable:!0,writable:!0,value:Qe}):Fe[Le]=Qe,Pe=(Fe,Le)=>{for(var Qe in Le||(Le={}))me.call(Le,Qe)&&ve(Fe,Qe,Le[Qe]);if(fe)for(var Qe of fe(Le))be.call(Le,Qe)&&ve(Fe,Qe,Le[Qe]);return Fe},Ee=(Fe,Le)=>de(Fe,ge(Le)),_e=(Fe,Le,Qe)=>new Promise((He,ze)=>{var Ke=Ne=>{try{ke(Qe.next(Ne))}catch(Ve){ze(Ve)}},Ge=Ne=>{try{ke(Qe.throw(Ne))}catch(Ve){ze(Ve)}},ke=Ne=>Ne.done?He(Ne.value):Promise.resolve(Ne.value).then(Ke,Ge);ke((Qe=Qe.apply(Fe,Le)).next())});const{Dragger:Ce}=je.default,xe=Fe=>{const Le=Ve=>Ve&&Ve.substring(0,Ve.lastIndexOf("."));for(var Qe=[...Fe],He=0,ze=[],Ke=0;Ke{if(Ve.forEach(Je=>{let rt=Je.name.split(/\.(?=[^\.]+$)/);Je.name=`${rt[0]}.${rt[1].toLowerCase()}`}),Ve[0].name.includes(".in"))return Ve.length===2?Ve:[Ve[0],{}];if(Ve[0].name.includes(".out"))return Ve.length===2?Ve.reverse():[{},Ve[0]]})},we=({onClose:Fe,onOK:Le,visible:Qe,wrapClassName:He,rootIdentifier:ze,multiple:Ke=!1,defaultMultipleValue:Ge=!0})=>{const[ke,Ne]=(0,ye.useState)([]),[Ve,Je]=(0,ye.useState)({}),[rt,Ye]=(0,ye.useState)(!1),[Ue,Ie]=(0,ye.useState)(!0),Ze=(0,ye.useRef)([]),Te=(0,ye.useRef)(0),We=()=>{Fe()};(0,ye.useEffect)(()=>{at()},[]),(0,ye.useEffect)(()=>{Qe&&(Ze.current=[],Te.current=0,Ne([]),Ie(Ge))},[Qe]);const at=()=>_e(void 0,null,function*(){try{const nt=yield(0,y.ZP)("/api/buckets/get_upload_token_for_big_files",{method:"get"}),$e=JSON.parse((0,a.pe)(nt.data));Je($e)}catch(nt){}}),et=nt=>nt&&nt.substring(0,nt.lastIndexOf(".")),qe=nt=>{var $e,tt;const st=et(($e=nt[0])==null?void 0:$e.name)||et((tt=nt[1])==null?void 0:tt.name),it=ke.filter(lt=>et(lt.name)!==st);Ze.current=[...it],Ne([...it])},Be=nt=>{if(!Ue){const ut=new FormData;ut.append("file",nt.file),(0,y.ZP)("/api/attachments/get_file_content.json",{method:"post",body:ut},!0).then(pt=>{if(pt.status===0){Te.current=Te.current+1;const mt=Ze.current.map(St=>{var xt;if(St.name===nt.name){const Mt=Pe({},St);return(xt=nt==null?void 0:nt.name)!=null&&xt.includes(".in")?Mt.input=pt==null?void 0:pt.content:Mt.output=pt==null?void 0:pt.content,Mt}return St});if(Ze.current=[...mt],Ne([...mt]),Te.current>0&&Te.current===ke.length){Ye(!1);let St=xe(mt);St=St.filter(xt=>{var Mt,yt;return!!((Mt=xt[0])!=null&&Mt.name&&((yt=xt[1])!=null&&yt.name))}),St=St.map(xt=>Ee(Pe(Pe({},xt[0]),xt[1]),{is_file:!1})),Le(St),Fe()}}else Ye(!1),Fe()});return}const $e=new(te())({endpoint:Ve.end_point,region:Ve.region,accessKeyId:Ve.access_key_id,accessKeySecret:Ve.access_key_secret,bucket:Ve.bucket,stsToken:Ve.security_token}),tt=nt.name,st={container_type:"TestSet",file_name:tt},it=(0,x.Z)();let lt=`testsets/${ze}/${it}${tt.indexOf(".")>-1?"."+tt.split(".").pop():""}`;ze===null&&(lt=`testsets/${it}${tt.indexOf(".")>-1?"."+tt.split(".").pop():""}`),$e.multipartUpload(lt,new Blob([nt.file],{type:nt.file.type}),{timeout:3600*1e3,partSize:1002400,callback:{customValue:{id:tt+""},url:Ve==null?void 0:Ve.callback_url,host:Ve==null?void 0:Ve.bucket_host,body:"bucket=${bucket}&object=${object}&etag=${etag}&size=${size}&mimeType=${mimeType}&my_var=${x:my_var}&"+(0,y.rz)(st)}}).then(function(ut){if(ut.data.status===0){Te.current=Te.current+1;const vt=Ze.current.map(pt=>{var mt,St,xt,Mt,yt,wt,Lt,cn,Vt,rn,Zt,Jt,zt,nn,jn,Cn,Ln;if(pt.name===((St=(mt=ut.data)==null?void 0:mt.data)==null?void 0:St.file_name)){const Ft=Pe({},pt);return(yt=(Mt=(xt=ut.data)==null?void 0:xt.data)==null?void 0:Mt.file_name)!=null&&yt.includes(".in")?(Ft.in_object_key=(Lt=(wt=ut.data)==null?void 0:wt.data)==null?void 0:Lt.object,Ft.in_object_size=(Vt=(cn=ut.data)==null?void 0:cn.data)==null?void 0:Vt.size,Ft.input=(Zt=(rn=ut.data)==null?void 0:rn.data)==null?void 0:Zt.file_name,Ft.in_file=nt):(Ft.out_object_key=(zt=(Jt=ut.data)==null?void 0:Jt.data)==null?void 0:zt.object,Ft.out_object_size=(jn=(nn=ut.data)==null?void 0:nn.data)==null?void 0:jn.size,Ft.output=(Ln=(Cn=ut.data)==null?void 0:Cn.data)==null?void 0:Ln.file_name,Ft.out_file=nt),Ft}return pt});if(Ze.current=[...vt],Ne([...vt]),Te.current>0&&Te.current===ke.length){Ye(!1);let pt=xe(vt);pt=pt.filter(mt=>{var St,xt;return!!((St=mt[0])!=null&&St.name&&((xt=mt[1])!=null&&xt.name))}),pt=pt.map(mt=>Ee(Pe(Pe({},mt[0]),mt[1]),{is_file:!0})),Le(pt),Fe()}}})},Ae=nt=>new Promise(($e,tt)=>{let st=0,it=[];for(let lt=0;lt{st++,st===nt.length&&(it.length?(E.ZP.warning(`${it.join("\uFF0C")}\u6587\u4EF6\u5DF2\u635F\u574F\u6216\u5DF2\u88AB\u4FEE\u6539\uFF0C\u8BF7\u5220\u9664\u540E\u91CD\u65B0\u4E0A\u4F20\uFF01`),tt()):$e(nt))}).catch(ut=>{console.log("\u9519\u8BEF\u4FE1\u606F\uFF1A",ut),st++,it.push(nt[lt].name),st===nt.length&&(it.length?(E.ZP.warning(`${it.join("\uFF0C")}\u6587\u4EF6\u5DF2\u635F\u574F\u6216\u5DF2\u88AB\u4FEE\u6539\uFF0C\u8BF7\u5220\u9664\u540E\u91CD\u65B0\u4E0A\u4F20\uFF01`),tt()):$e(nt))})}),Me=()=>_e(void 0,null,function*(){if(ke.length===0){E.ZP.warning("\u8BF7\u9009\u62E9\u4E0A\u4F20\u6587\u4EF6");return}if(yield Ae(ke),Ye(!0),xe(ke).some($e=>{var tt,st;return!((tt=$e[0])!=null&&tt.name&&((st=$e[1])!=null&&st.name))})){pe.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:()=>_e(void 0,null,function*(){ke.map($e=>_e(void 0,null,function*(){Be($e)}))}),onCancel:()=>{Ye(!1)}});return}ke.map($e=>_e(void 0,null,function*(){Be($e)}))}),Re={name:"file",fileList:ke,multiple:!0,accept:".in, .out",showUploadList:!1,beforeUpload:nt=>{if(ke!=null&&ke.some(tt=>tt.name===nt.name))return E.ZP.info(`${nt.name}\u6587\u4EF6\u5DF2\u5B58\u5728`),!1;if(nt.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(nt.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 $e={name:nt.name,uid:nt.uid,file:nt,percent:0};return ke.push($e),Ze.current=[...ke],Ne([...ke]),!1}},Xe=xe(ke);return console.log(ke,Xe,"fileList"),z.createElement(pe.default,{open:Qe,wrapClassName:He,onOk:Me,centered:!0,okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",okButtonProps:{loading:rt},onCancel:We,width:730,title:"\u6279\u91CF\u4E0A\u4F20\u6D4B\u8BD5\u7528\u4F8B"},z.createElement("div",{className:ae.wrap},ke.length?z.createElement("div",null,z.createElement(he.Z,{justify:"space-between",align:"middle",style:{marginBottom:40}},z.createElement("div",{style:{visibility:Ke?"visible":"hidden"}},z.createElement("span",{className:ae.greyText},"\u7528\u4F8B\u7C7B\u578B"),z.createElement(ce.ZP.Group,{className:`ml20 ${ae.testCaseRadio}`,optionType:"button",value:Ue,onChange:nt=>Ie(nt.target.value)},z.createElement(ce.ZP,{value:!1},"\u6587\u672C"),z.createElement(ce.ZP,{value:!0},"\u6587\u4EF6"))),z.createElement(je.default,Pe({},Re),z.createElement(oe.ZP,{type:"primary",className:ae.btnS},z.createElement("i",{className:"iconfont icon-shangchuan2"}),"\u4E0A\u4F20\u6587\u4EF6"))),z.createElement(De,{data:Xe,onRemove:qe})):z.createElement("div",{className:`${ae.noData} mb30`},z.createElement(je.default.Dragger,Ee(Pe({},Re),{className:ae.dragger}),z.createElement("img",{src:re,alt:"",className:"mb20"}),z.createElement("div",null,z.createElement("span",null,"\u62D6\u62FD\u6587\u4EF6\u6216"),z.createElement("span",{className:ae.uploadText},"\u70B9\u51FB\u6B64\u5904\u4E0A\u4F20")))),z.createElement("div",{className:ae.text},z.createElement("span",{style:{color:"#FA6400"}},"\u63D0\u793A"),z.createElement("br",null),"1\u3001\u6587\u4EF6\u5FC5\u987B\u4E0A\u4F20.in\u548C.out\u7C7B\u578B\u7684\u6587\u672C\u6587\u4EF6\u3002",z.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",z.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",z.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",z.createElement("br",null))))},De=({data:Fe=[],onRemove:Le,width:Qe="auto",showScore:He=!1,disabled:ze=!1,inputChange:Ke,onEvaluatingChange:Ge,onSelectAll:ke,checkAll1:Ne,checkAll2:Ve,checkAll3:Je,checkAll4:rt,checkAll5:Ye,showEvaluatingSetting:Ue=!1,className:Ie="",isProgramHomework:Ze=!1})=>{const Te={value:"",filename:"",dataUrl:""},[We,at]=(0,ye.useState)(Pe({},Te)),et=Ae=>{let Me=document.createElement("a");document.body.appendChild(Me);let Re=URL.createObjectURL(Ae.file);Me.href=Re,Me.download=Ae.name,Me.click(),URL.revokeObjectURL(Re),document.body.removeChild(Me)},qe=(Ae,Me)=>{(0,b.LR)(Ae,Me)},Be=(Ae,Me)=>{pe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:z.createElement("div",{className:"tc font16"},"\u8BF7\u786E\u8BA4\u662F\u5426\u5220\u9664\u8BE5\u6D4B\u8BD5\u7528\u4F8B?"),onOk:()=>{Le(Ae,Me)},onCancel:()=>{}})};return Fe.length?z.createElement("div",{className:Ie,style:{width:Qe}},z.createElement("div",{className:`${Ze?ae.headProgram:ae.head}`},Ue&&z.createElement("div",{style:{width:"15%",display:"flex",alignItems:"center"}},z.createElement(ie.default,{checked:Ne,onChange:Ae=>{ke(Ae.target.checked,"hidden")}}),z.createElement(ue.Z,{title:'\u9690\u85CF\u6D4B\u8BD5\u96C6\u53EF\u4EE5\u9632\u6B62\u5B66\u751F\u901A\u8FC7"print"\u7B49\u624B\u6BB5\u76F4\u63A5\u901A\u5173'},z.createElement("span",{style:{marginLeft:"8px"}},"\u9690\u85CF"),z.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),z.createElement("div",{style:{width:Ze?"25%":"15%"}},"\u7528\u4F8B"),z.createElement("div",{style:{width:He?Ze?"20%":"15%":"25%",padding:"0 12px"}},"\u8F93\u5165"),z.createElement("div",{style:{width:He?Ze?"20%":"15%":"25%",padding:"0 12px"}},"\u8F93\u51FA"),He&&z.createElement("div",{style:{width:"20%"}},"\u5F97\u5206\u6BD4\u4F8B"),Ue&&z.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},z.createElement(ie.default,{checked:rt,onChange:Ae=>{ke(Ae.target.checked,"input_visible")}}),z.createElement(ue.Z,{title:"\u52FE\u9009\u540E\uFF0C\u8F93\u5165\u5BF9\u5B66\u5458\u59CB\u7EC8\u4E0D\u53EF\u89C1"},z.createElement("span",{style:{marginLeft:"8px"}},"\u8F93\u5165"),z.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),Ue&&z.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},z.createElement(ie.default,{checked:Ve,onChange:Ae=>{ke(Ae.target.checked,"is_invisible")}}),z.createElement(ue.Z,{title:"\u52FE\u9009\u540E\uFF0C\u9884\u671F\u8F93\u51FA\u5BF9\u5B66\u5458\u59CB\u7EC8\u4E0D\u53EF\u89C1"},z.createElement("span",{style:{marginLeft:"8px"}},"\u9884\u671F\u8F93\u51FA"),z.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),Ue&&z.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},z.createElement(ie.default,{checked:Ye,onChange:Ae=>{ke(Ae.target.checked,"actual_output_visible")}}),z.createElement(ue.Z,{title:"\u52FE\u9009\u540E\uFF0C\u5B9E\u9645\u8F93\u51FA\u5BF9\u5B66\u5458\u59CB\u7EC8\u4E0D\u53EF\u89C1"},z.createElement("span",{style:{marginLeft:"8px"}},"\u5B9E\u9645\u8F93\u51FA"),z.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),Ue&&z.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},z.createElement(ie.default,{checked:Je,onChange:Ae=>{ke(Ae.target.checked,"last_match_rule")}}),z.createElement(ue.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"},z.createElement("span",{style:{marginLeft:"8px"}},"\u7279\u6B8A\u5224\u5B9A"),z.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),z.createElement("div",{className:ae.operation,style:Ze?{flex:1,textAlign:"right"}:{width:"10%"}},"\u64CD\u4F5C")),z.createElement("div",{className:ae.listWrapper,style:{boxShadow:Ze?"0px 2px 4px 0px #EAEEF4":"unset"}},Fe.map((Ae,Me)=>{var Re,Xe,nt,$e;return z.createElement("div",{key:Me,className:ae.list,style:Ze?{marginBottom:"0px",height:"66px",borderBottom:"1px solid #F6F7F8"}:{}},Ue&&z.createElement("div",{style:{width:"15%"}},z.createElement(ie.default,{checked:!!Ae.hidden,onChange:tt=>{Ge(tt.target.checked,Me,"hidden")}})),z.createElement("div",{style:{width:Ze?"25%":"15%",paddingLeft:Ze?"5px":"0px",paddingRight:Ze?"5px":"0px"}},"\u6D4B\u8BD5\u7528\u4F8B",Me+1),z.createElement("div",{className:ae.info,style:{width:He?Ze?"20%":"15%":"25%"}},z.createElement("span",{title:Ae.input||((Re=Ae[0])==null?void 0:Re.name),onClick:()=>_e(void 0,null,function*(){let tt;Ae.input?Ae.input_file_url?tt=Ae.input_file_url:tt=Ae.in_file:tt=Ae[0];let st;typeof tt=="string"?(st=yield fetch(tt,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}}),at({value:yield st.text(),filename:"",dataUrl:tt})):(st=yield(0,b.db)(tt.file),at({value:st.text,filename:tt.name,dataUrl:st.link}))})},Ae.input||((Xe=Ae[0])==null?void 0:Xe.name))),z.createElement("div",{className:ae.info,style:{width:He?Ze?"20%":"15%":"25%"}},z.createElement("span",{title:Ae.output||((nt=Ae[1])==null?void 0:nt.name),onClick:()=>_e(void 0,null,function*(){let tt;Ae.input?Ae.output_file_url?tt=Ae.output_file_url:tt=Ae.out_file:tt=Ae[1];let st;typeof tt=="string"?(st=yield fetch(tt,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}}),at({value:yield st.text(),filename:"",dataUrl:tt})):(st=yield(0,b.db)(tt.file),at({value:st.text,filename:tt.name,dataUrl:st.link}))})},Ae.output||(($e=Ae[1])==null?void 0:$e.name))),He&&z.createElement("div",{style:{width:"20%"}},z.createElement(se.default,{size:"large",addonAfter:Ze?"%":null,disabled:ze,style:{width:"80%"},onChange:tt=>Ke(tt,Me),value:Ae.score}),!Ze&&z.createElement("span",null,"\xA0%")),Ue&&z.createElement("div",{style:{width:"20%"}},z.createElement(ie.default,{checked:Ae.input_visible||!1,onChange:tt=>{Ge(tt.target.checked,Me,"input_visible")},className:"font14"},"\u5BF9\u5B66\u5458\u4E0D\u53EF\u89C1")),Ue&&z.createElement("div",{style:{width:"20%"}},z.createElement(ie.default,{checked:Ae.is_invisible||!1,onChange:tt=>{Ge(tt.target.checked,Me,"is_invisible")},className:"font14"},"\u5BF9\u5B66\u5458\u4E0D\u53EF\u89C1")),Ue&&z.createElement("div",{style:{width:"20%"}},z.createElement(ie.default,{checked:Ae.actual_output_visible||!1,onChange:tt=>{Ge(tt.target.checked,Me,"actual_output_visible")},className:"font14"},"\u5BF9\u5B66\u5458\u4E0D\u53EF\u89C1")),Ue&&z.createElement("div",{style:{width:"20%"}},z.createElement(ie.default,{checked:Ae.last_match_rule||!1,onChange:tt=>{Ge(tt.target.checked,Me,"last_match_rule")},className:"font14"},"\u672B\u5C3E\u5339\u914D")),z.createElement("div",{onClick:()=>Be(Ae,Me),style:Ze?{flex:1,textAlign:"right",paddingLeft:"5px",paddingRight:"5px"}:{width:"10%",textAlign:"center"}},z.createElement("span",{className:ae.del},"\u5220\u9664")))})),z.createElement(ee.Z,{close:!0,data:We.dataUrl,filename:We.filename,type:We.dataUrl.length?"txt":"",onClose:()=>at(Pe({},Te)),monacoEditor:{value:We.value,language:"txt",onChange:()=>{},options:{fontSize:14,readOnly:!0,minimap:{enabled:!1}}}})):z.createElement(z.Fragment,null)};var Oe=we},52649:function(ct,ot,Se){"use strict";Se.d(ot,{Z:function(){return ne}});var ye=Se(59301),je=Se(8591),E=Se(6848),pe=Se(71418),he=Se(95237),ce=Se(43604),oe=Se(58421),ie=Se(3113),ue=Se(64726),se=Se(7660),ae=Se(99325),re=(a,y,x)=>new Promise((b,ee)=>{var z=ge=>{try{de(x.next(ge))}catch(fe){ee(fe)}},le=ge=>{try{de(x.throw(ge))}catch(fe){ee(fe)}},de=ge=>ge.done?b(ge.value):Promise.resolve(ge.value).then(z,le);de((x=x.apply(a,y)).next())}),ne=({id:a,activeDiscussIndex:y,onReplyDiscuss:x,adminOrOperator:b})=>{const[ee,z]=(0,ye.useState)(""),[le,de]=(0,ye.useState)(!1);function ge(me){z(me)}function fe(){if(!ee){je.ZP.info("\u56DE\u590D\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A!");return}x(a,ee),z("")}return(0,ye.useEffect)(()=>{y!=a&&de(!1)},[y]),ye.createElement("div",{key:a,className:"discuss-item-editor",style:{display:y===a?"block":"none",width:"100%"}},ye.createElement(ue.Z,{miniToolbar:!0,startInit:y===a,defaultValue:ee,id:a,noStorage:!0,watch:!1,height:155,placeholder:"\u6211\u8981\u56DE\u590D",showResizeBar:!0,onChange:ge,extraUse:b&&ye.createElement(E.Z,{color:"#fff",open:le,destroyTooltipOnHide:!0,title:te({id:a,isOpen:le,activeDiscussIndex:y,onChange:ge,setIsOpen:de}),overlayStyle:{maxWidth:600}},ye.createElement("a",{title:le?"\u5173\u95ED\u63A8\u8350":"\u6253\u5F00\u63A8\u8350",onClick:()=>de(!le)},ye.createElement("i",{className:"iconfont icon-dianzan11"})))}),ye.createElement("a",{onClick:fe,className:"btn-send"},"\u53D1\u9001"))};const te=a=>{const[y,x]=(0,ye.useState)(!1),[b,ee]=(0,ye.useState)([]),[z,le]=(0,ye.useState)(1);(0,ye.useEffect)(()=>{a!=null&&a.isOpen?de():(le(1),ee([]))},[a==null?void 0:a.isOpen]);const de=()=>re(void 0,null,function*(){x(!0);const ge=yield(0,se.ZP)(`/api/discusses/${a==null?void 0:a.id}/recommend_answer.json`,{method:"get"});(ge==null?void 0:ge.status)==0&&ee(ge==null?void 0:ge.answer),x(!1)});return ye.createElement(pe.Z,{spinning:y},ye.createElement("div",{style:{color:"#000"}},ye.createElement(ae.Z,{className:"font14",style:{maxHeight:500,overflow:"auto"},value:(b==null?void 0:b[z-1])||""}),ye.createElement(he.Z,{justify:"end",align:"middle"},ye.createElement(ce.Z,null,ye.createElement(oe.Z,{simple:!0,current:z,pageSize:1,total:(b==null?void 0:b.length)||0,onChange:ge=>{le(ge)}})),ye.createElement(ce.Z,null,ye.createElement(ie.ZP,{onClick:()=>re(void 0,null,function*(){a==null||a.onChange(b==null?void 0:b[z-1]),a==null||a.setIsOpen(!1)})},"\u586B\u5165\u6587\u672C\u6846")))))}},3404:function(ct,ot,Se){"use strict";Se.d(ot,{CP:function(){return E},_V:function(){return ce}});var ye=Se(28209),je=Se.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=="},pe={exam:E};function he(oe="",ie="exam"){const{secret:ue,iv:se}=pe[ie];return AES.encrypt(oe,ue,{iv:se,mode:CryptoJS.mode.CBC,padding:CryptoJS.pad.Pkcs7}).toString()}function ce(oe="",ie="exam"){const{secret:ue,iv:se}=pe[ie];return ye.AES.decrypt(oe,ue,{iv:se,mode:je().mode.CBC,padding:je().pad.Pkcs7}).toString(ye.enc.Utf8)}},20736:function(ct,ot,Se){"use strict";Se.d(ot,{BU:function(){return je},Dj:function(){return ye},gH:function(){return E},vp:function(){return pe}});function ye(he){try{he.mozRequestFullScreen?he.mozRequestFullScreen():he.webkitRequestFullScreen&&he.webkitRequestFullScreen()}catch(ce){console.log(ce,":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 pe(){var he=window.top.document.fullscreenElement||window.top.document.mozFullscreenElement||window.top.document.webkitFullscreenElement,ce=document.fullscreenEnabled||document.mozFullscreenEnabled||document.webkitFullscreenEnabled;return console.log("fullscreenElement",he),window.isFullScreen?window.isFullScreen:he!=null}},59579:function(ct,ot,Se){"use strict";Se.d(ot,{U:function(){return ue}});var ye=Se(59301),je=Object.defineProperty,E=Object.getOwnPropertySymbols,pe=Object.prototype.hasOwnProperty,he=Object.prototype.propertyIsEnumerable,ce=(se,ae,re)=>ae in se?je(se,ae,{enumerable:!0,configurable:!0,writable:!0,value:re}):se[ae]=re,oe=(se,ae)=>{for(var re in ae||(ae={}))pe.call(ae,re)&&ce(se,re,ae[re]);if(E)for(var re of E(ae))he.call(ae,re)&&ce(se,re,ae[re]);return se},ie=(se,ae,re)=>new Promise((ne,te)=>{var a=b=>{try{x(re.next(b))}catch(ee){te(ee)}},y=b=>{try{x(re.throw(b))}catch(ee){te(ee)}},x=b=>b.done?ne(b.value):Promise.resolve(b.value).then(a,y);x((re=re.apply(se,ae)).next())});function ue(se,ae){const[re,ne]=(0,ye.useState)(ae),[te,a]=(0,ye.useState)(!1),[y,x]=(0,ye.useState)();return[re,te,(ee,z=!1)=>ie(this,null,function*(){const le=z?ae:oe(oe({},re),ee);a(!0),ne(le);const de=yield se(le);return a(!1),x(de),de}),y]}},39649:function(ct,ot,Se){"use strict";Se.d(ot,{_:function(){return E}});var ye=Se(59301),je=Se(43418);const E=pe=>{var he,ce;const oe=(0,ye.useRef)([]),ie=()=>{for(const ue of oe.current)clearTimeout(ue);oe.current=[]};return(0,ye.useEffect)(()=>{var ue,se,ae,re,ne,te;if(ie(),(ue=pe==null?void 0:pe.exercise)!=null&&ue.left_time&&((ae=(se=pe==null?void 0:pe.exercise)==null?void 0:se.exercise_events)==null?void 0:ae.length)>0){for(const a of(re=pe==null?void 0:pe.exercise)==null?void 0:re.exercise_events)if(((ne=pe==null?void 0:pe.exercise)==null?void 0:ne.left_time)>(a==null?void 0:a.reminder_time)*60){let y=(((te=pe==null?void 0:pe.exercise)==null?void 0:te.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);oe.current.push(x)}}},[(he=pe==null?void 0:pe.exercise)==null?void 0:he.left_time,(ce=pe==null?void 0:pe.exercise)==null?void 0:ce.exercise_events]),ie}},85187:function(ct,ot,Se){"use strict";Se.d(ot,{AL:function(){return le},Iy:function(){return ae},Qv:function(){return te},ez:function(){return z},jb:function(){return re}});var ye=Se(32834),je=Se.n(ye),E=Se(11690),pe=Se.n(E);let he=1;function ce(be,ve){const Pe=be.match(/^(\s+)(?:```)/);if(Pe===null)return ve;const Ee=Pe[1];return ve.split(` `).map(_e=>{const Ce=_e.match(/^\s+/);if(Ce===null)return _e;const[xe]=Ce;return xe.length>=Ee.length?_e.slice(Ee.length):_e}).join(` `)}let oe=[],ie=["