From 3058bcd3920761443448f36e9ae219f0577964fa Mon Sep 17 00:00:00 2001 From: autosubmit Date: Mon, 17 Feb 2025 20:16:51 +0800 Subject: [PATCH] Auto Submit --- ...6e3e284.async.js => 9410.1d3b4a2b.async.js | 78 +++++++------- ...> layouts__SimpleLayouts.5680090f.async.js | 72 ++++++------- ...nHomework__Review__index.22a29b71.async.js | 40 +++---- ..._Exercise__Answer__index.ebe6efe8.async.js | 56 +++++----- ..._Exercise__Review__index.6174739e.async.js | 96 ++++++++--------- ...Homework__Comment__index.6d92de7a.async.js | 102 +++++++++--------- ...lem__RecordDetail__index.31696700.async.js | 44 ++++---- ...s => p__MyProblem__index.de7be631.async.js | 44 ++++---- ...ges__EditQuestion__index.eef0993f.async.js | 38 +++---- ...nges__NewPractice__index.2b143df6.async.js | 38 +++---- ...nc.js => p__tasks__index.2ab73682.async.js | 90 ++++++++-------- umi.0f782171.js => umi.02bc1aaf.js | 2 +- 12 files changed, 350 insertions(+), 350 deletions(-) rename 9410.d6e3e284.async.js => 9410.1d3b4a2b.async.js (88%) rename layouts__SimpleLayouts.d04b3636.async.js => layouts__SimpleLayouts.5680090f.async.js (86%) rename p__Classrooms__Lists__CommonHomework__Review__index.afbc7d78.async.js => p__Classrooms__Lists__CommonHomework__Review__index.22a29b71.async.js (77%) rename p__Classrooms__Lists__Exercise__Answer__index.8b4508b6.async.js => p__Classrooms__Lists__Exercise__Answer__index.ebe6efe8.async.js (93%) rename p__Classrooms__Lists__Exercise__Review__index.632d2cf6.async.js => p__Classrooms__Lists__Exercise__Review__index.6174739e.async.js (93%) rename p__Classrooms__Lists__ProgramHomework__Comment__index.0652afff.async.js => p__Classrooms__Lists__ProgramHomework__Comment__index.6d92de7a.async.js (91%) rename p__MyProblem__RecordDetail__index.f38af80e.async.js => p__MyProblem__RecordDetail__index.31696700.async.js (92%) rename p__MyProblem__index.07223460.async.js => p__MyProblem__index.de7be631.async.js (92%) rename p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index.6d17178f.async.js => p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index.eef0993f.async.js (90%) rename p__Shixuns__Edit__body__Level__Challenges__NewPractice__index.6d80cb43.async.js => p__Shixuns__Edit__body__Level__Challenges__NewPractice__index.2b143df6.async.js (78%) rename p__tasks__index.89021e2c.async.js => p__tasks__index.2ab73682.async.js (95%) rename umi.0f782171.js => umi.02bc1aaf.js (99%) diff --git a/9410.d6e3e284.async.js b/9410.1d3b4a2b.async.js similarity index 88% rename from 9410.d6e3e284.async.js rename to 9410.1d3b4a2b.async.js index 60cd159913..f0d41a546c 100644 --- a/9410.d6e3e284.async.js +++ b/9410.1d3b4a2b.async.js @@ -1,8 +1,8 @@ -(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,Ae=a-Ee*te;me=b,be=Ee*me+Ae}else{var Ee=(a-x)/ge,ve=(ee-le)/fe,Ae=a-Ee*te,Pe=ee-ve*b;me=(Pe-Ae)/(Ee-ve),be=Ee*me+Ae}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,Ae=te*Pe+y*Ee,Ce=a*Pe+x*Ee,_e=y*Pe+b*Ee,we=x*Pe+ee*Ee,Me=b*Pe+z*Ee,Oe=ee*Pe+le*Ee,Fe=Ae*Pe+_e*Ee,Le=Ce*Pe+we*Ee,Ye=_e*Pe+Me*Ee,He=we*Pe+Oe*Ee,Ge=Fe*Pe+Ye*Ee,Ke=Le*Pe+He*Ee;ge.x=Ae,ge.y=Ce,fe.x=Fe,fe.y=Le,me.x=Ge,me.y=Ke,be.x=Ye,be.y=He,ve.x=Me,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 Ae=ye(),Ce=ye(),_e=ye();pe(z,le+ee,z-b,le+ee,z-ee,le+b,z-ee,le,.42,Ae,Ce,_e,be,be);var we=ye(),Me=ye(),Oe=ye();return pe(z,le+ee,z-b,le+ee,z-ee,le+b,z-ee,le,.58,be,be,Oe,we,Me),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,Me.x*a,Me.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,_e.x*a,_e.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,_e.x*a,_e.y*y,Ae.x*a,Ae.y*y,Ce.x*a,Ce.y*y).close()),je(ge),je(fe),je(me),je(be),je(ve),je(Pe),je(Ee),je(Ae),je(Ce),je(_e),je(we),je(Me),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 Ae=new go.PathFigure((z-ee)*a,le*y,!1);return x.add(Ae),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 Ae=new go.PathFigure(de*a+fe,(ge-le)*y+me,!0);return x.add(Ae),Ae.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)),Ae.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)),Ae.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)),Ae.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 Ae=new go.PathFigure(.2*a,y,!1);x.add(Ae),Ae.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(ze):5};ct.setHTML5Codebase=function(ze,ke){oe=ze,He(ze,ke)},ct.setJavaCodebase=ct.setJavaCodebaseVersion=ct.isCompiledInstalled=ct.setPreCompiledScriptPath=ct.setPreCompiledResourcePath=function(){},ct.setHTML5CodebaseVersion=function(ze,ke){var Ne=parseFloat(ze);if(Ne!==NaN&&Ne<5){console.log("The GeoGebra HTML5 codebase version "+Ne+" is deprecated. Using version latest instead.");return}ce=ze,Ye(ze,ke)},ct.getHTML5CodebaseVersion=function(){return te},ct.getParameters=function(){return Se},ct.setFontsCSSURL=function(ze){z=ze},ct.setGiacJSURL=function(ze){},ct.setJNLPFile=function(ze){se=ze},ct.setJNLPBaseDir=function(ze){},ct.inject=function(){function ze(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var ke="auto",Ne=Se.id,Ve,qe=!1,rt=0;rt=5)return!0;var ze=ct.getAppletObject();return ze&&typeof ze.recalculateEnvironments=="function"?(ze.recalculateEnvironments(),!0):!1},ct.startAnimation=function(){var ze=ct.getAppletObject();return ze&&typeof ze.startAnimation=="function"?(ze.startAnimation(),!0):!1},ct.stopAnimation=function(){var ze=ct.getAppletObject();return ze&&typeof ze.stopAnimation=="function"?(ze.stopAnimation(),!0):!1},ct.getAppletObject=function(){var ze=Se.id!==void 0?Se.id:"ggbApplet";return window[ze]},ct.resize=function(){};var Pe=function(ze,ke,Ne){var Ve=document.createElement("param");Ve.setAttribute("name",ke),Ve.setAttribute("value",Ne),ze.appendChild(Ve)},Ee=function(ze){return ze&&ze!=="false"},Ae=function(ze,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 qe=document.createElement("div");qe.classList.add("appletParameters","notranslate");var rt=ke.width,Qe=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=ze.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)):qe.appendChild(at),Te.appendChild(qe),We||ze.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(qe),ze.appendChild(et),ke.appletOnLoad=function($e){ct.resize(),Ze($e)}}function Je($e,tt){tt&&typeof tt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement($e,tt.appletOnLoad):renderGGBElement($e),Ge("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){Je(st.article,st.params)}),html5AppletsToProcess=null)},de(te)<5&&($e.className+=" geogebraweb")):Je($e,tt)}if(Ve){scriptLoadStarted=!0;for(var xe=0;xe0?(Ie.remove(),Te.attr("id","fullscreencontent").show(),jQuery(Ze).append(Te),window.dispatchEvent(new Event("resize"))):Ae(Ie,ke,!1),window.GGBT_wsf_view.launchFullScreen(Ze)}else ne=Ve,Ae(ze,ke,!1);if(!window.GGBT_wsf_view)for(Qe=0;Qeze/4*3&&(Ie=ze/4*3),Ze=Ie/5.8,Ue.setAttribute("src",b),Ue.setAttribute("width",Ie),Ue.setAttribute("height",Ze);var Te=(ze-Ie)/2,We=(ke-Ze)/2;Ue.style.left=Te+"px",Ue.style.top=We+"px",qe.appendChild(Ue)}}return qe.appendChild(Qe),qe},Fe=function(ze){return ze=ze.toLowerCase(),ze==="html5"||ze==="screenshot"?ze:"html5"},Le=["web","webSimple","web3d","tablet","tablet3d","phone"],Ye=function(ze,ke){if(te=ze,ke){He(te,!0);return}var Ne=!je;if(Ne){var Ve=de(te);!isNaN(Ve)&&Ve<4.4&&(Ne=!1)}var qe,rt;window.location.protocol.substr(0,4)==="http"?qe=window.location.protocol:qe="http:";var Qe=te.indexOf("//");Qe>0?rt=te:Qe===0?rt=qe+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(ze,ke){if(ze.requirejs){ae=ze;return}ze.slice(-1)!=="/"&&(ze+="/"),ae=ze,ke===null&&(ke=ze.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=ze.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&&ze.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+Ve+" is deprecated. Using version latest instead."),Ye("5.0",ke))},Ge=function(ze,ke){window.console&&window.console.log&&(!ke||typeof ke.showLogging=="undefined"||ke.showLogging&&ke.showLogging!=="false")&&console.log(ze)};Se.material_id!==void 0?me(Ke):Ke();function Ke(){var ze=ot;ce!==null?ze=ce:parseFloat(ze)<5&&(ze="5.0"),Ye(ze,!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:Ae,setImageGenerator:Ce}=me;let _e=ge;return de||(_e=ge.filter(we=>we.show)),ye.createElement("div",{className:`${E.bigTips} mt10`},_e.map((we,Me)=>ye.createElement("div",{onClick:()=>a(void 0,null,function*(){if(Ae){pe.ZP.warning("\u8BF7\u7B49\u5F85\u4EFB\u52A1\u5B8C\u6210");return}const Oe=Date.now();Ce(!1),ve(!0),Ee(),be([{text:we.query,key:Oe,sender:"user",show:!1},{loading:!0,key:Oe,sender:"AI",show:!0}]),Pe("",ne({type:we.type,description:we.description,query:we.query,file_id:"",history:[],is_chat:!1,image_generator:!1},le))}),key:Me,className:E.item},ye.createElement(he.Z,{align:"middle"},ye.createElement("img",{className:"mr10",src:we.img}),ye.createElement("span",{style:{color:"#232B40",fontSize:16,fontWeight:600}},we.name)),ye.createElement("div",{className:"mt10",style:{color:"#434D6C"}},we.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,showImageGenerator:!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 vn}});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",imgWrap:"imgWrap___ORTRf",codeCopy:"codeCopy___re8vm"},b=Se(35328),ee=Se(30084),z=Se(2878),le=Se(50484),de=Se(59301),ge=Object.defineProperty,fe=Object.getOwnPropertySymbols,me=Object.prototype.hasOwnProperty,be=Object.prototype.propertyIsEnumerable,ve=(Mt,St,Lt)=>St in Mt?ge(Mt,St,{enumerable:!0,configurable:!0,writable:!0,value:Lt}):Mt[St]=Lt,Pe=(Mt,St)=>{for(var Lt in St||(St={}))me.call(St,Lt)&&ve(Mt,Lt,St[Lt]);if(fe)for(var Lt of fe(St))be.call(St,Lt)&&ve(Mt,Lt,St[Lt]);return Mt},Ee=(Mt,St)=>{var Lt={};for(var Vt in Mt)me.call(Mt,Vt)&&St.indexOf(Vt)<0&&(Lt[Vt]=Mt[Vt]);if(Mt!=null&&fe)for(var Vt of fe(Mt))St.indexOf(Vt)<0&&be.call(Mt,Vt)&&(Lt[Vt]=Mt[Vt]);return Lt},Ae=(Mt,St,Lt)=>new Promise((Vt,on)=>{var hn=dt=>{try{ft(Lt.next(dt))}catch(Ut){on(Ut)}},gt=dt=>{try{ft(Lt.throw(dt))}catch(Ut){on(Ut)}},ft=dt=>dt.done?Vt(dt.value):Promise.resolve(dt.value).then(hn,gt);ft((Lt=Lt.apply(Mt,St)).next())}),_e=({value:Mt,streamingStatus:St,onFinish:Lt,cancelIndex:Vt,loadAll:on})=>{const[hn,gt]=(0,ye.useState)(""),ft=(0,ye.useRef)(Mt),dt=(0,ye.useRef)(St),Ut=(0,ye.useRef)(0),$t=(0,ye.useRef)(null),rn=(0,ye.useRef)(null),[jn,fn]=(0,ye.useState)(!1),Un=(0,ye.useRef)(!1);(0,ye.useEffect)(()=>{dt.current=St},[St]),(0,ye.useEffect)(()=>{ft.current=Mt},[Mt]),(0,ye.useEffect)(()=>{if(on){gt(qn(`\u8FD9\u662F\u6839\u636E\u60A8\u7684\u63CF\u8FF0\u751F\u6210\u7684\u56FE\u7247\uFF1A +(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,Ae=a-Ee*te;me=b,be=Ee*me+Ae}else{var Ee=(a-x)/ge,ve=(ee-le)/fe,Ae=a-Ee*te,Pe=ee-ve*b;me=(Pe-Ae)/(Ee-ve),be=Ee*me+Ae}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,Ae=te*Pe+y*Ee,Ce=a*Pe+x*Ee,_e=y*Pe+b*Ee,we=x*Pe+ee*Ee,Me=b*Pe+z*Ee,Oe=ee*Pe+le*Ee,Fe=Ae*Pe+_e*Ee,Le=Ce*Pe+we*Ee,Ye=_e*Pe+Me*Ee,He=we*Pe+Oe*Ee,Ge=Fe*Pe+Ye*Ee,Ke=Le*Pe+He*Ee;ge.x=Ae,ge.y=Ce,fe.x=Fe,fe.y=Le,me.x=Ge,me.y=Ke,be.x=Ye,be.y=He,ve.x=Me,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 Ae=ye(),Ce=ye(),_e=ye();pe(z,le+ee,z-b,le+ee,z-ee,le+b,z-ee,le,.42,Ae,Ce,_e,be,be);var we=ye(),Me=ye(),Oe=ye();return pe(z,le+ee,z-b,le+ee,z-ee,le+b,z-ee,le,.58,be,be,Oe,we,Me),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,Me.x*a,Me.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,_e.x*a,_e.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,_e.x*a,_e.y*y,Ae.x*a,Ae.y*y,Ce.x*a,Ce.y*y).close()),je(ge),je(fe),je(me),je(be),je(ve),je(Pe),je(Ee),je(Ae),je(Ce),je(_e),je(we),je(Me),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 Ae=new go.PathFigure((z-ee)*a,le*y,!1);return x.add(Ae),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 Ae=new go.PathFigure(de*a+fe,(ge-le)*y+me,!0);return x.add(Ae),Ae.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)),Ae.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)),Ae.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)),Ae.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 Ae=new go.PathFigure(.2*a,y,!1);x.add(Ae),Ae.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(ze):5};ct.setHTML5Codebase=function(ze,ke){oe=ze,He(ze,ke)},ct.setJavaCodebase=ct.setJavaCodebaseVersion=ct.isCompiledInstalled=ct.setPreCompiledScriptPath=ct.setPreCompiledResourcePath=function(){},ct.setHTML5CodebaseVersion=function(ze,ke){var Ne=parseFloat(ze);if(Ne!==NaN&&Ne<5){console.log("The GeoGebra HTML5 codebase version "+Ne+" is deprecated. Using version latest instead.");return}ce=ze,Ye(ze,ke)},ct.getHTML5CodebaseVersion=function(){return te},ct.getParameters=function(){return Se},ct.setFontsCSSURL=function(ze){z=ze},ct.setGiacJSURL=function(ze){},ct.setJNLPFile=function(ze){se=ze},ct.setJNLPBaseDir=function(ze){},ct.inject=function(){function ze(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var ke="auto",Ne=Se.id,Ve,qe=!1,rt=0;rt=5)return!0;var ze=ct.getAppletObject();return ze&&typeof ze.recalculateEnvironments=="function"?(ze.recalculateEnvironments(),!0):!1},ct.startAnimation=function(){var ze=ct.getAppletObject();return ze&&typeof ze.startAnimation=="function"?(ze.startAnimation(),!0):!1},ct.stopAnimation=function(){var ze=ct.getAppletObject();return ze&&typeof ze.stopAnimation=="function"?(ze.stopAnimation(),!0):!1},ct.getAppletObject=function(){var ze=Se.id!==void 0?Se.id:"ggbApplet";return window[ze]},ct.resize=function(){};var Pe=function(ze,ke,Ne){var Ve=document.createElement("param");Ve.setAttribute("name",ke),Ve.setAttribute("value",Ne),ze.appendChild(Ve)},Ee=function(ze){return ze&&ze!=="false"},Ae=function(ze,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 qe=document.createElement("div");qe.classList.add("appletParameters","notranslate");var rt=ke.width,Qe=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=ze.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)):qe.appendChild(at),Te.appendChild(qe),We||ze.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(qe),ze.appendChild(et),ke.appletOnLoad=function($e){ct.resize(),Ze($e)}}function Je($e,tt){tt&&typeof tt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement($e,tt.appletOnLoad):renderGGBElement($e),Ge("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",tt)}function Ie($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){Je(st.article,st.params)}),html5AppletsToProcess=null)},de(te)<5&&($e.className+=" geogebraweb")):Je($e,tt)}if(Ve){scriptLoadStarted=!0;for(var xe=0;xe0?(Be.remove(),Te.attr("id","fullscreencontent").show(),jQuery(Ze).append(Te),window.dispatchEvent(new Event("resize"))):Ae(Be,ke,!1),window.GGBT_wsf_view.launchFullScreen(Ze)}else ne=Ve,Ae(ze,ke,!1);if(!window.GGBT_wsf_view)for(Qe=0;Qeze/4*3&&(Be=ze/4*3),Ze=Be/5.8,Ue.setAttribute("src",b),Ue.setAttribute("width",Be),Ue.setAttribute("height",Ze);var Te=(ze-Be)/2,We=(ke-Ze)/2;Ue.style.left=Te+"px",Ue.style.top=We+"px",qe.appendChild(Ue)}}return qe.appendChild(Qe),qe},Fe=function(ze){return ze=ze.toLowerCase(),ze==="html5"||ze==="screenshot"?ze:"html5"},Le=["web","webSimple","web3d","tablet","tablet3d","phone"],Ye=function(ze,ke){if(te=ze,ke){He(te,!0);return}var Ne=!je;if(Ne){var Ve=de(te);!isNaN(Ve)&&Ve<4.4&&(Ne=!1)}var qe,rt;window.location.protocol.substr(0,4)==="http"?qe=window.location.protocol:qe="http:";var Qe=te.indexOf("//");Qe>0?rt=te:Qe===0?rt=qe+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(ze,ke){if(ze.requirejs){ae=ze;return}ze.slice(-1)!=="/"&&(ze+="/"),ae=ze,ke===null&&(ke=ze.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=ze.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&&ze.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+Ve+" is deprecated. Using version latest instead."),Ye("5.0",ke))},Ge=function(ze,ke){window.console&&window.console.log&&(!ke||typeof ke.showLogging=="undefined"||ke.showLogging&&ke.showLogging!=="false")&&console.log(ze)};Se.material_id!==void 0?me(Ke):Ke();function Ke(){var ze=ot;ce!==null?ze=ce:parseFloat(ze)<5&&(ze="5.0"),Ye(ze,!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:Ae,setImageGenerator:Ce}=me;let _e=ge;return de||(_e=ge.filter(we=>we.show)),ye.createElement("div",{className:`${E.bigTips} mt10`},_e.map((we,Me)=>ye.createElement("div",{onClick:()=>a(void 0,null,function*(){if(Ae){pe.ZP.warning("\u8BF7\u7B49\u5F85\u4EFB\u52A1\u5B8C\u6210");return}const Oe=Date.now();Ce(!1),ve(!0),Ee(),be([{text:we.query,key:Oe,sender:"user",show:!1},{loading:!0,key:Oe,sender:"AI",show:!0}]),Pe("",ne({type:we.type,description:we.description,query:we.query,file_id:"",history:[],is_chat:!1,image_generator:!1},le))}),key:Me,className:E.item},ye.createElement(he.Z,{align:"middle"},ye.createElement("img",{className:"mr10",src:we.img}),ye.createElement("span",{style:{color:"#232B40",fontSize:16,fontWeight:600}},we.name)),ye.createElement("div",{className:"mt10",style:{color:"#434D6C"}},we.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,showImageGenerator:!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 vn}});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",imgWrap:"imgWrap___ORTRf",codeCopy:"codeCopy___re8vm"},b=Se(35328),ee=Se(30084),z=Se(2878),le=Se(50484),de=Se(59301),ge=Object.defineProperty,fe=Object.getOwnPropertySymbols,me=Object.prototype.hasOwnProperty,be=Object.prototype.propertyIsEnumerable,ve=(Mt,St,xt)=>St in Mt?ge(Mt,St,{enumerable:!0,configurable:!0,writable:!0,value:xt}):Mt[St]=xt,Pe=(Mt,St)=>{for(var xt in St||(St={}))me.call(St,xt)&&ve(Mt,xt,St[xt]);if(fe)for(var xt of fe(St))be.call(St,xt)&&ve(Mt,xt,St[xt]);return Mt},Ee=(Mt,St)=>{var xt={};for(var Vt in Mt)me.call(Mt,Vt)&&St.indexOf(Vt)<0&&(xt[Vt]=Mt[Vt]);if(Mt!=null&&fe)for(var Vt of fe(Mt))St.indexOf(Vt)<0&&be.call(Mt,Vt)&&(xt[Vt]=Mt[Vt]);return xt},Ae=(Mt,St,xt)=>new Promise((Vt,sn)=>{var hn=dt=>{try{ft(xt.next(dt))}catch(Nt){sn(Nt)}},gt=dt=>{try{ft(xt.throw(dt))}catch(Nt){sn(Nt)}},ft=dt=>dt.done?Vt(dt.value):Promise.resolve(dt.value).then(hn,gt);ft((xt=xt.apply(Mt,St)).next())}),_e=({value:Mt,streamingStatus:St,onFinish:xt,cancelIndex:Vt,loadAll:sn})=>{const[hn,gt]=(0,ye.useState)(""),ft=(0,ye.useRef)(Mt),dt=(0,ye.useRef)(St),Nt=(0,ye.useRef)(0),$t=(0,ye.useRef)(null),an=(0,ye.useRef)(null),jn=(0,ye.useRef)(!0),[fn,Nn]=(0,ye.useState)(!1),Hn=(0,ye.useRef)(!1);(0,ye.useEffect)(()=>{dt.current=St},[St]),(0,ye.useEffect)(()=>{ft.current=Mt},[Mt]),(0,ye.useEffect)(()=>{if(sn){gt(Ut(`\u8FD9\u662F\u6839\u636E\u60A8\u7684\u63CF\u8FF0\u751F\u6210\u7684\u56FE\u7247\uFF1A -`+ft.current));return}return fn(!0),$t.current=setInterval(Wn,70),()=>{clearInterval($t.current)}},[]),(0,ye.useEffect)(()=>{jn&&(gt(qn(ft.current)),clearInterval($t.current),fn(!1),Lt())},[Vt]);const Wn=()=>Ae(void 0,null,function*(){const Nt=ft.current[Ut.current];Nt!==void 0?(gt(xt=>qn(xt,Nt)),Ut.current++,clearInterval($t.current),$t.current=setInterval(Wn,280/(ft.current.length-Ut.current))):dt.current===!1&&(gt(qn(ft.current)),clearInterval($t.current),fn(!1),Lt())}),qn=(Nt,xt="")=>(Nt=Nt+xt,Nt.split(new RegExp("(```.*?```)","gs")).map(wt=>wt.startsWith("```")?wt:wt.replace(/\\\(([\s\S]*?)\\\)/g,"$$$$$1$$$$").replace(/\\\[([\s\S]*?)\\\]/g,"$$$$$1$$$$")).join(""));return de.createElement(de.Fragment,null,de.createElement("div",{className:`${x.answer} fadeIn animated`,ref:rn},de.createElement(re.U,{remarkPlugins:[ee.Z],rehypePlugins:[b.Z,te.Z],components:{code(Nt){var xt=Nt,{node:yt,inline:Wt,className:wt,children:Tt}=xt,Ft=Ee(xt,["node","inline","className","children"]);const tn=/language-(\w+)/.exec(wt||"");return!Wt&&tn?de.createElement("div",{className:x.codeCopy},de.createElement(y.CopyToClipboard,{text:String(Tt).replace(/\n$/,""),onCopy:()=>je.ZP.success({content:"\u590D\u5236\u6210\u529F",key:"copy"})},de.createElement("button",null,"\u590D\u5236")),de.createElement(ne.Z,Pe({style:a.Z,language:tn[1],PreTag:"div",showLineNumbers:!0,lineNumberStyle:{minWidth:"40px"}},Ft),String(Tt||"").replace(/\n$/,""))):de.createElement("code",Pe({className:wt},Ft),Tt)},img({node:Nt}){var xt;const yt=(xt=Nt.properties)==null?void 0:xt.src;return de.createElement("div",{className:x.imgWrap,onClick:()=>le.Z.publish("preview-image",yt)},de.createElement("img",{src:yt,onLoad:()=>setTimeout(Lt,500)}))}}},`${hn}${jn&&!Un.current?"__":""}`)))},we={reasoning:"reasoning___S0mKl",btn:"btn____CIJG",content:"content___CIAh9"},Me=Se(59301),Oe=(Mt,St,Lt)=>new Promise((Vt,on)=>{var hn=dt=>{try{ft(Lt.next(dt))}catch(Ut){on(Ut)}},gt=dt=>{try{ft(Lt.throw(dt))}catch(Ut){on(Ut)}},ft=dt=>dt.done?Vt(dt.value):Promise.resolve(dt.value).then(hn,gt);ft((Lt=Lt.apply(Mt,St)).next())}),Le=({value:Mt="",streamingStatus:St,onFinish:Lt,cancelIndex:Vt,time:on,loading:hn})=>{const[gt,ft]=(0,ye.useState)(""),[dt,Ut]=(0,ye.useState)(!0),$t=(0,ye.useRef)(Mt),rn=(0,ye.useRef)(St),jn=(0,ye.useRef)(0),fn=(0,ye.useRef)(null),[Un,Wn]=(0,ye.useState)(!1),qn=70;(0,ye.useEffect)(()=>{rn.current=St},[St]),(0,ye.useEffect)(()=>{$t.current=Mt},[Mt]),(0,ye.useEffect)(()=>(Wn(!0),fn.current=setInterval(Nt,qn),()=>{clearInterval(fn.current)}),[]),(0,ye.useEffect)(()=>{Un&&(ft($t.current),clearInterval(fn.current),Wn(!1),Lt())},[Vt]);const Nt=()=>Oe(void 0,null,function*(){const xt=$t.current[jn.current];xt!==void 0?(ft(yt=>yt+xt),jn.current++,clearInterval(fn.current),fn.current=setInterval(Nt,280/($t.current.length-jn.current))):rn.current===!1&&(ft($t.current),clearInterval(fn.current),Wn(!1),Lt())});return Me.createElement("div",{className:`${we.reasoning} fadeIn animated`},Me.createElement("div",{className:we.btn,onClick:()=>Ut(!dt)},Me.createElement("i",{className:"iconfont icon-shendusikao"}),on?Me.createElement("span",null,"\u5DF2\u6DF1\u5EA6\u601D\u8003\uFF08\u7528\u65F6 ",on," \u79D2\uFF09"):Me.createElement("span",null,"\u601D\u8003\u4E2D..."),dt?Me.createElement("b",{className:"iconfont icon-shouqi6"}):Me.createElement("b",{className:"iconfont icon-zhankai6"})),hn&&Me.createElement(ue.Z,{spinning:!0,className:"mt20"}),dt&&!hn&&Me.createElement("div",{className:we.content},gt,Un?Me.createElement("span",{className:"aiBlink"},"__"):""))},Ye={select:"select___Kt_GE",box:"box___S5_ly",text:"text___dtZDv",itemWrap:"itemWrap___xmw7x",item:"item___io6Bx",active:"active___nHRTI"},He=Se(81327),Ge=Object.defineProperty,Ke=Object.getOwnPropertySymbols,ze=Object.prototype.hasOwnProperty,ke=Object.prototype.propertyIsEnumerable,Ne=(Mt,St,Lt)=>St in Mt?Ge(Mt,St,{enumerable:!0,configurable:!0,writable:!0,value:Lt}):Mt[St]=Lt,Ve=(Mt,St)=>{for(var Lt in St||(St={}))ze.call(St,Lt)&&Ne(Mt,Lt,St[Lt]);if(Ke)for(var Lt of Ke(St))ke.call(St,Lt)&&Ne(Mt,Lt,St[Lt]);return Mt};const qe=Mt=>React.createElement("svg",Ve({className:"logo1_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:200,height:200},Mt),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 rt="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+PHBhdGggZD0iTTEwMTkuNDA3IDYyMC44IDg5MS44MzQgMzk3Ljc4MSA5NDYuNDkgMjkzLjEyYTI5LjA5OSAyOS4wOTkgMCAwIDAgNi40LTM2LjM5NWwtNzAuMTg3LTEyNi41OTJhMzAuMDggMzAuMDggMCAwIDAtMjQuNTc2LTEzLjY1M0g1OTcuNTE5TDUzOS4xOTQgMTQuNTA3YTI3LjM1IDI3LjM1IDAgM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ySymbols,Ie=Object.prototype.hasOwnProperty,Ze=Object.prototype.propertyIsEnumerable,Te=(Mt,St,Lt)=>St in Mt?Qe(Mt,St,{enumerable:!0,configurable:!0,writable:!0,value:Lt}):Mt[St]=Lt,We=(Mt,St)=>{for(var Lt in St||(St={}))Ie.call(St,Lt)&&Te(Mt,Lt,St[Lt]);if(Ue)for(var Lt of Ue(St))Ze.call(St,Lt)&&Te(Mt,Lt,St[Lt]);return Mt};const at=Mt=>React.createElement("svg",We({className:"logo2_svg__icon",viewBox:"0 0 1417 1024",xmlns:"http://www.w3.org/2000/svg",width:276.758,height:200},Mt),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 et="data: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ODMgMTUuOTExIDE1LjkxMSAwIDAgMS00Ljg4NC0xMS42NTh6bTE3My41MjkgODUuNDY0YTEwNC4zNyAxMDQuMzcgMCAwIDEtMzMuMDA1IDguNTg2IDcxLjQ0NCA3MS40NDQgMCAwIDEtNDQuNTA0LTEzLjU0OGMtMTUuMjgyLTEyLjI4OC0yNi4yMy0xOS4xNDEtMzAuNzItNDAuNjQ1YTg5LjE2NyA4OS4xNjcgMCAwIDEgLjc4Ny0zMS40MjljMy45MzktMTcuNDg3LS4zOTMtMjguNzUtMTMuMzEyLTM4LjkxMi0xMC40NzYtOC4zNS0yMy43MS0xMC42MzQtMzguMzYtMTAuNjM0YTMyLjA2IDMyLjA2IDAgMCAxLTE0LjE3OS00LjE3NWMtNi4xNDQtMi45MTQtMTEuMTA2LTEwLjI0LTYuMzAxLTE5LjE0YTYwLjE4IDYwLjE4IDAgMCAxIDEwLjcxMi0xMS4yNjVjMTkuODUtMTAuNzkgNDIuNjkzLTcuMjQ2IDYzLjg4Mi43ODggMTkuNjkzIDcuNzk4IDM0LjUwMSAyMS44OTggNTUuOTI2IDQxLjkwNSAyMS43NCAyNC4xODMgMjUuNjggMzAuOCAzOC4xMjUgNDguOTE2IDkuODQ2IDE0LjE3OSAxOC43NDcgMjguNzUgMjQuODkgNDUuNDUgMy43MDMgMTAuMzk3LTEuMTAyIDE4LjkwNS0xMy45NDEgMjQuMTAzeiIgZmlsbD0iIzRENkJGRSIvPjwvc3ZnPg==",Je=Se(59301),xe=({disabled:Mt,value:St,onChange:Lt})=>{const[Vt,on]=(0,ye.useState)(!1),hn=[{name:"\u901A\u4E49\u5343\u95EE",key:"qwen-max",img:rt},{name:"DeepSeek",key:"deepseek-r1",img:et}],gt=hn.find(ft=>ft.key===St);return Je.createElement("div",{className:Ye.select},Je.createElement(He.Z,{size:10},Je.createElement("span",{className:"c-grey-333 font16"},"\u6A21\u578B"),Je.createElement("div",{className:Ye.box,onMouseLeave:()=>on(!1)},Je.createElement("div",{className:Ye.text,onClick:()=>on(!0)},Je.createElement("img",{src:gt.img,width:20}),Je.createElement("span",null,gt.name),Je.createElement("b",{className:"iconfont icon-zhankai6"})),Vt&&Je.createElement("div",{className:Ye.itemWrap},Je.createElement("aside",null,hn.map(ft=>Je.createElement("div",{key:ft.key,className:`${Ye.item} ${ft.key===St?Ye.active:""}`,onClick:dt=>{dt.stopPropagation(),Lt(ft.key),on(!1)}},Je.createElement("img",{src:ft.img,width:20}),Je.createElement("span",null,ft.name))))))))},De={loadingPic:"loadingPic___y2kKZ",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"},Re=Se(7660),Xe=Se(88230),$e=({src:Mt,onClick:St,topPercentage:Lt=.62})=>{const Vt=(0,ye.useRef)(null),on=(0,ye.useRef)(!1),hn=(0,ye.useRef)(!1),[gt,ft]=(0,ye.useState)(window.innerHeight*Lt);return(0,ye.useEffect)(()=>{var dt;if(Vt.current){let Ut=function(Un){var Wn;on.current=!0,jn=Un.pageY,fn=(Wn=Vt.current.getBoundingClientRect())==null?void 0:Wn.top,(0,Xe.kk)("none"),document.onselectstart=function(){return!1}},$t=function(){on.current&&!hn.current&&St&&St(),on.current=!1,hn.current=!1,(0,Xe.kk)("auto"),document.onselectstart=null},rn=function(Un){var Wn;if(on.current){hn.current=!0;const qn=jn-Un.pageY;let Nt=fn-qn;const xt=window.innerHeight-(((Wn=Vt.current)==null?void 0:Wn.offsetHeight)||0)-50,yt=50;Ntxt&&(Nt=xt),ft(Nt)}};on.current=!1;let jn=0,fn=0;return(dt=Vt.current)==null||dt.addEventListener("mousedown",Ut),document.addEventListener("mousemove",rn),document.addEventListener("mouseup",$t),()=>{var Un;(Un=Vt.current)==null||Un.removeEventListener("mousedown",Ut),document.removeEventListener("mousemove",rn),document.removeEventListener("mouseup",$t)}}},[Vt,St]),(0,ye.useEffect)(()=>{const dt=()=>{ft(window.innerHeight*Lt)};return window.addEventListener("resize",dt),()=>{window.removeEventListener("resize",dt)}},[]),ye.createElement("div",{style:{position:"fixed",top:gt,right:20,zIndex:100,cursor:on.current?"grabbing":"grab",userSelect:"none"},ref:Vt},ye.createElement("img",{src:Mt,width:60,style:{pointerEvents:"none"},draggable:"false"}))},tt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAAAXNSR0IArs4c6QAAIABJREFUeF6VnQmAnGV9/z/vMffeV3azuRMCSUgCSQggiCBFEE9UvFpqW6utFopa71bx6GHRWq31xKtSFS0eqICV+wwSIJKQkDvZJJvsObOzO/d7PH9/z/O+s5sY2/4XhpmdnXln3u/7/f1+39/xPFj8H39Wr742GRaOXaYs65WWnVhtuc58y7Lmh4oWZYFv2fpIgdxZFtg2oZMgdByU7eA7Npbt6L958rttUXMsQtsCyyawLEI5gC0HMMcCpf8193ILIVT6ZoUhlgqxw5BEoLAD87ulAuxQkZC/h4ogDHBCX79eXivHsfShQizkOJQsFR63FMdVGO6yHfWz1s4FD+za9V+N/ws01v/2otVLzuv36tZHwfpDlN1m2w6W62LLiVpyLhahpQixNRiBxkPAE+BcQtvRj+Veyd8dG99x8CyLIOESuC4qlPcJ6BH48l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WT3bZM7y1azt3ki/gjJC0RysYIa059LeGaeqJJ94Ii6H9Kv8NNcovk+uKXvqF8un/N/+CcBu5N24Yb8H9pfF6XOW1M+bUtNYP6yoIGRccPphjBrZT7dBcosjtC2PsnRBnNUNDdiik5I+BeREQnpsMZm2VQt7vcR+PRoJPC1mtc2/mZv///ojj90punz2WfN/nntvQHFezmRXpPcdP3bIqIL8whGWF6xc+04oL7kqQ2Pfpu5omAZThNY6GWuV4waWOp6xcGg0UDPtuWn/lj/j+X+Lbso4jJUfOwAAAABJRU5ErkJggg==",lt=Se(38446),ut=Se(86204),pt=Object.defineProperty,vt=(Mt,St,Lt)=>St in Mt?pt(Mt,St,{enumerable:!0,configurable:!0,writable:!0,value:Lt}):Mt[St]=Lt,mt=(Mt,St,Lt)=>vt(Mt,typeof St!="symbol"?St+"":St,Lt),Pt=(Mt,St,Lt)=>new Promise((Vt,on)=>{var hn=dt=>{try{ft(Lt.next(dt))}catch(Ut){on(Ut)}},gt=dt=>{try{ft(Lt.throw(dt))}catch(Ut){on(Ut)}},ft=dt=>dt.done?Vt(dt.value):Promise.resolve(dt.value).then(hn,gt);ft((Lt=Lt.apply(Mt,St)).next())});class At extends ut.EventEmitter{constructor(St,Lt){super(),mt(this,"url"),mt(this,"body"),mt(this,"fullContent",""),mt(this,"controller",null),this.url=St,this.body=Lt}startStream(){return Pt(this,null,function*(){this.controller=new AbortController;const{signal:St}=this.controller;try{const Lt=yield fetch(this.url,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},credentials:"include",body:JSON.stringify(this.body),signal:St});if(!Lt.ok)throw new Error(`\u8BF7\u6C42\u5931\u8D25: ${Lt.status}`);const Vt=Lt.headers.get("content-type");if(!Vt||!Vt.includes("text/event-stream"))throw new Error("\u54CD\u5E94\u6570\u636E\u683C\u5F0F\u9519\u8BEF");const on=Lt.body.getReader(),hn=new TextDecoder("utf-8");for(;;){const{done:gt,value:ft}=yield on.read();if(gt)break;const Ut=hn.decode(ft,{stream:!0}).split(` -`);for(const $t of Ut)if($t.startsWith("data:")){const rn=$t.slice(5).trim();if(rn==="[DONE]")break;try{const jn=JSON.parse(rn);jn.data&&this.handleData(jn.data)}catch(jn){console.error("\u89E3\u6790 JSON \u5931\u8D25:",jn)}}}this.emit("done",this.fullContent)}catch(Lt){Lt.name==="AbortError"?this.emit("cancelled",this.fullContent):this.emit("error",Lt.message)}})}handleData(St){St.content&&(this.fullContent+=St.content,this.emit("data",{chunk:St,full:this.fullContent}))}cancelRequest(){var St;(St=this.controller)==null||St.abort()}}var Dt=At,bt=Se(58617),Ct=Se(32050),_t=Object.defineProperty,cn=Object.defineProperties,Yt=Object.getOwnPropertyDescriptors,nn=Object.getOwnPropertySymbols,Zt=Object.prototype.hasOwnProperty,Xt=Object.prototype.propertyIsEnumerable,Gt=(Mt,St,Lt)=>St in Mt?_t(Mt,St,{enumerable:!0,configurable:!0,writable:!0,value:Lt}):Mt[St]=Lt,Jt=(Mt,St)=>{for(var Lt in St||(St={}))Zt.call(St,Lt)&&Gt(Mt,Lt,St[Lt]);if(nn)for(var Lt of nn(St))Xt.call(St,Lt)&&Gt(Mt,Lt,St[Lt]);return Mt},Dn=(Mt,St)=>cn(Mt,Yt(St)),wn=(Mt,St,Lt)=>new Promise((Vt,on)=>{var hn=dt=>{try{ft(Lt.next(dt))}catch(Ut){on(Ut)}},gt=dt=>{try{ft(Lt.throw(dt))}catch(Ut){on(Ut)}},ft=dt=>dt.done?Vt(dt.value):Promise.resolve(dt.value).then(hn,gt);ft((Lt=Lt.apply(Mt,St)).next())}),vn=({title:Mt="\u5934\u6B4CAI",placeholder:St,hideUpload:Lt,hideInputBox:Vt,aiIcon:on=tt,userIcon:hn=st,dragIcon:gt=it,children:ft,fetchUrl:dt,fetchData:Ut={},extraAnswerAction:$t,showDefaultTips:rn=!0,onOpen:jn,onClose:fn,loadingOption:Un,showPreference:Wn=!1,initMessage:qn,initMessageType:Nt,customRequest:xt,visible:yt,width:Wt=1200,isCheckRestrictNumber:wt=!1,headNode:Tt,headFunctionNode:Ft,showRedraw:tn,showEdit:ln,promptPropName:mn="prompt",topPercentage:En,showSwitchingModel:Cn=!1,showImageGenerator:bn=!1})=>{var _n,Tn,It,ar,zn;const[Hn,gn]=(0,ye.useState)(!1),[Bt,Ht]=(0,ye.useState)("qwen-max"),[an,un]=(0,ye.useState)([]),[An,Mn]=(0,ye.useState)(!1),[Bn,Nn]=(0,ye.useState)([]),[nr,wr]=(0,ye.useState)(""),[yr,Kt]=(0,ye.useState)(0),[xr,Lr]=(0,ye.useState)(!1),[Tr,ur]=(0,ye.useState)(null),[br,pr]=(0,ye.useState)(""),cr=(0,ye.useRef)(),kn=(0,ye.useRef)(null),Kn=(0,ye.useRef)(null),[hr,Xn]=(0,ye.useState)(!1),[fr,sr]=(0,ye.useState)(!1),Cr=(0,ye.useRef)(!1),[Sr,or]=(0,ye.useState)(!1),Br=(0,ye.useRef)(!1),[_r,Ir]=(0,ye.useState)(0),jr=(0,ye.useRef)(null),ht=(0,ye.useRef)(!1),Ot=(0,ye.useRef)(null),[Et,jt]=(0,ye.useState)(!0),zt=(0,ye.useRef)(!1),kt=nr==null?void 0:nr.split(` -`).length,sn=Wt-48,en={maxCount:1,showUploadList:!1,withCredentials:!0,accept:".doc,.docx,.md,.txt,.pdf,.jpg,.png",beforeUpload:Rt=>{var yn,Vn,Rn,er;const mr=(er=(Rn=(Vn=(yn=Rt==null?void 0:Rt.name)==null?void 0:yn.split("."))==null?void 0:Vn.slice(-1))==null?void 0:Rn[0])==null?void 0:er.toLowerCase(),vr=["doc","docx","md","pdf","txt","jpg","png"].includes(mr);return Rt.size==0?(je.ZP.warning("\u6587\u4EF6\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A"),E.default.LIST_IGNORE):vr||(je.ZP.warning("\u76EE\u524D\u652F\u6301txt\u3001md\u3001doc\u3001docx\u3001pdf\u3001jpg\u3001png\u6587\u4EF6"),E.default.LIST_IGNORE)},onChange:({file:Rt})=>{un([Rt])},action:`${(_n=lt.Z)==null?void 0:_n.API_SERVER}/api/intelligent_imports/upload_file.json`};(0,ye.useEffect)(()=>{if(!Bn.length)return;const Rt=Bn[Bn.length-1];Rt!=null&&Rt.loading&&(cr.current.scrollTop=cr.current.scrollHeight)},[Bn.length]),(0,ye.useEffect)(()=>{if(!cr.current||!jr.current)return;const Rt=new IntersectionObserver(([yn])=>{jt(yn.isIntersecting)},{root:cr.current,rootMargin:"70px",threshold:0});return Rt.observe(jr.current),()=>{var yn;(yn=Rt==null?void 0:Rt.unobserve)==null||yn.call(Rt,jr.current)}},[cr.current,jr.current]),(0,ye.useEffect)(()=>{if(!hr)return;const Rt=cr.current,yn=Ot.current;ht.current=!1;const Vn=()=>{const{scrollTop:er,scrollHeight:mr,clientHeight:ir}=Rt,vr=er+ir===mr;ht.current=!0,vr&&(ht.current=!1)};Rt.addEventListener("wheel",Vn);const Rn=new ResizeObserver(()=>{ht.current||(Rt.scrollTop=Rt.scrollHeight)});return Rn.observe(yn),()=>{var er;Rn.unobserve(yn),(er=Rt==null?void 0:Rt.removeEventListener)==null||er.call(Rt,"wheel",Vn)}},[hr]),(0,ye.useEffect)(()=>{typeof yt=="boolean"&&gn(yt)},[yt]),(0,ye.useEffect)(()=>{typeof yt=="boolean"&&gn(yt)},[yt]),(0,ye.useEffect)(()=>{var Rt;if(kn.current&&Tr!==null){kn.current.focus();const yn=(Rt=kn.current.resizableTextArea)==null?void 0:Rt.textArea;yn&&(yn.selectionStart=yn.selectionEnd=yn.value.length)}},[Tr]),(0,ye.useEffect)(()=>{kt<5&&Lr(!1)},[kt]),(0,ye.useEffect)(()=>{const Rt=Date.now();Hn&&Nt===1&&(Nn([{text:qn,key:Rt,sender:"user",show:!0},{loading:!0,key:Rt,sender:"AI",show:!0}]),Mn(!0),Yn(qn)),Hn&&Nt===2&&qn&&(Nn([...Bn,{text:qn,key:Rt,sender:"user",show:!0},{loading:!0,key:Rt,sender:"AI",show:!0}]),Mn(!0),Yn(qn)),Hn&&Nt===3&&(Nn([{text:qn,key:Rt,sender:"user",show:!1},{loading:!0,key:Rt,sender:"AI",show:!0}]),Mn(!0),Yn()),Hn&&Nt===4&&(qn||Bn.length===0)&&(Nn([...Bn,{text:qn,key:Rt,sender:"user",show:!!Bn.length},{loading:!0,key:Rt,sender:"AI",show:!0}]),Mn(!0),Yn(qn)),Hn&&wt&&Sn(),Hn||Qt()},[Hn]);const Qt=()=>{var Rt,yn;pr(""),ur(null),un([]),wr(""),(yn=(Rt=Kn.current)==null?void 0:Rt.cancelRequest)==null||yn.call(Rt)},dn=()=>{if(jn){jn();return}gn(!0)},qt=()=>{if(fn){fn();return}gn(!1)},In=()=>{Lr(!xr)},Sn=()=>wn(void 0,null,function*(){const Rt=yield(0,Re.ZP)("/api/intelligent_imports/check_number.json",{method:"get"});(Rt==null?void 0:Rt.status)===0&&Kt(Rt==null?void 0:Rt.number)}),Fn=()=>{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"))})},On=Rt=>Rt.reduce((Vn,Rn)=>{var er,mr;if(Rn.sender==="user"){const ir=Rt.find(vr=>vr.key===Rn.key&&vr.sender==="AI");ir&&(ir!=null&&ir.text)&&!((mr=(er=ir==null?void 0:ir.response)==null?void 0:er.data)!=null&&mr.message)&&Vn.push({question:Rn.text,answer:ir.text})}return Vn},[]),Yn=(...Rt)=>wn(void 0,[...Rt],function*(yn="",Vn={},Rn=Bn){if(xt&&(yield xt({mes:yn,setChatData:Nn,fileList:an,body:Vn,checkNum:Sn,setLoading:Mn,bodyChatData:Rn,setTyping:Xn,setImageGenerator:or})),!xt){const er=an==null?void 0:an.map(tr=>{var Pn;return(Pn=tr==null?void 0:tr.response)==null?void 0:Pn.file_id}),mr=Vn.history||On(Bn),ir=Jt(Jt({response_mode:"streaming",model:Bt,thinking_enabled:fr,image_generator:Sr,file_id:(er==null?void 0:er[0])||"",[mn]:yn,history:mr},Ut),Vn);Cr.current=ir.thinking_enabled,Br.current=ir.image_generator;const vr=Object.fromEntries(Object.entries(ir).filter(([tr,Pn])=>Pn!==void 0));Kn.current=new Dt(lt.Z.API_SERVER+dt,vr),yield new Promise((tr,Pn)=>{let Gn=null,Er=null;Kn.current.on("data",Mr=>{Xn(!0);const{chunk:{content:Rr,type:Ur,created:Wr}}=Mr;Ur==="thinking"&&(Gn=Gn||Wr,Nn(zr=>[...zr].map((Gr,Yr)=>Yr===zr.length-1?Dn(Jt({},Gr),{reasoning:(Gr.reasoning||"")+Rr,loading:!1,hideAnswer:!0}):Gr))),Ur==="text"&&(Er=Er||Wr,Nn(zr=>[...zr].map((Gr,Yr)=>Yr===zr.length-1?Dn(Jt({},Gr),{text:(Gr.text||"")+Rr,loading:!1,startTime:Gn,endTime:Er}):Gr)))}),Kn.current.on("done",()=>{tr()}),Kn.current.on("error",()=>{const Mr="\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!",Rr={status:0,data:{message:Mr}};Nn(Ur=>[...Ur].map((Wr,zr)=>zr===Ur.length-1?Dn(Jt({},Wr),{text:Mr,loading:!1,response:Rr}):Wr)),tr()}),Kn.current.on("cancelled",()=>{tr()}),Kn.current.startStream()})}wt&&Sn(),Mn(!1)}),lr=Rt=>{wr(Rt.target.value)},Ar=(Rt,yn)=>{var Vn,Rn,er,mr;const ir=Date.now();if(Qt(),Mn(!0),Rt==="edit"){const vr=Bn.splice(yn),{fileList:tr}=(vr==null?void 0:vr[0])||{},Pn=((Rn=(Vn=tr==null?void 0:tr[0])==null?void 0:Vn.response)==null?void 0:Rn.file_id)||"",Gn={history:On(Bn),file_id:Pn};Nn([...Bn,{text:br,key:ir,sender:"user",fileList:tr,show:!0},{loading:!0,key:ir,sender:"AI",show:!0}]),Yn(br,Gn,Bn)}if(Rt==="redraw"){const vr=Bn.splice(yn-1),{text:tr,fileList:Pn}=(vr==null?void 0:vr[0])||{},Gn=((mr=(er=Pn==null?void 0:Pn[0])==null?void 0:er.response)==null?void 0:mr.file_id)||"",Er={history:On(Bn),file_id:Gn};Nn([...Bn,{text:tr,key:ir,sender:"user",fileList:Pn,show:!0},{loading:!0,key:ir,sender:"AI",show:!0}]),Yn(tr,Er,Bn)}},Pr=()=>{if(nr.trim()!==""){Qt();const Rt=Date.now();Nn([...Bn,{text:nr,key:Rt,sender:"user",fileList:an,show:!0},{loading:!0,key:Rt,sender:"AI",show:!0}]),Mn(!0),Yn(nr)}},rr=Rt=>{if(Rt.shiftKey){if(Rt.key==="Enter")return}else if(Rt.key==="Enter"){if(Rt.preventDefault(),$n||zt.current)return;Pr()}},dr=(Rt,yn)=>{var Vn,Rn,er;const mr=(Vn=Rt==null?void 0:Rt.fileList)==null?void 0:Vn[0],ir=yn===Tr;return ye.createElement("div",{className:De.li,style:{width:sn}},ye.createElement("div",{className:De.avatarIcon},ye.createElement("img",{className:De.img,src:hn})),ye.createElement("div",{className:De.content},mr&&ye.createElement("div",{className:De.file},ye.createElement("img",{src:Se(90034)(`./${((er=(Rn=mr==null?void 0:mr.name)==null?void 0:Rn.split("."))==null?void 0:er.pop())||"txt"}.png`),width:20,className:"mr10"}),ye.createElement("div",{className:"c-black"},ye.createElement("div",null,(0,Xe.tP)(mr==null?void 0:mr.name,20)),ye.createElement("div",null,(0,Xe.RD)(mr==null?void 0:mr.size)))),ye.createElement("div",{className:De.borderBox},ir?ye.createElement(he.default.TextArea,{value:br,ref:kn,autoSize:!0,placeholder:"\u8BF7\u8F93\u5165",bordered:!1,onChange:vr=>pr(vr.target.value)}):ye.createElement("div",{className:De.text},Rt==null?void 0:Rt.text)),ir?ye.createElement("div",{className:De.action},ye.createElement(ce.ZP,{onClick:()=>{pr(""),ur(null)},size:"small"},"\u53D6\u6D88"),ye.createElement(ce.ZP,{disabled:!br.trim(),onClick:()=>Ar("edit",yn),type:"primary",size:"small"},"\u786E\u8BA4")):ye.createElement("div",{className:De.action},ye.createElement(y.CopyToClipboard,{text:(Rt==null?void 0:Rt.text)||"",onCopy:()=>je.ZP.success("\u590D\u5236\u6210\u529F")},ye.createElement(oe.Z,{title:"\u590D\u5236"},ye.createElement("i",{className:"iconfont icon-fuzhi8 font13"}))),ln&&!An&&ye.createElement(oe.Z,{title:"\u7F16\u8F91"},ye.createElement("i",{onClick:()=>{ur(yn),pr((Rt==null?void 0:Rt.text)||"")},className:"iconfont icon-bianji10 font14"})))))},Dr=(Rt,yn)=>{const Vn=yn===Bn.length-1?{ref:Ot}:{};return ye.createElement("div",Dn(Jt({},Vn),{className:De.li,style:{width:sn}}),ye.createElement("div",{className:De.avatarIcon},ye.createElement("img",{className:De.img,src:on})),ye.createElement("div",{className:De.content},ye.createElement("div",{className:De.borderBox},Rt.loading&&ye.createElement(ye.Fragment,null,Br.current?ye.createElement("div",{className:De.loadingPic},"\u6B63\u5728\u751F\u6210\u4E2D",ye.createElement("div",{className:"ai-loading"})):!Cr.current&&ye.createElement("div",null,ye.createElement("div",{className:De.loading},ye.createElement("div",{className:De.dot}),ye.createElement("div",{className:De.dot}),ye.createElement("div",{className:De.dot})),ye.createElement("div",{style:{marginTop:10,color:"#9096A3"}},(Un==null?void 0:Un.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"))),Cr.current&&ye.createElement(Le,{time:Rt==null?void 0:Rt.time,cancelIndex:_r,loading:Rt.loading,streamingStatus:!(Rt!=null&&Rt.text),onFinish:()=>{Nn(Rn=>[...Rn].map((er,mr)=>mr===Rn.length-1?Dn(Jt({},er),{hideAnswer:!1,time:er.startTime?er.endTime-er.startTime:null}):er))},value:Rt==null?void 0:Rt.reasoning}),!!(Rt!=null&&Rt.text)&&!Rt.hideAnswer&&ye.createElement(_e,{cancelIndex:_r,streamingStatus:An,loadAll:Br.current,onFinish:()=>{Xn(!1)},value:Rt==null?void 0:Rt.text})),ye.createElement("div",{className:De.action},$t==null?void 0:$t(Rt),ye.createElement(y.CopyToClipboard,{text:String((Rt==null?void 0:Rt.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"}))),Wn&&ye.createElement(ye.Fragment,null,ye.createElement(oe.Z,{title:"\u559C\u6B22"},ye.createElement("i",{style:Rt!=null&&Rt.like?{color:"#FA8D30"}:{},onClick:()=>Zn("like",!(Rt!=null&&Rt.like),yn),className:"iconfot icon-yijiejue font15"})),ye.createElement(oe.Z,{title:"\u4E0D\u559C\u6B22"},ye.createElement("i",{style:Rt!=null&&Rt.boring?{color:"#e86d7c"}:{},onClick:()=>Zn("boring",!(Rt!=null&&Rt.boring),yn),className:"iconfot icon-weijiejuezhengchang font15"}))),tn&&!An&&ye.createElement(oe.Z,{title:"\u91CD\u65B0\u751F\u6210"},ye.createElement("i",{onClick:()=>Ar("redraw",yn),className:"iconfot icon-gengxin-genghuan-tihuan"})))))},Zn=(Rt,yn,Vn)=>{Nn(Rn=>(Rn[Vn][Rt]=yn,yn&&(Rn[Vn][Rt==="like"?"boring":"like"]=!1),[...Rn]))},gr=()=>{var Rt,yn;Ir(Vn=>Vn+1),(yn=(Rt=Kn.current)==null?void 0:Rt.cancelRequest)==null||yn.call(Rt),Mn(!1),Xn(!1)},Qn=yr>9,pn=Lt||an.length>0,$n=!!(an!=null&&an.length)&&((Tn=an==null?void 0:an[0])==null?void 0:Tn.status)!=="done"||An||hr;return ye.createElement("div",null,ft?ye.createElement("div",{onClick:dn},ft):ye.createElement($e,{src:gt,onClick:dn,topPercentage:En}),ye.createElement(ie.Z,{open:Hn,width:Wt,extra:Cn&&ye.createElement(xe,{disabled:$n,value:Bt,onChange:Rt=>{sr(!1),or(!1),Ht(Rt)}}),title:ye.createElement("span",{className:"c-grey-333 font16"},Mt),onClose:qt,bodyStyle:{paddingRight:4}},ye.createElement("div",{className:ae()(De.wrap,Hn&&"body-overflow-hidden")},ye.createElement("div",{ref:cr,className:De.chatContainer},rn&&ye.createElement("div",{className:`${De.li} mb20`,style:{width:sn}},ye.createElement("div",{className:De.avatarIcon},ye.createElement("img",{className:De.img,src:on})),ye.createElement("div",{className:De.content},ye.createElement("div",{className:De.borderBox},Tt,Ft==null?void 0:Ft({isDisabledNum:Qn,checkNumModal:Fn,checkNum:Sn,onClose:qt,setChatData:Nn,setLoading:Mn,getData:Yn,clearStatus:Qt,typing:hr,setImageGenerator:or})))),Bn==null?void 0:Bn.map((Rt,yn)=>ye.createElement(ye.Fragment,{key:Rt.key+yn},Rt.show&&ye.createElement(ye.Fragment,null,Rt.sender==="user"&&dr(Rt,yn),Rt.sender==="AI"&&Dr(Rt,yn)))),!Et&&ye.createElement("div",{className:De.backBottom,onClick:()=>{ht.current=!1,cr.current.scrollTop=cr.current.scrollHeight}},ye.createElement("i",{className:"iconfont icon-huidaodibu"})),ye.createElement("div",{ref:jr})),!Vt&&ye.createElement("div",{className:ae()(De.footerContainer,xr&&De.full,(Sr||fr||!!an.length)&&De.footerContainerSelected)},ye.createElement("div",{className:De.btnWrp},!!an.length&&ye.createElement("div",{className:De.uploadFile},((It=an==null?void 0:an[0])==null?void 0:It.status)==="uploading"&&ye.createElement(ue.Z,{indicator:ye.createElement(bt.Z,{spin:!0}),className:"mr10",size:"small",spinning:!0}),ye.createElement("span",{title:(ar=an==null?void 0:an[0])==null?void 0:ar.name,className:"mr10"},(0,Xe.tP)((zn=an==null?void 0:an[0])==null?void 0:zn.name,40)),ye.createElement("i",{onClick:()=>un([]),className:"iconfont current icon-shanchu15 delete-hover c-red-ee4 font14"})),Bt==="deepseek-r1"&&ye.createElement("div",{onClick:()=>sr(!fr),className:ae()(De.thinkBtn,fr&&De.thinkBtnActive)},ye.createElement("i",{className:"iconfont icon-shendusikao mr10"}),"\u6DF1\u5EA6\u601D\u8003\uFF08R1\uFF09"),bn&&Bt==="qwen-max"&&ye.createElement("div",{onClick:()=>or(!Sr),className:ae()(De.thinkBtn,Sr&&De.thinkBtnActive)},ye.createElement("i",{className:"iconfont icon-shangchuantupian2 mr10"}),"\u56FE\u50CF\u751F\u6210")),ye.createElement(oe.Z,{title:Qn&&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()(De.inputContainer,kt>4&&De.lineFour,!!an.length&&"pb40",Qn&&De.disabledInput)},ye.createElement(E.default,Dn(Jt({},en),{className:`${pn&&"hide"}`}),ye.createElement(ce.ZP,{className:De.uploadBtn,icon:ye.createElement(Ct.Z,{style:{fontSize:18,color:"#FFF"}})})),ye.createElement(he.default.TextArea,{rows:kt>4?4:kt,placeholder:St||"\u5728\u8FD9\u91CC\u8F93\u5165\u4F60\u95EE\u9898\u5427,Shift+Enter\u6362\u884C\uFF5E",value:nr,bordered:!1,style:pn?{paddingLeft:0,marginLeft:0}:{},onChange:lr,onPressEnter:rr,onCompositionStart:()=>{zt.current=!0},onCompositionEnd:()=>{zt.current=!1}}),hr?ye.createElement("div",{className:`iconfont icon-tingzhihuida ${De.cancelBtn}`,onClick:gr}):ye.createElement(ce.ZP,{className:(nr==null?void 0:nr.trim())===""?De.sendBtnDisabled:De.sendBtn,icon:ye.createElement("i",{className:"iconfont icon-fasong2 c-white"}),disabled:$n,onClick:Pr}),kt>4&&ye.createElement("span",{className:De.fullIcon,onClick:In},xr&&ye.createElement("span",{className:"iconfont icon-shousuo"}),!xr&&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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ASN08m1TA32MS8gPuMONKLf8Y+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=(Ae,Ce,_e)=>Ce in Ae?y(Ae,Ce,{enumerable:!0,configurable:!0,writable:!0,value:_e}):Ae[Ce]=_e,ge=(Ae,Ce)=>{for(var _e in Ce||(Ce={}))z.call(Ce,_e)&&de(Ae,_e,Ce[_e]);if(ee)for(var _e of ee(Ce))le.call(Ce,_e)&&de(Ae,_e,Ce[_e]);return Ae},fe=(Ae,Ce)=>x(Ae,b(Ce)),me=(Ae,Ce,_e)=>new Promise((we,Me)=>{var Oe=Ye=>{try{Le(_e.next(Ye))}catch(He){Me(He)}},Fe=Ye=>{try{Le(_e.throw(Ye))}catch(He){Me(He)}},Le=Ye=>Ye.done?we(Ye.value):Promise.resolve(Ye.value).then(Oe,Fe);Le((_e=_e.apply(Ae,Ce)).next())});const be=["fullscreenchange","msfullscreenchange","webkitfullscreenchange","mozfullscreenchange"],{Countdown:ve}=je.default,Pe=({exercise:Ae,socket:Ce,dispatch:_e,onStartScreenshot:we,onCloseScreenshot:Me,handleToDetail:Oe})=>{const[Fe,Le]=E.default.useModal(),Ye=(0,ye.useRef)(),[He,Ge]=(0,ye.useState)(!0),Ke=(0,ye.useRef)(!1),ze=(0,ne.useParams)();(0,ye.useEffect)(()=>{var De,Re,Xe;if(document.addEventListener((0,he.gH)(),Be,!1),window.addEventListener("blur",et,!1),(De=Ae.exerciseUserInfo)!=null&&De.screen_open&&(0,he.vp)()&&Ge(!1),(Re=Ae.exerciseUserInfo)!=null&&Re.screen_open&&!(0,he.vp)()){(0,re.RG)(" ",!0);const nt=document.domain==="kepukehuan.educoder.net"?30:localStorage.getItem("Refresh")==="1"?Ae.exerciseUserInfo.screen_sec+3:Ae.exerciseUserInfo.screen_sec+10+1;Ye.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"}},Ae.exerciseUserInfo.screen_num-Ae.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 Je();($e=Ye.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=Ye.current)==null||$e.destroy(),Ge(!1),(0,he.Dj)(document.body),document.getElementById("root").addEventListener("click",Ne,!1)}})}return(Xe=Ae.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(()=>{Ae.actionTabs.removeEventListenerExitScreen&&(document.getElementById("root").removeEventListener("click",Ne,!1),document.removeEventListener((0,he.gH)(),Be,!1))},500),Ve()},[Ae.actionTabs]),(0,ye.useEffect)(()=>{setTimeout(()=>{Ae.exerciseUserInfo.used_screen_num>Ae.exerciseUserInfo.screen_num&&We()},500)},[Ae.exerciseUserInfo]);const ke=()=>me(void 0,null,function*(){const De=yield Je();setTimeout(()=>{var Re,Xe;(Re=Ye.current)==null||Re.destroy(),Ye.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"},De.used_screen_num),"\u6B21\uFF0C\u5207\u5C4F\u8D85\u8FC7",a.createElement("span",{className:"c-red"},(Xe=Ae.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=De=>{!(0,he.vp)()&&De.target.nodeName!=="A"&&De.target.nodeName!=="BUTTON"&&De.target.innerHTML!=="\u786E \u5B9A"&&(0,he.Dj)(document.body)},Ve=()=>me(void 0,null,function*(){const De=yield _e({type:"exercise/getExerciseUserInfo",payload:ge({},ze)});return De==null?void 0:De.data}),qe=De=>me(void 0,null,function*(){var Re;if((Re=Ae.exerciseUserInfo)!=null&&Re.screen_at){const nt=yield(0,ce.ck)(fe(ge({},ze),{reset:!0}));if((nt==null?void 0:nt.status)===-6)return}const Xe=yield(0,ce.oy)({id:ze.categoryId});if(Xe!=null&&Xe.is_commit){E.default.destroyAll(),yield rt(),at(!0);return}else Te(De+1)}),rt=()=>me(void 0,null,function*(){var De;const Re=ie()(),Xe=Ae.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)(ze.categoryId,{exercise_user_id:(De=Ae.exerciseUserInfo)==null?void 0:De.exercise_user_id,time:nt,time_long:$e,count:tt})}Ie.current=[]}),Qe=(0,ye.useRef)(0),Ue=(0,ye.useRef)(0),Ie=(0,ye.useRef)([]),Ze=(0,ye.useRef)(!1),Te=De=>me(void 0,null,function*(){var Re;Ke.current||(we(),E.default.destroyAll(),Qe.current=ie()().valueOf(),Ze.current=!0,Ye.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=Ae.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},De-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:Qe.current,end:Ue.current}),qe(De)},valueStyle:{fontSize:30,color:"#165DFF"},format:"ss",value:Date.now()+(Ae.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),Me(),Ye.current.destroy(),Ze.current=!1}}))}),We=()=>me(void 0,null,function*(){E.default.destroyAll(),(yield(0,ce.VL)({categoryId:ze.categoryId,commit_method:1}))&&at()}),at=(De=!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,De){const nt=yield(0,ce.Yu)(ze.categoryId,{exercise_user_id:(Re=Ae.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=Ae.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:()=>{Me(),Oe()},onOk:()=>{ne.history.push(`/classrooms/${ze.coursesId}/exercisenotice/${ze.categoryId}/users/${ze.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=De=>{(0,he.vp)()&&document.getElementById("iframeShixuns").style.display=="none"&&!Ze.current&&(0,he.BU)()},Je=()=>me(void 0,null,function*(){var De;if((De=Ae.exerciseUserInfo)!=null&&De.screen_at){const nt=yield(0,ce.ck)(fe(ge({},ze),{reset:!0}));if((nt==null?void 0:nt.status)===-6)return}const Re=yield(0,ce.oy)({id:ze.categoryId});if(Re!=null&&Re.is_commit){at();return}return yield Ve()}),Be=()=>me(void 0,null,function*(){var De;if((0,re.RG)(" ",!0),(0,he.vp)()){if((De=Ae.exerciseUserInfo)!=null&&De.screen_at){var Re=yield(0,ce.ck)(fe(ge({},ze),{reset:!0}));if((Re==null?void 0:Re.status)===-6)return}}else if(!Ze.current){var Re=yield(0,ce.ck)(ge({},ze));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","*")}}),xe=()=>me(void 0,null,function*(){(0,ce.ck)(ge({},ze));const De=yield Ve();Te(De.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:Ae,globalSetting:Ce})=>({globalSetting:Ce,exercise:Ae}))(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 _e=yield(0,ie.ZJ)(re==null?void 0:re.src);z.current.src="",z.current.src=_e,z.current.onload=function(){Ce()},me(!1),ve("")}),Ee=_e=>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:_e.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(_e.state)}})).status===0&&x():we!=null&&we.id&&x(we),me(!1),ve("")}),Ae=()=>{const _e=document.querySelector('a[href="https://markerjs.com/"]');_e&&_e.parentNode&&(_e.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(Me=>{const Oe=document.querySelector(Me.name);Oe&&Oe.setAttribute("title",Me.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),Ae()},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 Ae=Ee.innerText;return ie&&ie(Ae),Ae};(0,ye.useImperativeHandle)(y,()=>({getData:me}));const be=Ee=>{Ee.preventDefault();const Ae=Ee.clientX-ee,Ce=Ee.clientY-le;document.body.onmousemove=_e=>{let we=_e.clientX-Ae,Me=_e.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)),Me=Math.max(0,Math.min(Me,Le)),ve(_e.clientX,_e.clientY,Ae,Ce)&&(z(we),de(Me))},document.body.onmouseup=function(){document.body.onmousemove=null}},ve=(Ee,Ae,Ce,_e)=>{const we=document.body.clientHeight,Me=document.body.clientWidth;return Ee<20&&Ce>Ee||Ee>Me-20&&CeAe||Ae>we-20&&_e{ge&&setTimeout(()=>{const Ee=document.getElementsByClassName("markdown-popup-form")[0],Ae=window.innerWidth/2-Ee.offsetWidth/2,Ce=window.innerHeight/2-Ee.offsetHeight/2;z(Ae),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 +`+ft.current));return}return Nn(!0),$t.current=setInterval(er,70),()=>{clearInterval($t.current)}},[]),(0,ye.useEffect)(()=>{fn&&(gt(Ut(ft.current)),clearInterval($t.current),Nn(!1),xt())},[Vt]);const er=()=>Ae(void 0,null,function*(){const pt=ft.current[Nt.current];pt!==void 0?(gt(zt=>Ut(zt,pt)),Nt.current++,clearInterval($t.current),$t.current=setInterval(er,280/(ft.current.length-Nt.current))):dt.current===!1&&(gt(Ut(ft.current)),clearInterval($t.current),Nn(!1),xt())}),Ut=(pt,zt="")=>(pt=pt+zt,pt.split(new RegExp("(```.*?```)","gs")).map(jt=>jt.startsWith("```")?jt:jt.replace(/\\\(([\s\S]*?)\\\)/g,"$$$$$1$$$$").replace(/\\\[([\s\S]*?)\\\]/g,"$$$$$1$$$$")).join("")),Ot=()=>{jn.current&&(jn.current=!1,setTimeout(xt,500))};return de.createElement(de.Fragment,null,de.createElement("div",{className:`${x.answer} fadeIn animated`,ref:an},de.createElement(re.U,{remarkPlugins:[ee.Z],rehypePlugins:[b.Z,te.Z],components:{code(pt){var zt=pt,{node:Ct,inline:Lt,className:jt,children:en}=zt,nn=Ee(zt,["node","inline","className","children"]);const mn=/language-(\w+)/.exec(jt||"");return!Lt&&mn?de.createElement("div",{className:x.codeCopy},de.createElement(y.CopyToClipboard,{text:String(en).replace(/\n$/,""),onCopy:()=>je.ZP.success({content:"\u590D\u5236\u6210\u529F",key:"copy"})},de.createElement("button",null,"\u590D\u5236")),de.createElement(ne.Z,Pe({style:a.Z,language:mn[1],PreTag:"div",showLineNumbers:!0,lineNumberStyle:{minWidth:"40px"}},nn),String(en||"").replace(/\n$/,""))):de.createElement("code",Pe({className:jt},nn),en)},img({node:pt}){var zt;const Ct=(zt=pt.properties)==null?void 0:zt.src;return de.createElement("div",{className:x.imgWrap,onClick:()=>le.Z.publish("preview-image",Ct)},de.createElement("img",{src:Ct,onLoad:Ot}))}}},`${hn}${fn&&!Hn.current?"__":""}`)))},we={reasoning:"reasoning___S0mKl",btn:"btn____CIJG",content:"content___CIAh9"},Me=Se(59301),Oe=(Mt,St,xt)=>new Promise((Vt,sn)=>{var hn=dt=>{try{ft(xt.next(dt))}catch(Nt){sn(Nt)}},gt=dt=>{try{ft(xt.throw(dt))}catch(Nt){sn(Nt)}},ft=dt=>dt.done?Vt(dt.value):Promise.resolve(dt.value).then(hn,gt);ft((xt=xt.apply(Mt,St)).next())}),Le=({value:Mt="",streamingStatus:St,onFinish:xt,cancelIndex:Vt,time:sn,loading:hn})=>{const[gt,ft]=(0,ye.useState)(""),[dt,Nt]=(0,ye.useState)(!0),$t=(0,ye.useRef)(Mt),an=(0,ye.useRef)(St),jn=(0,ye.useRef)(0),fn=(0,ye.useRef)(null),[Nn,Hn]=(0,ye.useState)(!1),er=70;(0,ye.useEffect)(()=>{an.current=St},[St]),(0,ye.useEffect)(()=>{$t.current=Mt},[Mt]),(0,ye.useEffect)(()=>(Hn(!0),fn.current=setInterval(Ut,er),()=>{clearInterval(fn.current)}),[]),(0,ye.useEffect)(()=>{Nn&&(ft($t.current),clearInterval(fn.current),Hn(!1),xt())},[Vt]);const Ut=()=>Oe(void 0,null,function*(){const Ot=$t.current[jn.current];Ot!==void 0?(ft(pt=>pt+Ot),jn.current++,clearInterval(fn.current),fn.current=setInterval(Ut,280/($t.current.length-jn.current))):an.current===!1&&(ft($t.current),clearInterval(fn.current),Hn(!1),xt())});return Me.createElement("div",{className:`${we.reasoning} fadeIn animated`},Me.createElement("div",{className:we.btn,onClick:()=>Nt(!dt)},Me.createElement("i",{className:"iconfont icon-shendusikao"}),sn?Me.createElement("span",null,"\u5DF2\u6DF1\u5EA6\u601D\u8003\uFF08\u7528\u65F6 ",sn," \u79D2\uFF09"):Me.createElement("span",null,"\u601D\u8003\u4E2D..."),dt?Me.createElement("b",{className:"iconfont icon-shouqi6"}):Me.createElement("b",{className:"iconfont icon-zhankai6"})),hn&&Me.createElement(ue.Z,{spinning:!0,className:"mt20"}),dt&&!hn&&Me.createElement("div",{className:we.content},gt,Nn?Me.createElement("span",{className:"aiBlink"},"__"):""))},Ye={select:"select___Kt_GE",box:"box___S5_ly",text:"text___dtZDv",itemWrap:"itemWrap___xmw7x",item:"item___io6Bx",active:"active___nHRTI"},He=Se(81327),Ge=Object.defineProperty,Ke=Object.getOwnPropertySymbols,ze=Object.prototype.hasOwnProperty,ke=Object.prototype.propertyIsEnumerable,Ne=(Mt,St,xt)=>St in Mt?Ge(Mt,St,{enumerable:!0,configurable:!0,writable:!0,value:xt}):Mt[St]=xt,Ve=(Mt,St)=>{for(var xt in St||(St={}))ze.call(St,xt)&&Ne(Mt,xt,St[xt]);if(Ke)for(var xt of Ke(St))ke.call(St,xt)&&Ne(Mt,xt,St[xt]);return Mt};const qe=Mt=>React.createElement("svg",Ve({className:"logo1_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:200,height:200},Mt),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 rt="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+PHBhdGggZD0iTTEwMTkuNDA3IDYyMC44IDg5MS44MzQgMzk3Ljc4MSA5NDYuNDkgMjkzLjEyYTI5LjA5OSAyOS4wOTkgMCAwIDAgNi40LTM2LjM5NWwtNzAuMTg3LTEyNi41OTJhMzAuMDggMzAuMDggMCAwIDAtMjQuNTc2LTEzLjY1M0g1OTcuNTE5TDUzOS4xOTQgMTQuNTA3YTI3LjM1IDI3LjM1IDAgMCAwLTIwLjkwNy0xNC41NUgzODAuNjQ0YTI5LjE0MSAyOS4xNDEgMCAwIDAtMjQuNjE4IDE0LjU1djUuNTQ2TDIyNS44MDYgMjQzLjAzSDEwMC45MjNhMjkuMTg0IDI5LjE4NCAwIDAgMC0yNS41MTUgMTMuNjU0TDMuNDI4IDM4NC4wODVhMzIuNzY4IDMyLjc2OCAwIDAgMCAwIDI5LjE4NEwxMzIuODM2IDYzOC4wOCA3NC41MTEgNzQwLjA1M2EzMi43NjggMzIuNzY4IDAgMCAwIDAgMjkuMDU2bDY2LjUxNyAxMTYuNTY2YTI5LjkwNyAyOS45MDcgMCAwIDAgMjUuNTE1IDE0LjUwNkg0MjcuMTVsNjIuODQ4IDEwOS4yMjdBMzAuMDggMzAuMDggMCAwIDAgNTEyLjc4MyAxMDI0SDY2MC40MWEyOS4xNDEgMjkuMTQxIDAgMCAwIDI0LjU3Ni0xNC41NWwxMjguNDY5LTIyNC44NTNoMTE0Ljc3M2EzMS45MTUgMzEuOTE1IDAgMCAwIDI0LjY2Mi0xNS40NDVsNjYuNDc0LTExNy40MTlhMjguMTYgMjguMTYgMCAwIDAgMC0zMC45NzZsLjA0My4wNDN6bS0xNjEuMjggMTQuNTkyTDc5MS42MSA1MTIuNDY5IDUxOC4yODcgOTkzLjk2M2wtNzQuNzUyLTEyMi44OGgtMjczLjI4bDY1LjYyMS0xMTkuMjExaDEzOS4zOTJMMTAxLjg2IDI3Mi4yMTNoMTQzLjA2MkwzODAuNjg3IDMwLjA4bDY4LjM1MiAxMTkuMjUzLTcwLjE4NyAxMjIuODhIOTI1LjU0bC02OS4yMDUgMTIxLjk0MiAxMzcuNiAyNDEuMTk0SDg1OC4xN3oiIGZpbGw9IiM2MDVCRUMiLz48cGF0aCBkPSJtNDk5Ljk4MyA2OTkuMzA3IDE3NC4zNzktMjc0LjczMUgzMjQuNzA4eiIgZmlsbD0iIzYwNUJFQyIvPjwvc3ZnPg==",Qe=Object.defineProperty,Ue=Object.getOwnPropertySymbols,Be=Object.prototype.hasOwnProperty,Ze=Object.prototype.propertyIsEnumerable,Te=(Mt,St,xt)=>St in Mt?Qe(Mt,St,{enumerable:!0,configurable:!0,writable:!0,value:xt}):Mt[St]=xt,We=(Mt,St)=>{for(var xt in St||(St={}))Be.call(St,xt)&&Te(Mt,xt,St[xt]);if(Ue)for(var xt of Ue(St))Ze.call(St,xt)&&Te(Mt,xt,St[xt]);return Mt};const at=Mt=>React.createElement("svg",We({className:"logo2_svg__icon",viewBox:"0 0 1417 1024",xmlns:"http://www.w3.org/2000/svg",width:276.758,height:200},Mt),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 et="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDE0MTcgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjc2Ljc1OCIgaGVpZ2h0PSIyMDAiPjxwYXRoIGQ9Ik0xMzY0LjQ0IDExOC43MDVjLTE0LjE3OC02LjY5NS0yMC4zMjIgNi4wNjUtMjguNTkzIDEyLjUyNS0yLjkxNCAyLjA0OC01LjI3NyA0LjcyNi03LjY0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UtMTMuMzEyLTM4LjkxMi0xMC40NzYtOC4zNS0yMy43MS0xMC42MzQtMzguMzYtMTAuNjM0YTMyLjA2IDMyLjA2IDAgMCAxLTE0LjE3OS00LjE3NWMtNi4xNDQtMi45MTQtMTEuMTA2LTEwLjI0LTYuMzAxLTE5LjE0YTYwLjE4IDYwLjE4IDAgMCAxIDEwLjcxMi0xMS4yNjVjMTkuODUtMTAuNzkgNDIuNjkzLTcuMjQ2IDYzLjg4Mi43ODggMTkuNjkzIDcuNzk4IDM0LjUwMSAyMS44OTggNTUuOTI2IDQxLjkwNSAyMS43NCAyNC4xODMgMjUuNjggMzAuOCAzOC4xMjUgNDguOTE2IDkuODQ2IDE0LjE3OSAxOC43NDcgMjguNzUgMjQuODkgNDUuNDUgMy43MDMgMTAuMzk3LTEuMTAyIDE4LjkwNS0xMy45NDEgMjQuMTAzeiIgZmlsbD0iIzRENkJGRSIvPjwvc3ZnPg==",Je=Se(59301),xe=({disabled:Mt,value:St,onChange:xt})=>{const[Vt,sn]=(0,ye.useState)(!1),hn=[{name:"\u901A\u4E49\u5343\u95EE",key:"qwen-max",img:rt},{name:"DeepSeek",key:"deepseek-r1",img:et}],gt=hn.find(ft=>ft.key===St);return Je.createElement("div",{className:Ye.select},Je.createElement(He.Z,{size:10},Je.createElement("span",{className:"c-grey-333 font16"},"\u6A21\u578B"),Je.createElement("div",{className:Ye.box,onMouseLeave:()=>sn(!1)},Je.createElement("div",{className:Ye.text,onClick:()=>sn(!0)},Je.createElement("img",{src:gt.img,width:20}),Je.createElement("span",null,gt.name),Je.createElement("b",{className:"iconfont icon-zhankai6"})),Vt&&Je.createElement("div",{className:Ye.itemWrap},Je.createElement("aside",null,hn.map(ft=>Je.createElement("div",{key:ft.key,className:`${Ye.item} ${ft.key===St?Ye.active:""}`,onClick:dt=>{dt.stopPropagation(),xt(ft.key),sn(!1)}},Je.createElement("img",{src:ft.img,width:20}),Je.createElement("span",null,ft.name))))))))},De={loadingPic:"loadingPic___y2kKZ",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"},Re=Se(7660),Xe=Se(88230),$e=({src:Mt,onClick:St,topPercentage:xt=.62})=>{const Vt=(0,ye.useRef)(null),sn=(0,ye.useRef)(!1),hn=(0,ye.useRef)(!1),[gt,ft]=(0,ye.useState)(window.innerHeight*xt);return(0,ye.useEffect)(()=>{var dt;if(Vt.current){let Nt=function(Nn){var Hn;sn.current=!0,jn=Nn.pageY,fn=(Hn=Vt.current.getBoundingClientRect())==null?void 0:Hn.top,(0,Xe.kk)("none"),document.onselectstart=function(){return!1}},$t=function(){sn.current&&!hn.current&&St&&St(),sn.current=!1,hn.current=!1,(0,Xe.kk)("auto"),document.onselectstart=null},an=function(Nn){var Hn;if(sn.current){hn.current=!0;const er=jn-Nn.pageY;let Ut=fn-er;const Ot=window.innerHeight-(((Hn=Vt.current)==null?void 0:Hn.offsetHeight)||0)-50,pt=50;UtOt&&(Ut=Ot),ft(Ut)}};sn.current=!1;let jn=0,fn=0;return(dt=Vt.current)==null||dt.addEventListener("mousedown",Nt),document.addEventListener("mousemove",an),document.addEventListener("mouseup",$t),()=>{var Nn;(Nn=Vt.current)==null||Nn.removeEventListener("mousedown",Nt),document.removeEventListener("mousemove",an),document.removeEventListener("mouseup",$t)}}},[Vt,St]),(0,ye.useEffect)(()=>{const dt=()=>{ft(window.innerHeight*xt)};return window.addEventListener("resize",dt),()=>{window.removeEventListener("resize",dt)}},[]),ye.createElement("div",{style:{position:"fixed",top:gt,right:20,zIndex:100,cursor:sn.current?"grabbing":"grab",userSelect:"none"},ref:Vt},ye.createElement("img",{src:Mt,width:60,style:{pointerEvents:"none"},draggable:"false"}))},tt="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+V1AsS0sR8AU0ISB8pwLtkPg2niuTaAZaBO4CXwBUL6hMFiA0zdDuuYDfcLyQQJaBJwG0QAo906gcAXMiInCOtuPQQ80gI4GKgYQ/dhSShNbPtDRdwGhsFw+z6JswWdTbV3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UfOwAAAABJRU5ErkJggg==",lt=Se(38446),ut=Se(86204),vt=Object.defineProperty,yt=(Mt,St,xt)=>St in Mt?vt(Mt,St,{enumerable:!0,configurable:!0,writable:!0,value:xt}):Mt[St]=xt,mt=(Mt,St,xt)=>yt(Mt,typeof St!="symbol"?St+"":St,xt),Pt=(Mt,St,xt)=>new Promise((Vt,sn)=>{var hn=dt=>{try{ft(xt.next(dt))}catch(Nt){sn(Nt)}},gt=dt=>{try{ft(xt.throw(dt))}catch(Nt){sn(Nt)}},ft=dt=>dt.done?Vt(dt.value):Promise.resolve(dt.value).then(hn,gt);ft((xt=xt.apply(Mt,St)).next())});class At extends ut.EventEmitter{constructor(St,xt){super(),mt(this,"url"),mt(this,"body"),mt(this,"fullContent",""),mt(this,"controller",null),this.url=St,this.body=xt}startStream(){return Pt(this,null,function*(){this.controller=new AbortController;const{signal:St}=this.controller;try{const xt=yield fetch(this.url,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},credentials:"include",body:JSON.stringify(this.body),signal:St});if(!xt.ok)throw new Error(`\u8BF7\u6C42\u5931\u8D25: ${xt.status}`);const Vt=xt.headers.get("content-type");if(!Vt||!Vt.includes("text/event-stream"))throw new Error("\u54CD\u5E94\u6570\u636E\u683C\u5F0F\u9519\u8BEF");const sn=xt.body.getReader(),hn=new TextDecoder("utf-8");for(;;){const{done:gt,value:ft}=yield sn.read();if(gt)break;const Nt=hn.decode(ft,{stream:!0}).split(` +`);for(const $t of Nt)if($t.startsWith("data:")){const an=$t.slice(5).trim();if(an==="[DONE]")break;try{const jn=JSON.parse(an);jn.data&&this.handleData(jn.data)}catch(jn){console.error("\u89E3\u6790 JSON \u5931\u8D25:",jn)}}}this.emit("done",this.fullContent)}catch(xt){xt.name==="AbortError"?this.emit("cancelled",this.fullContent):this.emit("error",xt.message)}})}handleData(St){St.content&&(this.fullContent+=St.content,this.emit("data",{chunk:St,full:this.fullContent}))}cancelRequest(){var St;(St=this.controller)==null||St.abort()}}var Dt=At,bt=Se(58617),wt=Se(32050),_t=Object.defineProperty,cn=Object.defineProperties,Yt=Object.getOwnPropertyDescriptors,rn=Object.getOwnPropertySymbols,Zt=Object.prototype.hasOwnProperty,Xt=Object.prototype.propertyIsEnumerable,Wt=(Mt,St,xt)=>St in Mt?_t(Mt,St,{enumerable:!0,configurable:!0,writable:!0,value:xt}):Mt[St]=xt,Jt=(Mt,St)=>{for(var xt in St||(St={}))Zt.call(St,xt)&&Wt(Mt,xt,St[xt]);if(rn)for(var xt of rn(St))Xt.call(St,xt)&&Wt(Mt,xt,St[xt]);return Mt},Dn=(Mt,St)=>cn(Mt,Yt(St)),wn=(Mt,St,xt)=>new Promise((Vt,sn)=>{var hn=dt=>{try{ft(xt.next(dt))}catch(Nt){sn(Nt)}},gt=dt=>{try{ft(xt.throw(dt))}catch(Nt){sn(Nt)}},ft=dt=>dt.done?Vt(dt.value):Promise.resolve(dt.value).then(hn,gt);ft((xt=xt.apply(Mt,St)).next())}),vn=({title:Mt="\u5934\u6B4CAI",placeholder:St,hideUpload:xt,hideInputBox:Vt,aiIcon:sn=tt,userIcon:hn=st,dragIcon:gt=it,children:ft,fetchUrl:dt,fetchData:Nt={},extraAnswerAction:$t,showDefaultTips:an=!0,onOpen:jn,onClose:fn,loadingOption:Nn,showPreference:Hn=!1,initMessage:er,initMessageType:Ut,customRequest:Ot,visible:pt,width:zt=1200,isCheckRestrictNumber:Ct=!1,headNode:Lt,headFunctionNode:jt,showRedraw:en,showEdit:nn,promptPropName:mn="prompt",topPercentage:En,showSwitchingModel:Cn=!1,showImageGenerator:bn=!1})=>{var _n,Tn,Bt,ar,zn;const[Wn,gn]=(0,ye.useState)(!1),[It,Ht]=(0,ye.useState)("qwen-max"),[on,un]=(0,ye.useState)([]),[An,Mn]=(0,ye.useState)(!1),[In,Un]=(0,ye.useState)([]),[nr,wr]=(0,ye.useState)(""),[yr,Kt]=(0,ye.useState)(0),[xr,Lr]=(0,ye.useState)(!1),[Tr,ur]=(0,ye.useState)(null),[br,pr]=(0,ye.useState)(""),cr=(0,ye.useRef)(),kn=(0,ye.useRef)(null),Kn=(0,ye.useRef)(null),[hr,Xn]=(0,ye.useState)(!1),[fr,sr]=(0,ye.useState)(!1),Cr=(0,ye.useRef)(!1),[Sr,or]=(0,ye.useState)(!1),Ir=(0,ye.useRef)(!1),[_r,Br]=(0,ye.useState)(0),jr=(0,ye.useRef)(null),ht=(0,ye.useRef)(!1),Tt=(0,ye.useRef)(null),[Et,Ft]=(0,ye.useState)(!0),Gt=(0,ye.useRef)(!1),kt=nr==null?void 0:nr.split(` +`).length,ln=zt-48,tn={maxCount:1,showUploadList:!1,withCredentials:!0,accept:".doc,.docx,.md,.txt,.pdf,.jpg,.png",beforeUpload:Rt=>{var yn,Vn,Rn,$n;const mr=($n=(Rn=(Vn=(yn=Rt==null?void 0:Rt.name)==null?void 0:yn.split("."))==null?void 0:Vn.slice(-1))==null?void 0:Rn[0])==null?void 0:$n.toLowerCase(),vr=["doc","docx","md","pdf","txt","jpg","png"].includes(mr);return Rt.size==0?(je.ZP.warning("\u6587\u4EF6\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A"),E.default.LIST_IGNORE):vr||(je.ZP.warning("\u76EE\u524D\u652F\u6301txt\u3001md\u3001doc\u3001docx\u3001pdf\u3001jpg\u3001png\u6587\u4EF6"),E.default.LIST_IGNORE)},onChange:({file:Rt})=>{un([Rt])},action:`${(_n=lt.Z)==null?void 0:_n.API_SERVER}/api/intelligent_imports/upload_file.json`};(0,ye.useEffect)(()=>{if(!In.length)return;const Rt=In[In.length-1];Rt!=null&&Rt.loading&&(cr.current.scrollTop=cr.current.scrollHeight)},[In.length]),(0,ye.useEffect)(()=>{if(!cr.current||!jr.current)return;const Rt=new IntersectionObserver(([yn])=>{Ft(yn.isIntersecting)},{root:cr.current,rootMargin:"70px",threshold:0});return Rt.observe(jr.current),()=>{var yn;(yn=Rt==null?void 0:Rt.unobserve)==null||yn.call(Rt,jr.current)}},[cr.current,jr.current]),(0,ye.useEffect)(()=>{if(!hr)return;const Rt=cr.current,yn=Tt.current;ht.current=!1;const Vn=()=>{const{scrollTop:$n,scrollHeight:mr,clientHeight:ir}=Rt,vr=$n+ir===mr;ht.current=!0,vr&&(ht.current=!1)};Rt.addEventListener("wheel",Vn);const Rn=new ResizeObserver(()=>{ht.current||(Rt.scrollTop=Rt.scrollHeight)});return Rn.observe(yn),()=>{var $n;Rn.unobserve(yn),($n=Rt==null?void 0:Rt.removeEventListener)==null||$n.call(Rt,"wheel",Vn)}},[hr]),(0,ye.useEffect)(()=>{typeof pt=="boolean"&&gn(pt)},[pt]),(0,ye.useEffect)(()=>{typeof pt=="boolean"&&gn(pt)},[pt]),(0,ye.useEffect)(()=>{var Rt;if(kn.current&&Tr!==null){kn.current.focus();const yn=(Rt=kn.current.resizableTextArea)==null?void 0:Rt.textArea;yn&&(yn.selectionStart=yn.selectionEnd=yn.value.length)}},[Tr]),(0,ye.useEffect)(()=>{kt<5&&Lr(!1)},[kt]),(0,ye.useEffect)(()=>{const Rt=Date.now();Wn&&Ut===1&&(Un([{text:er,key:Rt,sender:"user",show:!0},{loading:!0,key:Rt,sender:"AI",show:!0}]),Mn(!0),Yn(er)),Wn&&Ut===2&&er&&(Un([...In,{text:er,key:Rt,sender:"user",show:!0},{loading:!0,key:Rt,sender:"AI",show:!0}]),Mn(!0),Yn(er)),Wn&&Ut===3&&(Un([{text:er,key:Rt,sender:"user",show:!1},{loading:!0,key:Rt,sender:"AI",show:!0}]),Mn(!0),Yn()),Wn&&Ut===4&&(er||In.length===0)&&(Un([...In,{text:er,key:Rt,sender:"user",show:!!In.length},{loading:!0,key:Rt,sender:"AI",show:!0}]),Mn(!0),Yn(er)),Wn&&Ct&&Sn(),Wn||Qt()},[Wn]);const Qt=()=>{var Rt,yn;pr(""),ur(null),un([]),wr(""),(yn=(Rt=Kn.current)==null?void 0:Rt.cancelRequest)==null||yn.call(Rt)},dn=()=>{if(jn){jn();return}gn(!0)},qt=()=>{if(fn){fn();return}gn(!1)},Bn=()=>{Lr(!xr)},Sn=()=>wn(void 0,null,function*(){const Rt=yield(0,Re.ZP)("/api/intelligent_imports/check_number.json",{method:"get"});(Rt==null?void 0:Rt.status)===0&&Kt(Rt==null?void 0:Rt.number)}),Fn=()=>{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"))})},On=Rt=>Rt.reduce((Vn,Rn)=>{var $n,mr;if(Rn.sender==="user"){const ir=Rt.find(vr=>vr.key===Rn.key&&vr.sender==="AI");ir&&(ir!=null&&ir.text)&&!((mr=($n=ir==null?void 0:ir.response)==null?void 0:$n.data)!=null&&mr.message)&&Vn.push({question:Rn.text,answer:ir.text})}return Vn},[]),Yn=(...Rt)=>wn(void 0,[...Rt],function*(yn="",Vn={},Rn=In){if(Ot&&(yield Ot({mes:yn,setChatData:Un,fileList:on,body:Vn,checkNum:Sn,setLoading:Mn,bodyChatData:Rn,setTyping:Xn,setImageGenerator:or})),!Ot){const $n=on==null?void 0:on.map(tr=>{var Pn;return(Pn=tr==null?void 0:tr.response)==null?void 0:Pn.file_id}),mr=Vn.history||On(In),ir=Jt(Jt({response_mode:"streaming",model:It,thinking_enabled:fr,image_generator:Sr,file_id:($n==null?void 0:$n[0])||"",[mn]:yn,history:mr},Nt),Vn);Cr.current=ir.thinking_enabled,Ir.current=ir.image_generator;const vr=Object.fromEntries(Object.entries(ir).filter(([tr,Pn])=>Pn!==void 0));Kn.current=new Dt(lt.Z.API_SERVER+dt,vr),yield new Promise((tr,Pn)=>{let Gn=null,Er=null;Kn.current.on("data",Mr=>{Xn(!0);const{chunk:{content:Rr,type:Ur,created:Wr}}=Mr;Ur==="thinking"&&(Gn=Gn||Wr,Un(zr=>[...zr].map((Gr,Yr)=>Yr===zr.length-1?Dn(Jt({},Gr),{reasoning:(Gr.reasoning||"")+Rr,loading:!1,hideAnswer:!0}):Gr))),Ur==="text"&&(Er=Er||Wr,Un(zr=>[...zr].map((Gr,Yr)=>Yr===zr.length-1?Dn(Jt({},Gr),{text:(Gr.text||"")+Rr,loading:!1,startTime:Gn,endTime:Er}):Gr)))}),Kn.current.on("done",()=>{tr()}),Kn.current.on("error",()=>{const Mr="\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!",Rr={status:0,data:{message:Mr}};Un(Ur=>[...Ur].map((Wr,zr)=>zr===Ur.length-1?Dn(Jt({},Wr),{text:Mr,loading:!1,response:Rr}):Wr)),tr()}),Kn.current.on("cancelled",()=>{tr()}),Kn.current.startStream()})}Ct&&Sn(),Mn(!1)}),lr=Rt=>{wr(Rt.target.value)},Ar=(Rt,yn)=>{var Vn,Rn,$n,mr;const ir=Date.now();if(Qt(),Mn(!0),Rt==="edit"){const vr=In.splice(yn),{fileList:tr}=(vr==null?void 0:vr[0])||{},Pn=((Rn=(Vn=tr==null?void 0:tr[0])==null?void 0:Vn.response)==null?void 0:Rn.file_id)||"",Gn={history:On(In),file_id:Pn};Un([...In,{text:br,key:ir,sender:"user",fileList:tr,show:!0},{loading:!0,key:ir,sender:"AI",show:!0}]),Yn(br,Gn,In)}if(Rt==="redraw"){const vr=In.splice(yn-1),{text:tr,fileList:Pn}=(vr==null?void 0:vr[0])||{},Gn=((mr=($n=Pn==null?void 0:Pn[0])==null?void 0:$n.response)==null?void 0:mr.file_id)||"",Er={history:On(In),file_id:Gn};Un([...In,{text:tr,key:ir,sender:"user",fileList:Pn,show:!0},{loading:!0,key:ir,sender:"AI",show:!0}]),Yn(tr,Er,In)}},Pr=()=>{if(nr.trim()!==""){Qt();const Rt=Date.now();Un([...In,{text:nr,key:Rt,sender:"user",fileList:on,show:!0},{loading:!0,key:Rt,sender:"AI",show:!0}]),Mn(!0),Yn(nr)}},rr=Rt=>{if(Rt.shiftKey){if(Rt.key==="Enter")return}else if(Rt.key==="Enter"){if(Rt.preventDefault(),qn||Gt.current)return;Pr()}},dr=(Rt,yn)=>{var Vn,Rn,$n;const mr=(Vn=Rt==null?void 0:Rt.fileList)==null?void 0:Vn[0],ir=yn===Tr;return ye.createElement("div",{className:De.li,style:{width:ln}},ye.createElement("div",{className:De.avatarIcon},ye.createElement("img",{className:De.img,src:hn})),ye.createElement("div",{className:De.content},mr&&ye.createElement("div",{className:De.file},ye.createElement("img",{src:Se(90034)(`./${(($n=(Rn=mr==null?void 0:mr.name)==null?void 0:Rn.split("."))==null?void 0:$n.pop())||"txt"}.png`),width:20,className:"mr10"}),ye.createElement("div",{className:"c-black"},ye.createElement("div",null,(0,Xe.tP)(mr==null?void 0:mr.name,20)),ye.createElement("div",null,(0,Xe.RD)(mr==null?void 0:mr.size)))),ye.createElement("div",{className:De.borderBox},ir?ye.createElement(he.default.TextArea,{value:br,ref:kn,autoSize:!0,placeholder:"\u8BF7\u8F93\u5165",bordered:!1,onChange:vr=>pr(vr.target.value)}):ye.createElement("div",{className:De.text},Rt==null?void 0:Rt.text)),ir?ye.createElement("div",{className:De.action},ye.createElement(ce.ZP,{onClick:()=>{pr(""),ur(null)},size:"small"},"\u53D6\u6D88"),ye.createElement(ce.ZP,{disabled:!br.trim(),onClick:()=>Ar("edit",yn),type:"primary",size:"small"},"\u786E\u8BA4")):ye.createElement("div",{className:De.action},ye.createElement(y.CopyToClipboard,{text:(Rt==null?void 0:Rt.text)||"",onCopy:()=>je.ZP.success("\u590D\u5236\u6210\u529F")},ye.createElement(oe.Z,{title:"\u590D\u5236"},ye.createElement("i",{className:"iconfont icon-fuzhi8 font13"}))),nn&&!An&&ye.createElement(oe.Z,{title:"\u7F16\u8F91"},ye.createElement("i",{onClick:()=>{ur(yn),pr((Rt==null?void 0:Rt.text)||"")},className:"iconfont icon-bianji10 font14"})))))},Dr=(Rt,yn)=>{const Vn=yn===In.length-1?{ref:Tt}:{};return ye.createElement("div",Dn(Jt({},Vn),{className:De.li,style:{width:ln}}),ye.createElement("div",{className:De.avatarIcon},ye.createElement("img",{className:De.img,src:sn})),ye.createElement("div",{className:De.content},ye.createElement("div",{className:De.borderBox},Rt.loading&&ye.createElement(ye.Fragment,null,Ir.current?ye.createElement("div",{className:De.loadingPic},"\u6B63\u5728\u751F\u6210\u4E2D",ye.createElement("div",{className:"ai-loading"})):!Cr.current&&ye.createElement("div",null,ye.createElement("div",{className:De.loading},ye.createElement("div",{className:De.dot}),ye.createElement("div",{className:De.dot}),ye.createElement("div",{className:De.dot})),ye.createElement("div",{style:{marginTop:10,color:"#9096A3"}},(Nn==null?void 0:Nn.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"))),Cr.current&&ye.createElement(Le,{time:Rt==null?void 0:Rt.time,cancelIndex:_r,loading:Rt.loading,streamingStatus:!(Rt!=null&&Rt.text),onFinish:()=>{Un(Rn=>[...Rn].map(($n,mr)=>mr===Rn.length-1?Dn(Jt({},$n),{hideAnswer:!1,time:$n.startTime?$n.endTime-$n.startTime:null}):$n))},value:Rt==null?void 0:Rt.reasoning}),!!(Rt!=null&&Rt.text)&&!Rt.hideAnswer&&ye.createElement(_e,{cancelIndex:_r,streamingStatus:An,loadAll:Ir.current,onFinish:()=>{Xn(!1)},value:Rt==null?void 0:Rt.text})),ye.createElement("div",{className:De.action},$t==null?void 0:$t(Rt),ye.createElement(y.CopyToClipboard,{text:String((Rt==null?void 0:Rt.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"}))),Hn&&ye.createElement(ye.Fragment,null,ye.createElement(oe.Z,{title:"\u559C\u6B22"},ye.createElement("i",{style:Rt!=null&&Rt.like?{color:"#FA8D30"}:{},onClick:()=>Zn("like",!(Rt!=null&&Rt.like),yn),className:"iconfot icon-yijiejue font15"})),ye.createElement(oe.Z,{title:"\u4E0D\u559C\u6B22"},ye.createElement("i",{style:Rt!=null&&Rt.boring?{color:"#e86d7c"}:{},onClick:()=>Zn("boring",!(Rt!=null&&Rt.boring),yn),className:"iconfot icon-weijiejuezhengchang font15"}))),en&&!An&&ye.createElement(oe.Z,{title:"\u91CD\u65B0\u751F\u6210"},ye.createElement("i",{onClick:()=>Ar("redraw",yn),className:"iconfot icon-gengxin-genghuan-tihuan"})))))},Zn=(Rt,yn,Vn)=>{Un(Rn=>(Rn[Vn][Rt]=yn,yn&&(Rn[Vn][Rt==="like"?"boring":"like"]=!1),[...Rn]))},gr=()=>{var Rt,yn;Br(Vn=>Vn+1),(yn=(Rt=Kn.current)==null?void 0:Rt.cancelRequest)==null||yn.call(Rt),Mn(!1),Xn(!1)},Qn=yr>9,pn=xt||on.length>0,qn=!!(on!=null&&on.length)&&((Tn=on==null?void 0:on[0])==null?void 0:Tn.status)!=="done"||An||hr;return ye.createElement("div",null,ft?ye.createElement("div",{onClick:dn},ft):ye.createElement($e,{src:gt,onClick:dn,topPercentage:En}),ye.createElement(ie.Z,{open:Wn,width:zt,extra:Cn&&ye.createElement(xe,{disabled:qn,value:It,onChange:Rt=>{sr(!1),or(!1),Ht(Rt)}}),title:ye.createElement("span",{className:"c-grey-333 font16"},Mt),onClose:qt,bodyStyle:{paddingRight:4}},ye.createElement("div",{className:ae()(De.wrap,Wn&&"body-overflow-hidden")},ye.createElement("div",{ref:cr,className:De.chatContainer},an&&ye.createElement("div",{className:`${De.li} mb20`,style:{width:ln}},ye.createElement("div",{className:De.avatarIcon},ye.createElement("img",{className:De.img,src:sn})),ye.createElement("div",{className:De.content},ye.createElement("div",{className:De.borderBox},Lt,jt==null?void 0:jt({isDisabledNum:Qn,checkNumModal:Fn,checkNum:Sn,onClose:qt,setChatData:Un,setLoading:Mn,getData:Yn,clearStatus:Qt,typing:hr,setImageGenerator:or})))),In==null?void 0:In.map((Rt,yn)=>ye.createElement(ye.Fragment,{key:Rt.key+yn},Rt.show&&ye.createElement(ye.Fragment,null,Rt.sender==="user"&&dr(Rt,yn),Rt.sender==="AI"&&Dr(Rt,yn)))),!Et&&ye.createElement("div",{className:De.backBottom,onClick:()=>{ht.current=!1,cr.current.scrollTop=cr.current.scrollHeight}},ye.createElement("i",{className:"iconfont icon-huidaodibu"})),ye.createElement("div",{ref:jr})),!Vt&&ye.createElement("div",{className:ae()(De.footerContainer,xr&&De.full,(Sr||fr||!!on.length)&&De.footerContainerSelected)},ye.createElement("div",{className:De.btnWrp},!!on.length&&ye.createElement("div",{className:De.uploadFile},((Bt=on==null?void 0:on[0])==null?void 0:Bt.status)==="uploading"&&ye.createElement(ue.Z,{indicator:ye.createElement(bt.Z,{spin:!0}),className:"mr10",size:"small",spinning:!0}),ye.createElement("span",{title:(ar=on==null?void 0:on[0])==null?void 0:ar.name,className:"mr10"},(0,Xe.tP)((zn=on==null?void 0:on[0])==null?void 0:zn.name,40)),ye.createElement("i",{onClick:()=>un([]),className:"iconfont current icon-shanchu15 delete-hover c-red-ee4 font14"})),It==="deepseek-r1"&&ye.createElement("div",{onClick:()=>sr(!fr),className:ae()(De.thinkBtn,fr&&De.thinkBtnActive)},ye.createElement("i",{className:"iconfont icon-shendusikao mr10"}),"\u6DF1\u5EA6\u601D\u8003\uFF08R1\uFF09"),bn&&It==="qwen-max"&&ye.createElement("div",{onClick:()=>or(!Sr),className:ae()(De.thinkBtn,Sr&&De.thinkBtnActive)},ye.createElement("i",{className:"iconfont icon-shangchuantupian2 mr10"}),"\u56FE\u50CF\u751F\u6210")),ye.createElement(oe.Z,{title:Qn&&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()(De.inputContainer,kt>4&&De.lineFour,!!on.length&&"pb40",Qn&&De.disabledInput)},ye.createElement(E.default,Dn(Jt({},tn),{className:`${pn&&"hide"}`}),ye.createElement(ce.ZP,{className:De.uploadBtn,icon:ye.createElement(wt.Z,{style:{fontSize:18,color:"#FFF"}})})),ye.createElement(he.default.TextArea,{rows:kt>4?4:kt,placeholder:St||"\u5728\u8FD9\u91CC\u8F93\u5165\u4F60\u95EE\u9898\u5427,Shift+Enter\u6362\u884C\uFF5E",value:nr,bordered:!1,style:pn?{paddingLeft:0,marginLeft:0}:{},onChange:lr,onPressEnter:rr,onCompositionStart:()=>{Gt.current=!0},onCompositionEnd:()=>{Gt.current=!1}}),hr?ye.createElement("div",{className:`iconfont icon-tingzhihuida ${De.cancelBtn}`,onClick:gr}):ye.createElement(ce.ZP,{className:(nr==null?void 0:nr.trim())===""?De.sendBtnDisabled:De.sendBtn,icon:ye.createElement("i",{className:"iconfont icon-fasong2 c-white"}),disabled:qn,onClick:Pr}),kt>4&&ye.createElement("span",{className:De.fullIcon,onClick:Bn},xr&&ye.createElement("span",{className:"iconfont icon-shousuo"}),!xr&&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/TbkxX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QDk9uD2zoDSocAS/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=(Ae,Ce,_e)=>Ce in Ae?y(Ae,Ce,{enumerable:!0,configurable:!0,writable:!0,value:_e}):Ae[Ce]=_e,ge=(Ae,Ce)=>{for(var _e in Ce||(Ce={}))z.call(Ce,_e)&&de(Ae,_e,Ce[_e]);if(ee)for(var _e of ee(Ce))le.call(Ce,_e)&&de(Ae,_e,Ce[_e]);return Ae},fe=(Ae,Ce)=>x(Ae,b(Ce)),me=(Ae,Ce,_e)=>new Promise((we,Me)=>{var Oe=Ye=>{try{Le(_e.next(Ye))}catch(He){Me(He)}},Fe=Ye=>{try{Le(_e.throw(Ye))}catch(He){Me(He)}},Le=Ye=>Ye.done?we(Ye.value):Promise.resolve(Ye.value).then(Oe,Fe);Le((_e=_e.apply(Ae,Ce)).next())});const be=["fullscreenchange","msfullscreenchange","webkitfullscreenchange","mozfullscreenchange"],{Countdown:ve}=je.default,Pe=({exercise:Ae,socket:Ce,dispatch:_e,onStartScreenshot:we,onCloseScreenshot:Me,handleToDetail:Oe})=>{const[Fe,Le]=E.default.useModal(),Ye=(0,ye.useRef)(),[He,Ge]=(0,ye.useState)(!0),Ke=(0,ye.useRef)(!1),ze=(0,ne.useParams)();(0,ye.useEffect)(()=>{var De,Re,Xe;if(document.addEventListener((0,he.gH)(),Ie,!1),window.addEventListener("blur",et,!1),(De=Ae.exerciseUserInfo)!=null&&De.screen_open&&(0,he.vp)()&&Ge(!1),(Re=Ae.exerciseUserInfo)!=null&&Re.screen_open&&!(0,he.vp)()){(0,re.RG)(" ",!0);const nt=document.domain==="kepukehuan.educoder.net"?30:localStorage.getItem("Refresh")==="1"?Ae.exerciseUserInfo.screen_sec+3:Ae.exerciseUserInfo.screen_sec+10+1;Ye.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"}},Ae.exerciseUserInfo.screen_num-Ae.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 Je();($e=Ye.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=Ye.current)==null||$e.destroy(),Ge(!1),(0,he.Dj)(document.body),document.getElementById("root").addEventListener("click",Ne,!1)}})}return(Xe=Ae.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)(),Ie,!1),window.removeEventListener("blur",et,!1)}},[]),(0,ye.useEffect)(()=>{setTimeout(()=>{Ae.actionTabs.removeEventListenerExitScreen&&(document.getElementById("root").removeEventListener("click",Ne,!1),document.removeEventListener((0,he.gH)(),Ie,!1))},500),Ve()},[Ae.actionTabs]),(0,ye.useEffect)(()=>{setTimeout(()=>{Ae.exerciseUserInfo.used_screen_num>Ae.exerciseUserInfo.screen_num&&We()},500)},[Ae.exerciseUserInfo]);const ke=()=>me(void 0,null,function*(){const De=yield Je();setTimeout(()=>{var Re,Xe;(Re=Ye.current)==null||Re.destroy(),Ye.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"},De.used_screen_num),"\u6B21\uFF0C\u5207\u5C4F\u8D85\u8FC7",a.createElement("span",{className:"c-red"},(Xe=Ae.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=De=>{!(0,he.vp)()&&De.target.nodeName!=="A"&&De.target.nodeName!=="BUTTON"&&De.target.innerHTML!=="\u786E \u5B9A"&&(0,he.Dj)(document.body)},Ve=()=>me(void 0,null,function*(){const De=yield _e({type:"exercise/getExerciseUserInfo",payload:ge({},ze)});return De==null?void 0:De.data}),qe=De=>me(void 0,null,function*(){var Re;if((Re=Ae.exerciseUserInfo)!=null&&Re.screen_at){const nt=yield(0,ce.ck)(fe(ge({},ze),{reset:!0}));if((nt==null?void 0:nt.status)===-6)return}const Xe=yield(0,ce.oy)({id:ze.categoryId});if(Xe!=null&&Xe.is_commit){E.default.destroyAll(),yield rt(),at(!0);return}else Te(De+1)}),rt=()=>me(void 0,null,function*(){var De;const Re=ie()(),Xe=Ae.exerciseUserInfo.screen_sec;if(Be.current.length>0){const nt=Re.format("YYYY-MM-DD HH:mm:ss");let $e=Math.floor(Re.diff(ie()(Be.current[0].start))/1e3);const tt=Be.current.length;$e/Xe>>0>tt&&($e=(tt+1)*Xe-1),yield(0,ce.P8)(ze.categoryId,{exercise_user_id:(De=Ae.exerciseUserInfo)==null?void 0:De.exercise_user_id,time:nt,time_long:$e,count:tt})}Be.current=[]}),Qe=(0,ye.useRef)(0),Ue=(0,ye.useRef)(0),Be=(0,ye.useRef)([]),Ze=(0,ye.useRef)(!1),Te=De=>me(void 0,null,function*(){var Re;Ke.current||(we(),E.default.destroyAll(),Qe.current=ie()().valueOf(),Ze.current=!0,Ye.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=Ae.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},De-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(),Be.current.push({start:Qe.current,end:Ue.current}),qe(De)},valueStyle:{fontSize:30,color:"#165DFF"},format:"ss",value:Date.now()+(Ae.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),Me(),Ye.current.destroy(),Ze.current=!1}}))}),We=()=>me(void 0,null,function*(){E.default.destroyAll(),(yield(0,ce.VL)({categoryId:ze.categoryId,commit_method:1}))&&at()}),at=(De=!1)=>me(void 0,null,function*(){var Re,Xe;if(document.removeEventListener((0,he.gH)(),Ie,!1),(0,he.BU)(),E.default.destroyAll(),Ke.current=!0,De){const nt=yield(0,ce.Yu)(ze.categoryId,{exercise_user_id:(Re=Ae.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=Ae.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:()=>{Me(),Oe()},onOk:()=>{ne.history.push(`/classrooms/${ze.coursesId}/exercisenotice/${ze.categoryId}/users/${ze.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=De=>{(0,he.vp)()&&document.getElementById("iframeShixuns").style.display=="none"&&!Ze.current&&(0,he.BU)()},Je=()=>me(void 0,null,function*(){var De;if((De=Ae.exerciseUserInfo)!=null&&De.screen_at){const nt=yield(0,ce.ck)(fe(ge({},ze),{reset:!0}));if((nt==null?void 0:nt.status)===-6)return}const Re=yield(0,ce.oy)({id:ze.categoryId});if(Re!=null&&Re.is_commit){at();return}return yield Ve()}),Ie=()=>me(void 0,null,function*(){var De;if((0,re.RG)(" ",!0),(0,he.vp)()){if((De=Ae.exerciseUserInfo)!=null&&De.screen_at){var Re=yield(0,ce.ck)(fe(ge({},ze),{reset:!0}));if((Re==null?void 0:Re.status)===-6)return}}else if(!Ze.current){var Re=yield(0,ce.ck)(ge({},ze));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","*")}}),xe=()=>me(void 0,null,function*(){(0,ce.ck)(ge({},ze));const De=yield Ve();Te(De.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:Ae,globalSetting:Ce})=>({globalSetting:Ce,exercise:Ae}))(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 _e=yield(0,ie.ZJ)(re==null?void 0:re.src);z.current.src="",z.current.src=_e,z.current.onload=function(){Ce()},me(!1),ve("")}),Ee=_e=>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:_e.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(_e.state)}})).status===0&&x():we!=null&&we.id&&x(we),me(!1),ve("")}),Ae=()=>{const _e=document.querySelector('a[href="https://markerjs.com/"]');_e&&_e.parentNode&&(_e.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(Me=>{const Oe=document.querySelector(Me.name);Oe&&Oe.setAttribute("title",Me.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),Ae()},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 Ae=Ee.innerText;return ie&&ie(Ae),Ae};(0,ye.useImperativeHandle)(y,()=>({getData:me}));const be=Ee=>{Ee.preventDefault();const Ae=Ee.clientX-ee,Ce=Ee.clientY-le;document.body.onmousemove=_e=>{let we=_e.clientX-Ae,Me=_e.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)),Me=Math.max(0,Math.min(Me,Le)),ve(_e.clientX,_e.clientY,Ae,Ce)&&(z(we),de(Me))},document.body.onmouseup=function(){document.body.onmousemove=null}},ve=(Ee,Ae,Ce,_e)=>{const we=document.body.clientHeight,Me=document.body.clientWidth;return Ee<20&&Ce>Ee||Ee>Me-20&&CeAe||Ae>we-20&&_e{ge&&setTimeout(()=>{const Ee=document.getElementsByClassName("markdown-popup-form")[0],Ae=window.innerWidth/2-Ee.offsetWidth/2,Ce=window.innerHeight/2-Ee.offsetHeight/2;z(Ae),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 @@ -70,7 +70,7 @@ \\end{array}`},{value:`\\begin{array}{c} \r P_{n}=n! \\\\ \r A_{n}^{k}=\\frac{n!}{\\left( n-k \\left) !\\right. \\right.} \r -\\end{array}`}]}]}],b=le=>{a.current.setValue(a.current.getValue()+" "+le.value+" ")},ee=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:ue.createElement(je.Z,{className:oe.Z.lists,gutter:[10,10]},y.map((le,de)=>ue.createElement(E.Z,{flex:"110px",className:oe.Z.item},ue.createElement("div",null,ue.createElement(ce.Z,{value:`$$${le.value}$$`}),le.name),ue.createElement("div",{className:oe.Z.children},le.children.map((ge,fe)=>ue.createElement("div",{key:fe},ue.createElement("h1",null,ge.name),ue.createElement(je.Z,{gutter:[10,10]},ge.data.map((me,be)=>ue.createElement(E.Z,{key:be,onClick:()=>b(me),className:oe.Z.diamond},ue.createElement(ce.Z,{value:"`$$"+me.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:ue.createElement(je.Z,{className:oe.Z.lists,gutter:[10,10]},x.map((le,de)=>ue.createElement(E.Z,{flex:"110px",className:oe.Z.item},ue.createElement("div",null,ue.createElement(ce.Z,{value:"`$$"+le.value+"$$`"}),le.name),ue.createElement("div",{className:oe.Z.children},le.children.map((ge,fe)=>ue.createElement("div",{key:fe},ge.name&&ue.createElement("h1",null,ge.name),ue.createElement(je.Z,{gutter:[10,10]},ge.data.map((me,be)=>ue.createElement(E.Z,{key:be,onClick:()=>b(me),className:oe.Z.diamond},ue.createElement(ce.Z,{value:"`$$"+me.value+"$$`"}))))))))))}],z=()=>{var le=document.createElement("div");le.innerHTML=a.current.getValue();var de=le.innerText;return ae&&ae(de),de};return(0,ye.useImperativeHandle)(te,()=>({getData:z})),ue.createElement("div",{className:oe.Z.mathWrap},ue.createElement(pe.default,{defaultActiveKey:"1",items:ee}),ue.createElement("math-field",{locale:"zh_cn",className:oe.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:a,style:{width:800,marginTop:30,fontSize:18}},ne||""),re&&ue.createElement("div",{className:oe.Z.button},ue.createElement(he.ZP,{size:"large",onClick:z,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});ot.Z=se},57816:function(ct,ot,Se){"use strict";var ye=Se(59301),je=Se(93314),E=Se(3113),pe=Object.defineProperty,he=Object.defineProperties,ce=Object.getOwnPropertyDescriptors,oe=Object.getOwnPropertySymbols,ie=Object.prototype.hasOwnProperty,ue=Object.prototype.propertyIsEnumerable,se=(te,a,y)=>a in te?pe(te,a,{enumerable:!0,configurable:!0,writable:!0,value:y}):te[a]=y,ae=(te,a)=>{for(var y in a||(a={}))ie.call(a,y)&&se(te,y,a[y]);if(oe)for(var y of oe(a))ue.call(a,y)&&se(te,y,a[y]);return te},re=(te,a)=>he(te,ce(a));const ne=({img:te,buttonProps:a={},styles:y={},customText:x,ButtonText:b,ButtonClick:ee,Buttonclass:z,ButtonTwo:le,imgStyles:de,loading:ge=!1})=>ye.createElement("section",{className:"tc animated fadeIn",style:ae(ae({},{color:"#999",margin:"100px auto",visibility:ge?"hidden":"visible"}),y)},ye.createElement("img",{src:te||je,style:re(ae({},de),{pointerEvents:"none",userSelect:"none"})}),ye.createElement("p",{className:"mt20 font14"},x||"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"),b&&ye.createElement(E.ZP,ae({className:z,onClick:ee},a),b),le&&le);ot.Z=ne},90853:function(ct,ot,Se){"use strict";Se.d(ot,{Z:function(){return z}});var ye=Se(59301),je={wrp:"wrp___dq7YK",bgBlack:"bgBlack___ARIUV",monaco:"monaco___VnZC3",darkBlue:"darkBlue___UprA9",close:"close___LKoWu",embed:"embed___hvpEJ"},E=Se(3113),pe=Se(70557),he=Se(57800),ce=Se(6848),oe=Se(88230),ie=Se(30897),ue=Se(57816),se=Se(38446),ae=Se(89282),re=Se(59301),ne=Object.defineProperty,te=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable,x=(le,de,ge)=>de in le?ne(le,de,{enumerable:!0,configurable:!0,writable:!0,value:ge}):le[de]=ge,b=(le,de)=>{for(var ge in de||(de={}))a.call(de,ge)&&x(le,ge,de[ge]);if(te)for(var ge of te(de))y.call(de,ge)&&x(le,ge,de[ge]);return le},ee=(le,de,ge)=>new Promise((fe,me)=>{var be=Ee=>{try{Pe(ge.next(Ee))}catch(Ae){me(Ae)}},ve=Ee=>{try{Pe(ge.throw(Ee))}catch(Ae){me(Ae)}},Pe=Ee=>Ee.done?fe(Ee.value):Promise.resolve(Ee.value).then(be,ve);Pe((ge=ge.apply(le,de)).next())}),z=({editOffice:le="view",data:de,theme:ge,type:fe,filename:me,monacoEditor:be,className:ve,style:Pe,close:Ee,onClose:Ae,hasMask:Ce,disabledDownload:_e,onImgDimensions:we,showNodata:Me,recordInfo:Oe})=>{const[Fe,Le]=(0,ye.useState)("https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt"),[Ye,He]=(0,ye.useState)(""),[Ge,Ke]=(0,ye.useState)(),ze=window.ENV==="build"?"/react/build":"",ke=location.host.startsWith("localhost")?se.Z.PROXY_SERVER:se.Z.API_SERVER,Ve=10*(1024*1024),qe=(0,ye.useRef)();de!=null&&de.startsWith("/api")&&fe!=="txt"&&(de=se.Z.API_SERVER+de);const rt=Ze=>Ze.substring(Ze.lastIndexOf("/")+1).split(".").pop();me&&be&&(be.filename=me),(0,ye.useEffect)(()=>{var Ze,Te;const We=(Te=(Ze=document.cookie)==null?void 0:Ze.replace(/\s/g,""))==null?void 0:Te.split(";");We==null||We.map(at=>{let et=at.split("=");et[0]==="_educoder_session"&&He(et[1])})},[]),(0,ye.useEffect)(()=>{fe==="office"&&(de.indexOf("bigfilescdn.")>-1||de.indexOf("bigfiles1")>-1?Ke({url:de,fileType:rt(de),model:de.indexOf("model=edit")?"edit":"view"}):Qe())},[fe,de]);const Qe=()=>ee(void 0,null,function*(){console.log("data:",de);let Ze=de;de.startsWith("http")||(Ze=location.origin+Ze);let Te=new URL(Ze).pathname.split("/").pop();const We=yield(0,ie.gJ)({attachment_id:Te});We.url=ke+We.url,Ke(We)}),Ue=()=>{if(de.startsWith("http")||de.startsWith("blob:")){Ie();return}(0,oe.Sv)(me||"educoder",de,me)},Ie=()=>{Oe&&(0,ae.fc)({id:Oe==null?void 0:Oe.id,watch_type:1,course_id:Oe==null?void 0:Oe.course_id}),(0,oe.Nd)(me||"educoder",decodeURIComponent(de))};return re.createElement("div",{style:b({},Pe||{}),className:`${Ce&&je.bgBlack} ${fe?je.wrp:"hide"}`},Ee&&re.createElement("div",{className:je.close,ref:qe},!!we&&re.createElement(ce.Z,{title:"\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8",getPopupContainer:()=>qe.current},re.createElement("span",{onClick:()=>{Ae(),we()}},re.createElement("i",{className:"icon-yulanpizhu"}))),!_e&&re.createElement(ce.Z,{title:"\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6",getPopupContainer:()=>qe.current},re.createElement("span",{onClick:Ie},re.createElement("i",{className:"icon-quxiaozhiding"}))),re.createElement(ce.Z,{title:"\u5173\u95ED",getPopupContainer:()=>qe.current},re.createElement("span",{className:"",onClick:Ae},re.createElement("i",{className:"icon-guanbi1"})))),re.createElement("div",{className:`${je[ve]} ${ve} ${je.monaco} ${fe==="txt"?"show":"hide"}`},fe==="txt"&&re.createElement(re.Fragment,null,re.createElement(he.ZP,b({},be)))),fe==="audio"&&re.createElement("audio",{src:`${(de==null?void 0:de.indexOf("http://"))>-1||(de==null?void 0:de.indexOf("https://"))>-1?"":"data:audio/mp3;base64,"}${de}`,autoPlay:!0}),fe==="video"&&re.createElement(re.Fragment,null,(de==null?void 0:de.indexOf("http"))>-1?re.createElement("video",{controls:!0,src:`${de}`,autoPlay:!0}):re.createElement("video",{controls:!0,src:`data:video/mp4;base64,${de}`,autoPlay:!0})),fe==="office"&&Ge&&re.createElement("iframe",{src:`${ze}/office.html?key=${Ge.key}&url=${btoa(Ge.url)}&callbackUrl=${ke+(Ge.callbackUrl||"")}&fileType=${Ge.fileType}&title=${Ge.title||""}&model=${le}&officeServer=${se.Z.ONLYOFFICE}&disabledDownload=${!!_e}`}),fe==="html"&&re.createElement("iframe",{src:de+"&disposition=inline"}),fe==="pdf"&&re.createElement("iframe",{src:`${ze}/js/pdfview/index.html?filename=${me||"educoder.pdf"}&url=${encodeURIComponent(de)}&disabledDownload=${!!_e}`}),fe==="image"&&re.createElement("img",{src:`${(de==null?void 0:de.indexOf("http://"))>-1||(de==null?void 0:de.indexOf("https://"))>-1?"":"data:image/png;base64,"}${de}`}),(fe==="other"||fe==="download")&&re.createElement(re.Fragment,null,Me?re.createElement(ue.Z,{customText:"\u5F53\u524D\u6587\u4EF6\u4E0D\u652F\u6301\u9884\u89C8\uFF0C\u53EF\u70B9\u51FB\u4E0B\u8F7D\u67E5\u770B",ButtonTwo:re.createElement(E.ZP,{icon:re.createElement("i",{className:"iconfont icon-xiazai4 font14"}),type:"primary",size:"middle",onClick:Ue,disabled:_e},"\u4E0B\u8F7D")}):re.createElement(E.ZP,{type:"primary",size:"middle",onClick:Ue,disabled:_e},re.createElement(pe.Z,null),"\u70B9\u51FB\u4E0B\u8F7D")))}},99325:function(ct,ot,Se){"use strict";Se.d(ot,{z:function(){return fe},Z:function(){return me}});var ye=Se(59301),je=Se(2878),E=Se(85187),pe=Se(64018),he=Se(40846),ce=Se(38446),oe=Se(88230),ie=Se(15342),ue=Se(1012),se=Se(90853),ae=Se(59301),ne=({html:be})=>{const ve=(0,ye.useRef)(null),Pe=(0,ye.useRef)(null),Ee=`.markdown-body p { +\\end{array}`}]}]}],b=le=>{a.current.setValue(a.current.getValue()+" "+le.value+" ")},ee=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:ue.createElement(je.Z,{className:oe.Z.lists,gutter:[10,10]},y.map((le,de)=>ue.createElement(E.Z,{flex:"110px",className:oe.Z.item},ue.createElement("div",null,ue.createElement(ce.Z,{value:`$$${le.value}$$`}),le.name),ue.createElement("div",{className:oe.Z.children},le.children.map((ge,fe)=>ue.createElement("div",{key:fe},ue.createElement("h1",null,ge.name),ue.createElement(je.Z,{gutter:[10,10]},ge.data.map((me,be)=>ue.createElement(E.Z,{key:be,onClick:()=>b(me),className:oe.Z.diamond},ue.createElement(ce.Z,{value:"`$$"+me.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:ue.createElement(je.Z,{className:oe.Z.lists,gutter:[10,10]},x.map((le,de)=>ue.createElement(E.Z,{flex:"110px",className:oe.Z.item},ue.createElement("div",null,ue.createElement(ce.Z,{value:"`$$"+le.value+"$$`"}),le.name),ue.createElement("div",{className:oe.Z.children},le.children.map((ge,fe)=>ue.createElement("div",{key:fe},ge.name&&ue.createElement("h1",null,ge.name),ue.createElement(je.Z,{gutter:[10,10]},ge.data.map((me,be)=>ue.createElement(E.Z,{key:be,onClick:()=>b(me),className:oe.Z.diamond},ue.createElement(ce.Z,{value:"`$$"+me.value+"$$`"}))))))))))}],z=()=>{var le=document.createElement("div");le.innerHTML=a.current.getValue();var de=le.innerText;return ae&&ae(de),de};return(0,ye.useImperativeHandle)(te,()=>({getData:z})),ue.createElement("div",{className:oe.Z.mathWrap},ue.createElement(pe.default,{defaultActiveKey:"1",items:ee}),ue.createElement("math-field",{locale:"zh_cn",className:oe.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:a,style:{width:800,marginTop:30,fontSize:18}},ne||""),re&&ue.createElement("div",{className:oe.Z.button},ue.createElement(he.ZP,{size:"large",onClick:z,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});ot.Z=se},57816:function(ct,ot,Se){"use strict";var ye=Se(59301),je=Se(93314),E=Se(3113),pe=Object.defineProperty,he=Object.defineProperties,ce=Object.getOwnPropertyDescriptors,oe=Object.getOwnPropertySymbols,ie=Object.prototype.hasOwnProperty,ue=Object.prototype.propertyIsEnumerable,se=(te,a,y)=>a in te?pe(te,a,{enumerable:!0,configurable:!0,writable:!0,value:y}):te[a]=y,ae=(te,a)=>{for(var y in a||(a={}))ie.call(a,y)&&se(te,y,a[y]);if(oe)for(var y of oe(a))ue.call(a,y)&&se(te,y,a[y]);return te},re=(te,a)=>he(te,ce(a));const ne=({img:te,buttonProps:a={},styles:y={},customText:x,ButtonText:b,ButtonClick:ee,Buttonclass:z,ButtonTwo:le,imgStyles:de,loading:ge=!1})=>ye.createElement("section",{className:"tc animated fadeIn",style:ae(ae({},{color:"#999",margin:"100px auto",visibility:ge?"hidden":"visible"}),y)},ye.createElement("img",{src:te||je,style:re(ae({},de),{pointerEvents:"none",userSelect:"none"})}),ye.createElement("p",{className:"mt20 font14"},x||"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"),b&&ye.createElement(E.ZP,ae({className:z,onClick:ee},a),b),le&&le);ot.Z=ne},90853:function(ct,ot,Se){"use strict";Se.d(ot,{Z:function(){return z}});var ye=Se(59301),je={wrp:"wrp___dq7YK",bgBlack:"bgBlack___ARIUV",monaco:"monaco___VnZC3",darkBlue:"darkBlue___UprA9",close:"close___LKoWu",embed:"embed___hvpEJ"},E=Se(3113),pe=Se(70557),he=Se(57800),ce=Se(6848),oe=Se(88230),ie=Se(30897),ue=Se(57816),se=Se(38446),ae=Se(89282),re=Se(59301),ne=Object.defineProperty,te=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable,x=(le,de,ge)=>de in le?ne(le,de,{enumerable:!0,configurable:!0,writable:!0,value:ge}):le[de]=ge,b=(le,de)=>{for(var ge in de||(de={}))a.call(de,ge)&&x(le,ge,de[ge]);if(te)for(var ge of te(de))y.call(de,ge)&&x(le,ge,de[ge]);return le},ee=(le,de,ge)=>new Promise((fe,me)=>{var be=Ee=>{try{Pe(ge.next(Ee))}catch(Ae){me(Ae)}},ve=Ee=>{try{Pe(ge.throw(Ee))}catch(Ae){me(Ae)}},Pe=Ee=>Ee.done?fe(Ee.value):Promise.resolve(Ee.value).then(be,ve);Pe((ge=ge.apply(le,de)).next())}),z=({editOffice:le="view",data:de,theme:ge,type:fe,filename:me,monacoEditor:be,className:ve,style:Pe,close:Ee,onClose:Ae,hasMask:Ce,disabledDownload:_e,onImgDimensions:we,showNodata:Me,recordInfo:Oe})=>{const[Fe,Le]=(0,ye.useState)("https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt"),[Ye,He]=(0,ye.useState)(""),[Ge,Ke]=(0,ye.useState)(),ze=window.ENV==="build"?"/react/build":"",ke=location.host.startsWith("localhost")?se.Z.PROXY_SERVER:se.Z.API_SERVER,Ve=10*(1024*1024),qe=(0,ye.useRef)();de!=null&&de.startsWith("/api")&&fe!=="txt"&&(de=se.Z.API_SERVER+de);const rt=Ze=>Ze.substring(Ze.lastIndexOf("/")+1).split(".").pop();me&&be&&(be.filename=me),(0,ye.useEffect)(()=>{var Ze,Te;const We=(Te=(Ze=document.cookie)==null?void 0:Ze.replace(/\s/g,""))==null?void 0:Te.split(";");We==null||We.map(at=>{let et=at.split("=");et[0]==="_educoder_session"&&He(et[1])})},[]),(0,ye.useEffect)(()=>{fe==="office"&&(de.indexOf("bigfilescdn.")>-1||de.indexOf("bigfiles1")>-1?Ke({url:de,fileType:rt(de),model:de.indexOf("model=edit")?"edit":"view"}):Qe())},[fe,de]);const Qe=()=>ee(void 0,null,function*(){console.log("data:",de);let Ze=de;de.startsWith("http")||(Ze=location.origin+Ze);let Te=new URL(Ze).pathname.split("/").pop();const We=yield(0,ie.gJ)({attachment_id:Te});We.url=ke+We.url,Ke(We)}),Ue=()=>{if(de.startsWith("http")||de.startsWith("blob:")){Be();return}(0,oe.Sv)(me||"educoder",de,me)},Be=()=>{Oe&&(0,ae.fc)({id:Oe==null?void 0:Oe.id,watch_type:1,course_id:Oe==null?void 0:Oe.course_id}),(0,oe.Nd)(me||"educoder",decodeURIComponent(de))};return re.createElement("div",{style:b({},Pe||{}),className:`${Ce&&je.bgBlack} ${fe?je.wrp:"hide"}`},Ee&&re.createElement("div",{className:je.close,ref:qe},!!we&&re.createElement(ce.Z,{title:"\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8",getPopupContainer:()=>qe.current},re.createElement("span",{onClick:()=>{Ae(),we()}},re.createElement("i",{className:"icon-yulanpizhu"}))),!_e&&re.createElement(ce.Z,{title:"\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6",getPopupContainer:()=>qe.current},re.createElement("span",{onClick:Be},re.createElement("i",{className:"icon-quxiaozhiding"}))),re.createElement(ce.Z,{title:"\u5173\u95ED",getPopupContainer:()=>qe.current},re.createElement("span",{className:"",onClick:Ae},re.createElement("i",{className:"icon-guanbi1"})))),re.createElement("div",{className:`${je[ve]} ${ve} ${je.monaco} ${fe==="txt"?"show":"hide"}`},fe==="txt"&&re.createElement(re.Fragment,null,re.createElement(he.ZP,b({},be)))),fe==="audio"&&re.createElement("audio",{src:`${(de==null?void 0:de.indexOf("http://"))>-1||(de==null?void 0:de.indexOf("https://"))>-1?"":"data:audio/mp3;base64,"}${de}`,autoPlay:!0}),fe==="video"&&re.createElement(re.Fragment,null,(de==null?void 0:de.indexOf("http"))>-1?re.createElement("video",{controls:!0,src:`${de}`,autoPlay:!0}):re.createElement("video",{controls:!0,src:`data:video/mp4;base64,${de}`,autoPlay:!0})),fe==="office"&&Ge&&re.createElement("iframe",{src:`${ze}/office.html?key=${Ge.key}&url=${btoa(Ge.url)}&callbackUrl=${ke+(Ge.callbackUrl||"")}&fileType=${Ge.fileType}&title=${Ge.title||""}&model=${le}&officeServer=${se.Z.ONLYOFFICE}&disabledDownload=${!!_e}`}),fe==="html"&&re.createElement("iframe",{src:de+"&disposition=inline"}),fe==="pdf"&&re.createElement("iframe",{src:`${ze}/js/pdfview/index.html?filename=${me||"educoder.pdf"}&url=${encodeURIComponent(de)}&disabledDownload=${!!_e}`}),fe==="image"&&re.createElement("img",{src:`${(de==null?void 0:de.indexOf("http://"))>-1||(de==null?void 0:de.indexOf("https://"))>-1?"":"data:image/png;base64,"}${de}`}),(fe==="other"||fe==="download")&&re.createElement(re.Fragment,null,Me?re.createElement(ue.Z,{customText:"\u5F53\u524D\u6587\u4EF6\u4E0D\u652F\u6301\u9884\u89C8\uFF0C\u53EF\u70B9\u51FB\u4E0B\u8F7D\u67E5\u770B",ButtonTwo:re.createElement(E.ZP,{icon:re.createElement("i",{className:"iconfont icon-xiazai4 font14"}),type:"primary",size:"middle",onClick:Ue,disabled:_e},"\u4E0B\u8F7D")}):re.createElement(E.ZP,{type:"primary",size:"middle",onClick:Ue,disabled:_e},re.createElement(pe.Z,null),"\u70B9\u51FB\u4E0B\u8F7D")))}},99325:function(ct,ot,Se){"use strict";Se.d(ot,{z:function(){return fe},Z:function(){return me}});var ye=Se(59301),je=Se(2878),E=Se(85187),pe=Se(64018),he=Se(40846),ce=Se(38446),oe=Se(88230),ie=Se(15342),ue=Se(1012),se=Se(90853),ae=Se(59301),ne=({html:be})=>{const ve=(0,ye.useRef)(null),Pe=(0,ye.useRef)(null),Ee=`.markdown-body p { margin: 0 0 16px 0 !important; line-height: 28px; white-space: pre-wrap; @@ -918,8 +918,8 @@ margin-top: 0; margin-bottom: 16px; }`;return(0,ye.useEffect)(()=>{const Ae=ve.current.attachShadow({mode:"open"});Pe.current=document.createElement("div"),Pe.current.className="markdown-body",Pe.current.innerHTML=be,Ae.appendChild(Pe.current);const Ce=document.createElement("style");return Ce.textContent=Ee,Ae.appendChild(Ce),()=>{Ae.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,Ae=/\(\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,(_e,we,Me,Oe,Fe,Le,Ye)=>{const He=we||Oe||Le,Ge=Me||Fe||Ye||"?";return ce.Z.API_SERVER+"/api/attachments/"+He+Ge+"&t="+(0,oe.Jn)(He,Date.now())+(_e.indexOf(")")>-1?")":"&")}).replaceAll('src="(','src="').replaceAll("src='(",'src="'):(be=be.replace(Ce,(_e,we,Me,Oe,Fe,Le,Ye)=>{const He=we||Oe||Le,Ge=Me||Fe||Ye||"?";return ce.Z.API_SERVER+"/attachments/download/"+He+Ge+"&t="+(0,oe.Jn)(He,Date.now())+(_e.indexOf(")")>-1?")":"&")}).replace(Pe,(_e,we,Me,Oe,Fe,Le,Ye)=>{const He=we||Oe||Le,Ge=Me||Fe||Ye||"?";return ce.Z.API_SERVER+"/api/attachments/"+He+Ge+"&t="+(0,oe.Jn)(He,Date.now())+(_e.indexOf(")")>-1?")":"&")}).replace(Ee,(_e,we,Me,Oe,Fe)=>{const Le=we||Oe,Ye=Me||Fe||"";return'"'+ce.Z.API_SERVER+"/api/attachments/"+Le+Ye+Le+Ye+"&t="+(0,oe.Jn)(Le,Date.now())}).replace(Ae,(_e,we,Me,Oe,Fe)=>{const Le=we||Oe,Ye=Me||Fe||"";return"("+ce.Z.API_SERVER+"/files/uploads/"+Le+Ye+Le+Ye+"&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:Ae={},stylesPrev:Ce={},highlightKeywords:_e,showProgramFill:we,isProgramFill:Me,disabledFill:Oe=!1,programFillValue:Fe,onFillChange:Le=Ge=>{},onFillBlur:Ye=()=>{},onFillFocus:He=()=>{}})=>{let Ge=String(be);const[Ke,ze]=(0,ye.useState)(""),[ke,Ne]=(0,ye.useState)("office"),[Ve,qe]=(0,ye.useState)([]),rt=(0,ye.useRef)("a"+(0,ue.Z)()),Qe={},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(Qe).length;return Qe[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;Ge=Ge.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 Ge=Ge.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(Ge||"")}
`}let Xe=Ze(Ge);Xe=(0,E.ZP)(Xe);const nt=(0,E.ez)();Ge.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(_e){const tt=_e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return Je($e,tt),$e.innerHTML}return setTimeout(()=>De(),500),$e.innerHTML},[Ge,_e]);(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,pt]of lt.entries())pt.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"?pt.className="program-fill-warning":(($e=Fe==null?void 0:Fe[ut])==null?void 0:$e.type)==="success"?pt.className="program-fill-success":pt.className="";for(const[ut,pt]of it.entries())pt.innerHTML=(tt=Fe==null?void 0:Fe[ut])!=null&&tt.score?`${(st=Fe==null?void 0:Fe[ut])==null?void 0:st.score}\u5206`:"";qe(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,qe([...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,qe([...Ve]),Ye(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,qe([...Ve]),He(Ve,Xe.target.dataset.id)};function Je(Xe,nt){return Xe.childNodes.forEach($e=>{var tt;if($e.childNodes.length>0)Je($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&&(Ae=ee(ee({},Ae),E.jb));function xe(Xe){let nt=Xe.target;if(nt.tagName.toUpperCase()==="A"){let $e=nt.getAttribute("href");if($e.indexOf("office")>-1)Xe.preventDefault(),ze($e),Ne("office");else if($e.indexOf("application/pdf")>-1)Xe.preventDefault(),ze($e),Ne("pdf");else if($e.indexOf("text/html")>-1)Xe.preventDefault(),ze($e),Ne("html");else if($e.startsWith("#")){Xe.preventDefault();let tt=document.getElementById($e.replace("#",""));tt&&tt.scrollIntoView(!0)}}}const De=()=>{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",xe),()=>{var Xe;(Xe=Be.current)==null||Xe.removeEventListener("click",xe),(0,E.AL)(),(0,E.Iy)()}},[Te,Be.current,xe]),(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({},Ae),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:()=>ze("")}))}},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,Ae)=>Ee in Pe?ae(Pe,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Ae}):Pe[Ee]=Ae,b=(Pe,Ee)=>{for(var Ae in Ee||(Ee={}))a.call(Ee,Ae)&&x(Pe,Ae,Ee[Ae]);if(te)for(var Ae of te(Ee))y.call(Ee,Ae)&&x(Pe,Ae,Ee[Ae]);return Pe},ee=(Pe,Ee)=>re(Pe,ne(Ee)),z=(Pe,Ee)=>{var Ae={};for(var Ce in Pe)a.call(Pe,Ce)&&Ee.indexOf(Ce)<0&&(Ae[Ce]=Pe[Ce]);if(Pe!=null&&te)for(var Ce of te(Pe))Ee.indexOf(Ce)<0&&y.call(Pe,Ce)&&(Ae[Ce]=Pe[Ce]);return Ae},le=(Pe,Ee,Ae)=>new Promise((Ce,_e)=>{var we=Fe=>{try{Oe(Ae.next(Fe))}catch(Le){_e(Le)}},Me=Fe=>{try{Oe(Ae.throw(Fe))}catch(Le){_e(Le)}},Oe=Fe=>Fe.done?Ce(Fe.value):Promise.resolve(Fe.value).then(we,Me);Oe((Ae=Ae.apply(Pe,Ee)).next())});const{Dragger:de}=je.default,ge=Pe=>{const Ee="bf3c199c2470cb477d907b1e0917c17b",Ae="5183666c72eec9e4";var Ce=ce().enc.Utf8.parse(Ee);let _e=ce().enc.Utf8.parse(Ae);var we=ce().AES.decrypt(Pe,Ce,{iv:_e,mode:ce().mode.CBC});return we.toString(ce().enc.Utf8)};let fe;const me=Pe=>le(void 0,[Pe],function*({identifier:Ee,oldFilename:Ae,newFilename:Ce}){var _e,we,Me,Oe,Fe,Le;const Ye=yield Fetch("/api/buckets/get_upload_token_for_big_files.json",{method:"get"});Ye.data=JSON.parse(ge(Ye.data));const He=new OSS({endpoint:(_e=Ye==null?void 0:Ye.data)==null?void 0:_e.end_point,region:(we=Ye==null?void 0:Ye.data)==null?void 0:we.region,accessKeyId:(Me=Ye==null?void 0:Ye.data)==null?void 0:Me.access_key_id,accessKeySecret:(Oe=Ye==null?void 0:Ye.data)==null?void 0:Oe.access_key_secret,bucket:(Fe=Ye==null?void 0:Ye.data)==null?void 0:Fe.bucket,stsToken:(Le=Ye==null?void 0:Ye.data)==null?void 0:Le.security_token});return new Promise((Ge,Ke)=>{console.log(11111,`${Ee}/${Ae}`,`${Ee}/${Ce}`,Ye.data),He.copy(`/${Ee}/${Ae}`,`/${Ee}/${Ce}`).then(ze=>{console.log("\u62F7\u8D1D\u6210\u529F",ze)}).catch(ze=>{console.log(ze)})})}),be=(Pe,Ee,Ae)=>le(void 0,null,function*(){var Ce,_e,we,Me,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 Ye=Pe.name.split(".");Ye.pop();const He=Ee.realFileName?Ye.join(""):(0,oe.Z)(),Ge=new(se())({endpoint:(Ce=Le==null?void 0:Le.data)==null?void 0:Ce.end_point,region:(_e=Le==null?void 0:Le.data)==null?void 0:_e.region,accessKeyId:(we=Le==null?void 0:Le.data)==null?void 0:we.access_key_id,accessKeySecret:(Me=Le==null?void 0:Le.data)==null?void 0:Me.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,ze)=>{var ke;Ge.multipartUpload(`${He}`,new Blob([Pe],{type:Pe.type}),ee(b({timeout:200*1e3,partSize:102400},Ae),{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){ze(Ne),console.log("err:",Ne)})})}),ve=Pe=>{var Ee=Pe,{user:Ae,cancelUpload:Ce}=Ee,_e=z(Ee,["user","cancelUpload"]);const[we,Me]=(0,ye.useState)([]);let[Oe,Fe]=(0,ye.useState)();const Le={onRemove:He=>{Me([...we.filter(Ge=>Ge.name!==He.name)]),_e.onChange(we.filter(Ge=>Ge.name!==He.name))},disabled:_e.disabled,multiple:!0,fileList:we==null?void 0:we.map(He=>He.file),customRequest:()=>{},beforeUpload:He=>le(void 0,null,function*(){let Ge=_e.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)>Ge?(E.ZP.info(`\u6587\u4EF6\u8D85\u8FC7${Ge/1024/1024/1024}GB\uFF0C\u4E0D\u7B26\u5408\u4E0A\u4F20\u8981\u6C42`),!1):(we.push({name:He.name,file:He}),Me([...we]),_e.onChange(we),!1)})},Ye=(He,Ge)=>le(void 0,null,function*(){var Ke,ze,ke,Ne,Ve,qe;Ge.file_name=He.name;const rt=He.name,Qe=yield(0,pe.ZP)("/api/buckets/get_upload_token_for_big_files.json",{method:"get"});if(Qe.data=JSON.parse(ge(Qe.data)),(Qe==null?void 0:Qe.status)!==0){we[we.findIndex(Ze=>Ze.name===rt)].status="error",we[we.findIndex(Ze=>Ze.name===rt)].file.status="error",_e.onChange(we),E.ZP.warning("\u4E0A\u4F20\u5931\u8D25\uFF0C\u8BF7\u91CD\u65B0\u5C1D\u8BD5");return}Oe=new(se())({endpoint:(Ke=Qe==null?void 0:Qe.data)==null?void 0:Ke.end_point,region:(ze=Qe==null?void 0:Qe.data)==null?void 0:ze.region,accessKeyId:(ke=Qe==null?void 0:Qe.data)==null?void 0:ke.access_key_id,accessKeySecret:(Ne=Qe==null?void 0:Qe.data)==null?void 0:Ne.access_key_secret,bucket:(Ve=Qe==null?void 0:Qe.data)==null?void 0:Ve.bucket,stsToken:(qe=Qe==null?void 0:Qe.data)==null?void 0:qe.security_token}),console.log(He,"file"),Fe(Oe);const Ue=He.name.split(".");Ue.pop();const Ie=rt.indexOf(".")>-1?Ge.realFileName?Ue.join("."):(0,oe.Z)():rt;return new Promise((Ze,Te)=>{var We;try{Oe.multipartUpload(`${_e.identifier}/${Ie}${rt.indexOf(".")>-1?"."+rt.split(".").pop():""}`,new Blob([He.file],{type:He.file.type}),{timeout:3600*1e3,partSize:1002400,progress:(at,et,Je)=>{try{console.log("\u8FDB\u5EA6",at,et,Je);const Be=we.findIndex(xe=>xe.name===rt);we[Be].file.percent=at*100,we[Be].tempCheckpoint=et,Me([...we])}catch(Be){}},checkpoint:we[we.findIndex(at=>at.name===rt)].tempCheckpoint,callback:{customValue:{id:rt+""},url:(We=Qe==null?void 0:Qe.data)==null?void 0:We.callback_url,host:Qe==null?void 0:Qe.data.bucket_host,body:"bucket=${bucket}&object=${object}&etag=${etag}&size=${size}&mimeType=${mimeType}&my_var=${x:my_var}&"+(0,pe.rz)(Ge)}}).then(function(at){var et,Je,Be;const xe=we.findIndex(Re=>Re.name===rt);let De="done";if(((et=at.data)==null?void 0:et.status)===0){He.response=(Je=at.data)==null?void 0:Je.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),De="error";we[xe].status=De,we[xe].file.status=De,_e.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"),Me([...we]),_e.onChange(we),Te(at),console.log("err:",at)})}catch(at){}})});return(0,ye.useEffect)(()=>{we.every(He=>He==="done"||He==="error")&&_e.onComplete(we)},[we]),(0,ye.useEffect)(()=>{Ce&&(Oe==null||Oe.cancel())},[Ce]),(0,ye.useEffect)(()=>{_e.uploading&&we.map(He=>le(void 0,null,function*(){var Ge;if((!He.status||He.status==="error")&&!Ce){He.status="uploading",He.file.status="uploading";const Ke=yield Ye(He,{login:(Ge=Ae==null?void 0:Ae.userInfo)==null?void 0:Ge.login,container_type:_e.container_type,container_id:_e.container_id,description:_e.description,realFileName:_e.realFileName})}}))},[_e.uploading]),ye.createElement(de,ee(b({},Le),{height:_e.height,className:_e.className}),ye.createElement("p",{className:"ant-upload-hint"},_e.text||"\u62D6\u62FD\u6587\u4EF6\u6216\u8005\u70B9\u51FB\u4E0A\u4F20"))};ot.ZP=(0,ie.connect)(({loading:Pe,globalSetting:Ee,user:Ae})=>({globalSetting:Ee,loading:Pe.models.competitions,user:Ae}))(ve)},85469:function(ct,ot,Se){"use strict";Se.d(ot,{Z:function(){return Nt}});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(xt,yt){var Wt=ye.useState(function(){return y+=1,String(y)}),wt=(0,ue.Z)(Wt,1),Tt=wt[0],Ft=ye.useContext(a),tn={data:yt,canPreview:xt};return ye.useEffect(function(){if(Ft)return Ft.register(Tt,tn)},[]),ye.useEffect(function(){Ft&&Ft.register(Tt,tn)},[xt,yt]),Tt}function b(xt){return new Promise(function(yt){var Wt=document.createElement("img");Wt.onerror=function(){return yt(!1)},Wt.onload=function(){return yt(!0)},Wt.src=xt})}function ee(xt){var yt=xt.src,Wt=xt.isCustomPlaceholder,wt=xt.fallback,Tt=(0,ye.useState)(Wt?"loading":"normal"),Ft=(0,ue.Z)(Tt,2),tn=Ft[0],ln=Ft[1],mn=(0,ye.useRef)(!1),En=tn==="error";(0,ye.useEffect)(function(){b(yt).then(function(Tn){Tn||ln("error")})},[yt]),(0,ye.useEffect)(function(){Wt&&!mn.current?ln("loading"):En&&ln("normal")},[yt]);var Cn=function(){ln("normal")},bn=function(It){mn.current=!1,tn==="loading"&&It!=null&&It.complete&&(It.naturalWidth||It.naturalHeight)&&(mn.current=!0,Cn())},_n=En&&wt?{src:wt}:{onLoad:Cn,src:yt};return[bn,_n,tn]}var z=Se(86923),le=Se(8224),de=Se(10228),ge=Se(48736);function fe(xt,yt,Wt,wt){var Tt=yt+Wt,Ft=(Wt-wt)/2;if(Wt>wt){if(yt>0)return(0,ie.Z)({},xt,Ft);if(yt<0&&Ttwt)return(0,ie.Z)({},xt,yt<0?Ft:-Ft);return{}}function me(xt,yt,Wt,wt){var Tt=(0,re.g1)(),Ft=Tt.width,tn=Tt.height,ln=null;return xt<=Ft&&yt<=tn?ln={x:0,y:0}:(xt>Ft||yt>tn)&&(ln=(0,oe.Z)((0,oe.Z)({},fe("x",Wt,xt,Ft)),fe("y",wt,yt,tn))),ln}var be=Se(13697),ve=Se(16089),Pe={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1};function Ee(xt,yt,Wt,wt){var Tt=(0,ye.useRef)(null),Ft=(0,ye.useRef)([]),tn=(0,ye.useState)(Pe),ln=(0,ue.Z)(tn,2),mn=ln[0],En=ln[1],Cn=function(It){En(Pe),wt&&!(0,be.Z)(Pe,mn)&&wt({transform:Pe,action:It})},bn=function(It,ar){Tt.current===null&&(Ft.current=[],Tt.current=(0,ve.Z)(function(){En(function(zn){var Hn=zn;return Ft.current.forEach(function(gn){Hn=(0,oe.Z)((0,oe.Z)({},Hn),gn)}),Tt.current=null,wt==null||wt({transform:Hn,action:ar}),Hn})})),Ft.current.push((0,oe.Z)((0,oe.Z)({},mn),It))},_n=function(It,ar,zn,Hn){var gn=xt.current,Bt=gn.width,Ht=gn.height,an=gn.offsetWidth,un=gn.offsetHeight,An=gn.offsetLeft,Mn=gn.offsetTop,Bn=It,Nn=mn.scale*It;Nn>Wt?(Bn=Wt/mn.scale,Nn=Wt):Nn1,Cr=fr&&gn>=1,Sr=Ee(pr,An,Bn,Tr),or=Sr.transform,Br=Sr.resetTransform,_r=Sr.updateTransform,Ir=Sr.dispatchZoomChange,jr=(0,ye.useState)(!0),ht=(0,ue.Z)(jr,2),Ot=ht[0],Et=ht[1],jt=or.rotate,zt=or.scale,kt=or.x,sn=or.y,en=he()((0,ie.Z)({},"".concat(Wt,"-moving"),hr));(0,ye.useEffect)(function(){Ot||Et(!0)},[Ot]);var Qt=function(){Br("close")},dn=function(){Ir(Me+an,"zoomIn")},qt=function(){Ir(Me/(Me+an),"zoomOut")},In=function(){_r({rotate:jt+90},"rotateRight")},Sn=function(){_r({rotate:jt-90},"rotateLeft")},Fn=function(){_r({flipX:!or.flipX},"flipX")},On=function(){_r({flipY:!or.flipY},"flipY")},Yn=function(pn){pn==null||pn.preventDefault(),pn==null||pn.stopPropagation(),zn>0&&(Et(!1),Br("prev"),ur==null||ur(zn-1,zn))},lr=function(pn){pn==null||pn.preventDefault(),pn==null||pn.stopPropagation(),zn0&&(yn=Me/yn),Ir(yn,"wheel",pn.clientX,pn.clientY)}},Dr=function(pn){!En||!sr||(pn.keyCode===de.Z.LEFT?Yn():pn.keyCode===de.Z.RIGHT&&lr())},Zn=function(pn){En&&(zt!==1?_r({x:0,y:0,scale:1},"doubleClick"):Ir(Me+an,"doubleClick",pn.clientX,pn.clientY))};(0,ye.useEffect)(function(){var Qn,pn,$n,Rt;if(ln){$n=(0,le.Z)(window,"mouseup",Ar,!1),Rt=(0,le.Z)(window,"mousemove",rr,!1);try{window.top!==window.self&&(Qn=(0,le.Z)(window.top,"mouseup",Ar,!1),pn=(0,le.Z)(window.top,"mousemove",rr,!1))}catch(yn){(0,ge.Kp)(!1,"[rc-image] ".concat(yn))}}return function(){var yn,Vn,Rn,er;(yn=$n)===null||yn===void 0||yn.remove(),(Vn=Rt)===null||Vn===void 0||Vn.remove(),(Rn=Qn)===null||Rn===void 0||Rn.remove(),(er=pn)===null||er===void 0||er.remove()}},[En,hr,kt,sn,jt,ln]),(0,ye.useEffect)(function(){var Qn=(0,le.Z)(window,"keydown",Dr,!1);return function(){Qn.remove()}},[En,sr,zn]);var gr=ye.createElement(Ye,(0,ce.Z)({},xr,{width:yt.width,height:yt.height,imgRef:pr,className:"".concat(Wt,"-img"),alt:Tt,style:{transform:"translate3d(".concat(or.x,"px, ").concat(or.y,"px, 0) scale3d(").concat(or.flipX?"-":"").concat(zt,", ").concat(or.flipY?"-":"").concat(zt,", 1) rotate(").concat(jt,"deg)"),transitionDuration:!Ot&&"0s"},fallback:Ft,src:wt,onWheel:dr,onMouseDown:Pr,onDoubleClick:Zn}));return ye.createElement(ye.Fragment,null,ye.createElement(z.Z,(0,ce.Z)({transitionName:nr,maskTransitionName:yr,closable:!1,keyboard:!0,prefixCls:Wt,onClose:mn,visible:En,wrapClassName:en,rootClassName:_n,getContainer:It},br,{afterClose:Qt}),ye.createElement("div",{className:"".concat(Wt,"-img-wrapper")},Kt?Kt(gr,(0,oe.Z)({transform:or},fr?{current:zn}:{})):gr)),ye.createElement(we,{visible:En,transform:or,maskTransitionName:yr,closeIcon:Tn,getContainer:It,prefixCls:Wt,rootClassName:_n,icons:bn,countRender:Bt,showSwitch:sr,showProgress:Cr,current:zn,count:gn,scale:zt,minScale:An,maxScale:Bn,toolbarRender:Lr,onSwitchLeft:Yn,onSwitchRight:lr,onZoomIn:dn,onZoomOut:qt,onRotateRight:In,onRotateLeft:Sn,onFlipX:Fn,onFlipY:On,onClose:mn}))},Ge=He,Ke=Se(26407);function ze(xt){var yt=ye.useState({}),Wt=(0,ue.Z)(yt,2),wt=Wt[0],Tt=Wt[1],Ft=ye.useCallback(function(ln,mn){return Tt(function(En){return(0,oe.Z)((0,oe.Z)({},En),{},(0,ie.Z)({},ln,mn))}),function(){Tt(function(En){var Cn=(0,oe.Z)({},En);return delete Cn[ln],Cn})}},[]),tn=ye.useMemo(function(){return xt?xt.map(function(ln){if(typeof ln=="string")return{data:{src:ln}};var mn={};return Object.keys(ln).forEach(function(En){["src"].concat((0,Ke.Z)(te)).includes(En)&&(mn[En]=ln[En])}),{data:mn}}):Object.keys(wt).reduce(function(ln,mn){var En=wt[mn],Cn=En.canPreview,bn=En.data;return Cn&&ln.push({data:bn,id:mn}),ln},[])},[xt,wt]);return[tn,Ft]}var ke=["visible","onVisibleChange","getContainer","current","movable","minScale","maxScale","countRender","closeIcon","onChange","onTransform","toolbarRender","imageRender"],Ne=["src"],Ve=function(yt){var Wt,wt=yt.previewPrefixCls,Tt=wt===void 0?"rc-image-preview":wt,Ft=yt.children,tn=yt.icons,ln=tn===void 0?{}:tn,mn=yt.items,En=yt.preview,Cn=yt.fallback,bn=(0,se.Z)(En)==="object"?En:{},_n=bn.visible,Tn=bn.onVisibleChange,It=bn.getContainer,ar=bn.current,zn=bn.movable,Hn=bn.minScale,gn=bn.maxScale,Bt=bn.countRender,Ht=bn.closeIcon,an=bn.onChange,un=bn.onTransform,An=bn.toolbarRender,Mn=bn.imageRender,Bn=(0,ae.Z)(bn,ke),Nn=ze(mn),nr=(0,ue.Z)(Nn,2),wr=nr[0],yr=nr[1],Kt=(0,ne.Z)(0,{value:ar}),xr=(0,ue.Z)(Kt,2),Lr=xr[0],Tr=xr[1],ur=(0,ye.useState)(!1),br=(0,ue.Z)(ur,2),pr=br[0],cr=br[1],kn=((Wt=wr[Lr])===null||Wt===void 0?void 0:Wt.data)||{},Kn=kn.src,hr=(0,ae.Z)(kn,Ne),Xn=(0,ne.Z)(!!_n,{value:_n,onChange:function(jt,zt){Tn==null||Tn(jt,zt,Lr)}}),fr=(0,ue.Z)(Xn,2),sr=fr[0],Cr=fr[1],Sr=(0,ye.useState)(null),or=(0,ue.Z)(Sr,2),Br=or[0],_r=or[1],Ir=ye.useCallback(function(Et,jt,zt){var kt=wr.findIndex(function(sn){return sn.id===Et});Cr(!0),_r({x:jt,y:zt}),Tr(kt<0?0:kt),cr(!0)},[wr]);ye.useEffect(function(){sr?pr||Tr(0):cr(!1)},[sr]);var jr=function(jt,zt){Tr(jt),an==null||an(jt,zt)},ht=function(){Cr(!1),_r(null)},Ot=ye.useMemo(function(){return{register:yr,onPreview:Ir}},[yr,Ir]);return ye.createElement(a.Provider,{value:Ot},Ft,ye.createElement(Ge,(0,ce.Z)({"aria-hidden":!sr,movable:zn,visible:sr,prefixCls:Tt,closeIcon:Ht,onClose:ht,mousePosition:Br,imgCommonProps:hr,src:Kn,fallback:Cn,icons:ln,minScale:Hn,maxScale:gn,getContainer:It,current:Lr,count:wr.length,countRender:Bt,onTransform:un,toolbarRender:An,imageRender:Mn,onChange:jr},Bn)))},qe=Ve,rt=["src","alt","onPreviewClose","prefixCls","previewPrefixCls","placeholder","fallback","width","height","style","preview","className","onClick","onError","wrapperClassName","wrapperStyle","rootClassName"],Qe=["src","visible","onVisibleChange","getContainer","mask","maskClassName","movable","icons","scaleStep","minScale","maxScale","imageRender","toolbarRender"],Ue=function(yt){var Wt=yt.src,wt=yt.alt,Tt=yt.onPreviewClose,Ft=yt.prefixCls,tn=Ft===void 0?"rc-image":Ft,ln=yt.previewPrefixCls,mn=ln===void 0?"".concat(tn,"-preview"):ln,En=yt.placeholder,Cn=yt.fallback,bn=yt.width,_n=yt.height,Tn=yt.style,It=yt.preview,ar=It===void 0?!0:It,zn=yt.className,Hn=yt.onClick,gn=yt.onError,Bt=yt.wrapperClassName,Ht=yt.wrapperStyle,an=yt.rootClassName,un=(0,ae.Z)(yt,rt),An=En&&En!==!0,Mn=(0,se.Z)(ar)==="object"?ar:{},Bn=Mn.src,Nn=Mn.visible,nr=Nn===void 0?void 0:Nn,wr=Mn.onVisibleChange,yr=wr===void 0?Tt:wr,Kt=Mn.getContainer,xr=Kt===void 0?void 0:Kt,Lr=Mn.mask,Tr=Mn.maskClassName,ur=Mn.movable,br=Mn.icons,pr=Mn.scaleStep,cr=Mn.minScale,kn=Mn.maxScale,Kn=Mn.imageRender,hr=Mn.toolbarRender,Xn=(0,ae.Z)(Mn,Qe),fr=Bn!=null?Bn:Wt,sr=(0,ne.Z)(!!nr,{value:nr,onChange:yr}),Cr=(0,ue.Z)(sr,2),Sr=Cr[0],or=Cr[1],Br=ee({src:Wt,isCustomPlaceholder:An,fallback:Cn}),_r=(0,ue.Z)(Br,3),Ir=_r[0],jr=_r[1],ht=_r[2],Ot=(0,ye.useState)(null),Et=(0,ue.Z)(Ot,2),jt=Et[0],zt=Et[1],kt=(0,ye.useContext)(a),sn=!!ar,en=function(){or(!1),zt(null)},Qt=he()(tn,Bt,an,(0,ie.Z)({},"".concat(tn,"-error"),ht==="error")),dn=(0,ye.useMemo)(function(){var Fn={};return te.forEach(function(On){yt[On]!==void 0&&(Fn[On]=yt[On])}),Fn},te.map(function(Fn){return yt[Fn]})),qt=(0,ye.useMemo)(function(){return(0,oe.Z)((0,oe.Z)({},dn),{},{src:fr})},[fr,dn]),In=x(sn,qt),Sn=function(On){var Yn=(0,re.os)(On.target),lr=Yn.left,Ar=Yn.top;kt?kt.onPreview(In,lr,Ar):(zt({x:lr,y:Ar}),or(!0)),Hn==null||Hn(On)};return ye.createElement(ye.Fragment,null,ye.createElement("div",(0,ce.Z)({},un,{className:Qt,onClick:sn?Sn:Hn,style:(0,oe.Z)({width:bn,height:_n},Ht)}),ye.createElement("img",(0,ce.Z)({},dn,{className:he()("".concat(tn,"-img"),(0,ie.Z)({},"".concat(tn,"-img-placeholder"),En===!0),zn),style:(0,oe.Z)({height:_n},Tn),ref:Ir},jr,{width:bn,height:_n,onError:gn})),ht==="loading"&&ye.createElement("div",{"aria-hidden":"true",className:"".concat(tn,"-placeholder")},En),Lr&&sn&&ye.createElement("div",{className:he()("".concat(tn,"-mask"),Tr),style:{display:(Tn==null?void 0:Tn.display)==="none"?"none":void 0}},Lr)),!kt&&sn&&ye.createElement(Ge,(0,ce.Z)({"aria-hidden":!Sr,visible:Sr,prefixCls:mn,onClose:en,mousePosition:jt,src:fr,alt:wt,fallback:Cn,getContainer:xr,icons:br,movable:ur,scaleStep:pr,minScale:cr,maxScale:kn,rootClassName:an,imageRender:Kn,imgCommonProps:dn,toolbarRender:hr},Xn)))};Ue.PreviewGroup=qe,Ue.displayName="Image";var Ie=Ue,Ze=Ie,Te=Se(62892),We=Se(36355),at=Se(31724),et=Se(99267),Je=Se(33853),Be=Se(38819),xe={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"},De=xe,Re=Se(7657),Xe=function(yt,Wt){return ye.createElement(Re.Z,(0,ce.Z)({},yt,{ref:Wt,icon:De}))},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(yt,Wt){return ye.createElement(Re.Z,(0,ce.Z)({},yt,{ref:Wt,icon:st}))},lt=ye.forwardRef(it),ut=lt,pt={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"},vt=pt,mt=function(yt,Wt){return ye.createElement(Re.Z,(0,ce.Z)({},yt,{ref:Wt,icon:vt}))},Pt=ye.forwardRef(mt),At=Pt,Dt={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"},bt=Dt,Ct=function(yt,Wt){return ye.createElement(Re.Z,(0,ce.Z)({},yt,{ref:Wt,icon:bt}))},_t=ye.forwardRef(Ct),cn=_t,Yt={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"},nn=Yt,Zt=function(yt,Wt){return ye.createElement(Re.Z,(0,ce.Z)({},yt,{ref:Wt,icon:nn}))},Xt=ye.forwardRef(Zt),Gt=Xt,Jt=Se(64993),Dn=Se(73819),wn=Se(17313),Ln=Se(29878),vn=Se(1950),Mt=Se(83116),St=Se(37613);const Lt=xt=>({position:xt||"absolute",inset:0}),Vt=xt=>{const{iconCls:yt,motionDurationSlow:Wt,paddingXXS:wt,marginXXS:Tt,prefixCls:Ft,colorTextLightSolid:tn}=xt;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:tn,background:new Jt.C("#000").setAlpha(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${Wt}`,[`.${Ft}-mask-info`]:Object.assign(Object.assign({},wn.vS),{padding:`0 ${wt}px`,[yt]:{marginInlineEnd:Tt,svg:{verticalAlign:"baseline"}}})}},on=xt=>{const{previewCls:yt,modalMaskBg:Wt,paddingSM:wt,marginXL:Tt,margin:Ft,paddingLG:tn,previewOperationColorDisabled:ln,previewOperationHoverColor:mn,motionDurationSlow:En,iconCls:Cn,colorTextLightSolid:bn}=xt,_n=new Jt.C(Wt).setAlpha(.1),Tn=_n.clone().setAlpha(.2);return{[`${yt}-footer`]:{position:"fixed",bottom:Tt,left:{_skip_check_:!0,value:0},width:"100%",display:"flex",flexDirection:"column",alignItems:"center",color:xt.previewOperationColor},[`${yt}-progress`]:{marginBottom:Ft},[`${yt}-close`]:{position:"fixed",top:Tt,right:{_skip_check_:!0,value:Tt},display:"flex",color:bn,backgroundColor:_n.toRgbString(),borderRadius:"50%",padding:wt,outline:0,border:0,cursor:"pointer",transition:`all ${En}`,"&:hover":{backgroundColor:Tn.toRgbString()},[`& > ${Cn}`]:{fontSize:xt.previewOperationSize}},[`${yt}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${tn}px`,backgroundColor:_n.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:wt,padding:wt,cursor:"pointer",transition:`all ${En}`,userSelect:"none",[`&:not(${yt}-operations-operation-disabled):hover > ${Cn}`]:{color:mn},"&-disabled":{color:ln,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${Cn}`]:{fontSize:xt.previewOperationSize}}}}},hn=xt=>{const{modalMaskBg:yt,iconCls:Wt,previewOperationColorDisabled:wt,previewCls:Tt,zIndexPopup:Ft,motionDurationSlow:tn}=xt,ln=new Jt.C(yt).setAlpha(.1),mn=ln.clone().setAlpha(.2);return{[`${Tt}-switch-left, ${Tt}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:Ft+1,display:"flex",alignItems:"center",justifyContent:"center",width:xt.imagePreviewSwitchSize,height:xt.imagePreviewSwitchSize,marginTop:-xt.imagePreviewSwitchSize/2,color:xt.previewOperationColor,background:ln.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${tn}`,userSelect:"none","&:hover":{background:mn.toRgbString()},"&-disabled":{"&, &:hover":{color:wt,background:"transparent",cursor:"not-allowed",[`> ${Wt}`]:{cursor:"not-allowed"}}},[`> ${Wt}`]:{fontSize:xt.previewOperationSize}},[`${Tt}-switch-left`]:{insetInlineStart:xt.marginSM},[`${Tt}-switch-right`]:{insetInlineEnd:xt.marginSM}}},gt=xt=>{const{motionEaseOut:yt,previewCls:Wt,motionDurationSlow:wt,componentCls:Tt}=xt;return[{[`${Tt}-preview-root`]:{[Wt]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${Wt}-body`]:Object.assign(Object.assign({},Lt()),{overflow:"hidden"}),[`${Wt}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${wt} ${yt} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},Lt()),{transition:`transform ${wt} ${yt} 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"}}}}},{[`${Tt}-preview-root`]:{[`${Wt}-wrap`]:{zIndex:xt.zIndexPopup}}},{[`${Tt}-preview-operations-wrapper`]:{position:"fixed",zIndex:xt.zIndexPopup+1},"&":[on(xt),hn(xt)]}]},ft=xt=>{const{componentCls:yt}=xt;return{[yt]:{position:"relative",display:"inline-block",[`${yt}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${yt}-img-placeholder`]:{backgroundColor:xt.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${yt}-mask`]:Object.assign({},Vt(xt)),[`${yt}-mask:hover`]:{opacity:1},[`${yt}-placeholder`]:Object.assign({},Lt())}}},dt=xt=>{const{previewCls:yt}=xt;return{[`${yt}-root`]:(0,Ln._y)(xt,"zoom"),"&":(0,vn.J$)(xt,!0)}};var Ut=(0,Mt.Z)("Image",xt=>{const yt=`${xt.componentCls}-preview`,Wt=(0,St.TS)(xt,{previewCls:yt,modalMaskBg:new Jt.C("#000").setAlpha(.45).toRgbString(),imagePreviewSwitchSize:xt.controlHeightLG});return[ft(Wt),gt(Wt),(0,Dn.QA)((0,St.TS)(Wt,{componentCls:yt})),dt(Wt)]},xt=>({zIndexPopup:xt.zIndexPopupBase+80,previewOperationColor:new Jt.C(xt.colorTextLightSolid).setAlpha(.65).toRgbString(),previewOperationHoverColor:new Jt.C(xt.colorTextLightSolid).setAlpha(.85).toRgbString(),previewOperationColorDisabled:new Jt.C(xt.colorTextLightSolid).setAlpha(.25).toRgbString(),previewOperationSize:xt.fontSizeIcon*1.5})),$t=function(xt,yt){var Wt={};for(var wt in xt)Object.prototype.hasOwnProperty.call(xt,wt)&&yt.indexOf(wt)<0&&(Wt[wt]=xt[wt]);if(xt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Tt=0,wt=Object.getOwnPropertySymbols(xt);Tt{var{previewPrefixCls:yt,preview:Wt}=xt,wt=$t(xt,["previewPrefixCls","preview"]);const{getPrefixCls:Tt}=ye.useContext(We.E_),Ft=Tt("image",yt),tn=`${Ft}-preview`,ln=Tt(),[mn,En]=Ut(Ft),Cn=ye.useMemo(()=>{var bn;if(Wt===!1)return Wt;const _n=typeof Wt=="object"?Wt:{},Tn=he()(En,(bn=_n.rootClassName)!==null&&bn!==void 0?bn:"");return Object.assign(Object.assign({},_n),{transitionName:(0,Te.m)(ln,"zoom",_n.transitionName),maskTransitionName:(0,Te.m)(ln,"fade",_n.maskTransitionName),rootClassName:Tn})},[Wt]);return mn(ye.createElement(Ze.PreviewGroup,Object.assign({preview:Cn,previewPrefixCls:tn,icons:rn},wt)))},Un=function(xt,yt){var Wt={};for(var wt in xt)Object.prototype.hasOwnProperty.call(xt,wt)&&yt.indexOf(wt)<0&&(Wt[wt]=xt[wt]);if(xt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Tt=0,wt=Object.getOwnPropertySymbols(xt);Tt{const{prefixCls:yt,preview:Wt,className:wt,rootClassName:Tt,style:Ft}=xt,tn=Un(xt,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:ln,locale:mn=at.Z,getPopupContainer:En,image:Cn}=ye.useContext(We.E_),bn=ln("image",yt),_n=ln(),Tn=mn.Image||at.Z.Image,[It,ar]=Ut(bn),zn=he()(Tt,ar),Hn=he()(wt,ar,Cn==null?void 0:Cn.className),gn=ye.useMemo(()=>{if(Wt===!1)return Wt;const Ht=typeof Wt=="object"?Wt:{},{getContainer:an}=Ht,un=Un(Ht,["getContainer"]);return Object.assign(Object.assign({mask:ye.createElement("div",{className:`${bn}-mask-info`},ye.createElement(E.Z,null),Tn==null?void 0:Tn.preview),icons:rn},un),{getContainer:an||En,transitionName:(0,Te.m)(_n,"zoom",Ht.transitionName),maskTransitionName:(0,Te.m)(_n,"fade",Ht.maskTransitionName)})},[Wt,Tn]),Bt=Object.assign(Object.assign({},Cn==null?void 0:Cn.style),Ft);return It(ye.createElement(Ze,Object.assign({prefixCls:bn,preview:gn,rootClassName:zn,className:Hn,style:Bt},tn)))};Wn.PreviewGroup=fn;var qn=Wn,Nt=()=>{const[xt,yt]=(0,ye.useState)(""),[Wt,wt]=(0,ye.useState)(0);let[Tt,Ft]=(0,ye.useState)(),[tn,ln]=(0,ye.useState)();const[mn,En]=(0,ye.useState)(!1),Cn=(0,ye.useRef)("");(0,ye.useEffect)(()=>je.Z.subscribe("preview-image",an=>{yt(an),console.log(gn.current),document.body.style.overflow="hidden"}),[]),(0,ye.useEffect)(()=>(document.addEventListener("keydown",bn),()=>{document.removeEventListener("keydown",bn)}),[]),(0,ye.useEffect)(()=>{Cn.current=xt},[xt]);function bn(Ht){Ht.keyCode==27&&Cn.current&&_n()}function _n(){document.body.style.overflow="auto",Ft(void 0),ln(void 0),wt(0),yt("")}function Tn(){wt(Wt+90)}function It(){Tt=gn.current.width*1.1,tn=gn.current.height*1.1,ln(tn),Ft(Tt)}function ar(){Tt=gn.current.width/1.1,tn=gn.current.height/1.1,ln(tn),Ft(Tt)}const zn=(0,ye.useRef)(),Hn=(0,ye.useRef)(),gn=(0,ye.useRef)(),Bt=Ht=>{(Ht.nativeEvent.target===zn.current||Ht.nativeEvent.target===Hn.current)&&_n()};return ye.createElement(ye.Fragment,null,xt?ye.createElement("div",null,ye.createElement("div",{className:"preview-wrp-group",ref:Hn},ye.createElement(qn,{className:"image-preview",src:xt,style:{display:"none"},preview:{visible:!0,src:xt,movable:!1,onVisibleChange:Ht=>{yt("")}},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(Ae){const Ce=Ae.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:gt="",className:ft,showTextOnly:dt,showLines:Ut,style:$t={}})=>{const rn=(0,ye.useMemo)(()=>"",[gt]);return ye.createElement(ye.Fragment,null,ye.createElement("div",{dangerouslySetInnerHTML:{__html:rn}}))},ne=Se(59301),te=Object.defineProperty,a=Object.defineProperties,y=Object.getOwnPropertyDescriptors,x=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,ee=Object.prototype.propertyIsEnumerable,z=(gt,ft,dt)=>ft in gt?te(gt,ft,{enumerable:!0,configurable:!0,writable:!0,value:dt}):gt[ft]=dt,le=(gt,ft)=>{for(var dt in ft||(ft={}))b.call(ft,dt)&&z(gt,dt,ft[dt]);if(x)for(var dt of x(ft))ee.call(ft,dt)&&z(gt,dt,ft[dt]);return gt},de=(gt,ft)=>a(gt,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:gt,title:ft,icon:dt,actionName:Ut,className:$t="",children:rn}){function jn(){gt(Ut)}return ne.createElement("a",{title:ft,className:$t,onClick:jn},ne.createElement("i",{className:`${dt}`}),rn)}var me=({watch:gt,showNullButton:ft,showNullProgramButton:dt,onActionCallback:Ut,fullScreen:$t,insertTemp:rn,hidetoolBar:jn,extraUse:fn})=>{const Un=[...ge,{title:`${gt?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${gt?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return ne.createElement("ul",{className:"markdown-toolbar-container"},!jn&&Un.map((Wn,qn)=>ne.createElement("li",{key:qn},Wn.actionName?ne.createElement(fe,de(le({},Wn),{onActionCallback:Ut})):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:Ut},ne.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,dt?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:Ut},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:Ut},ne.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,rn&&ne.createElement("li",null,ne.createElement(fe,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${rn}`,onActionCallback:Ut},ne.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),fn&&ne.createElement("li",null,fn),ne.createElement("li",{className:"btn-full-screen"},ne.createElement(fe,{icon:`${$t?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:$t?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:Ut})))},be=Se(19647),ve=Se(78241),Pe=Se(92832),Ee=Se(3113),Ae=Object.defineProperty,Ce=Object.defineProperties,_e=Object.getOwnPropertyDescriptors,we=Object.getOwnPropertySymbols,Me=Object.prototype.hasOwnProperty,Oe=Object.prototype.propertyIsEnumerable,Fe=(gt,ft,dt)=>ft in gt?Ae(gt,ft,{enumerable:!0,configurable:!0,writable:!0,value:dt}):gt[ft]=dt,Le=(gt,ft)=>{for(var dt in ft||(ft={}))Me.call(ft,dt)&&Fe(gt,dt,ft[dt]);if(we)for(var dt of we(ft))Oe.call(ft,dt)&&Fe(gt,dt,ft[dt]);return gt},Ye=(gt,ft)=>Ce(gt,_e(ft));const He={labelCol:{span:4},wrapperCol:{span:20}};var Ge=({callback:gt,onCancel:ft})=>{function dt(Ut){gt(Ut)}return ye.createElement(ve.default,Ye(Le({},He),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:dt,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),ze=Se(56030),ke=Se(43418),Ne=Se(95237),Ve=Se(14573),qe=Se(59301),rt=({callback:gt,onCancel:ft})=>{const dt=document.createElement("canvas"),Ut=dt.getContext("2d");dt.width=1e3,dt.height=800,Ut.fillStyle="#ffffff",Ut.fillRect(0,0,dt.width,dt.height);const $t=dt.toDataURL("image/png");return qe.createElement(ke.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},qe.createElement(Ne.Z,{style:{height:"100vh"}},qe.createElement(Ve.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:$t,visible:!0,title:String(Date.now())},onOk:rn=>{gt({src:rn.url})},onClose:ft})))},Qe=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 gt=this.diagram;return!(gt===null||gt.isReadOnly||gt.isModelReadOnly||gt.selection.count<2)},Ue.prototype.alignLeft=function(){var gt=this.diagram;gt.startTransaction("aligning left");var ft=1/0;gt.selection.each(function(dt){dt instanceof go.Link||(ft=Math.min(dt.position.x,ft))}),gt.selection.each(function(dt){dt instanceof go.Link||dt.move(new go.Point(ft,dt.position.y))}),gt.commitTransaction("aligning left")},Ue.prototype.alignRight=function(){var gt=this.diagram;gt.startTransaction("aligning right");var ft=-1/0;gt.selection.each(function(dt){if(!(dt instanceof go.Link)){var Ut=dt.actualBounds.x+dt.actualBounds.width;ft=Math.max(Ut,ft)}}),gt.selection.each(function(dt){dt instanceof go.Link||dt.move(new go.Point(ft-dt.actualBounds.width,dt.position.y))}),gt.commitTransaction("aligning right")},Ue.prototype.alignTop=function(){var gt=this.diagram;gt.startTransaction("alignTop");var ft=1/0;gt.selection.each(function(dt){dt instanceof go.Link||(ft=Math.min(dt.position.y,ft))}),gt.selection.each(function(dt){dt instanceof go.Link||dt.move(new go.Point(dt.position.x,ft))}),gt.commitTransaction("alignTop")},Ue.prototype.alignBottom=function(){var gt=this.diagram;gt.startTransaction("aligning bottom");var ft=-1/0;gt.selection.each(function(dt){if(!(dt instanceof go.Link)){var Ut=dt.actualBounds.y+dt.actualBounds.height;ft=Math.max(Ut,ft)}}),gt.selection.each(function(dt){dt instanceof go.Link||dt.move(new go.Point(dt.actualBounds.x,ft-dt.actualBounds.height))}),gt.commitTransaction("aligning bottom")},Ue.prototype.alignCenterX=function(){var gt=this.diagram,ft=gt.selection.first();if(ft){gt.startTransaction("aligning Center X");var dt=ft.actualBounds.x+ft.actualBounds.width/2;gt.selection.each(function(Ut){Ut instanceof go.Link||Ut.move(new go.Point(dt-Ut.actualBounds.width/2,Ut.actualBounds.y))}),gt.commitTransaction("aligning Center X")}},Ue.prototype.alignCenterY=function(){var gt=this.diagram,ft=gt.selection.first();if(ft){gt.startTransaction("aligning Center Y");var dt=ft.actualBounds.y+ft.actualBounds.height/2;gt.selection.each(function(Ut){Ut instanceof go.Link||Ut.move(new go.Point(Ut.actualBounds.x,dt-Ut.actualBounds.height/2))}),gt.commitTransaction("aligning Center Y")}},Ue.prototype.alignColumn=function(gt){var ft=this.diagram;ft.startTransaction("align Column"),gt===void 0&&(gt=0),gt=parseFloat(gt);var dt=new Array;ft.selection.each(function(fn){fn instanceof go.Link||dt.push(fn)});for(var Ut=0;Ut0){for(var fn=rn.elt(jn-1);fn!==null&&fn.isTreeExpanded&&!fn.isTreeLeaf;){var Un=this._sortTreeChildrenByY(fn);fn=Un.last()}fn!==null&>.select(fn)}else gt.select($t)}}else if(dt.key==="Down")if(ft.isTreeExpanded&&!ft.isTreeLeaf){var Ut=this._sortTreeChildrenByY(ft).first();Ut!==null&>.select(Ut)}else for(;ft!==null;){var $t=ft.findTreeParentNode();if($t===null)break;var rn=this._sortTreeChildrenByY($t),jn=rn.indexOf(ft);if(jnrn.y?1:$t.xrn.x?1:0}),ft},Ue.prototype.copyToClipboard=function(gt){go.CommandHandler.prototype.copyToClipboard.call(this,gt),this._lastPasteOffset.set(this.pasteOffset)},Ue.prototype.pasteFromClipboard=function(){var gt=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(gt,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),gt},Object.defineProperty(Ue.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(gt){if(gt!=="move"&>!=="select"&>!=="scroll"&>!=="tree"&>!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+gt);this._arrowKeyBehavior=gt}}),Object.defineProperty(Ue.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(gt){if(!(gt instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+gt);this._pasteOffset.set(gt)}});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),Je=(gt,ft,dt)=>new Promise((Ut,$t)=>{var rn=Un=>{try{fn(dt.next(Un))}catch(Wn){$t(Wn)}},jn=Un=>{try{fn(dt.throw(Un))}catch(Wn){$t(Wn)}},fn=Un=>Un.done?Ut(Un.value):Promise.resolve(Un.value).then(rn,jn);fn((dt=dt.apply(gt,ft)).next())});function Be({onCancel:gt,callback:ft}){let dt=(0,ye.useRef)(),Ut=(0,ye.useRef)(),$t=(0,ye.useRef)(),rn=(0,ye.useRef)(!1);const jn=(0,ye.useRef)(!1),[fn,Un]=(0,ye.useState)(0);function Wn(){const Nt=Qe.bx.make,xt={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"};dt.current=new Qe.S0(Ut.current,{padding:20,grid:Nt(Qe.s_,"Grid",Nt(Qe.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Nt(Qe.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:Bt=>{var Ht=Bt.diagram.commandHandler.addTopLevelParts(Bt.diagram.selection,!0);Ht||Bt.diagram.currentTool.doCancel()},commandHandler:Nt(Ie),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:Bt=>{var Ht=Bt.subject;Ht.location=Ht.location.copy().snapToGridPoint(Bt.diagram.grid.gridOrigin,Bt.diagram.grid.gridCellSize),setTimeout(()=>{Bt.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:Bt=>{var Ht=Bt.subject;setTimeout(()=>{Bt.diagram.commandHandler.editTextBlock()})},LinkRelinked:Bt=>{var Ht=Bt.parameter.part;Ht.invalidateConnectedLinks();var an=Bt.subject;Bt.diagram.toolManager.linkingTool.isForwards?an.toNode.invalidateConnectedLinks():an.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),dt.current.nodeTemplate=Nt(Qe.NB,"Auto",{locationSpot:Qe.z6.Center,locationObjectName:"SHAPE",desiredSize:new Qe.$u(120,60),minSize:new Qe.$u(40,40),resizable:!0,resizeCellSize:new Qe.$u(10,10),rotatable:!0},new Qe.KX("location","loc",Qe.E9.parse).makeTwoWay(Qe.E9.stringify),new Qe.KX("desiredSize","size",Qe.$u.parse).makeTwoWay(Qe.$u.stringify),Nt(Qe.bn,{name:"SHAPE",fill:xt.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Qe.z6.AllSides,toSpot:Qe.z6.AllSides},new Qe.KX("figure"),new Qe.KX("fill"),new Qe.KX("stroke","borderColor"),new Qe.KX("strokeWidth","thickness"),new Qe.KX("strokeDashArray","dash")),Nt(Qe.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),Nt(Qe.al,{margin:1,textAlign:"center",overflow:Qe.al.OverflowEllipsis,editable:!0},new Qe.KX("text").makeTwoWay(),new Qe.KX("stroke","color"))),dt.current.nodeTemplate.toolTip=Nt("ToolTip",Nt(Qe.s_,"Vertical",{maxSize:new Qe.$u(200,NaN)},Nt(Qe.al,{font:"bold 10pt sans-serif",textAlign:"center"},new Qe.KX("text")),Nt(Qe.al,{font:"10pt sans-serif",textAlign:"center"},new Qe.KX("text","details"))));function yt(Bt,Ht){var an=(un,An)=>{un.handled=!0,un.diagram.model.commit(Mn=>{var Bn=An.part.adornedPart,Nn=new Qe.E9().setRectSpot(Bn.actualBounds,Bt);Nn.subtract(Bn.location),Nn.scale(2,2),Nn.x+=Math.sign(Nn.x)*130,Nn.y+=Math.sign(Nn.y)*130,Nn.add(Bn.location),Nn.snapToGridPoint(un.diagram.grid.gridOrigin,un.diagram.grid.gridCellSize);var nr=Mn.copyNodeData(Bn.data);Mn.setGroupKeyForNodeData(nr,Mn.getGroupKeyForNodeData(Bn.data)),Mn.addNodeData(nr);var wr={from:Bn.key,to:Mn.getKeyForNodeData(nr)};Mn.addLinkData(wr);var yr=un.diagram.findNodeForData(nr);yr.location=Nn,un.diagram.select(yr),setTimeout(()=>{un.diagram.commandHandler.editTextBlock()},20)})};return Nt(Qe.bn,{figure:Ht,alignment:Bt,alignmentFocus:Bt.opposite(),width:Bt.equals(Qe.z6.Top)||Bt.equals(Qe.z6.Bottom)?25:18,height:Bt.equals(Qe.z6.Top)||Bt.equals(Qe.z6.Bottom)?18:25,fill:"orange",stroke:xt.white,strokeWidth:4,mouseEnter:(un,An)=>An.fill="dodgerblue",mouseLeave:(un,An)=>An.fill="orange",isActionable:!0,click:an,contextClick:an})}function Wt(Bt){return Nt(Qe.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,an)=>an.fill="dodgerblue",mouseLeave:(Ht,an)=>an.fill="orange",click:(Ht,an)=>{Ht.diagram.commandHandler.showContextMenu(an.part.adornedPart)}},Bt||{})}dt.current.nodeTemplate.selectionAdornmentTemplate=Nt(Qe.uz,"Spot",Nt(Qe.Vm,{padding:10}),yt(Qe.z6.Top,"TriangleUp"),yt(Qe.z6.Left,"TriangleLeft"),yt(Qe.z6.Right,"TriangleRight"),yt(Qe.z6.Bottom,"TriangleDown"),Wt({alignment:new Qe.z6(.75,0)}));function wt(Bt,Ht){return(an,un)=>{an.handled=!0,an.diagram.model.commit(An=>{An.set(un.part.adornedPart.data,Bt,Ht)})}}function Tt(Bt,Ht){return Ht||(Ht="color"),Nt(Qe.bn,{width:16,height:16,stroke:"lightgray",fill:Bt,margin:1,background:"transparent",mouseEnter:(an,un)=>un.stroke="dodgerblue",mouseLeave:(an,un)=>un.stroke="lightgray",click:wt(Ht,Bt),contextClick:wt(Ht,Bt)})}function Ft(){return[Nt("ContextMenuButton",Nt(Qe.s_,"Horizontal",Tt(xt.white,"fill"),Tt(xt.beige,"fill"),Tt(xt.extralightblue,"fill"),Tt(xt.extralightred,"fill"))),Nt("ContextMenuButton",Nt(Qe.s_,"Horizontal",Tt(xt.lightgray,"fill"),Tt(xt.lightgreen,"fill"),Tt(xt.lightblue,"fill"),Tt(xt.lightred,"fill")))]}function tn(){return[Nt("ContextMenuButton",Nt(Qe.s_,"Horizontal",Tt(xt.black),Tt(xt.green),Tt(xt.blue),Tt(xt.red))),Nt("ContextMenuButton",Nt(Qe.s_,"Horizontal",Tt(xt.white),Tt(xt.magenta),Tt(xt.purple),Tt(xt.orange)))]}function ln(Bt,Ht){return Ht||(Ht="thickness"),Nt(Qe.bn,"LineH",{width:16,height:16,strokeWidth:Bt,margin:1,background:"transparent",mouseEnter:(an,un)=>un.background="dodgerblue",mouseLeave:(an,un)=>un.background="transparent",click:wt(Ht,Bt),contextClick:wt(Ht,Bt)})}function mn(Bt,Ht){return Ht||(Ht="dash"),Nt(Qe.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:Bt,margin:1,background:"transparent",mouseEnter:(an,un)=>un.background="dodgerblue",mouseLeave:(an,un)=>un.background="transparent",click:wt(Ht,Bt),contextClick:wt(Ht,Bt)})}function En(){return[Nt("ContextMenuButton",Nt(Qe.s_,"Horizontal",ln(1),ln(2),ln(3),ln(4))),Nt("ContextMenuButton",Nt(Qe.s_,"Horizontal",mn(null),mn([2,4]),mn([4,4])))]}function Cn(Bt,Ht){return Ht||(Ht="figure"),Nt(Qe.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:Bt,margin:1,background:"transparent",mouseEnter:(an,un)=>un.fill="dodgerblue",mouseLeave:(an,un)=>un.fill="lightgray",click:wt(Ht,Bt),contextClick:wt(Ht,Bt)})}dt.current.nodeTemplate.contextMenu=Nt("ContextMenu",Nt("ContextMenuButton",Nt(Qe.s_,"Horizontal",Cn("Rectangle"),Cn("RoundedRectangle"),Cn("Ellipse"),Cn("Diamond"))),Nt("ContextMenuButton",Nt(Qe.s_,"Horizontal",Cn("Parallelogram2"),Cn("ManualOperation"),Cn("Procedure"),Cn("Cylinder1"))),Nt("ContextMenuButton",Nt(Qe.s_,"Horizontal",Cn("Terminator"),Cn("CreateRequest"),Cn("Document"),Cn("TriangleDown"))),Ft(),tn(),En()),dt.current.groupTemplate=Nt(Qe.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:Qe.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(Bt,Ht)=>{var an=Ht.addMembers(Ht.diagram.selection,!0);an||Ht.diagram.currentTool.doCancel()},avoidable:!1},new Qe.KX("location","loc",Qe.E9.parse).makeTwoWay(Qe.E9.stringify),Nt(Qe.s_,"Auto",{name:"BODY"},Nt(Qe.bn,{parameter1:10,fill:xt.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Qe.z6.AllSides,toSpot:Qe.z6.AllSides},new Qe.KX("fill"),new Qe.KX("stroke","color"),new Qe.KX("strokeWidth","thickness"),new Qe.KX("strokeDashArray","dash")),Nt(Qe.Vm,{background:"transparent",margin:20})),Nt(Qe.al,{alignment:Qe.z6.Top,alignmentFocus:Qe.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new Qe.KX("text"),new Qe.KX("stroke","color"))),dt.current.groupTemplate.selectionAdornmentTemplate=Nt(Qe.uz,"Spot",Nt(Qe.s_,"Auto",Nt(Qe.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),Nt(Qe.Vm,{margin:1.5})),Wt({alignment:Qe.z6.TopRight,alignmentFocus:Qe.z6.BottomRight})),dt.current.groupTemplate.contextMenu=Nt("ContextMenu",Ft(),tn(),En()),dt.current.linkTemplate=Nt(Qe.rU,{layerName:"Foreground",routing:Qe.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new Qe.KX("fromSpot","fromSpot",Qe.z6.parse),new Qe.KX("toSpot","toSpot",Qe.z6.parse),new Qe.KX("fromShortLength","dir",Bt=>Bt>=1?10:0),new Qe.KX("toShortLength","dir",Bt=>Bt>=1?10:0),new Qe.KX("points").makeTwoWay(),Nt(Qe.bn,{strokeWidth:2},new Qe.KX("stroke","color"),new Qe.KX("strokeWidth","thickness"),new Qe.KX("strokeDashArray","dash")),Nt(Qe.bn,{segmentIndex:0,segmentOffset:new Qe.E9(15,0),segmentOrientation:Qe.rU.OrientAlong,alignmentFocus:Qe.z6.Right,figure:"circle",width:10,strokeWidth:0},new Qe.KX("fill","color"),new Qe.KX("visible","dir",Bt=>Bt===1)),Nt(Qe.bn,{segmentIndex:-1,segmentOffset:new Qe.E9(-10,6),segmentOrientation:Qe.rU.OrientPlus90,alignmentFocus:Qe.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Qe.KX("fill","color"),new Qe.KX("visible","dir",Bt=>Bt>=1),new Qe.KX("width","thickness",Bt=>7+3*Bt),new Qe.KX("height","thickness",Bt=>7+3*Bt),new Qe.KX("segmentOffset","thickness",Bt=>new Qe.E9(-15,4+1.5*Bt))),Nt(Qe.bn,{segmentIndex:0,segmentOffset:new Qe.E9(15,-6),segmentOrientation:Qe.rU.OrientMinus90,alignmentFocus:Qe.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Qe.KX("fill","color"),new Qe.KX("visible","dir",Bt=>Bt===2),new Qe.KX("width","thickness",Bt=>7+3*Bt),new Qe.KX("height","thickness",Bt=>7+3*Bt),new Qe.KX("segmentOffset","thickness",Bt=>new Qe.E9(-15,4+1.5*Bt))),Nt(Qe.al,{alignmentFocus:new Qe.z6(0,1,-4,0),editable:!0},new Qe.KX("text").makeTwoWay(),new Qe.KX("stroke","color"))),dt.current.linkTemplate.selectionAdornmentTemplate=Nt(Qe.uz,Nt(Qe.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:bn(2)},new Qe.KX("pathPattern","thickness",bn)),Wt({alignmentFocus:new Qe.z6(0,0,-6,-4)}));function bn(Bt){return Nt(Qe.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(Bt+4).toString()+" H3"})}function _n(Bt){var Ht="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return Bt===0?Ht="M0 0 M16 16 M0 8 L16 8":Bt===2&&(Ht="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),Nt(Qe.bn,{geometryString:Ht,margin:2,background:"transparent",mouseEnter:(an,un)=>un.background="dodgerblue",mouseLeave:(an,un)=>un.background="transparent",click:wt("dir",Bt),contextClick:wt("dir",Bt)})}function Tn(Bt){var Ht=(an,un)=>{an.handled=!0,an.diagram.model.commit(An=>{var Mn=un.part.adornedPart;An.set(Mn.data,Bt?"toSpot":"fromSpot",Qe.z6.stringify(Qe.z6.AllSides)),(Bt?Mn.toNode:Mn.fromNode).invalidateConnectedLinks()})};return Nt(Qe.bn,{width:12,height:12,fill:"transparent",mouseEnter:(an,un)=>un.background="dodgerblue",mouseLeave:(an,un)=>un.background="transparent",click:Ht,contextClick:Ht})}function It(Bt,Ht){var an=0,un=Qe.z6.RightSide;Bt.equals(Qe.z6.Top)?(an=270,un=Qe.z6.TopSide):Bt.equals(Qe.z6.Left)?(an=180,un=Qe.z6.LeftSide):Bt.equals(Qe.z6.Bottom)&&(an=90,un=Qe.z6.BottomSide),Ht||(an-=180);var An=(Mn,Bn)=>{Mn.handled=!0,Mn.diagram.model.commit(Nn=>{var nr=Bn.part.adornedPart;Nn.set(nr.data,Ht?"toSpot":"fromSpot",Qe.z6.stringify(un)),(Ht?nr.toNode:nr.fromNode).invalidateConnectedLinks()})};return Nt(Qe.bn,{alignment:Bt,alignmentFocus:Bt.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:an,background:"transparent",mouseEnter:(Mn,Bn)=>Bn.background="dodgerblue",mouseLeave:(Mn,Bn)=>Bn.background="transparent",click:An,contextClick:An})}dt.current.linkTemplate.contextMenu=Nt("ContextMenu",tn(),En(),Nt("ContextMenuButton",Nt(Qe.s_,"Horizontal",_n(0),_n(1),_n(2))),Nt("ContextMenuButton",Nt(Qe.s_,"Horizontal",Nt(Qe.s_,"Spot",Tn(!1),It(Qe.z6.Top,!1),It(Qe.z6.Left,!1),It(Qe.z6.Right,!1),It(Qe.z6.Bottom,!1)),Nt(Qe.s_,"Spot",{margin:new Qe.Zt(0,0,0,2)},Tn(!0),It(Qe.z6.Top,!0),It(Qe.z6.Left,!0),It(Qe.z6.Right,!0),It(Qe.z6.Bottom,!0)))));const ar=`{ "class": "GraphLinksModel", +`),be)};var me=({value:be="",className:ve,showTextOnly:Pe,showLines:Ee,style:Ae={},stylesPrev:Ce={},highlightKeywords:_e,showProgramFill:we,isProgramFill:Me,disabledFill:Oe=!1,programFillValue:Fe,onFillChange:Le=Ge=>{},onFillBlur:Ye=()=>{},onFillFocus:He=()=>{}})=>{let Ge=String(be);const[Ke,ze]=(0,ye.useState)(""),[ke,Ne]=(0,ye.useState)("office"),[Ve,qe]=(0,ye.useState)([]),rt=(0,ye.useRef)("a"+(0,ue.Z)()),Qe={},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(Qe).length;return Qe[st]=tt,`${tt.outerHTML}`};function Be(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;Ge=Ge.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 Ge=Ge.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(Ge||"")}
`}let Xe=Ze(Ge);Xe=(0,E.ZP)(Xe);const nt=(0,E.ez)();Ge.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(_e){const tt=_e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return Je($e,tt),$e.innerHTML}return setTimeout(()=>De(),500),$e.innerHTML},[Ge,_e]);(0,ye.useEffect)(()=>{Ie.current&&Ie.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=Ie.current.querySelectorAll(".edu-program-fill-score"),lt=Ie.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`:"";qe(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,qe([...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,qe([...Ve]),Ye(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,qe([...Ve]),He(Ve,Xe.target.dataset.id)};function Je(Xe,nt){return Xe.childNodes.forEach($e=>{var tt;if($e.childNodes.length>0)Je($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 Ie=(0,ye.useRef)();E.jb.WebkitLineClamp=Ee,Ee&&(Ae=ee(ee({},Ae),E.jb));function xe(Xe){let nt=Xe.target;if(nt.tagName.toUpperCase()==="A"){let $e=nt.getAttribute("href");if($e.indexOf("office")>-1)Xe.preventDefault(),ze($e),Ne("office");else if($e.indexOf("application/pdf")>-1)Xe.preventDefault(),ze($e),Ne("pdf");else if($e.indexOf("text/html")>-1)Xe.preventDefault(),ze($e),Ne("html");else if($e.startsWith("#")){Xe.preventDefault();let tt=document.getElementById($e.replace("#",""));tt&&tt.scrollIntoView(!0)}}}const De=()=>{var Xe;const nt=(Xe=Ie.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(Ie.current&&Te&&Te.match(de)&&window.PR.prettyPrint(),Ie.current)return Ie.current.addEventListener("click",xe),()=>{var Xe;(Xe=Ie.current)==null||Xe.removeEventListener("click",xe),(0,E.AL)(),(0,E.Iy)()}},[Te,Ie.current,xe]),(0,ye.useEffect)(()=>{var Xe;const nt=$e=>{$e.preventDefault(),$e.clipboardData.setData("text",window.getSelection().toString())};return(Xe=Ie.current)==null||Xe.addEventListener("copy",nt),()=>{var $e;($e=Ie.current)==null||$e.removeEventListener("copy",nt)}},[Ie.current]);const Re=Xe=>//i.test(Xe||"");return ye.createElement(ye.Fragment,null,Pe&&ye.createElement("div",{ref:Ie},Te),!Pe&&!Re(Te)&&ye.createElement("div",{ref:Ie,style:ee({},Ae),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:()=>ze("")}))}},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,Ae)=>Ee in Pe?ae(Pe,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Ae}):Pe[Ee]=Ae,b=(Pe,Ee)=>{for(var Ae in Ee||(Ee={}))a.call(Ee,Ae)&&x(Pe,Ae,Ee[Ae]);if(te)for(var Ae of te(Ee))y.call(Ee,Ae)&&x(Pe,Ae,Ee[Ae]);return Pe},ee=(Pe,Ee)=>re(Pe,ne(Ee)),z=(Pe,Ee)=>{var Ae={};for(var Ce in Pe)a.call(Pe,Ce)&&Ee.indexOf(Ce)<0&&(Ae[Ce]=Pe[Ce]);if(Pe!=null&&te)for(var Ce of te(Pe))Ee.indexOf(Ce)<0&&y.call(Pe,Ce)&&(Ae[Ce]=Pe[Ce]);return Ae},le=(Pe,Ee,Ae)=>new Promise((Ce,_e)=>{var we=Fe=>{try{Oe(Ae.next(Fe))}catch(Le){_e(Le)}},Me=Fe=>{try{Oe(Ae.throw(Fe))}catch(Le){_e(Le)}},Oe=Fe=>Fe.done?Ce(Fe.value):Promise.resolve(Fe.value).then(we,Me);Oe((Ae=Ae.apply(Pe,Ee)).next())});const{Dragger:de}=je.default,ge=Pe=>{const Ee="bf3c199c2470cb477d907b1e0917c17b",Ae="5183666c72eec9e4";var Ce=ce().enc.Utf8.parse(Ee);let _e=ce().enc.Utf8.parse(Ae);var we=ce().AES.decrypt(Pe,Ce,{iv:_e,mode:ce().mode.CBC});return we.toString(ce().enc.Utf8)};let fe;const me=Pe=>le(void 0,[Pe],function*({identifier:Ee,oldFilename:Ae,newFilename:Ce}){var _e,we,Me,Oe,Fe,Le;const Ye=yield Fetch("/api/buckets/get_upload_token_for_big_files.json",{method:"get"});Ye.data=JSON.parse(ge(Ye.data));const He=new OSS({endpoint:(_e=Ye==null?void 0:Ye.data)==null?void 0:_e.end_point,region:(we=Ye==null?void 0:Ye.data)==null?void 0:we.region,accessKeyId:(Me=Ye==null?void 0:Ye.data)==null?void 0:Me.access_key_id,accessKeySecret:(Oe=Ye==null?void 0:Ye.data)==null?void 0:Oe.access_key_secret,bucket:(Fe=Ye==null?void 0:Ye.data)==null?void 0:Fe.bucket,stsToken:(Le=Ye==null?void 0:Ye.data)==null?void 0:Le.security_token});return new Promise((Ge,Ke)=>{console.log(11111,`${Ee}/${Ae}`,`${Ee}/${Ce}`,Ye.data),He.copy(`/${Ee}/${Ae}`,`/${Ee}/${Ce}`).then(ze=>{console.log("\u62F7\u8D1D\u6210\u529F",ze)}).catch(ze=>{console.log(ze)})})}),be=(Pe,Ee,Ae)=>le(void 0,null,function*(){var Ce,_e,we,Me,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 Ye=Pe.name.split(".");Ye.pop();const He=Ee.realFileName?Ye.join(""):(0,oe.Z)(),Ge=new(se())({endpoint:(Ce=Le==null?void 0:Le.data)==null?void 0:Ce.end_point,region:(_e=Le==null?void 0:Le.data)==null?void 0:_e.region,accessKeyId:(we=Le==null?void 0:Le.data)==null?void 0:we.access_key_id,accessKeySecret:(Me=Le==null?void 0:Le.data)==null?void 0:Me.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,ze)=>{var ke;Ge.multipartUpload(`${He}`,new Blob([Pe],{type:Pe.type}),ee(b({timeout:200*1e3,partSize:102400},Ae),{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){ze(Ne),console.log("err:",Ne)})})}),ve=Pe=>{var Ee=Pe,{user:Ae,cancelUpload:Ce}=Ee,_e=z(Ee,["user","cancelUpload"]);const[we,Me]=(0,ye.useState)([]);let[Oe,Fe]=(0,ye.useState)();const Le={onRemove:He=>{Me([...we.filter(Ge=>Ge.name!==He.name)]),_e.onChange(we.filter(Ge=>Ge.name!==He.name))},disabled:_e.disabled,multiple:!0,fileList:we==null?void 0:we.map(He=>He.file),customRequest:()=>{},beforeUpload:He=>le(void 0,null,function*(){let Ge=_e.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)>Ge?(E.ZP.info(`\u6587\u4EF6\u8D85\u8FC7${Ge/1024/1024/1024}GB\uFF0C\u4E0D\u7B26\u5408\u4E0A\u4F20\u8981\u6C42`),!1):(we.push({name:He.name,file:He}),Me([...we]),_e.onChange(we),!1)})},Ye=(He,Ge)=>le(void 0,null,function*(){var Ke,ze,ke,Ne,Ve,qe;Ge.file_name=He.name;const rt=He.name,Qe=yield(0,pe.ZP)("/api/buckets/get_upload_token_for_big_files.json",{method:"get"});if(Qe.data=JSON.parse(ge(Qe.data)),(Qe==null?void 0:Qe.status)!==0){we[we.findIndex(Ze=>Ze.name===rt)].status="error",we[we.findIndex(Ze=>Ze.name===rt)].file.status="error",_e.onChange(we),E.ZP.warning("\u4E0A\u4F20\u5931\u8D25\uFF0C\u8BF7\u91CD\u65B0\u5C1D\u8BD5");return}Oe=new(se())({endpoint:(Ke=Qe==null?void 0:Qe.data)==null?void 0:Ke.end_point,region:(ze=Qe==null?void 0:Qe.data)==null?void 0:ze.region,accessKeyId:(ke=Qe==null?void 0:Qe.data)==null?void 0:ke.access_key_id,accessKeySecret:(Ne=Qe==null?void 0:Qe.data)==null?void 0:Ne.access_key_secret,bucket:(Ve=Qe==null?void 0:Qe.data)==null?void 0:Ve.bucket,stsToken:(qe=Qe==null?void 0:Qe.data)==null?void 0:qe.security_token}),console.log(He,"file"),Fe(Oe);const Ue=He.name.split(".");Ue.pop();const Be=rt.indexOf(".")>-1?Ge.realFileName?Ue.join("."):(0,oe.Z)():rt;return new Promise((Ze,Te)=>{var We;try{Oe.multipartUpload(`${_e.identifier}/${Be}${rt.indexOf(".")>-1?"."+rt.split(".").pop():""}`,new Blob([He.file],{type:He.file.type}),{timeout:3600*1e3,partSize:1002400,progress:(at,et,Je)=>{try{console.log("\u8FDB\u5EA6",at,et,Je);const Ie=we.findIndex(xe=>xe.name===rt);we[Ie].file.percent=at*100,we[Ie].tempCheckpoint=et,Me([...we])}catch(Ie){}},checkpoint:we[we.findIndex(at=>at.name===rt)].tempCheckpoint,callback:{customValue:{id:rt+""},url:(We=Qe==null?void 0:Qe.data)==null?void 0:We.callback_url,host:Qe==null?void 0:Qe.data.bucket_host,body:"bucket=${bucket}&object=${object}&etag=${etag}&size=${size}&mimeType=${mimeType}&my_var=${x:my_var}&"+(0,pe.rz)(Ge)}}).then(function(at){var et,Je,Ie;const xe=we.findIndex(Re=>Re.name===rt);let De="done";if(((et=at.data)==null?void 0:et.status)===0){He.response=(Je=at.data)==null?void 0:Je.data;const Re=we.findIndex(Xe=>Xe.name===rt);we[Re].status="done",we[Re].file.status="done"}else E.ZP.warning((Ie=at.data)==null?void 0:Ie.message),De="error";we[xe].status=De,we[xe].file.status=De,_e.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"),Me([...we]),_e.onChange(we),Te(at),console.log("err:",at)})}catch(at){}})});return(0,ye.useEffect)(()=>{we.every(He=>He==="done"||He==="error")&&_e.onComplete(we)},[we]),(0,ye.useEffect)(()=>{Ce&&(Oe==null||Oe.cancel())},[Ce]),(0,ye.useEffect)(()=>{_e.uploading&&we.map(He=>le(void 0,null,function*(){var Ge;if((!He.status||He.status==="error")&&!Ce){He.status="uploading",He.file.status="uploading";const Ke=yield Ye(He,{login:(Ge=Ae==null?void 0:Ae.userInfo)==null?void 0:Ge.login,container_type:_e.container_type,container_id:_e.container_id,description:_e.description,realFileName:_e.realFileName})}}))},[_e.uploading]),ye.createElement(de,ee(b({},Le),{height:_e.height,className:_e.className}),ye.createElement("p",{className:"ant-upload-hint"},_e.text||"\u62D6\u62FD\u6587\u4EF6\u6216\u8005\u70B9\u51FB\u4E0A\u4F20"))};ot.ZP=(0,ie.connect)(({loading:Pe,globalSetting:Ee,user:Ae})=>({globalSetting:Ee,loading:Pe.models.competitions,user:Ae}))(ve)},85469:function(ct,ot,Se){"use strict";Se.d(ot,{Z:function(){return Ut}});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 zt=ye.useState(function(){return y+=1,String(y)}),Ct=(0,ue.Z)(zt,1),Lt=Ct[0],jt=ye.useContext(a),en={data:pt,canPreview:Ot};return ye.useEffect(function(){if(jt)return jt.register(Lt,en)},[]),ye.useEffect(function(){jt&&jt.register(Lt,en)},[Ot,pt]),Lt}function b(Ot){return new Promise(function(pt){var zt=document.createElement("img");zt.onerror=function(){return pt(!1)},zt.onload=function(){return pt(!0)},zt.src=Ot})}function ee(Ot){var pt=Ot.src,zt=Ot.isCustomPlaceholder,Ct=Ot.fallback,Lt=(0,ye.useState)(zt?"loading":"normal"),jt=(0,ue.Z)(Lt,2),en=jt[0],nn=jt[1],mn=(0,ye.useRef)(!1),En=en==="error";(0,ye.useEffect)(function(){b(pt).then(function(Tn){Tn||nn("error")})},[pt]),(0,ye.useEffect)(function(){zt&&!mn.current?nn("loading"):En&&nn("normal")},[pt]);var Cn=function(){nn("normal")},bn=function(Bt){mn.current=!1,en==="loading"&&Bt!=null&&Bt.complete&&(Bt.naturalWidth||Bt.naturalHeight)&&(mn.current=!0,Cn())},_n=En&&Ct?{src:Ct}:{onLoad:Cn,src:pt};return[bn,_n,en]}var z=Se(86923),le=Se(8224),de=Se(10228),ge=Se(48736);function fe(Ot,pt,zt,Ct){var Lt=pt+zt,jt=(zt-Ct)/2;if(zt>Ct){if(pt>0)return(0,ie.Z)({},Ot,jt);if(pt<0&&LtCt)return(0,ie.Z)({},Ot,pt<0?jt:-jt);return{}}function me(Ot,pt,zt,Ct){var Lt=(0,re.g1)(),jt=Lt.width,en=Lt.height,nn=null;return Ot<=jt&&pt<=en?nn={x:0,y:0}:(Ot>jt||pt>en)&&(nn=(0,oe.Z)((0,oe.Z)({},fe("x",zt,Ot,jt)),fe("y",Ct,pt,en))),nn}var be=Se(13697),ve=Se(16089),Pe={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1};function Ee(Ot,pt,zt,Ct){var Lt=(0,ye.useRef)(null),jt=(0,ye.useRef)([]),en=(0,ye.useState)(Pe),nn=(0,ue.Z)(en,2),mn=nn[0],En=nn[1],Cn=function(Bt){En(Pe),Ct&&!(0,be.Z)(Pe,mn)&&Ct({transform:Pe,action:Bt})},bn=function(Bt,ar){Lt.current===null&&(jt.current=[],Lt.current=(0,ve.Z)(function(){En(function(zn){var Wn=zn;return jt.current.forEach(function(gn){Wn=(0,oe.Z)((0,oe.Z)({},Wn),gn)}),Lt.current=null,Ct==null||Ct({transform:Wn,action:ar}),Wn})})),jt.current.push((0,oe.Z)((0,oe.Z)({},mn),Bt))},_n=function(Bt,ar,zn,Wn){var gn=Ot.current,It=gn.width,Ht=gn.height,on=gn.offsetWidth,un=gn.offsetHeight,An=gn.offsetLeft,Mn=gn.offsetTop,In=Bt,Un=mn.scale*Bt;Un>zt?(In=zt/mn.scale,Un=zt):Un1,Cr=fr&&gn>=1,Sr=Ee(pr,An,In,Tr),or=Sr.transform,Ir=Sr.resetTransform,_r=Sr.updateTransform,Br=Sr.dispatchZoomChange,jr=(0,ye.useState)(!0),ht=(0,ue.Z)(jr,2),Tt=ht[0],Et=ht[1],Ft=or.rotate,Gt=or.scale,kt=or.x,ln=or.y,tn=he()((0,ie.Z)({},"".concat(zt,"-moving"),hr));(0,ye.useEffect)(function(){Tt||Et(!0)},[Tt]);var Qt=function(){Ir("close")},dn=function(){Br(Me+on,"zoomIn")},qt=function(){Br(Me/(Me+on),"zoomOut")},Bn=function(){_r({rotate:Ft+90},"rotateRight")},Sn=function(){_r({rotate:Ft-90},"rotateLeft")},Fn=function(){_r({flipX:!or.flipX},"flipX")},On=function(){_r({flipY:!or.flipY},"flipY")},Yn=function(pn){pn==null||pn.preventDefault(),pn==null||pn.stopPropagation(),zn>0&&(Et(!1),Ir("prev"),ur==null||ur(zn-1,zn))},lr=function(pn){pn==null||pn.preventDefault(),pn==null||pn.stopPropagation(),zn0&&(yn=Me/yn),Br(yn,"wheel",pn.clientX,pn.clientY)}},Dr=function(pn){!En||!sr||(pn.keyCode===de.Z.LEFT?Yn():pn.keyCode===de.Z.RIGHT&&lr())},Zn=function(pn){En&&(Gt!==1?_r({x:0,y:0,scale:1},"doubleClick"):Br(Me+on,"doubleClick",pn.clientX,pn.clientY))};(0,ye.useEffect)(function(){var Qn,pn,qn,Rt;if(nn){qn=(0,le.Z)(window,"mouseup",Ar,!1),Rt=(0,le.Z)(window,"mousemove",rr,!1);try{window.top!==window.self&&(Qn=(0,le.Z)(window.top,"mouseup",Ar,!1),pn=(0,le.Z)(window.top,"mousemove",rr,!1))}catch(yn){(0,ge.Kp)(!1,"[rc-image] ".concat(yn))}}return function(){var yn,Vn,Rn,$n;(yn=qn)===null||yn===void 0||yn.remove(),(Vn=Rt)===null||Vn===void 0||Vn.remove(),(Rn=Qn)===null||Rn===void 0||Rn.remove(),($n=pn)===null||$n===void 0||$n.remove()}},[En,hr,kt,ln,Ft,nn]),(0,ye.useEffect)(function(){var Qn=(0,le.Z)(window,"keydown",Dr,!1);return function(){Qn.remove()}},[En,sr,zn]);var gr=ye.createElement(Ye,(0,ce.Z)({},xr,{width:pt.width,height:pt.height,imgRef:pr,className:"".concat(zt,"-img"),alt:Lt,style:{transform:"translate3d(".concat(or.x,"px, ").concat(or.y,"px, 0) scale3d(").concat(or.flipX?"-":"").concat(Gt,", ").concat(or.flipY?"-":"").concat(Gt,", 1) rotate(").concat(Ft,"deg)"),transitionDuration:!Tt&&"0s"},fallback:jt,src:Ct,onWheel:dr,onMouseDown:Pr,onDoubleClick:Zn}));return ye.createElement(ye.Fragment,null,ye.createElement(z.Z,(0,ce.Z)({transitionName:nr,maskTransitionName:yr,closable:!1,keyboard:!0,prefixCls:zt,onClose:mn,visible:En,wrapClassName:tn,rootClassName:_n,getContainer:Bt},br,{afterClose:Qt}),ye.createElement("div",{className:"".concat(zt,"-img-wrapper")},Kt?Kt(gr,(0,oe.Z)({transform:or},fr?{current:zn}:{})):gr)),ye.createElement(we,{visible:En,transform:or,maskTransitionName:yr,closeIcon:Tn,getContainer:Bt,prefixCls:zt,rootClassName:_n,icons:bn,countRender:It,showSwitch:sr,showProgress:Cr,current:zn,count:gn,scale:Gt,minScale:An,maxScale:In,toolbarRender:Lr,onSwitchLeft:Yn,onSwitchRight:lr,onZoomIn:dn,onZoomOut:qt,onRotateRight:Bn,onRotateLeft:Sn,onFlipX:Fn,onFlipY:On,onClose:mn}))},Ge=He,Ke=Se(26407);function ze(Ot){var pt=ye.useState({}),zt=(0,ue.Z)(pt,2),Ct=zt[0],Lt=zt[1],jt=ye.useCallback(function(nn,mn){return Lt(function(En){return(0,oe.Z)((0,oe.Z)({},En),{},(0,ie.Z)({},nn,mn))}),function(){Lt(function(En){var Cn=(0,oe.Z)({},En);return delete Cn[nn],Cn})}},[]),en=ye.useMemo(function(){return Ot?Ot.map(function(nn){if(typeof nn=="string")return{data:{src:nn}};var mn={};return Object.keys(nn).forEach(function(En){["src"].concat((0,Ke.Z)(te)).includes(En)&&(mn[En]=nn[En])}),{data:mn}}):Object.keys(Ct).reduce(function(nn,mn){var En=Ct[mn],Cn=En.canPreview,bn=En.data;return Cn&&nn.push({data:bn,id:mn}),nn},[])},[Ot,Ct]);return[en,jt]}var ke=["visible","onVisibleChange","getContainer","current","movable","minScale","maxScale","countRender","closeIcon","onChange","onTransform","toolbarRender","imageRender"],Ne=["src"],Ve=function(pt){var zt,Ct=pt.previewPrefixCls,Lt=Ct===void 0?"rc-image-preview":Ct,jt=pt.children,en=pt.icons,nn=en===void 0?{}:en,mn=pt.items,En=pt.preview,Cn=pt.fallback,bn=(0,se.Z)(En)==="object"?En:{},_n=bn.visible,Tn=bn.onVisibleChange,Bt=bn.getContainer,ar=bn.current,zn=bn.movable,Wn=bn.minScale,gn=bn.maxScale,It=bn.countRender,Ht=bn.closeIcon,on=bn.onChange,un=bn.onTransform,An=bn.toolbarRender,Mn=bn.imageRender,In=(0,ae.Z)(bn,ke),Un=ze(mn),nr=(0,ue.Z)(Un,2),wr=nr[0],yr=nr[1],Kt=(0,ne.Z)(0,{value:ar}),xr=(0,ue.Z)(Kt,2),Lr=xr[0],Tr=xr[1],ur=(0,ye.useState)(!1),br=(0,ue.Z)(ur,2),pr=br[0],cr=br[1],kn=((zt=wr[Lr])===null||zt===void 0?void 0:zt.data)||{},Kn=kn.src,hr=(0,ae.Z)(kn,Ne),Xn=(0,ne.Z)(!!_n,{value:_n,onChange:function(Ft,Gt){Tn==null||Tn(Ft,Gt,Lr)}}),fr=(0,ue.Z)(Xn,2),sr=fr[0],Cr=fr[1],Sr=(0,ye.useState)(null),or=(0,ue.Z)(Sr,2),Ir=or[0],_r=or[1],Br=ye.useCallback(function(Et,Ft,Gt){var kt=wr.findIndex(function(ln){return ln.id===Et});Cr(!0),_r({x:Ft,y:Gt}),Tr(kt<0?0:kt),cr(!0)},[wr]);ye.useEffect(function(){sr?pr||Tr(0):cr(!1)},[sr]);var jr=function(Ft,Gt){Tr(Ft),on==null||on(Ft,Gt)},ht=function(){Cr(!1),_r(null)},Tt=ye.useMemo(function(){return{register:yr,onPreview:Br}},[yr,Br]);return ye.createElement(a.Provider,{value:Tt},jt,ye.createElement(Ge,(0,ce.Z)({"aria-hidden":!sr,movable:zn,visible:sr,prefixCls:Lt,closeIcon:Ht,onClose:ht,mousePosition:Ir,imgCommonProps:hr,src:Kn,fallback:Cn,icons:nn,minScale:Wn,maxScale:gn,getContainer:Bt,current:Lr,count:wr.length,countRender:It,onTransform:un,toolbarRender:An,imageRender:Mn,onChange:jr},In)))},qe=Ve,rt=["src","alt","onPreviewClose","prefixCls","previewPrefixCls","placeholder","fallback","width","height","style","preview","className","onClick","onError","wrapperClassName","wrapperStyle","rootClassName"],Qe=["src","visible","onVisibleChange","getContainer","mask","maskClassName","movable","icons","scaleStep","minScale","maxScale","imageRender","toolbarRender"],Ue=function(pt){var zt=pt.src,Ct=pt.alt,Lt=pt.onPreviewClose,jt=pt.prefixCls,en=jt===void 0?"rc-image":jt,nn=pt.previewPrefixCls,mn=nn===void 0?"".concat(en,"-preview"):nn,En=pt.placeholder,Cn=pt.fallback,bn=pt.width,_n=pt.height,Tn=pt.style,Bt=pt.preview,ar=Bt===void 0?!0:Bt,zn=pt.className,Wn=pt.onClick,gn=pt.onError,It=pt.wrapperClassName,Ht=pt.wrapperStyle,on=pt.rootClassName,un=(0,ae.Z)(pt,rt),An=En&&En!==!0,Mn=(0,se.Z)(ar)==="object"?ar:{},In=Mn.src,Un=Mn.visible,nr=Un===void 0?void 0:Un,wr=Mn.onVisibleChange,yr=wr===void 0?Lt:wr,Kt=Mn.getContainer,xr=Kt===void 0?void 0:Kt,Lr=Mn.mask,Tr=Mn.maskClassName,ur=Mn.movable,br=Mn.icons,pr=Mn.scaleStep,cr=Mn.minScale,kn=Mn.maxScale,Kn=Mn.imageRender,hr=Mn.toolbarRender,Xn=(0,ae.Z)(Mn,Qe),fr=In!=null?In:zt,sr=(0,ne.Z)(!!nr,{value:nr,onChange:yr}),Cr=(0,ue.Z)(sr,2),Sr=Cr[0],or=Cr[1],Ir=ee({src:zt,isCustomPlaceholder:An,fallback:Cn}),_r=(0,ue.Z)(Ir,3),Br=_r[0],jr=_r[1],ht=_r[2],Tt=(0,ye.useState)(null),Et=(0,ue.Z)(Tt,2),Ft=Et[0],Gt=Et[1],kt=(0,ye.useContext)(a),ln=!!ar,tn=function(){or(!1),Gt(null)},Qt=he()(en,It,on,(0,ie.Z)({},"".concat(en,"-error"),ht==="error")),dn=(0,ye.useMemo)(function(){var Fn={};return te.forEach(function(On){pt[On]!==void 0&&(Fn[On]=pt[On])}),Fn},te.map(function(Fn){return pt[Fn]})),qt=(0,ye.useMemo)(function(){return(0,oe.Z)((0,oe.Z)({},dn),{},{src:fr})},[fr,dn]),Bn=x(ln,qt),Sn=function(On){var Yn=(0,re.os)(On.target),lr=Yn.left,Ar=Yn.top;kt?kt.onPreview(Bn,lr,Ar):(Gt({x:lr,y:Ar}),or(!0)),Wn==null||Wn(On)};return ye.createElement(ye.Fragment,null,ye.createElement("div",(0,ce.Z)({},un,{className:Qt,onClick:ln?Sn:Wn,style:(0,oe.Z)({width:bn,height:_n},Ht)}),ye.createElement("img",(0,ce.Z)({},dn,{className:he()("".concat(en,"-img"),(0,ie.Z)({},"".concat(en,"-img-placeholder"),En===!0),zn),style:(0,oe.Z)({height:_n},Tn),ref:Br},jr,{width:bn,height:_n,onError:gn})),ht==="loading"&&ye.createElement("div",{"aria-hidden":"true",className:"".concat(en,"-placeholder")},En),Lr&&ln&&ye.createElement("div",{className:he()("".concat(en,"-mask"),Tr),style:{display:(Tn==null?void 0:Tn.display)==="none"?"none":void 0}},Lr)),!kt&&ln&&ye.createElement(Ge,(0,ce.Z)({"aria-hidden":!Sr,visible:Sr,prefixCls:mn,onClose:tn,mousePosition:Ft,src:fr,alt:Ct,fallback:Cn,getContainer:xr,icons:br,movable:ur,scaleStep:pr,minScale:cr,maxScale:kn,rootClassName:on,imageRender:Kn,imgCommonProps:dn,toolbarRender:hr},Xn)))};Ue.PreviewGroup=qe,Ue.displayName="Image";var Be=Ue,Ze=Be,Te=Se(62892),We=Se(36355),at=Se(31724),et=Se(99267),Je=Se(33853),Ie=Se(38819),xe={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"},De=xe,Re=Se(7657),Xe=function(pt,zt){return ye.createElement(Re.Z,(0,ce.Z)({},pt,{ref:zt,icon:De}))},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,zt){return ye.createElement(Re.Z,(0,ce.Z)({},pt,{ref:zt,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"},yt=vt,mt=function(pt,zt){return ye.createElement(Re.Z,(0,ce.Z)({},pt,{ref:zt,icon:yt}))},Pt=ye.forwardRef(mt),At=Pt,Dt={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"},bt=Dt,wt=function(pt,zt){return ye.createElement(Re.Z,(0,ce.Z)({},pt,{ref:zt,icon:bt}))},_t=ye.forwardRef(wt),cn=_t,Yt={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=Yt,Zt=function(pt,zt){return ye.createElement(Re.Z,(0,ce.Z)({},pt,{ref:zt,icon:rn}))},Xt=ye.forwardRef(Zt),Wt=Xt,Jt=Se(64993),Dn=Se(73819),wn=Se(17313),Ln=Se(29878),vn=Se(1950),Mt=Se(83116),St=Se(37613);const xt=Ot=>({position:Ot||"absolute",inset:0}),Vt=Ot=>{const{iconCls:pt,motionDurationSlow:zt,paddingXXS:Ct,marginXXS:Lt,prefixCls:jt,colorTextLightSolid:en}=Ot;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:en,background:new Jt.C("#000").setAlpha(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${zt}`,[`.${jt}-mask-info`]:Object.assign(Object.assign({},wn.vS),{padding:`0 ${Ct}px`,[pt]:{marginInlineEnd:Lt,svg:{verticalAlign:"baseline"}}})}},sn=Ot=>{const{previewCls:pt,modalMaskBg:zt,paddingSM:Ct,marginXL:Lt,margin:jt,paddingLG:en,previewOperationColorDisabled:nn,previewOperationHoverColor:mn,motionDurationSlow:En,iconCls:Cn,colorTextLightSolid:bn}=Ot,_n=new Jt.C(zt).setAlpha(.1),Tn=_n.clone().setAlpha(.2);return{[`${pt}-footer`]:{position:"fixed",bottom:Lt,left:{_skip_check_:!0,value:0},width:"100%",display:"flex",flexDirection:"column",alignItems:"center",color:Ot.previewOperationColor},[`${pt}-progress`]:{marginBottom:jt},[`${pt}-close`]:{position:"fixed",top:Lt,right:{_skip_check_:!0,value:Lt},display:"flex",color:bn,backgroundColor:_n.toRgbString(),borderRadius:"50%",padding:Ct,outline:0,border:0,cursor:"pointer",transition:`all ${En}`,"&:hover":{backgroundColor:Tn.toRgbString()},[`& > ${Cn}`]:{fontSize:Ot.previewOperationSize}},[`${pt}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${en}px`,backgroundColor:_n.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:Ct,padding:Ct,cursor:"pointer",transition:`all ${En}`,userSelect:"none",[`&:not(${pt}-operations-operation-disabled):hover > ${Cn}`]:{color:mn},"&-disabled":{color:nn,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${Cn}`]:{fontSize:Ot.previewOperationSize}}}}},hn=Ot=>{const{modalMaskBg:pt,iconCls:zt,previewOperationColorDisabled:Ct,previewCls:Lt,zIndexPopup:jt,motionDurationSlow:en}=Ot,nn=new Jt.C(pt).setAlpha(.1),mn=nn.clone().setAlpha(.2);return{[`${Lt}-switch-left, ${Lt}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:jt+1,display:"flex",alignItems:"center",justifyContent:"center",width:Ot.imagePreviewSwitchSize,height:Ot.imagePreviewSwitchSize,marginTop:-Ot.imagePreviewSwitchSize/2,color:Ot.previewOperationColor,background:nn.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${en}`,userSelect:"none","&:hover":{background:mn.toRgbString()},"&-disabled":{"&, &:hover":{color:Ct,background:"transparent",cursor:"not-allowed",[`> ${zt}`]:{cursor:"not-allowed"}}},[`> ${zt}`]:{fontSize:Ot.previewOperationSize}},[`${Lt}-switch-left`]:{insetInlineStart:Ot.marginSM},[`${Lt}-switch-right`]:{insetInlineEnd:Ot.marginSM}}},gt=Ot=>{const{motionEaseOut:pt,previewCls:zt,motionDurationSlow:Ct,componentCls:Lt}=Ot;return[{[`${Lt}-preview-root`]:{[zt]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${zt}-body`]:Object.assign(Object.assign({},xt()),{overflow:"hidden"}),[`${zt}-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({},xt()),{transition:`transform ${Ct} ${pt} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${zt}-moving`]:{[`${zt}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${Lt}-preview-root`]:{[`${zt}-wrap`]:{zIndex:Ot.zIndexPopup}}},{[`${Lt}-preview-operations-wrapper`]:{position:"fixed",zIndex:Ot.zIndexPopup+1},"&":[sn(Ot),hn(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({},Vt(Ot)),[`${pt}-mask:hover`]:{opacity:1},[`${pt}-placeholder`]:Object.assign({},xt())}}},dt=Ot=>{const{previewCls:pt}=Ot;return{[`${pt}-root`]:(0,Ln._y)(Ot,"zoom"),"&":(0,vn.J$)(Ot,!0)}};var Nt=(0,Mt.Z)("Image",Ot=>{const pt=`${Ot.componentCls}-preview`,zt=(0,St.TS)(Ot,{previewCls:pt,modalMaskBg:new Jt.C("#000").setAlpha(.45).toRgbString(),imagePreviewSwitchSize:Ot.controlHeightLG});return[ft(zt),gt(zt),(0,Dn.QA)((0,St.TS)(zt,{componentCls:pt})),dt(zt)]},Ot=>({zIndexPopup:Ot.zIndexPopupBase+80,previewOperationColor:new Jt.C(Ot.colorTextLightSolid).setAlpha(.65).toRgbString(),previewOperationHoverColor:new Jt.C(Ot.colorTextLightSolid).setAlpha(.85).toRgbString(),previewOperationColorDisabled:new Jt.C(Ot.colorTextLightSolid).setAlpha(.25).toRgbString(),previewOperationSize:Ot.fontSizeIcon*1.5})),$t=function(Ot,pt){var zt={};for(var Ct in Ot)Object.prototype.hasOwnProperty.call(Ot,Ct)&&pt.indexOf(Ct)<0&&(zt[Ct]=Ot[Ct]);if(Ot!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Lt=0,Ct=Object.getOwnPropertySymbols(Ot);Lt{var{previewPrefixCls:pt,preview:zt}=Ot,Ct=$t(Ot,["previewPrefixCls","preview"]);const{getPrefixCls:Lt}=ye.useContext(We.E_),jt=Lt("image",pt),en=`${jt}-preview`,nn=Lt(),[mn,En]=Nt(jt),Cn=ye.useMemo(()=>{var bn;if(zt===!1)return zt;const _n=typeof zt=="object"?zt:{},Tn=he()(En,(bn=_n.rootClassName)!==null&&bn!==void 0?bn:"");return Object.assign(Object.assign({},_n),{transitionName:(0,Te.m)(nn,"zoom",_n.transitionName),maskTransitionName:(0,Te.m)(nn,"fade",_n.maskTransitionName),rootClassName:Tn})},[zt]);return mn(ye.createElement(Ze.PreviewGroup,Object.assign({preview:Cn,previewPrefixCls:en,icons:an},Ct)))},Nn=function(Ot,pt){var zt={};for(var Ct in Ot)Object.prototype.hasOwnProperty.call(Ot,Ct)&&pt.indexOf(Ct)<0&&(zt[Ct]=Ot[Ct]);if(Ot!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Lt=0,Ct=Object.getOwnPropertySymbols(Ot);Lt{const{prefixCls:pt,preview:zt,className:Ct,rootClassName:Lt,style:jt}=Ot,en=Nn(Ot,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:nn,locale:mn=at.Z,getPopupContainer:En,image:Cn}=ye.useContext(We.E_),bn=nn("image",pt),_n=nn(),Tn=mn.Image||at.Z.Image,[Bt,ar]=Nt(bn),zn=he()(Lt,ar),Wn=he()(Ct,ar,Cn==null?void 0:Cn.className),gn=ye.useMemo(()=>{if(zt===!1)return zt;const Ht=typeof zt=="object"?zt:{},{getContainer:on}=Ht,un=Nn(Ht,["getContainer"]);return Object.assign(Object.assign({mask:ye.createElement("div",{className:`${bn}-mask-info`},ye.createElement(E.Z,null),Tn==null?void 0:Tn.preview),icons:an},un),{getContainer:on||En,transitionName:(0,Te.m)(_n,"zoom",Ht.transitionName),maskTransitionName:(0,Te.m)(_n,"fade",Ht.maskTransitionName)})},[zt,Tn]),It=Object.assign(Object.assign({},Cn==null?void 0:Cn.style),jt);return Bt(ye.createElement(Ze,Object.assign({prefixCls:bn,preview:gn,rootClassName:zn,className:Wn,style:It},en)))};Hn.PreviewGroup=fn;var er=Hn,Ut=()=>{const[Ot,pt]=(0,ye.useState)(""),[zt,Ct]=(0,ye.useState)(0);let[Lt,jt]=(0,ye.useState)(),[en,nn]=(0,ye.useState)();const[mn,En]=(0,ye.useState)(!1),Cn=(0,ye.useRef)("");(0,ye.useEffect)(()=>je.Z.subscribe("preview-image",on=>{pt(on),console.log(gn.current),document.body.style.overflow="hidden"}),[]),(0,ye.useEffect)(()=>(document.addEventListener("keydown",bn),()=>{document.removeEventListener("keydown",bn)}),[]),(0,ye.useEffect)(()=>{Cn.current=Ot},[Ot]);function bn(Ht){Ht.keyCode==27&&Cn.current&&_n()}function _n(){document.body.style.overflow="auto",jt(void 0),nn(void 0),Ct(0),pt("")}function Tn(){Ct(zt+90)}function Bt(){Lt=gn.current.width*1.1,en=gn.current.height*1.1,nn(en),jt(Lt)}function ar(){Lt=gn.current.width/1.1,en=gn.current.height/1.1,nn(en),jt(Lt)}const zn=(0,ye.useRef)(),Wn=(0,ye.useRef)(),gn=(0,ye.useRef)(),It=Ht=>{(Ht.nativeEvent.target===zn.current||Ht.nativeEvent.target===Wn.current)&&_n()};return ye.createElement(ye.Fragment,null,Ot?ye.createElement("div",null,ye.createElement("div",{className:"preview-wrp-group",ref:Wn},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(Ae){const Ce=Ae.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:gt="",className:ft,showTextOnly:dt,showLines:Nt,style:$t={}})=>{const an=(0,ye.useMemo)(()=>"",[gt]);return ye.createElement(ye.Fragment,null,ye.createElement("div",{dangerouslySetInnerHTML:{__html:an}}))},ne=Se(59301),te=Object.defineProperty,a=Object.defineProperties,y=Object.getOwnPropertyDescriptors,x=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,ee=Object.prototype.propertyIsEnumerable,z=(gt,ft,dt)=>ft in gt?te(gt,ft,{enumerable:!0,configurable:!0,writable:!0,value:dt}):gt[ft]=dt,le=(gt,ft)=>{for(var dt in ft||(ft={}))b.call(ft,dt)&&z(gt,dt,ft[dt]);if(x)for(var dt of x(ft))ee.call(ft,dt)&&z(gt,dt,ft[dt]);return gt},de=(gt,ft)=>a(gt,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:gt,title:ft,icon:dt,actionName:Nt,className:$t="",children:an}){function jn(){gt(Nt)}return ne.createElement("a",{title:ft,className:$t,onClick:jn},ne.createElement("i",{className:`${dt}`}),an)}var me=({watch:gt,showNullButton:ft,showNullProgramButton:dt,onActionCallback:Nt,fullScreen:$t,insertTemp:an,hidetoolBar:jn,extraUse:fn})=>{const Nn=[...ge,{title:`${gt?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${gt?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return ne.createElement("ul",{className:"markdown-toolbar-container"},!jn&&Nn.map((Hn,er)=>ne.createElement("li",{key:er},Hn.actionName?ne.createElement(fe,de(le({},Hn),{onActionCallback:Nt})):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:Nt},ne.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,dt?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:Nt},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:Nt},ne.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,an&&ne.createElement("li",null,ne.createElement(fe,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${an}`,onActionCallback:Nt},ne.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),fn&&ne.createElement("li",null,fn),ne.createElement("li",{className:"btn-full-screen"},ne.createElement(fe,{icon:`${$t?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:$t?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:Nt})))},be=Se(19647),ve=Se(78241),Pe=Se(92832),Ee=Se(3113),Ae=Object.defineProperty,Ce=Object.defineProperties,_e=Object.getOwnPropertyDescriptors,we=Object.getOwnPropertySymbols,Me=Object.prototype.hasOwnProperty,Oe=Object.prototype.propertyIsEnumerable,Fe=(gt,ft,dt)=>ft in gt?Ae(gt,ft,{enumerable:!0,configurable:!0,writable:!0,value:dt}):gt[ft]=dt,Le=(gt,ft)=>{for(var dt in ft||(ft={}))Me.call(ft,dt)&&Fe(gt,dt,ft[dt]);if(we)for(var dt of we(ft))Oe.call(ft,dt)&&Fe(gt,dt,ft[dt]);return gt},Ye=(gt,ft)=>Ce(gt,_e(ft));const He={labelCol:{span:4},wrapperCol:{span:20}};var Ge=({callback:gt,onCancel:ft})=>{function dt(Nt){gt(Nt)}return ye.createElement(ve.default,Ye(Le({},He),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:dt,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),ze=Se(56030),ke=Se(43418),Ne=Se(95237),Ve=Se(14573),qe=Se(59301),rt=({callback:gt,onCancel:ft})=>{const dt=document.createElement("canvas"),Nt=dt.getContext("2d");dt.width=1e3,dt.height=800,Nt.fillStyle="#ffffff",Nt.fillRect(0,0,dt.width,dt.height);const $t=dt.toDataURL("image/png");return qe.createElement(ke.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},qe.createElement(Ne.Z,{style:{height:"100vh"}},qe.createElement(Ve.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:$t,visible:!0,title:String(Date.now())},onOk:an=>{gt({src:an.url})},onClose:ft})))},Qe=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 gt=this.diagram;return!(gt===null||gt.isReadOnly||gt.isModelReadOnly||gt.selection.count<2)},Ue.prototype.alignLeft=function(){var gt=this.diagram;gt.startTransaction("aligning left");var ft=1/0;gt.selection.each(function(dt){dt instanceof go.Link||(ft=Math.min(dt.position.x,ft))}),gt.selection.each(function(dt){dt instanceof go.Link||dt.move(new go.Point(ft,dt.position.y))}),gt.commitTransaction("aligning left")},Ue.prototype.alignRight=function(){var gt=this.diagram;gt.startTransaction("aligning right");var ft=-1/0;gt.selection.each(function(dt){if(!(dt instanceof go.Link)){var Nt=dt.actualBounds.x+dt.actualBounds.width;ft=Math.max(Nt,ft)}}),gt.selection.each(function(dt){dt instanceof go.Link||dt.move(new go.Point(ft-dt.actualBounds.width,dt.position.y))}),gt.commitTransaction("aligning right")},Ue.prototype.alignTop=function(){var gt=this.diagram;gt.startTransaction("alignTop");var ft=1/0;gt.selection.each(function(dt){dt instanceof go.Link||(ft=Math.min(dt.position.y,ft))}),gt.selection.each(function(dt){dt instanceof go.Link||dt.move(new go.Point(dt.position.x,ft))}),gt.commitTransaction("alignTop")},Ue.prototype.alignBottom=function(){var gt=this.diagram;gt.startTransaction("aligning bottom");var ft=-1/0;gt.selection.each(function(dt){if(!(dt instanceof go.Link)){var Nt=dt.actualBounds.y+dt.actualBounds.height;ft=Math.max(Nt,ft)}}),gt.selection.each(function(dt){dt instanceof go.Link||dt.move(new go.Point(dt.actualBounds.x,ft-dt.actualBounds.height))}),gt.commitTransaction("aligning bottom")},Ue.prototype.alignCenterX=function(){var gt=this.diagram,ft=gt.selection.first();if(ft){gt.startTransaction("aligning Center X");var dt=ft.actualBounds.x+ft.actualBounds.width/2;gt.selection.each(function(Nt){Nt instanceof go.Link||Nt.move(new go.Point(dt-Nt.actualBounds.width/2,Nt.actualBounds.y))}),gt.commitTransaction("aligning Center X")}},Ue.prototype.alignCenterY=function(){var gt=this.diagram,ft=gt.selection.first();if(ft){gt.startTransaction("aligning Center Y");var dt=ft.actualBounds.y+ft.actualBounds.height/2;gt.selection.each(function(Nt){Nt instanceof go.Link||Nt.move(new go.Point(Nt.actualBounds.x,dt-Nt.actualBounds.height/2))}),gt.commitTransaction("aligning Center Y")}},Ue.prototype.alignColumn=function(gt){var ft=this.diagram;ft.startTransaction("align Column"),gt===void 0&&(gt=0),gt=parseFloat(gt);var dt=new Array;ft.selection.each(function(fn){fn instanceof go.Link||dt.push(fn)});for(var Nt=0;Nt0){for(var fn=an.elt(jn-1);fn!==null&&fn.isTreeExpanded&&!fn.isTreeLeaf;){var Nn=this._sortTreeChildrenByY(fn);fn=Nn.last()}fn!==null&>.select(fn)}else gt.select($t)}}else if(dt.key==="Down")if(ft.isTreeExpanded&&!ft.isTreeLeaf){var Nt=this._sortTreeChildrenByY(ft).first();Nt!==null&>.select(Nt)}else for(;ft!==null;){var $t=ft.findTreeParentNode();if($t===null)break;var an=this._sortTreeChildrenByY($t),jn=an.indexOf(ft);if(jnan.y?1:$t.xan.x?1:0}),ft},Ue.prototype.copyToClipboard=function(gt){go.CommandHandler.prototype.copyToClipboard.call(this,gt),this._lastPasteOffset.set(this.pasteOffset)},Ue.prototype.pasteFromClipboard=function(){var gt=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(gt,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),gt},Object.defineProperty(Ue.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(gt){if(gt!=="move"&>!=="select"&>!=="scroll"&>!=="tree"&>!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+gt);this._arrowKeyBehavior=gt}}),Object.defineProperty(Ue.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(gt){if(!(gt instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+gt);this._pasteOffset.set(gt)}});var Be=Ue,Ze=Se(29277),Te=Se(43604),We=Se(7660),at={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},et=Se(59301),Je=(gt,ft,dt)=>new Promise((Nt,$t)=>{var an=Nn=>{try{fn(dt.next(Nn))}catch(Hn){$t(Hn)}},jn=Nn=>{try{fn(dt.throw(Nn))}catch(Hn){$t(Hn)}},fn=Nn=>Nn.done?Nt(Nn.value):Promise.resolve(Nn.value).then(an,jn);fn((dt=dt.apply(gt,ft)).next())});function Ie({onCancel:gt,callback:ft}){let dt=(0,ye.useRef)(),Nt=(0,ye.useRef)(),$t=(0,ye.useRef)(),an=(0,ye.useRef)(!1);const jn=(0,ye.useRef)(!1),[fn,Nn]=(0,ye.useState)(0);function Hn(){const Ut=Qe.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"};dt.current=new Qe.S0(Nt.current,{padding:20,grid:Ut(Qe.s_,"Grid",Ut(Qe.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Ut(Qe.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:It=>{var Ht=It.diagram.commandHandler.addTopLevelParts(It.diagram.selection,!0);Ht||It.diagram.currentTool.doCancel()},commandHandler:Ut(Be),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:It=>{var Ht=It.subject;Ht.location=Ht.location.copy().snapToGridPoint(It.diagram.grid.gridOrigin,It.diagram.grid.gridCellSize),setTimeout(()=>{It.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:It=>{var Ht=It.subject;setTimeout(()=>{It.diagram.commandHandler.editTextBlock()})},LinkRelinked:It=>{var Ht=It.parameter.part;Ht.invalidateConnectedLinks();var on=It.subject;It.diagram.toolManager.linkingTool.isForwards?on.toNode.invalidateConnectedLinks():on.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),dt.current.nodeTemplate=Ut(Qe.NB,"Auto",{locationSpot:Qe.z6.Center,locationObjectName:"SHAPE",desiredSize:new Qe.$u(120,60),minSize:new Qe.$u(40,40),resizable:!0,resizeCellSize:new Qe.$u(10,10),rotatable:!0},new Qe.KX("location","loc",Qe.E9.parse).makeTwoWay(Qe.E9.stringify),new Qe.KX("desiredSize","size",Qe.$u.parse).makeTwoWay(Qe.$u.stringify),Ut(Qe.bn,{name:"SHAPE",fill:Ot.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Qe.z6.AllSides,toSpot:Qe.z6.AllSides},new Qe.KX("figure"),new Qe.KX("fill"),new Qe.KX("stroke","borderColor"),new Qe.KX("strokeWidth","thickness"),new Qe.KX("strokeDashArray","dash")),Ut(Qe.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),Ut(Qe.al,{margin:1,textAlign:"center",overflow:Qe.al.OverflowEllipsis,editable:!0},new Qe.KX("text").makeTwoWay(),new Qe.KX("stroke","color"))),dt.current.nodeTemplate.toolTip=Ut("ToolTip",Ut(Qe.s_,"Vertical",{maxSize:new Qe.$u(200,NaN)},Ut(Qe.al,{font:"bold 10pt sans-serif",textAlign:"center"},new Qe.KX("text")),Ut(Qe.al,{font:"10pt sans-serif",textAlign:"center"},new Qe.KX("text","details"))));function pt(It,Ht){var on=(un,An)=>{un.handled=!0,un.diagram.model.commit(Mn=>{var In=An.part.adornedPart,Un=new Qe.E9().setRectSpot(In.actualBounds,It);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(un.diagram.grid.gridOrigin,un.diagram.grid.gridCellSize);var nr=Mn.copyNodeData(In.data);Mn.setGroupKeyForNodeData(nr,Mn.getGroupKeyForNodeData(In.data)),Mn.addNodeData(nr);var wr={from:In.key,to:Mn.getKeyForNodeData(nr)};Mn.addLinkData(wr);var yr=un.diagram.findNodeForData(nr);yr.location=Un,un.diagram.select(yr),setTimeout(()=>{un.diagram.commandHandler.editTextBlock()},20)})};return Ut(Qe.bn,{figure:Ht,alignment:It,alignmentFocus:It.opposite(),width:It.equals(Qe.z6.Top)||It.equals(Qe.z6.Bottom)?25:18,height:It.equals(Qe.z6.Top)||It.equals(Qe.z6.Bottom)?18:25,fill:"orange",stroke:Ot.white,strokeWidth:4,mouseEnter:(un,An)=>An.fill="dodgerblue",mouseLeave:(un,An)=>An.fill="orange",isActionable:!0,click:on,contextClick:on})}function zt(It){return Ut(Qe.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,on)=>on.fill="dodgerblue",mouseLeave:(Ht,on)=>on.fill="orange",click:(Ht,on)=>{Ht.diagram.commandHandler.showContextMenu(on.part.adornedPart)}},It||{})}dt.current.nodeTemplate.selectionAdornmentTemplate=Ut(Qe.uz,"Spot",Ut(Qe.Vm,{padding:10}),pt(Qe.z6.Top,"TriangleUp"),pt(Qe.z6.Left,"TriangleLeft"),pt(Qe.z6.Right,"TriangleRight"),pt(Qe.z6.Bottom,"TriangleDown"),zt({alignment:new Qe.z6(.75,0)}));function Ct(It,Ht){return(on,un)=>{on.handled=!0,on.diagram.model.commit(An=>{An.set(un.part.adornedPart.data,It,Ht)})}}function Lt(It,Ht){return Ht||(Ht="color"),Ut(Qe.bn,{width:16,height:16,stroke:"lightgray",fill:It,margin:1,background:"transparent",mouseEnter:(on,un)=>un.stroke="dodgerblue",mouseLeave:(on,un)=>un.stroke="lightgray",click:Ct(Ht,It),contextClick:Ct(Ht,It)})}function jt(){return[Ut("ContextMenuButton",Ut(Qe.s_,"Horizontal",Lt(Ot.white,"fill"),Lt(Ot.beige,"fill"),Lt(Ot.extralightblue,"fill"),Lt(Ot.extralightred,"fill"))),Ut("ContextMenuButton",Ut(Qe.s_,"Horizontal",Lt(Ot.lightgray,"fill"),Lt(Ot.lightgreen,"fill"),Lt(Ot.lightblue,"fill"),Lt(Ot.lightred,"fill")))]}function en(){return[Ut("ContextMenuButton",Ut(Qe.s_,"Horizontal",Lt(Ot.black),Lt(Ot.green),Lt(Ot.blue),Lt(Ot.red))),Ut("ContextMenuButton",Ut(Qe.s_,"Horizontal",Lt(Ot.white),Lt(Ot.magenta),Lt(Ot.purple),Lt(Ot.orange)))]}function nn(It,Ht){return Ht||(Ht="thickness"),Ut(Qe.bn,"LineH",{width:16,height:16,strokeWidth:It,margin:1,background:"transparent",mouseEnter:(on,un)=>un.background="dodgerblue",mouseLeave:(on,un)=>un.background="transparent",click:Ct(Ht,It),contextClick:Ct(Ht,It)})}function mn(It,Ht){return Ht||(Ht="dash"),Ut(Qe.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:It,margin:1,background:"transparent",mouseEnter:(on,un)=>un.background="dodgerblue",mouseLeave:(on,un)=>un.background="transparent",click:Ct(Ht,It),contextClick:Ct(Ht,It)})}function En(){return[Ut("ContextMenuButton",Ut(Qe.s_,"Horizontal",nn(1),nn(2),nn(3),nn(4))),Ut("ContextMenuButton",Ut(Qe.s_,"Horizontal",mn(null),mn([2,4]),mn([4,4])))]}function Cn(It,Ht){return Ht||(Ht="figure"),Ut(Qe.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:It,margin:1,background:"transparent",mouseEnter:(on,un)=>un.fill="dodgerblue",mouseLeave:(on,un)=>un.fill="lightgray",click:Ct(Ht,It),contextClick:Ct(Ht,It)})}dt.current.nodeTemplate.contextMenu=Ut("ContextMenu",Ut("ContextMenuButton",Ut(Qe.s_,"Horizontal",Cn("Rectangle"),Cn("RoundedRectangle"),Cn("Ellipse"),Cn("Diamond"))),Ut("ContextMenuButton",Ut(Qe.s_,"Horizontal",Cn("Parallelogram2"),Cn("ManualOperation"),Cn("Procedure"),Cn("Cylinder1"))),Ut("ContextMenuButton",Ut(Qe.s_,"Horizontal",Cn("Terminator"),Cn("CreateRequest"),Cn("Document"),Cn("TriangleDown"))),jt(),en(),En()),dt.current.groupTemplate=Ut(Qe.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:Qe.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(It,Ht)=>{var on=Ht.addMembers(Ht.diagram.selection,!0);on||Ht.diagram.currentTool.doCancel()},avoidable:!1},new Qe.KX("location","loc",Qe.E9.parse).makeTwoWay(Qe.E9.stringify),Ut(Qe.s_,"Auto",{name:"BODY"},Ut(Qe.bn,{parameter1:10,fill:Ot.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Qe.z6.AllSides,toSpot:Qe.z6.AllSides},new Qe.KX("fill"),new Qe.KX("stroke","color"),new Qe.KX("strokeWidth","thickness"),new Qe.KX("strokeDashArray","dash")),Ut(Qe.Vm,{background:"transparent",margin:20})),Ut(Qe.al,{alignment:Qe.z6.Top,alignmentFocus:Qe.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new Qe.KX("text"),new Qe.KX("stroke","color"))),dt.current.groupTemplate.selectionAdornmentTemplate=Ut(Qe.uz,"Spot",Ut(Qe.s_,"Auto",Ut(Qe.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),Ut(Qe.Vm,{margin:1.5})),zt({alignment:Qe.z6.TopRight,alignmentFocus:Qe.z6.BottomRight})),dt.current.groupTemplate.contextMenu=Ut("ContextMenu",jt(),en(),En()),dt.current.linkTemplate=Ut(Qe.rU,{layerName:"Foreground",routing:Qe.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new Qe.KX("fromSpot","fromSpot",Qe.z6.parse),new Qe.KX("toSpot","toSpot",Qe.z6.parse),new Qe.KX("fromShortLength","dir",It=>It>=1?10:0),new Qe.KX("toShortLength","dir",It=>It>=1?10:0),new Qe.KX("points").makeTwoWay(),Ut(Qe.bn,{strokeWidth:2},new Qe.KX("stroke","color"),new Qe.KX("strokeWidth","thickness"),new Qe.KX("strokeDashArray","dash")),Ut(Qe.bn,{segmentIndex:0,segmentOffset:new Qe.E9(15,0),segmentOrientation:Qe.rU.OrientAlong,alignmentFocus:Qe.z6.Right,figure:"circle",width:10,strokeWidth:0},new Qe.KX("fill","color"),new Qe.KX("visible","dir",It=>It===1)),Ut(Qe.bn,{segmentIndex:-1,segmentOffset:new Qe.E9(-10,6),segmentOrientation:Qe.rU.OrientPlus90,alignmentFocus:Qe.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Qe.KX("fill","color"),new Qe.KX("visible","dir",It=>It>=1),new Qe.KX("width","thickness",It=>7+3*It),new Qe.KX("height","thickness",It=>7+3*It),new Qe.KX("segmentOffset","thickness",It=>new Qe.E9(-15,4+1.5*It))),Ut(Qe.bn,{segmentIndex:0,segmentOffset:new Qe.E9(15,-6),segmentOrientation:Qe.rU.OrientMinus90,alignmentFocus:Qe.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Qe.KX("fill","color"),new Qe.KX("visible","dir",It=>It===2),new Qe.KX("width","thickness",It=>7+3*It),new Qe.KX("height","thickness",It=>7+3*It),new Qe.KX("segmentOffset","thickness",It=>new Qe.E9(-15,4+1.5*It))),Ut(Qe.al,{alignmentFocus:new Qe.z6(0,1,-4,0),editable:!0},new Qe.KX("text").makeTwoWay(),new Qe.KX("stroke","color"))),dt.current.linkTemplate.selectionAdornmentTemplate=Ut(Qe.uz,Ut(Qe.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:bn(2)},new Qe.KX("pathPattern","thickness",bn)),zt({alignmentFocus:new Qe.z6(0,0,-6,-4)}));function bn(It){return Ut(Qe.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(It+4).toString()+" H3"})}function _n(It){var Ht="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return It===0?Ht="M0 0 M16 16 M0 8 L16 8":It===2&&(Ht="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),Ut(Qe.bn,{geometryString:Ht,margin:2,background:"transparent",mouseEnter:(on,un)=>un.background="dodgerblue",mouseLeave:(on,un)=>un.background="transparent",click:Ct("dir",It),contextClick:Ct("dir",It)})}function Tn(It){var Ht=(on,un)=>{on.handled=!0,on.diagram.model.commit(An=>{var Mn=un.part.adornedPart;An.set(Mn.data,It?"toSpot":"fromSpot",Qe.z6.stringify(Qe.z6.AllSides)),(It?Mn.toNode:Mn.fromNode).invalidateConnectedLinks()})};return Ut(Qe.bn,{width:12,height:12,fill:"transparent",mouseEnter:(on,un)=>un.background="dodgerblue",mouseLeave:(on,un)=>un.background="transparent",click:Ht,contextClick:Ht})}function Bt(It,Ht){var on=0,un=Qe.z6.RightSide;It.equals(Qe.z6.Top)?(on=270,un=Qe.z6.TopSide):It.equals(Qe.z6.Left)?(on=180,un=Qe.z6.LeftSide):It.equals(Qe.z6.Bottom)&&(on=90,un=Qe.z6.BottomSide),Ht||(on-=180);var An=(Mn,In)=>{Mn.handled=!0,Mn.diagram.model.commit(Un=>{var nr=In.part.adornedPart;Un.set(nr.data,Ht?"toSpot":"fromSpot",Qe.z6.stringify(un)),(Ht?nr.toNode:nr.fromNode).invalidateConnectedLinks()})};return Ut(Qe.bn,{alignment:It,alignmentFocus:It.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:on,background:"transparent",mouseEnter:(Mn,In)=>In.background="dodgerblue",mouseLeave:(Mn,In)=>In.background="transparent",click:An,contextClick:An})}dt.current.linkTemplate.contextMenu=Ut("ContextMenu",en(),En(),Ut("ContextMenuButton",Ut(Qe.s_,"Horizontal",_n(0),_n(1),_n(2))),Ut("ContextMenuButton",Ut(Qe.s_,"Horizontal",Ut(Qe.s_,"Spot",Tn(!1),Bt(Qe.z6.Top,!1),Bt(Qe.z6.Left,!1),Bt(Qe.z6.Right,!1),Bt(Qe.z6.Bottom,!1)),Ut(Qe.s_,"Spot",{margin:new Qe.Zt(0,0,0,2)},Tn(!0),Bt(Qe.z6.Top,!0),Bt(Qe.z6.Left,!0),Bt(Qe.z6.Right,!0),Bt(Qe.z6.Bottom,!0)))));const ar=`{ "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"}, @@ -939,18 +939,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 zn=["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 Hn(Bt){return console.log("shapeName:",Bt),zn.indexOf(Bt)>=0}var gn=new Qe.YI($t.current,{maxSelectionCount:1,linkTemplate:Nt(Qe.rU,{locationSpot:Qe.z6.Center,selectionAdornmentTemplate:Nt(Qe.uz,"Link",{locationSpot:Qe.z6.Center},Nt(Qe.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),Nt(Qe.bn,{toArrow:"Standard",stroke:null}))},{routing:Qe.rU.AvoidsNodes,curve:Qe.rU.JumpOver,corner:5,toShortLength:4},new Qe.KX("points"),Nt(Qe.bn,{isPanelMain:!0,strokeWidth:2}),Nt(Qe.bn,{toArrow:"Standard",stroke:null})),model:new Qe.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...Qe.bn.getFigureGenerators().toArray().map(Bt=>({text:"\u672A\u547D\u540D",size:"100 100",figure:Bt.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return dt.current.addDiagramListener("TextEdited",function(Bt){var Ht;const an=Bt.subject.part;var un=(Ht=document.activeElement)==null?void 0:Ht.value;typeof un=="string"&&un.trim()===""&&dt.current.model.commit(function(An){An.set(an.data,"text","\u672A\u547D\u540D"),dt.current.commandHandler.stopCommand()},"increment")}),gn.nodeTemplate=Nt(Qe.NB,"Auto",{locationSpot:Qe.z6.Center},new Qe.KX("location","location",Qe.E9.parse).makeTwoWay(Qe.E9.stringify),Nt(Qe.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 Qe.KX("stroke").makeTwoWay(),new Qe.KX("fill").makeTwoWay(),new Qe.KX("figure")),Nt(Qe.al,{margin:new Qe.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new Qe.$u(16,16),maxSize:new Qe.$u(10,NaN),textAlign:"center",editable:!0},new Qe.KX("key").makeTwoWay())),setTimeout(()=>{dt.current.grid=Nt(Qe.s_,"Grid",Nt(Qe.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Nt(Qe.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),dt.current.grid.visible=!0,dt.current.grid.gridCellStroke="darkgray",dt.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=dt.current,dt.current}const qn=()=>Je(this,null,function*(){var Nt=dt.current.makeImage();const xt=yield(0,We.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:Nt.src}});ft({src:xt.url})});return(0,ye.useEffect)(()=>(setTimeout(()=>{Wn()},500),Un(fn+1),()=>{dt.current=null}),[]),et.createElement("div",{ref:jn,className:rn.current?`${at.maxH60} body-overflow-initial`:"body-overflow-initial"},et.createElement(ke.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!fn,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 Nt,xt,yt=dt.current.selection.first();if(rn.current=!rn.current,document.activeElement&&yt){let Wt=(xt=(Nt=document.activeElement)==null?void 0:Nt.value)==null?void 0:xt.trim();typeof Wt=="string"&&dt.current.model.commit(function(wt){wt.set(yt.data,"text",Wt||"\u672A\u547D\u540D"),dt.current.commandHandler.stopCommand()},"increment")}Un(fn+1)}},et.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:gt},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:$t})),et.createElement("div",{style:{flex:1,position:"relative"}},et.createElement("div",{ref:Ut,style:{height:"80vh"}}))),et.createElement("div",{className:"tr"},et.createElement(Ee.ZP,{size:"large",onClick:qn,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var xe=Be,De=Se(5112),Re=Se(5871);const Xe=De.ZP.Group,nt={margin:"0 8px"};var $e=({callback:gt,onCancel:ft})=>{function dt(Ut){gt(Ut)}return ye.createElement(ve.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:dt},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(De.ZP,{value:"default"},ye.createElement("i",{className:"fa fa-align-justify"})),ye.createElement(De.ZP,{value:"left"},ye.createElement("i",{className:"fa fa-align-left"})),ye.createElement(De.ZP,{value:"center"},ye.createElement("i",{className:"fa fa-align-center"})),ye.createElement(De.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:gt,width:ft,height:dt,callback:Ut,showSaveButton:$t},rn)=>{const jn=(0,ye.useRef)(),fn=(0,ye.useRef)(),[Un,Wn]=(0,ye.useState)(!1),qn=(0,ye.useRef)({id:jn,appName:"graphing",width:ft||1e3,height:dt||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)(()=>{fn.current=new(it())(qn.current,!0),window.onload=function(){fn.current.inject("applet_container")}},[]);const Nt=()=>{var xt=window.ggbApplet.getPNGBase64(1,!0,72);return Ut&&Ut(xt),xt};return(0,ye.useEffect)(()=>{qn.current.appName=Un?"3D":"graphing",fn.current.inject("applet_container")},[Un]),(0,ye.useEffect)(()=>{Wn(gt)},[gt]),(0,ye.useImperativeHandle)(rn,()=>({getImgData:Nt})),ye.createElement(ye.Fragment,null,ye.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:jn}),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:Un,onChange:xt=>Wn(xt)})),ye.createElement(Te.Z,null,ye.createElement(Ee.ZP,{size:"large",onClick:Nt,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),pt=Se(46531),vt=Se(8591);const mt="link",Pt="upload-image",At="add-flowchart",Dt="draw-image",bt="add-flowchart",Ct="code-block",_t="add-table",cn="------------",Yt={default:cn,left:`:${cn}`,center:`:${cn}:`,right:`${cn}:`};var nn=Se(50505);function Zt(){}let Xt=0;const Gt=1e4,Jt="\u2581",Dn="@\u2581\u2581@",wn="@\u2581@",Ln=` +]}`;var zn=["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 Wn(It){return console.log("shapeName:",It),zn.indexOf(It)>=0}var gn=new Qe.YI($t.current,{maxSelectionCount:1,linkTemplate:Ut(Qe.rU,{locationSpot:Qe.z6.Center,selectionAdornmentTemplate:Ut(Qe.uz,"Link",{locationSpot:Qe.z6.Center},Ut(Qe.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),Ut(Qe.bn,{toArrow:"Standard",stroke:null}))},{routing:Qe.rU.AvoidsNodes,curve:Qe.rU.JumpOver,corner:5,toShortLength:4},new Qe.KX("points"),Ut(Qe.bn,{isPanelMain:!0,strokeWidth:2}),Ut(Qe.bn,{toArrow:"Standard",stroke:null})),model:new Qe.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...Qe.bn.getFigureGenerators().toArray().map(It=>({text:"\u672A\u547D\u540D",size:"100 100",figure:It.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return dt.current.addDiagramListener("TextEdited",function(It){var Ht;const on=It.subject.part;var un=(Ht=document.activeElement)==null?void 0:Ht.value;typeof un=="string"&&un.trim()===""&&dt.current.model.commit(function(An){An.set(on.data,"text","\u672A\u547D\u540D"),dt.current.commandHandler.stopCommand()},"increment")}),gn.nodeTemplate=Ut(Qe.NB,"Auto",{locationSpot:Qe.z6.Center},new Qe.KX("location","location",Qe.E9.parse).makeTwoWay(Qe.E9.stringify),Ut(Qe.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 Qe.KX("stroke").makeTwoWay(),new Qe.KX("fill").makeTwoWay(),new Qe.KX("figure")),Ut(Qe.al,{margin:new Qe.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new Qe.$u(16,16),maxSize:new Qe.$u(10,NaN),textAlign:"center",editable:!0},new Qe.KX("key").makeTwoWay())),setTimeout(()=>{dt.current.grid=Ut(Qe.s_,"Grid",Ut(Qe.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Ut(Qe.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),dt.current.grid.visible=!0,dt.current.grid.gridCellStroke="darkgray",dt.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=dt.current,dt.current}const er=()=>Je(this,null,function*(){var Ut=dt.current.makeImage();const Ot=yield(0,We.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:Ut.src}});ft({src:Ot.url})});return(0,ye.useEffect)(()=>(setTimeout(()=>{Hn()},500),Nn(fn+1),()=>{dt.current=null}),[]),et.createElement("div",{ref:jn,className:an.current?`${at.maxH60} body-overflow-initial`:"body-overflow-initial"},et.createElement(ke.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!fn,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 Ut,Ot,pt=dt.current.selection.first();if(an.current=!an.current,document.activeElement&&pt){let zt=(Ot=(Ut=document.activeElement)==null?void 0:Ut.value)==null?void 0:Ot.trim();typeof zt=="string"&&dt.current.model.commit(function(Ct){Ct.set(pt.data,"text",zt||"\u672A\u547D\u540D"),dt.current.commandHandler.stopCommand()},"increment")}Nn(fn+1)}},et.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:gt},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:$t})),et.createElement("div",{style:{flex:1,position:"relative"}},et.createElement("div",{ref:Nt,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 xe=Ie,De=Se(5112),Re=Se(5871);const Xe=De.ZP.Group,nt={margin:"0 8px"};var $e=({callback:gt,onCancel:ft})=>{function dt(Nt){gt(Nt)}return ye.createElement(ve.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:dt},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(De.ZP,{value:"default"},ye.createElement("i",{className:"fa fa-align-justify"})),ye.createElement(De.ZP,{value:"left"},ye.createElement("i",{className:"fa fa-align-left"})),ye.createElement(De.ZP,{value:"center"},ye.createElement("i",{className:"fa fa-align-center"})),ye.createElement(De.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:gt,width:ft,height:dt,callback:Nt,showSaveButton:$t},an)=>{const jn=(0,ye.useRef)(),fn=(0,ye.useRef)(),[Nn,Hn]=(0,ye.useState)(!1),er=(0,ye.useRef)({id:jn,appName:"graphing",width:ft||1e3,height:dt||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)(()=>{fn.current=new(it())(er.current,!0),window.onload=function(){fn.current.inject("applet_container")}},[]);const Ut=()=>{var Ot=window.ggbApplet.getPNGBase64(1,!0,72);return Nt&&Nt(Ot),Ot};return(0,ye.useEffect)(()=>{er.current.appName=Nn?"3D":"graphing",fn.current.inject("applet_container")},[Nn]),(0,ye.useEffect)(()=>{Hn(gt)},[gt]),(0,ye.useImperativeHandle)(an,()=>({getImgData:Ut})),ye.createElement(ye.Fragment,null,ye.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:jn}),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=>Hn(Ot)})),ye.createElement(Te.Z,null,ye.createElement(Ee.ZP,{size:"large",onClick:Ut,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),vt=Se(46531),yt=Se(8591);const mt="link",Pt="upload-image",At="add-flowchart",Dt="draw-image",bt="add-flowchart",wt="code-block",_t="add-table",cn="------------",Yt={default:cn,left:`:${cn}`,center:`:${cn}:`,right:`${cn}:`};var rn=Se(50505);function Zt(){}let Xt=0;const Wt=1e4,Jt="\u2581",Dn="@\u2581\u2581@",wn="@\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`,vn=["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 Mt(gt){return/^\d+$/.test(gt)?`${gt}px`:gt}const Lt=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",Vt={[Lt+"-B"]:"bold",[Lt+"-I"]:"italic"},on={[mt]:"\u6DFB\u52A0\u94FE\u63A5",[Ct]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[Pt]:"\u6DFB\u52A0\u56FE\u7247",[Dt]:"\u6DFB\u52A0\u753B\u56FE",[At]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[_t]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var hn=({defaultValue:gt="",onChange:ft,width:dt="100%",height:Ut=400,miniToolbar:$t=!1,isFocus:rn=!1,watch:jn,insertTemp:fn,mode:Un="markdown",id:Wn="markdown-editor-id",showResizeBar:qn=!1,noStorage:Nt=!1,showNullButton:xt=!1,showNullProgramButton:yt=!1,hidetoolBar:Wt=!1,fullScreen:wt=!1,onBlur:Tt,onCMBeforeChange:Ft,onFullScreen:tn,className:ln="",disablePaste:mn=!1,disabled:En=!1,disabledFill:Cn=!1,placeholder:bn="",values:_n="",extraUse:Tn})=>{const[It,ar]=(0,ye.useState)(null),[zn,Hn]=(0,ye.useState)(gt),[gn,Bt]=(0,ye.useState)(jn),[Ht,an]=(0,ye.useState)(wt),[un,An]=(0,ye.useState)(""),[Mn,Bn]=(0,ye.useState)(0),[Nn,nr]=(0,ye.useState)(Ut),[wr,yr]=(0,ye.useState)(!1),[Kt,xr]=(0,ye.useState)(0),[Lr,Tr]=(0,ye.useState)(0),ur=(0,ye.useRef)(),br=(0,ye.useRef)(),pr=(0,ye.useRef)(),cr=(0,ye.useRef)();(0,ye.useEffect)(()=>{const Et=window.scrollY||window.pageYOffset;Hn(_n),It==null||It.setValue(_n),window.scrollTo(0,Et)},[_n]),(0,ye.useEffect)(()=>{tn==null||tn(Ht)},[Ht]),(0,ye.useEffect)(()=>{if(ur.current){let Et=function(zt,kt){var sn;if(mn){kt.preventDefault();return}const en=kt.clipboardData;if(en){const Qt=en.types.toString(),dn=en.items;if(Qt==="Files"||en.types.indexOf("Files")>-1){if(kt.preventDefault(),Un=="stex")return;try{let qt=dn[1];((sn=dn[0])==null?void 0:sn.kind)==="file"&&(qt=dn[0]);const In=qt.getAsFile(),Sn=In.name.split(".").pop();(0,ze.I)(In,Fn=>{var On,Yn,lr;Fn.id?((On=In==null?void 0:In.type)==null?void 0:On.indexOf("image"))>-1?jt.replaceSelection(`![,](/api/attachments/${Fn.id}?type=${Fn.content_type})`):((Yn=In==null?void 0:In.type)==null?void 0:Yn.indexOf("video"))>-1?jt.replaceSelection(``):((lr=In==null?void 0:In.type)==null?void 0:lr.indexOf("pdf"))>-1?jt.replaceSelection(`
${In.name}`):vn.includes(Sn)?jt.replaceSelection(`${In.name}`):jt.replaceSelection(`[${In.name}](/api/attachments/${Fn.id}?type=${Fn.content_type})`):(Fn==null?void 0:Fn.status)===401&&(document.location.href="/user/login")})}catch(qt){vt.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const jt=E().fromTextArea(ur.current,{mode:Un,lineNumbers:!$t,lineWrapping:!0,value:gt,autoCloseTags:!0,autoCloseBrackets:!0});return jt.on("keyup",function(zt,kt){kt.keyCode===8&&(zt.getValue()==""?jt.setOption("placeholder",bn):jt.setOption("placeholder",null))}),jt.on("keydown",function(zt,kt){if(kt.keyCode===8){var sn=Kn(zt);sn&&kt.preventDefault()}}),rn&&jt.focus(),jt.on("paste",Et),En&&jt.on("beforeChange",function(zt,kt){(kt.origin==="paste"||kt.origin==="+input")&&kt.cancel()}),ar(jt),()=>{jt.off("paste",Et)}}},[]);const kn=(0,ye.useCallback)(()=>{if(br.current)try{}catch(Et){console.log(Et,"---- to set md editor body height")}},[Nn,br,Ht]);(0,ye.useEffect)(()=>{function Et(){let jt=new pe.Z(zt=>{for(let kt of zt)(kt.target.offsetHeight>0||kt.target.offsetWidth>0)&&(kn(),It.setSize("100%","100%"),It.refresh())});return jt.observe(ur.current.parentElement),jt}if(It){const jt=Et();return()=>{var zt,kt;(zt=ur.current)!=null&&zt.parentElement&&jt.unobserve((kt=ur.current)==null?void 0:kt.parentElement)}}},[It,kn]),(0,ye.useEffect)(()=>{if(It){let Et=[];for(const[jt,zt]of Object.entries(Vt)){let kt={[jt]:()=>{hr(zt)}};Et.push(kt),It.addKeyMap(kt)}return()=>{for(let jt of Et)It.removeKeyMap(jt)}}},[It]),(0,ye.useEffect)(()=>{wt!==Ht&&an(wt)},[wt]),(0,nn.Z)(()=>{if(!Nt&&Mn>0){let Et=new Date().getTime(),jt=window.sessionStorage.getItem(Wn);Et>=Mn+Gt&&(!jt||jt!==zn)&&(window.sessionStorage.setItem(Wn,zn),yr(!0))}},Gt),(0,ye.useEffect)(()=>{Bt(jn)},[It,jn]),(0,ye.useEffect)(()=>{It&&rn&&It.focus()},[It,rn]),(0,ye.useEffect)(()=>{if(gn&&It){let Et=function(zt){let kt=zt.target;if(cr.current){let sn=kt.scrollTop/kt.scrollHeight;cr.current.scrollTop=cr.current.scrollHeight*sn}};const jt=It.getScrollerElement();return jt.addEventListener("scroll",Et),()=>{jt.removeEventListener("scroll",Et)}}},[It,gn]),(0,ye.useEffect)(()=>{if(It&&Ft){let Et=function(jt,zt){Ft(jt,zt)};return It.on("beforeChange",Et),()=>{It.off("beforeChange",Et)}}},[It,Ft]),(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 zt=Et.getDoc(),kt=zt.getCursor(),sn=zt.getLine(kt.line),en=sn.charAt(kt.ch-1),Qt=sn.lastIndexOf("@\u2581@",kt.ch),dn=sn.lastIndexOf("@\u2581\u2581@",kt.ch),qt=Qt>dn?Qt:dn,In=Qt>dn?3:4;if(Dn.indexOf(en)===-1)return null;if(console.log("change1:",jt,Et,sn,kt,qt,Qt,dn,en),qt>=0&&kt.ch-qt<5){var Sn=qt+In;return zt.replaceRange("",{line:kt.line,ch:qt},{line:kt.line,ch:Sn}),{line:kt.line,ch:Sn}}return null}(0,ye.useEffect)(()=>{if(It){let Et=function(jt,zt){const kt=jt.getValue();Hn(kt),Bn(new Date().getTime()),jt.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),ft&&(yt?ft(kt,_r(kt)):ft(kt))};return It.on("change",Et),()=>{It.off("change",Et)}}},[It,ft]),(0,ye.useEffect)(()=>{if(It)if(gt==null)It.setValue(""),Hn("");else{const Et=window.scrollY||window.pageYOffset;gt!==It.getValue()&&(It.setValue(gt),Hn(gt),It.setCursor(En?1:It.lineCount(),0),window.scrollTo(0,Et))}},[It,gt]);const hr=(0,ye.useCallback)(Et=>{const jt=It.getCursor(),zt=It.getSelection();let kt=zt.split(` -`);switch(Et){case"bold":return It.replaceSelection("**"+zt+"**"),zt===""&&It.setCursor(jt.line,jt.ch+2),It.focus();case"italic":return It.replaceSelection("*"+zt+"*"),zt===""&&It.setCursor(jt.line,jt.ch+1),It.focus();case"code":return It.replaceSelection("`"+zt+"`"),zt===""&&It.setCursor(jt.line,jt.ch+1),It.focus();case"inline-latex":return An("inline-latex"),It.focus();case"latex":return It.replaceSelection("```latex\n"+zt+"\n```"),It.setCursor(jt.line+1,zt.length+1),It.focus();case"line-break":return It.replaceSelection(`
-`),It.focus();case"list-ul":return zt===""?It.replaceSelection("- "+zt):It.replaceSelection(kt.map(sn=>sn===""?"":`- ${sn}`).join(` -`)),It.focus();case"list-ol":return zt===""?It.replaceSelection("1. "+zt):It.replaceSelection(kt.map((sn,en)=>sn===""?"":`${en+1}. ${sn}`).join(` -`)),It.focus();case"add-null-ch":return zt===""&&It.setCursor(jt.line,jt.ch),It.replaceSelection(Jt),It.focus();case"add-signal":return zt===""&&It.setCursor(jt.line,jt.ch),It.replaceSelection(wn),It.focus();case"add-multiple":return zt===""&&It.setCursor(jt.line,jt.ch),It.replaceSelection(Dn),It.focus();case"inster-template-1":return zt===""&&It.setCursor(jt.line,jt.ch),It.replaceSelection(Ln),It.focus();case"eraser":return It.setValue(""),It.focus();case"trigger-watch":return Bt(!gn),It.focus();case"trigger-full-screen":return an(!Ht),It.focus();case mt:An(mt);return;case Ct:An(Ct);return;case Pt:An(Pt);return;case Dt:An(Dt);return;case"maths-latex":An("maths-latex");return;case At:An(At);return;case _t:An(_t);return;default:throw new Error}},[It,gn,Ht]),Xn=(0,ye.useCallback)((Et,jt)=>{var zt,kt,sn,en,Qt,dn;switch(An(""),un){case mt:const{title:On,link:Yn}=Et;return It.replaceSelection(`[${On}](${Yn})`),It.focus();case Ct:const{language:lr,content:Ar}=Et;return It.replaceSelection(["```"+lr,Ar,"```"].join(` -`)),It.focus();case"maths-latex":for(var qt=atob(Et),In=new Uint8Array(qt.length),Sn=0;Sn{$n.id?It.replaceSelection(`![,](/api/attachments/${$n.id}?type=${$n.content_type})`):($n==null?void 0:$n.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":It.replaceSelection("`$$"+Et+"$$`");break;case Pt:case Dt:case bt:const{src:Pr,alt:rr}=Et,dr=jt,Dr=(sn=(kt=(zt=dr==null?void 0:dr.name)==null?void 0:zt.split("."))==null?void 0:kt.pop)==null?void 0:sn.call(kt);return((en=dr==null?void 0:dr.type)==null?void 0:en.indexOf("image"))>-1||!(dr!=null&&dr.type)?rr?It.replaceSelection(`![ ${rr} ]( ${Pr} "${rr}" )`):It.replaceSelection(`![,](${Pr})`):((Qt=dr==null?void 0:dr.type)==null?void 0:Qt.indexOf("video"))>-1?It.replaceSelection(``):((dn=dr==null?void 0:dr.type)==null?void 0:dn.indexOf("pdf"))>-1?It.replaceSelection(`${dr.name}`):vn.includes(Dr)?It.replaceSelection(`${dr.name}`):It.replaceSelection(`[${dr.name}](${Pr})`),It.focus();case _t:const{row:Zn,col:gr,align:Qn}=Et;let pn=` -`;for(let $n=0;$n=0?"Cmd":"Ctrl",Vt={[xt+"-B"]:"bold",[xt+"-I"]:"italic"},sn={[mt]:"\u6DFB\u52A0\u94FE\u63A5",[wt]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[Pt]:"\u6DFB\u52A0\u56FE\u7247",[Dt]:"\u6DFB\u52A0\u753B\u56FE",[At]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[_t]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var hn=({defaultValue:gt="",onChange:ft,width:dt="100%",height:Nt=400,miniToolbar:$t=!1,isFocus:an=!1,watch:jn,insertTemp:fn,mode:Nn="markdown",id:Hn="markdown-editor-id",showResizeBar:er=!1,noStorage:Ut=!1,showNullButton:Ot=!1,showNullProgramButton:pt=!1,hidetoolBar:zt=!1,fullScreen:Ct=!1,onBlur:Lt,onCMBeforeChange:jt,onFullScreen:en,className:nn="",disablePaste:mn=!1,disabled:En=!1,disabledFill:Cn=!1,placeholder:bn="",values:_n="",extraUse:Tn})=>{const[Bt,ar]=(0,ye.useState)(null),[zn,Wn]=(0,ye.useState)(gt),[gn,It]=(0,ye.useState)(jn),[Ht,on]=(0,ye.useState)(Ct),[un,An]=(0,ye.useState)(""),[Mn,In]=(0,ye.useState)(0),[Un,nr]=(0,ye.useState)(Nt),[wr,yr]=(0,ye.useState)(!1),[Kt,xr]=(0,ye.useState)(0),[Lr,Tr]=(0,ye.useState)(0),ur=(0,ye.useRef)(),br=(0,ye.useRef)(),pr=(0,ye.useRef)(),cr=(0,ye.useRef)();(0,ye.useEffect)(()=>{const Et=window.scrollY||window.pageYOffset;Wn(_n),Bt==null||Bt.setValue(_n),window.scrollTo(0,Et)},[_n]),(0,ye.useEffect)(()=>{en==null||en(Ht)},[Ht]),(0,ye.useEffect)(()=>{if(ur.current){let Et=function(Gt,kt){var ln;if(mn){kt.preventDefault();return}const tn=kt.clipboardData;if(tn){const Qt=tn.types.toString(),dn=tn.items;if(Qt==="Files"||tn.types.indexOf("Files")>-1){if(kt.preventDefault(),Nn=="stex")return;try{let qt=dn[1];((ln=dn[0])==null?void 0:ln.kind)==="file"&&(qt=dn[0]);const Bn=qt.getAsFile(),Sn=Bn.name.split(".").pop();(0,ze.I)(Bn,Fn=>{var On,Yn,lr;Fn.id?((On=Bn==null?void 0:Bn.type)==null?void 0:On.indexOf("image"))>-1?Ft.replaceSelection(`![,](/api/attachments/${Fn.id}?type=${Fn.content_type})`):((Yn=Bn==null?void 0:Bn.type)==null?void 0:Yn.indexOf("video"))>-1?Ft.replaceSelection(``):((lr=Bn==null?void 0:Bn.type)==null?void 0:lr.indexOf("pdf"))>-1?Ft.replaceSelection(`${Bn.name}`):vn.includes(Sn)?Ft.replaceSelection(`${Bn.name}`):Ft.replaceSelection(`[${Bn.name}](/api/attachments/${Fn.id}?type=${Fn.content_type})`):(Fn==null?void 0:Fn.status)===401&&(document.location.href="/user/login")})}catch(qt){yt.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const Ft=E().fromTextArea(ur.current,{mode:Nn,lineNumbers:!$t,lineWrapping:!0,value:gt,autoCloseTags:!0,autoCloseBrackets:!0});return Ft.on("keyup",function(Gt,kt){kt.keyCode===8&&(Gt.getValue()==""?Ft.setOption("placeholder",bn):Ft.setOption("placeholder",null))}),Ft.on("keydown",function(Gt,kt){if(kt.keyCode===8){var ln=Kn(Gt);ln&&kt.preventDefault()}}),an&&Ft.focus(),Ft.on("paste",Et),En&&Ft.on("beforeChange",function(Gt,kt){(kt.origin==="paste"||kt.origin==="+input")&&kt.cancel()}),ar(Ft),()=>{Ft.off("paste",Et)}}},[]);const kn=(0,ye.useCallback)(()=>{if(br.current)try{}catch(Et){console.log(Et,"---- to set md editor body height")}},[Un,br,Ht]);(0,ye.useEffect)(()=>{function Et(){let Ft=new pe.Z(Gt=>{for(let kt of Gt)(kt.target.offsetHeight>0||kt.target.offsetWidth>0)&&(kn(),Bt.setSize("100%","100%"),Bt.refresh())});return Ft.observe(ur.current.parentElement),Ft}if(Bt){const Ft=Et();return()=>{var Gt,kt;(Gt=ur.current)!=null&&Gt.parentElement&&Ft.unobserve((kt=ur.current)==null?void 0:kt.parentElement)}}},[Bt,kn]),(0,ye.useEffect)(()=>{if(Bt){let Et=[];for(const[Ft,Gt]of Object.entries(Vt)){let kt={[Ft]:()=>{hr(Gt)}};Et.push(kt),Bt.addKeyMap(kt)}return()=>{for(let Ft of Et)Bt.removeKeyMap(Ft)}}},[Bt]),(0,ye.useEffect)(()=>{Ct!==Ht&&on(Ct)},[Ct]),(0,rn.Z)(()=>{if(!Ut&&Mn>0){let Et=new Date().getTime(),Ft=window.sessionStorage.getItem(Hn);Et>=Mn+Wt&&(!Ft||Ft!==zn)&&(window.sessionStorage.setItem(Hn,zn),yr(!0))}},Wt),(0,ye.useEffect)(()=>{It(jn)},[Bt,jn]),(0,ye.useEffect)(()=>{Bt&&an&&Bt.focus()},[Bt,an]),(0,ye.useEffect)(()=>{if(gn&&Bt){let Et=function(Gt){let kt=Gt.target;if(cr.current){let ln=kt.scrollTop/kt.scrollHeight;cr.current.scrollTop=cr.current.scrollHeight*ln}};const Ft=Bt.getScrollerElement();return Ft.addEventListener("scroll",Et),()=>{Ft.removeEventListener("scroll",Et)}}},[Bt,gn]),(0,ye.useEffect)(()=>{if(Bt&&jt){let Et=function(Ft,Gt){jt(Ft,Gt)};return Bt.on("beforeChange",Et),()=>{Bt.off("beforeChange",Et)}}},[Bt,jt]),(0,ye.useEffect)(()=>{if(Bt&&Lt){let Et=function(){Lt(Bt.getValue())};return Bt.on("blur",Et),()=>{Bt.off("blur",Et)}}},[Bt,Lt]);function Kn(Et,Ft){var Gt=Et.getDoc(),kt=Gt.getCursor(),ln=Gt.getLine(kt.line),tn=ln.charAt(kt.ch-1),Qt=ln.lastIndexOf("@\u2581@",kt.ch),dn=ln.lastIndexOf("@\u2581\u2581@",kt.ch),qt=Qt>dn?Qt:dn,Bn=Qt>dn?3:4;if(Dn.indexOf(tn)===-1)return null;if(console.log("change1:",Ft,Et,ln,kt,qt,Qt,dn,tn),qt>=0&&kt.ch-qt<5){var Sn=qt+Bn;return Gt.replaceRange("",{line:kt.line,ch:qt},{line:kt.line,ch:Sn}),{line:kt.line,ch:Sn}}return null}(0,ye.useEffect)(()=>{if(Bt){let Et=function(Ft,Gt){const kt=Ft.getValue();Wn(kt),In(new Date().getTime()),Ft.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),ft&&(pt?ft(kt,_r(kt)):ft(kt))};return Bt.on("change",Et),()=>{Bt.off("change",Et)}}},[Bt,ft]),(0,ye.useEffect)(()=>{if(Bt)if(gt==null)Bt.setValue(""),Wn("");else{const Et=window.scrollY||window.pageYOffset;gt!==Bt.getValue()&&(Bt.setValue(gt),Wn(gt),Bt.setCursor(En?1:Bt.lineCount(),0),window.scrollTo(0,Et))}},[Bt,gt]);const hr=(0,ye.useCallback)(Et=>{const Ft=Bt.getCursor(),Gt=Bt.getSelection();let kt=Gt.split(` +`);switch(Et){case"bold":return Bt.replaceSelection("**"+Gt+"**"),Gt===""&&Bt.setCursor(Ft.line,Ft.ch+2),Bt.focus();case"italic":return Bt.replaceSelection("*"+Gt+"*"),Gt===""&&Bt.setCursor(Ft.line,Ft.ch+1),Bt.focus();case"code":return Bt.replaceSelection("`"+Gt+"`"),Gt===""&&Bt.setCursor(Ft.line,Ft.ch+1),Bt.focus();case"inline-latex":return An("inline-latex"),Bt.focus();case"latex":return Bt.replaceSelection("```latex\n"+Gt+"\n```"),Bt.setCursor(Ft.line+1,Gt.length+1),Bt.focus();case"line-break":return Bt.replaceSelection(`
+`),Bt.focus();case"list-ul":return Gt===""?Bt.replaceSelection("- "+Gt):Bt.replaceSelection(kt.map(ln=>ln===""?"":`- ${ln}`).join(` +`)),Bt.focus();case"list-ol":return Gt===""?Bt.replaceSelection("1. "+Gt):Bt.replaceSelection(kt.map((ln,tn)=>ln===""?"":`${tn+1}. ${ln}`).join(` +`)),Bt.focus();case"add-null-ch":return Gt===""&&Bt.setCursor(Ft.line,Ft.ch),Bt.replaceSelection(Jt),Bt.focus();case"add-signal":return Gt===""&&Bt.setCursor(Ft.line,Ft.ch),Bt.replaceSelection(wn),Bt.focus();case"add-multiple":return Gt===""&&Bt.setCursor(Ft.line,Ft.ch),Bt.replaceSelection(Dn),Bt.focus();case"inster-template-1":return Gt===""&&Bt.setCursor(Ft.line,Ft.ch),Bt.replaceSelection(Ln),Bt.focus();case"eraser":return Bt.setValue(""),Bt.focus();case"trigger-watch":return It(!gn),Bt.focus();case"trigger-full-screen":return on(!Ht),Bt.focus();case mt:An(mt);return;case wt:An(wt);return;case Pt:An(Pt);return;case Dt:An(Dt);return;case"maths-latex":An("maths-latex");return;case At:An(At);return;case _t:An(_t);return;default:throw new Error}},[Bt,gn,Ht]),Xn=(0,ye.useCallback)((Et,Ft)=>{var Gt,kt,ln,tn,Qt,dn;switch(An(""),un){case mt:const{title:On,link:Yn}=Et;return Bt.replaceSelection(`[${On}](${Yn})`),Bt.focus();case wt:const{language:lr,content:Ar}=Et;return Bt.replaceSelection(["```"+lr,Ar,"```"].join(` +`)),Bt.focus();case"maths-latex":for(var qt=atob(Et),Bn=new Uint8Array(qt.length),Sn=0;Sn{qn.id?Bt.replaceSelection(`![,](/api/attachments/${qn.id}?type=${qn.content_type})`):(qn==null?void 0:qn.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":Bt.replaceSelection("`$$"+Et+"$$`");break;case Pt:case Dt:case bt:const{src:Pr,alt:rr}=Et,dr=Ft,Dr=(ln=(kt=(Gt=dr==null?void 0:dr.name)==null?void 0:Gt.split("."))==null?void 0:kt.pop)==null?void 0:ln.call(kt);return((tn=dr==null?void 0:dr.type)==null?void 0:tn.indexOf("image"))>-1||!(dr!=null&&dr.type)?rr?Bt.replaceSelection(`![ ${rr} ]( ${Pr} "${rr}" )`):Bt.replaceSelection(`![,](${Pr})`):((Qt=dr==null?void 0:dr.type)==null?void 0:Qt.indexOf("video"))>-1?Bt.replaceSelection(``):((dn=dr==null?void 0:dr.type)==null?void 0:dn.indexOf("pdf"))>-1?Bt.replaceSelection(`${dr.name}`):vn.includes(Dr)?Bt.replaceSelection(`${dr.name}`):Bt.replaceSelection(`[${dr.name}](${Pr})`),Bt.focus();case _t:const{row:Zn,col:gr,align:Qn}=Et;let pn=` +`;for(let qn=0;qn{switch(un){case mt:return ye.createElement(Ge,{callback:Xn,onCancel:sr});case Ct:return ye.createElement(Ke.Z,{callback:Xn,onCancel:sr});case Pt:return ye.createElement(ze.Z,{callback:Xn,onCancel:sr});case At:return ye.createElement(xe,{callback:Xn,onCancel:sr});case _t:return ye.createElement($e,{callback:Xn,onCancel:sr});case"maths-latex":return ye.createElement(ut,{showSaveButton:!0,callback:Xn});case"inline-latex":return ye.createElement(pt.Z,{showSaveButton:!0,callback:Xn});default:return null}},[un]);function sr(){An("")}(0,ye.useEffect)(()=>{if(pr.current){let Et=function(Qt){sn=!0,en=Qt.pageY},jt=function(){sn=!1},zt=function(Qt){if(sn){let dn=Qt.pageY-en;dn<0&&(dn=0),dn>300&&(dn=300);let qt=Ut+dn+"px";nr(qt)}},kt=pr.current,sn=!1,en=0;return kt.addEventListener("mousedown",Et),document.addEventListener("mousemove",zt),document.addEventListener("mouseup",jt),()=>{kt.removeEventListener("mousedown",Et),document.removeEventListener("mousemove",zt),document.removeEventListener("mouseup",jt)}}},[It,pr]),(0,ye.useEffect)(()=>{nr(Ut)},[Ut]);const Cr=Mt(dt),Sr=Mt(Nn),or={width:Cr,height:Sr},Br=(0,ye.useMemo)(()=>{if(Mn){let Et=new Date(Mn),jt=Et.getHours(),zt=Et.getMinutes(),kt=Et.getSeconds();return jt=jt<10?"0"+jt:jt,zt=zt<10?"0"+zt:zt,kt=kt<10?"0"+kt:kt,`${jt}:${zt}:${kt}`}return 0},[Mn]),_r=Et=>{const jt=[];if(yt){let zt=-1;Et=Et.replace(/(@▁▁@|@▁@)/g,function(kt,sn,en){jt.push({multiLine:kt!==wn})})}return jt};function Ir(){window.sessionStorage.removeItem(Wn),yr(!1),Bn(0)}function jr(){yr(!1),Bn(0),It.setValue(window.sessionStorage.getItem(Wn))}(0,ye.useEffect)(()=>{on[un]&&un!==Dt&&un!==At&&setTimeout(()=>{const Et=document.getElementsByClassName("markdown-popup-form")[0],jt=window.innerWidth/2-Et.offsetWidth/2,zt=window.innerHeight/2-Et.offsetHeight/2;xr(jt),Tr(zt)},0)},[un]);const ht=Et=>{Et.preventDefault();const jt=Et.clientX-Kt,zt=Et.clientY-Lr;document.body.onmousemove=kt=>{let sn=kt.clientX-jt,en=kt.clientY-zt;const Qt=document.getElementsByClassName("markdown-popup-form")[0],dn=window.innerWidth-Qt.offsetWidth,qt=window.innerHeight-Qt.offsetHeight;sn=Math.max(0,Math.min(sn,dn)),en=Math.max(0,Math.min(en,qt)),Ot(kt.clientX,kt.clientY,jt,zt)&&(xr(sn),Tr(en))},document.body.onmouseup=function(){document.body.onmousemove=null}},Ot=(Et,jt,zt,kt)=>{const sn=document.body.clientHeight,en=document.body.clientWidth;return Et<20&&zt>Et||Et>en-20&&ztjt||jt>sn-20&&ktfe 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(Ae){ge(Ae,be.current)}function Pe(Ae,Ce){if(Ae.status===-1){je.ZP.error(Ae.message);return}me.setFieldsValue({src:`/api/attachments/${Ae.id}`,type:Ce.type})}function Ee(Ae){let Ce=Ae.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 Je}});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(` +`}return Bt.replaceSelection(pn+` +`),Bt.focus();default:throw new Error}},[Bt,un]),fr=(0,ye.useMemo)(()=>{switch(un){case mt:return ye.createElement(Ge,{callback:Xn,onCancel:sr});case wt:return ye.createElement(Ke.Z,{callback:Xn,onCancel:sr});case Pt:return ye.createElement(ze.Z,{callback:Xn,onCancel:sr});case At:return ye.createElement(xe,{callback:Xn,onCancel:sr});case _t:return ye.createElement($e,{callback:Xn,onCancel:sr});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}},[un]);function sr(){An("")}(0,ye.useEffect)(()=>{if(pr.current){let Et=function(Qt){ln=!0,tn=Qt.pageY},Ft=function(){ln=!1},Gt=function(Qt){if(ln){let dn=Qt.pageY-tn;dn<0&&(dn=0),dn>300&&(dn=300);let qt=Nt+dn+"px";nr(qt)}},kt=pr.current,ln=!1,tn=0;return kt.addEventListener("mousedown",Et),document.addEventListener("mousemove",Gt),document.addEventListener("mouseup",Ft),()=>{kt.removeEventListener("mousedown",Et),document.removeEventListener("mousemove",Gt),document.removeEventListener("mouseup",Ft)}}},[Bt,pr]),(0,ye.useEffect)(()=>{nr(Nt)},[Nt]);const Cr=Mt(dt),Sr=Mt(Un),or={width:Cr,height:Sr},Ir=(0,ye.useMemo)(()=>{if(Mn){let Et=new Date(Mn),Ft=Et.getHours(),Gt=Et.getMinutes(),kt=Et.getSeconds();return Ft=Ft<10?"0"+Ft:Ft,Gt=Gt<10?"0"+Gt:Gt,kt=kt<10?"0"+kt:kt,`${Ft}:${Gt}:${kt}`}return 0},[Mn]),_r=Et=>{const Ft=[];if(pt){let Gt=-1;Et=Et.replace(/(@▁▁@|@▁@)/g,function(kt,ln,tn){Ft.push({multiLine:kt!==wn})})}return Ft};function Br(){window.sessionStorage.removeItem(Hn),yr(!1),In(0)}function jr(){yr(!1),In(0),Bt.setValue(window.sessionStorage.getItem(Hn))}(0,ye.useEffect)(()=>{sn[un]&&un!==Dt&&un!==At&&setTimeout(()=>{const Et=document.getElementsByClassName("markdown-popup-form")[0],Ft=window.innerWidth/2-Et.offsetWidth/2,Gt=window.innerHeight/2-Et.offsetHeight/2;xr(Ft),Tr(Gt)},0)},[un]);const ht=Et=>{Et.preventDefault();const Ft=Et.clientX-Kt,Gt=Et.clientY-Lr;document.body.onmousemove=kt=>{let ln=kt.clientX-Ft,tn=kt.clientY-Gt;const Qt=document.getElementsByClassName("markdown-popup-form")[0],dn=window.innerWidth-Qt.offsetWidth,qt=window.innerHeight-Qt.offsetHeight;ln=Math.max(0,Math.min(ln,dn)),tn=Math.max(0,Math.min(tn,qt)),Tt(kt.clientX,kt.clientY,Ft,Gt)&&(xr(ln),Tr(tn))},document.body.onmouseup=function(){document.body.onmousemove=null}},Tt=(Et,Ft,Gt,kt)=>{const ln=document.body.clientHeight,tn=document.body.clientWidth;return Et<20&&Gt>Et||Et>tn-20&&GtFt||Ft>ln-20&&ktfe 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(Ae){ge(Ae,be.current)}function Pe(Ae,Ce){if(Ae.status===-1){je.ZP.error(Ae.message);return}me.setFieldsValue({src:`/api/attachments/${Ae.id}`,type:Ce.type})}function Ee(Ae){let Ce=Ae.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 Ie},ZP:function(){return Je}});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(` @@ -970,7 +970,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=(xe,De,Re)=>De in xe?se(xe,De,{enumerable:!0,configurable:!0,writable:!0,value:Re}):xe[De]=Re,x=(xe,De)=>{for(var Re in De||(De={}))te.call(De,Re)&&y(xe,Re,De[Re]);if(ne)for(var Re of ne(De))a.call(De,Re)&&y(xe,Re,De[Re]);return xe},b=(xe,De)=>ae(xe,re(De)),ee=(xe,De,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(xe,De)).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=(xe,De)=>De.map(Re=>({label:Re,kind:xe.languages.CompletionItemKind.Keyword,insertText:Re})),de=xe=>Object.keys(z.tables).map(De=>({label:De,kind:xe.languages.CompletionItemKind.Variable,insertText:De})),ge=(xe,De)=>{const Re=z.tables[xe];return Re?Re.map(Xe=>({label:Xe,kind:De.languages.CompletionItemKind.Field,insertText:Xe})):[]};function fe(xe,De,Re,Xe,nt){let $e=De.getWordUntilPosition(Re),tt={startLineNumber:Re.lineNumber,endLineNumber:Re.lineNumber,startColumn:$e.startColumn,endColumn:$e.endColumn},st=Xe.map(it=>({label:it,kind:xe.languages.CompletionItemKind.Keyword,insertText:it,insertTextRules:xe.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:tt}));return nt.map(it=>{st.push(b(x({},it),{range:tt}))}),st}var me=xe=>{z.languages.map(nt=>(xe.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 De=he.quickKey.map(nt=>({label:nt.label,kind:xe.languages.CompletionItemKind.Method,insertText:nt.content,insertTextRules:xe.languages.CompletionItemInsertTextRule.InsertAsSnippet})),Re=ce.quickKey.map(nt=>({label:nt.label,kind:xe.languages.CompletionItemKind.Method,insertText:nt.content,insertTextRules:xe.languages.CompletionItemInsertTextRule.InsertAsSnippet})),Xe=pe.quickKey.map(nt=>({label:nt.label,kind:xe.languages.CompletionItemKind.Method,insertText:nt.content,insertTextRules:xe.languages.CompletionItemInsertTextRule.InsertAsSnippet}));xe.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:xe.languages.CompletionItemKind.Function,documentation:lt,insertText:lt,insertTextRules:xe.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:st})),...he.quickKey.map(lt=>({label:lt.label,kind:xe.languages.CompletionItemKind.Function,documentation:lt.content,insertText:it.startsWith("#")?lt.content.replace(/#/,""):lt.content,insertTextRules:xe.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:st}))]}}}),xe.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:xe.languages.CompletionItemKind.Function,documentation:it,insertText:it,insertTextRules:xe.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:st}))]}}}),xe.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:xe.languages.CompletionItemKind.Function,documentation:lt,insertText:lt,insertTextRules:xe.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:st})),...pe.quickKey.map(lt=>({label:lt.label,kind:xe.languages.CompletionItemKind.Function,documentation:lt.content,insertText:it.startsWith("#")?lt.content.replace(/#/,""):lt.content,insertTextRules:xe.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:st}))]}}}),xe.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:xe.languages.CompletionItemKind.Function,documentation:lt,insertText:lt,insertTextRules:xe.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:st})),...oe.quickKey.map(lt=>({label:lt.label,kind:xe.languages.CompletionItemKind.Function,documentation:lt.content,insertText:it.startsWith("#")?lt.content.replace(/#/,""):lt.content,insertTextRules:xe.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:st}))]}}}),xe.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:xe.languages.CompletionItemKind.Function,documentation:lt,insertText:lt,insertTextRules:xe.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:st})),...ce.quickKey.map(lt=>({label:lt.label,kind:xe.languages.CompletionItemKind.Function,documentation:lt.content,insertText:it.startsWith("#")?lt.content.replace(/#/,""):lt.content,insertTextRules:xe.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=(xe,De,Re)=>De in xe?ve(xe,De,{enumerable:!0,configurable:!0,writable:!0,value:Re}):xe[De]=Re,Ee=(xe,De,Re)=>Pe(xe,typeof De!="symbol"?De+"":De,Re);const Ae=class ea{constructor(De,Re,Xe){this.placeholder=De,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 ea.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(Ae,"ID","editor.widget.placeholderHint");var _e=Ae,we=Se(96236),Me=Se(8591),Oe=Se(6848),Fe=Se(89392),Le=Se(50484),Ye=Se(56102),He=Object.defineProperty,Ge=Object.defineProperties,Ke=Object.getOwnPropertyDescriptors,ze=Object.getOwnPropertySymbols,ke=Object.prototype.hasOwnProperty,Ne=Object.prototype.propertyIsEnumerable,Ve=(xe,De,Re)=>De in xe?He(xe,De,{enumerable:!0,configurable:!0,writable:!0,value:Re}):xe[De]=Re,qe=(xe,De)=>{for(var Re in De||(De={}))ke.call(De,Re)&&Ve(xe,Re,De[Re]);if(ze)for(var Re of ze(De))Ne.call(De,Re)&&Ve(xe,Re,De[Re]);return xe},rt=(xe,De)=>Ge(xe,Ke(De)),Qe=(xe,De)=>{var Re={};for(var Xe in xe)ke.call(xe,Xe)&&De.indexOf(Xe)<0&&(Re[Xe]=xe[Xe]);if(xe!=null&&ze)for(var Xe of ze(xe))De.indexOf(Xe)<0&&Ne.call(xe,Xe)&&(Re[Xe]=xe[Xe]);return Re},Ue=(xe,De,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(xe,De)).next())});function Ie(xe){return/^\d+$/.test(xe)?`${xe}px`:xe}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(xe=[]){let De=xe;if(Array.isArray(xe)){for(let Re=0;Re{var De=xe,{width:Re="100%",height:Xe="100%",value:nt,language:$e="javascript",style:tt={},options:st={},overrideServices:it={},theme:lt="vs-dark",onEditBlur:ut,isCopy:pt=!1,onSave:vt,autoHeight:mt=!1,forbidCopy:Pt=!1,onChange:At=Ze,editorDidMount:Dt=Ze,onFocus:bt=Ze,onBreakPoint:Ct=Ze,breakPointValue:_t=[],filename:cn="educoder.txt",errorLine:Yt,errorContent:nn="",highlightLine:Zt,openBreakPoint:Xt=!1,placeholder:Gt=""}=De,Jt=Qe(De,["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 Dn=(0,ye.useRef)(),wn=(0,ye.useRef)({}),Ln=(0,ye.useRef)(),vn=(0,ye.useRef)(),Mt=(0,ye.useRef)([]),St=(0,ye.useRef)(!1),Lt=(0,ye.useRef)(),Vt=(0,ye.useRef)(),on=(0,ye.useRef)(!1),[hn,gt]=(0,ye.useState)(!1);function ft(){let Tt;return Dn.current&&(Tt=new je.Z(Ft=>{for(let tn of Ft)(tn.target.offsetHeight>0||tn.target.offsetWidth>0)&&wn.current.instance.layout()}),Tt.observe(Dn.current)),Tt}function dt(){Me.ZP.warning({content:decodeURIComponent(be),key:"monaco-editor-tip"})}const Ut=()=>{let Tt=wn.current.instance;if(nt!=null&&Tt&&hn){const Ft=Tt.getModel();Ft&&nt!==Ft.getValue()&&(Te=!0,Ft.setValue(nt),Tt.layout(),Te=!1)}};(0,ye.useEffect)(()=>{const Tt=Le.Z.subscribe("formatDocument",Ft=>{var tn;let ln=wn.current.instance;(tn=ln==null?void 0:ln.getAction)==null||tn.call(ln,"editor.action.formatDocument").run()});return window.updateMonacoValue=Ft=>{At(Ft)},Tt},[]),(0,ye.useEffect)(()=>{var Tt;let Ft=wn.current.instance;vn.current&&clearTimeout(vn.current),vn.current=setTimeout(()=>{Ut()},500),nt&&(nt!=null&&nt.length)&&((Tt=Ft==null?void 0:Ft.updateOptions)==null||Tt.call(Ft,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(nt.split(/\r\n|\r|\n/g).length))+3,5)}))},[nt,hn,wn.current]),(0,ye.useEffect)(()=>{if(Yt&&wn.current&&wn.current.instance){let Ft=wn.current.instance;Ft.changeViewZones(function(tn){var ln=document.createElement("div");ln.style.padding="10px 20px",ln.style.width="calc(100% - 20px)",ln.className="my-error-line-wrp",ln.innerHTML=nn,tn.addZone({afterLineNumber:Yt||11,heightInLines:3,domNode:ln})});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}};Ft.addOverlayWidget(Tt),Ft.revealPositionInCenter({lineNumber:20,column:1})}},[Yt,wn.current,hn]);const $t=(Tt="",Ft)=>{if(!Tt||Tt.trim()==="")return!0;const ln=wn.current.instance.getModel().getLineTokens(Ft);let mn=!1;for(let En=0;En<2;En++)ln.getStandardTokenType(En)===1&&(mn=!0);return mn};(0,ye.useEffect)(()=>{var Tt;const Ft=(Tt=wn.current)==null?void 0:Tt.instance;if(Ft&&hn&&Pt){const tn=Ft.onDidBlurEditorWidget(()=>{on.current=!1}),ln=Ft.onDidFocusEditorText(()=>{on.current=!0});return()=>{tn.dispose(),ln.dispose()}}},[wn.current,hn,Pt]),(0,ye.useEffect)(()=>{var Tt;if((Tt=wn.current)!=null&&Tt.instance&&hn&&Xt){let Ft=wn.current.instance,tn=Ft.getModel();if(!tn)return;(()=>{var gn;let Bt=[],Ht=[];const an=tn.getAllDecorations();for(let An of an)An.options.className==="highlighted-line"&&(Bt.push((gn=An==null?void 0:An.range)==null?void 0:gn.startLineNumber),Ht.push(An==null?void 0:An.id));if(Zt===Bt[0])return;tn.deltaDecorations(Ht,[]);const un=tn.getLineCount();Zt&&Zt<=un&&(Ft.deltaDecorations([],[{range:new et.Range(Zt,1,Zt,tn.getLineMaxColumn(Zt)),options:{isWholeLine:!0,className:"highlighted-line"}}]),Ft.revealLineInCenter(Zt))})();const mn=(gn=!1)=>{var Bt;let Ht=[],an=[];const un=tn.getAllDecorations();for(let An of un)An.options.linesDecorationsClassName==="breakpoints-select"&&(Ht.push((Bt=An==null?void 0:An.range)==null?void 0:Bt.startLineNumber),an.push(An==null?void 0:An.id));if(gn)return{lines:Ht,ids:an};Ct(Ht)},En=gn=>Ue(void 0,null,function*(){let Bt={range:new et.Range(gn,1,gn,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield tn.deltaDecorations([],[Bt]),mn()}),Cn=gn=>Ue(void 0,null,function*(){let Bt=[];const Ht=Ft.getLineDecorations(gn);for(let an of Ht)an.options.linesDecorationsClassName==="breakpoints-select"&&Bt.push(an.id);yield tn.deltaDecorations(Bt,[]),mn()}),bn=gn=>{let Bt=Ft.getLineDecorations(gn);for(let Ht of Bt)if(Ht.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,Fe.isEqual)(_t,mn(!0).lines)){tn.deltaDecorations(mn(!0).ids,[]);const gn=_t.map(Bt=>({range:new et.Range(Bt,1,Bt,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));tn.deltaDecorations([],gn)}const _n=Ft.onDidChangeModelContent(gn=>{let Bt=Ft.getPosition();if(Bt){let Ht=Bt.lineNumber;clearTimeout(Vt.current),Vt.current=setTimeout(()=>{$t(tn.getLineContent(Ht),Ht)?Cn(Ht):bn(Ht)?(Cn(Ht),En(Ht)):mn()},100)}}),Tn=Ft.onMouseDown(gn=>{var Bt,Ht,an;if(gn.target.detail&&((an=(Ht=(Bt=gn.target)==null?void 0:Bt.element)==null?void 0:Ht.className)!=null&&an.includes("line-numbers"))){let un=gn.target.position.lineNumber;if($t(tn.getLineContent(un),un))return;bn(un)?Cn(un):En(un)}}),It=gn=>{let Bt={range:new et.Range(gn,1,gn,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};Mt.current=Ft.deltaDecorations(Mt.current,[Bt])},ar=()=>{Mt.current=Ft.deltaDecorations(Mt.current,[])},zn=Ft.onMouseMove(gn=>{var Bt,Ht,an;if(ar(),gn.target.detail&&((an=(Ht=(Bt=gn.target)==null?void 0:Bt.element)==null?void 0:Ht.className)!=null&&an.includes("line-numbers"))){let un=gn.target.position.lineNumber;if($t(tn.getLineContent(un),un))return;It(un)}}),Hn=Ft.onMouseLeave(()=>{ar()});return()=>{_n.dispose(),Tn.dispose(),zn.dispose(),Hn.dispose()}}},[wn.current,hn,_t,Zt,Xt,$e]),(0,ye.useEffect)(()=>{var Tt;(Tt=wn.current)!=null&&Tt.instance&&Xt&&wn.current.instance.setPosition({lineNumber:0,column:0})},[Zt]);function rn(){let Tt=wn.current.instance;if(Tt){const Ft=Tt.getSelection(),tn=wn.current.pastePos||{},ln=new et.Range(tn.startLineNumber||Ft.endLineNumber,tn.startColumn||Ft.endColumn,tn.endLineNumber||Ft.endLineNumber,tn.endColumn||Ft.endColumn);setTimeout(()=>{Tt.executeEdits("",[{range:ln,text:""}])},300)}}function jn(Tt){(window.navigator.platform.match("Mac")?Tt.metaKey:Tt.ctrlKey)&&Tt.keyCode==83&&(Tt.preventDefault(),vt())}const fn=()=>{if(mt&&wn.current.instance){const Tt=wn.current.instance.getContentHeight();Wt(Tt{if(!on.current)return;const{keyCode:Ft,ctrlKey:tn,metaKey:ln,target:mn,type:En}=Tt;return(En==="paste"||(Ft===67||Ft===86)&&(ln||tn))&&mn.nodeName==="TEXTAREA"&&(dt(),Tt.preventDefault()),!1};function qn(Tt,Ft){var tn=window.URL||window.webkitURL||window,ln=new Blob([Ft]),mn=document.createElementNS("http://www.w3.org/1999/xhtml","a");mn.href=tn.createObjectURL(ln),mn.download=Tt,Un(mn)}(0,ye.useEffect)(()=>{fn()},[fn]),(0,ye.useEffect)(()=>{Dn.current&&!hn&&Promise.all([Se.e(8909),Se.e(6894)]).then(Se.bind(Se,71448)).then(Tt=>{try{et=Tt,wn.current.instance=et.editor.create(Dn.current,{value:nt,language:at($e),theme:lt,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0},it);const Ft=wn.current.instance;let mn=[...we.BH._menuItems].find(_n=>_n[0]._debugName=="EditorContext")[1],En=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],Cn=(_n,Tn)=>{var It,ar;let zn=_n._first;do Tn.includes((ar=(It=zn.element)==null?void 0:It.command)==null?void 0:ar.id)&&_n._remove(zn);while(zn=zn.next)};if(Dt(Ft,et),setTimeout(()=>{fn(),wn.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{qn(cn||"educoder.txt",Ft.getValue())}})},500),wn.current.subscription=Ft.onDidChangeModelContent(_n=>{St.current?clearTimeout(Lt.current):(fn(),At(Ft.getValue(),_n)),Lt.current=setTimeout(()=>{St.current=!1},500)}),window.Monaco||me(et,at($e)),Pt&&(Cn(mn,En),Dn.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",Wn),window.removeEventListener("paste",Wn),window.addEventListener("keydown",Wn),window.addEventListener("paste",Wn)),window.Monaco=et,ut&&Ft.onDidBlurEditorWidget(()=>{ut(Ft.getValue())}),bt&&Ft.onDidFocusEditorText(()=>{bt(Ft.getValue())}),Pt)try{Ft.onDidPaste(_n=>{const Tn=Ft.getSelection(),It=wn.current.pastePos||{},ar=new et.Range(It.startLineNumber||Tn.endLineNumber,It.startColumn||Tn.endColumn,It.endLineNumber||Tn.endLineNumber,It.endColumn||Tn.endColumn);Ft.executeEdits("",[{range:_n.range,text:""}])})}catch(_n){}let bn=ft();return Gt&&typeof Gt=="string"&&new _e(Gt,Ft,et),gt(!0),()=>{const _n=wn.current.instance;_n.dispose();const Tn=_n.getModel();Tn&&Tn.dispose(),wn.current.subscription&&wn.current.subscription.dispose(),bn.unobserve(Dn.current)}}catch(Ft){}})},[]),(0,ye.useEffect)(()=>{if(wn.current.instance&&hn)return document.addEventListener("keydown",jn,!1),()=>{document.removeEventListener("keydown",jn)}},[vt,hn]),(0,ye.useEffect)(()=>{let Tt=wn.current.instance;if(Tt&&hn){let Ft=at($e);et.editor.setModelLanguage(Tt.getModel(),Ft)}},[$e,hn]),(0,ye.useEffect)(()=>{wn.current.instance&&hn&&et.editor.setTheme(lt)},[lt,hn]),(0,ye.useEffect)(()=>{let Tt=wn.current.instance;Ln.current=st,Tt&&hn&&(Tt.updateOptions(qe({},st)),setTimeout(()=>{Tt.getModel().updateOptions(qe({},st))},200))},[JSON.stringify(st),hn]),(0,ye.useEffect)(()=>{let Tt=wn.current.instance;Tt&&hn&&Tt.layout()},[Re,Xe,hn]);const[Nt,xt]=(0,ye.useState)(Ie(Re)),[yt,Wt]=(0,ye.useState)(Ie(Xe)),wt=rt(qe({},tt),{width:Nt,height:yt,position:"relative"});return ye.createElement("div",{className:"my-monaco-editor",ref:Dn,style:wt},pt&&ye.createElement(Ye.CopyToClipboard,{text:nt,onCopy:()=>Me.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:xe="100%",height:De="100%",original:Re,modified:Xe,language:nt,options:$e={}}){const tt=(0,ye.useRef)(),[st,it]=(0,ye.useState)(null);function lt(mt){let Pt;return tt.current&&(Pt=new je.Z(At=>{for(let Dt of At)(Dt.target.offsetHeight>0||Dt.target.offsetWidth>0)&&mt.layout()}),Pt.observe(tt.current)),Pt}(0,ye.useEffect)(()=>(tt.current&&Promise.all([Se.e(8909),Se.e(9404)]).then(Se.bind(Se,2550)).then(mt=>{et=mt;const Pt=et.editor.createDiffEditor(tt.current,rt(qe({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(Pt);let At=lt(Pt);return()=>{Pt.dispose();const Dt=Pt.getModel();Dt&&Dt.dispose(),At.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(xe),pt=Ie(De),vt={width:ut,height:pt};return ye.createElement("div",{className:"my-diff-editor",ref:tt,style:vt})}},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 Ae=we=>{try{_e(ve.next(we))}catch(Me){Ee(Me)}},Ce=we=>{try{_e(ve.throw(we))}catch(Me){Ee(Me)}},_e=we=>we.done?Pe(we.value):Promise.resolve(we.value).then(Ae,Ce);_e((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,Ae,Ce;const _e=(0,a.useParams)(),[we]=pe.default.useForm(),Me=pe.default.useWatch("time",we),[Oe,Fe]=(0,ye.useState)(!1),Le=(0,ye.useRef)(),{actionTabs:Ye}=me,[He,Ge]=(0,ye.useState)(),[,Ke,ze,ke]=(0,ee.U)(re.n7,{id:_e.categoryId}),[,Ne,Ve]=(0,ee.U)(re.Cd,{});(0,ye.useEffect)(()=>{me.actionTabs.key==="student-unlock"&&(Fe(!1),we.resetFields())},[me.actionTabs.key]);const qe=()=>new Promise(et=>le(void 0,null,function*(){var Je,Be;return Le.current=yield(0,x.y)({ip_limit:(Je=Ye==null?void 0:Ye.exerciseParams)==null?void 0:Je.ip_limit,ip_bind:(Be=Ye==null?void 0:Ye.exerciseParams)==null?void 0:Be.ip_bind_type}),et()})),rt=()=>le(void 0,null,function*(){var et,Je,Be,xe,De;yield we.validateFields();const Re=we.getFieldsValue();if(Fe(!0),(((et=Ye==null?void 0:Ye.exerciseParams)==null?void 0:et.ip_limit)!=="no"||(Je=Ye==null?void 0:Ye.exerciseParams)!=null&&Je.ip_bind_type)&&(yield qe()),(yield(0,re.ZD)((Be=Ye==null?void 0:Ye.exerciseParams)==null?void 0:Be.id,{exercise_user_id:(xe=Ye==null?void 0:Ye.exerciseParams)==null?void 0:xe.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=Ye==null?void 0:Ye.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:_e.coursesId,login:(De=(0,b.eY)())==null?void 0:De.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)}),Qe=[{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=Ye==null?void 0:Ye.exerciseParams)==null?void 0:Pe.errorMessage)&&typeof((Ee=Ye==null?void 0:Ye.exerciseParams)==null?void 0:Ee.errorMessage)=="object";(0,ye.useEffect)(()=>{me.actionTabs.key==="student-unlock"&&le(void 0,null,function*(){const et=yield Ve(_e);yield ze({}),et.status||Ge(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)+(Me||0);return z.createElement(z.Fragment,null,z.createElement(he.default,{width:514,centered:!0,closable:!!((Ae=Ye==null?void 0:Ye.exerciseParams)!=null&&Ae.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=Ye==null?void 0:Ye.exerciseParams)==null?void 0:Ce.errorMessage)||{}],columns:Qe}),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(Me||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 Ge=yield(0,ce.X6)(y);ee(Ge.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:Ae,expected_output:Ce,execute_memory:_e,user:we,execute_time:Me,input_file_url:Oe,output_file_url:Fe,is_file:Le,expected_output_file_url:Ye}=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,Me*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:Me,output:Ee,input:Ae,expected_output:Ce,input_file_url:Oe,output_file_url:Fe,is_file:Le,expected_output_file_url:Ye}),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=(_e,we,Me)=>new Promise((Oe,Fe)=>{var Le=Ge=>{try{He(Me.next(Ge))}catch(Ke){Fe(Ke)}},Ye=Ge=>{try{He(Me.throw(Ge))}catch(Ke){Fe(Ke)}},He=Ge=>Ge.done?Oe(Ge.value):Promise.resolve(Ge.value).then(Le,Ye);He((Me=Me.apply(_e,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=(_e=>(_e[_e.SET_VISIBLE=0]="SET_VISIBLE",_e[_e.SET_TABINDEX=1]="SET_TABINDEX",_e))(Pe||{});function Ee(_e){const{status:we,error_msg:Me,output:Oe,input:Fe,expected_output:Le,is_file:Ye,input_file_url:He,output_file_url:Ge,expected_output_file_url:Ke,setMonacoValue:ze,setData:ke}=_e,Ne=(0,ye.useRef)(),Ve=(0,ye.useRef)(),qe=(0,ye.useRef)();let rt=null;const Qe={minHeight:150,marginBottom:10,paddingLeft:24,background:"#070f19",color:"#fff"};switch((0,ye.useEffect)(()=>{if(Oe&&!Ye&&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&&!Ye&&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&&!Ye&&qe.current){const Ue=new re.Terminal({fontSize:14,letterSpacing:1,cols:83,rows:10});Ue.open(qe.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"),!Ye&&fe.createElement("div",{ref:Ne}),Ye&&fe.createElement("div",{style:Qe},fe.createElement("a",{style:{fontSize:"16px"},onClick:()=>me(this,null,function*(){const Ue=yield(0,te.ZP)(Ge,{method:"Get",headers:{"Content-Type":"application/xml",Accept:"*/*"}});ze(Ue),setTimeout(()=>{ke(Ge)},200)})},Oe)),fe.createElement("p",{className:"c-red"},"\u9884\u671F\u8F93\u51FA\uFF1A"),!Ye&&fe.createElement("div",{ref:qe}),Ye&&fe.createElement("div",{style:Qe},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:"*/*"}});ze(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"),!Ye&&fe.createElement(se.Z,{value:Fe,style:Qe}),Ye&&fe.createElement("div",{style:Qe},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(Me),"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(Me)));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 Ae(_e){const{status:we,error_msg:Me,execute_time:Oe,output:Fe,input:Le,expected_output:Ye,is_file:He,input_file_url:Ge,output_file_url:Ke,expected_output_file_url:ze}=_e;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:_e,className:we}){return fe.createElement("span",{className:we},_e)}ot.ZP=({input:_e,is_file:we,debuging:Me,submitting:Oe,executingMessage:Fe,debugResult:Le,onChangeInput:Ye,onDebugCode:He,onSubmitCode:Ge,hack:Ke,user:ze,submitResult:ke,isWhiteTheme:Ne,topDispatch:Ve})=>{const[qe]=(0,a.useSearchParams)(),rt=(0,a.useParams)(),[Qe,Ue]=(0,ye.useState)(!1),[Ie,Ze]=(0,ye.useState)(!1),[Te,We]=(0,ye.useState)(1),[at,et]=(0,ye.useState)(!1),[Je,Be]=(0,ye.useState)(0),[xe,De]=(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:pt,id:vt,input:mt,output:Pt,expected_output:At,is_file:Dt,input_file_url:bt,output_file_url:Ct,expected_output_file_url:_t,error_msg:cn,hack_sets:Yt}=ke||{};(0,ye.useEffect)(()=>{pt===0&&(We(1),Be(0))},[pt,vt]),(0,ye.useEffect)(()=>{me(void 0,null,function*(){var Mt;const St=yield(0,b.rX)(rt==null?void 0:rt.id,"submit");(St==null?void 0:St.status)===0&&(St!=null&&St.data&&((Mt=St==null?void 0:St.data)==null?void 0:Mt.status)!==0?(Ve({type:ee.Types.SET_SUBMIT_RESULT,payload:{submitResult:St==null?void 0:St.data}}),We(2),Be(320)):(We(1),Be(0)))})},[rt==null?void 0:rt.id]),(0,ye.useEffect)(()=>{if(tt.current){let vn=function(ft){Vt=Lt.offsetHeight,on=!0,hn=ft.pageY,ut.current.style.display="block"},Mt=function(){on=!1,ut.current.style.display="none"},St=function(ft){if(on){nn();let dt=hn-ft.pageY,Ut=Vt+dt;if(Ut<0&&(Ut=0),Ut>window.innerHeight-150&&(Ut=window.innerHeight-150),Te===1){Ut<=34?Be(0):Be(Ut);return}console.log(Ut,"resizeH"),Be(Ut)}};const Lt=it.current;let Vt=0,on=!1,hn=0;const gt=document.getElementById("case-y-bar");return gt==null||gt.addEventListener("mousedown",vn),document.addEventListener("mousemove",St),document.addEventListener("mouseup",Mt),()=>{const ft=document.getElementById("case-y-bar");ft==null||ft.removeEventListener("mousedown",vn),document.removeEventListener("mousemove",St),document.removeEventListener("mouseup",Mt)}}},[tt,Te]),(0,ye.useEffect)(()=>{const vn=x.Z.subscribe("resize-move-bar",nn);if(qe.get("type")!=="exercises")return document.addEventListener((0,ge.gH)(),Gt),()=>{document.removeEventListener((0,ge.gH)(),Gt),vn()}},[]),(0,ye.useEffect)(()=>{});function nn(){var vn,Mt,St,Lt;const Vt=document.getElementById("outputResultRef");if(Vt){let on=Vt.dataset.text;st.current.reset(),st.current.writeln(on);const hn=document.getElementById("outputResultRef").offsetWidth-20,gt=((Lt=(St=(Mt=(vn=st.current)==null?void 0:vn._core)==null?void 0:Mt._renderService)==null?void 0:St.dimensions)==null?void 0:Lt.actualCellWidth)||10,ft=Math.ceil(hn/gt);st.current.resize(ft,Math.ceil(Vt.clientHeight/16))}}function Zt(){Ue(!Qe),setTimeout(()=>{nn()},300),Be(Qe?320:window.innerHeight-150)}function Xt(){Ie?(Ze(!1),(0,ge.BU)()):(Ze(!0),(0,ge.Dj)(lt.current))}const Gt=vn=>{(0,ge.vp)()||Ze(!1)},Jt=(0,ye.useMemo)(()=>{if(Le){const{status:vn,output:Mt,error_msg:St}=Le;return setTimeout(()=>{let Lt="",Vt=document.getElementById("outputResultRef");Mt?Lt=ce.Base64.decode(Mt):St&&(Lt=ce.Base64.decode(St)),st.current=new re.Terminal({fontSize:14,theme:{background:"#181e2e",cursor:"transparent"},rendererType:"dom"}),st.current.open(Vt),st.current.onKey(function(on){var hn;if(on.domEvent.key.toLocaleUpperCase()==="C"&&on.domEvent.ctrlKey){on.domEvent.preventDefault();let gt=(hn=st.current)==null?void 0:hn.getSelection();navigator.clipboard.writeText(gt).then(()=>{})}}),Vt.dataset.text=Lt,st.current.setOption("convertEol",!0),nn()},300),fe.createElement(fe.Fragment,null,Ae(Le))}return null},[Le]);function Dn(){var vn,Mt;if(!(Ke!=null&&Ke.code)||((vn=Ke==null?void 0:Ke.code)==null?void 0:vn.trim().length)===0){(Mt=E.ZP)==null||Mt.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 wn=vn=>me(void 0,null,function*(){let Mt=yield(0,te.ZP)(`/api/problems/${vn}/start.json`,{method:"get",params:{hack_user_id:ze==null?void 0:ze.user_id}});Mt&&(window.location.href=`/myproblems/${Mt==null?void 0:Mt.identifier}${window.location.search}`)});function Ln(){Dt?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(Pt)).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:Je},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&&(Je<=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 pt=="number"&&fe.createElement(fe.Fragment,null,pt===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[pt])),fe.createElement("div",{className:ie.Z.btns},Te===2&&!Oe&&fe.createElement(fe.Fragment,null,pt!==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:()=>{De(vt)}},fe.createElement("i",{className:"iconfont icon-danceng-xinjianwenjian"}),"\u663E\u793A\u8BE6\u60C5")),qe.get("type")!=="exercises"&&fe.createElement("div",{title:"\u5C55\u5F00/\u6536\u7F29",onClick:()=>Zt()},fe.createElement("i",{className:`iconfont icon-${Qe?"suoxiao1":"fangda"}`})))),fe.createElement("div",{style:{display:Te===1?"block":"none"}},Me?fe.createElement(ue.Z,{style:{color:"#1976d2"},message:"\u670D\u52A1\u542F\u52A8\u4E2D..."}):fe.createElement("div",{style:{height:Je-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?"":_e,onChange:Ye}))),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?Jt: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:Je-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"}},!Dt&&fe.createElement(Ce,{value:mt}),Dt&&fe.createElement("a",{style:{fontSize:"16px"},onClick:()=>me(void 0,null,function*(){const vn=yield fetch(bt,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}});$e(yield vn.text()),setTimeout(()=>{Xe(bt)},200)})},mt)),mt&&fe.createElement("div",{className:ie.Z.action},fe.createElement("span",{onClick:()=>et(!at)},at?"\u6536\u8D77":"\u5C55\u5F00"),qe.get("type")!=="exercises"&&fe.createElement("i",{title:"\u5168\u5C4F/\u9000\u51FA\u5168\u5C4F",onClick:()=>Xt(),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,!Dt&&fe.createElement(Ce,{className:"mb10",value:At&&ce.Base64.decode(At)||""}),Dt&&fe.createElement("a",{style:{fontSize:"16px"},onClick:()=>me(void 0,null,function*(){const vn=yield fetch(_t,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}});$e(yield vn.text()),setTimeout(()=>{Xe(_t)},200)})},At)))),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:pt===he.h.OK?"#2ABD8C":"#FF2C29"}},fe.createElement("pre",null,(pt===4||pt===5)&&fe.createElement(Ce,{className:"mb10",value:cn&&ce.Base64.decode(cn)||""}),pt!=4&&pt!=5&&(Dt?fe.createElement("a",{style:{fontSize:"16px"},onClick:()=>me(void 0,null,function*(){const vn=yield(0,te.ZP)(Ct,{method:"Get",headers:{"Content-Type":"application/xml",Accept:"*/*"}});try{$e(vn)}catch(Mt){$e("")}setTimeout(()=>{Xe(Ct)},200)})},Pt):fe.createElement(Ce,{className:"mb10",value:Pt&&ce.Base64.decode(Pt)||""})))))))))),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:()=>wn(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:()=>wn(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:Me||Oe,loading:Me,color:"#2ABD8C",className:"mr10",onClick:Dn},"\u8C03\u8BD5\u4EE3\u7801"),qe.get("qtype")!=="8"&&fe.createElement(pe.ZP,{className:ie.Z.disabled,type:"primary",icon:fe.createElement("i",{className:"iconfont icon-bofang1"}),loading:Oe,disabled:Me||Oe,onClick:()=>{var vn,Mt;if(!(Ke!=null&&Ke.code)||((vn=Ke==null?void 0:Ke.code)==null?void 0:vn.trim().length)===0){(Mt=E.ZP)==null||Mt.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),Ge()}},"\u8BC4\u6D4B\u5E76\u63D0\u4EA4")),fe.createElement(y.Z,{onClose:De,open:xe}),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 Cr},default:function(){return _r}});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 Ae={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 _e(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:zt,ActionBarRender:kt,setIsWhiteTheme:sn})=>{const[en,Qt]=(0,ye.useReducer)(_e,Ae),{theme:dn,fontSize:qt,showEditorSetting:In,tabToSpace:Sn}=en,Fn=(0,ye.useRef)(),On=(0,ye.useRef)();(0,ye.useEffect)(()=>{sn(dn==="vs")},[dn]);const Yn={onFontSizeChange:rr=>{Qt({type:0,payload:rr}),(0,b.t)("cmFontSize",rr)},tabToSpace:Sn,cmFontSize:qt,className:"oj",cmCodeMode:dn,onTabToSpace:rr=>{Qt({type:2,payload:rr}),(0,b.t)("cmTabToSpace",rr)},onCodeModeChange:rr=>{Qt({type:1,payload:rr}),(0,b.t)("ProgrammingCodeMode",rr)}};function lr(){Qt({type:3,payload:!1})}function Ar(){Qt({type:3,payload:!0})}const Pr={value:Ot,language:jt,theme:dn,options:{fontSize:qt,insertSpaces:Sn},onChange:rr=>{Et(rr),On.current=rr,clearTimeout(Fn.current),Fn.current=setTimeout(()=>{zt(On.current)},1e4)},onEditBlur:rr=>{On.current&&zt(On.current)}};return z.createElement(ye.Fragment,null,kt(Ar),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:In,onClose:lr},z.createElement(ee.Z,Pe({},Yn)))))},Me=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"},Ye={pagination:"pagination___yDAjZ",info:"info___ATmsa",wrap:"wrap____KX19"},He=Se(1710),Ge=Se(58421),Ke=Se(58617),ze=Se(47365),ke=Se(61186),Ne=Se.n(ke),Ve=Se(59301);const{Column:qe}=He.default;var rt=({submitResult:ht,submitting:Ot,submitRecords:Et,page:jt,onPageChange:zt,topicId:kt})=>{const[sn]=(0,je.useSearchParams)(),{records:en,records_count:Qt}=Et||{},[dn,qt]=(0,ye.useState)(!1),In=sn.get("type")==="1";return Ve.createElement(he.Z,{spinning:Ot,tip:"\u8BC4\u6D4B\u4E2D...",indicator:Ve.createElement(Ke.Z,{style:{fontSize:24},spin:!0})},(en==null?void 0:en.length)>0?Ve.createElement(He.default,{dataSource:en,rowKey:"id",pagination:!1},Ve.createElement(qe,{title:"\u63D0\u4EA4\u65F6\u95F4",dataIndex:"created_at",key:"created_at",render:(Sn,Fn)=>Ve.createElement("span",null," ",Ne()(Sn).format("YYYY-MM-DD HH:mm:ss"))}),Ve.createElement(qe,{title:"\u8BC4\u6D4B\u7ED3\u679C",dataIndex:"status",key:"status",render:(Sn,Fn)=>{var On;return Ve.createElement("span",{className:`${Sn===0?"c-green":"c-red"} current`,onClick:()=>{qt(Fn.id)}},(On=Fe.Im[Sn])==null?void 0:On.replace("\u8C03\u8BD5","\u8BC4\u6D4B"))}}),Ve.createElement(qe,{title:`\u6267\u884C\u7528\u65F6 (${In?"MS":"S"})`,dataIndex:"execute_time",key:"execute_time",render:Sn=>Sn?In?Sn:Sn/1e3:""}),Ve.createElement(qe,{title:`\u5185\u5B58\u6D88\u8017\uFF08${In?"KB":"MB"}\uFF09`,dataIndex:"execute_memory",key:"execute_memory",render:Sn=>Sn?In?Sn:parseFloat((Sn/1024).toFixed(2)):""}),Ve.createElement(qe,{title:"\u8BED\u8A00",dataIndex:"language",key:"language"}),Ve.createElement(qe,{title:"\u64CD\u4F5C",dataIndex:"status",key:"status",render:(Sn,Fn)=>Ve.createElement("span",{className:"c-light-primary current",onClick:()=>{qt(Fn.id)}},"\u67E5\u770B")})):Ve.createElement("div",{style:{height:300,width:"100%"}}),Ve.createElement(ze.Z,{onClose:qt,open:dn}),Qt>15?Ve.createElement(Ge.Z,{className:Ye.pagination,current:jt,pageSize:15,total:Qt,onChange:zt}):null)},Qe=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:zt}=ht,[kt]=(0,je.useSearchParams)(),sn=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:sn==null?void 0:sn.color},sn==null?void 0:sn.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"))),kt.get("qtype")==="8"?Te.createElement(Ze.Z,{value:zt,showProgramFill:!0,className:Ie.desc}):Te.createElement(Ze.Z,{value:zt,className:Ie.desc}))},et={},Je=Se(59301),Be=({hack:ht,current_user:Ot})=>Je.createElement("div",{className:et.answer},ht!=null&&ht.answer_text?Je.createElement(Ze.Z,{style:{padding:"13px 0"},value:(ht==null?void 0:ht.answer_text)||""}):Je.createElement(Qe.Z,{customText:"\u6682\u672A\u8BBE\u7F6E\u53C2\u8003\u7B54\u6848~"})),xe=Se(50484),De=Se(7660);function Re(ht,Ot){return(0,De.U2)(`/problems/${ht}/comments.json`,{page:Ot,limit:10})}function Xe(ht){return(0,De.v_)(`/discusses/${ht}/plus.json`,{container_type:"Discuss",type:1})}function nt(ht,Ot,Et){return(0,De.v_)(`/problems/${ht}/comments/reply.json`,{comments:{content:Et,parent_id:Ot}})}function $e(ht,Ot){return(0,De.v_)(`/problems/${ht}/comments.json`,{comments:{content:Ot}})}function tt(ht,Ot,Et){return(0,De.v_)(`/problems/${ht}/comments/${Ot}/hidden.json`,Et)}function st(ht,Ot){return(0,De.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:zt}){const{author:kt,can_delete:sn,content:en,id:Qt,time:dn}=ht;function qt(){zt({id:Qt,index:Ot,type:"delete-discuss",parentDiscussIndex:Et,message:"\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u6761\u56DE\u590D\u5417"})}const In=jt.admin||sn||kt.user_id===jt.user_id;return ye.createElement("div",{className:"discuss-item-container second-discuss "},ye.createElement(lt,{author:kt}),ye.createElement("section",null,ye.createElement("div",{className:"discuss-info"},ye.createElement("a",{href:`/users/${kt.login}`,target:"_blank"},kt.name),ye.createElement("span",{className:"grey"},dn),ye.createElement("div",{className:"btn-group",style:{marginBottom:0}},In?ye.createElement("a",{onClick:qt,title:"\u5220\u9664"},ye.createElement("i",{className:"iconfont icon-shanchu"})):null)),ye.createElement(Ze.Z,{className:"discuss-content",value:en})))}var pt=({user:ht,data:Ot,index:Et,onPlusDiscuss:jt,onSetActionType:zt,activeDiscussIndex:kt,onReplyDiscuss:sn,onSetActiveDiscussIndex:en})=>{const{content:Qt,children:dn,hidden:qt,id:In,praise_count:Sn,time:Fn,user_praise:On,can_delete:Yn,author:lr}=Ot;function Ar(){en(In)}function Pr(){jt(In,!On,Et)}function rr(){zt({id:In,index:Et,type:"delete-discuss",message:"\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u6761\u56DE\u590D\u5417"})}function dr(){zt({id:In,index:Et,params:{hidden:qt?"0":"1"},type:"hidden-discuss",message:qt?"\u786E\u5B9A\u8981\u53D6\u6D88\u9690\u85CF\u8BE5\u6761\u56DE\u590D\u5417":"\u786E\u5B9A\u8981\u9690\u85CF\u8BE5\u6761\u56DE\u590D\u5417"})}const Dr=ht.admin||ht.user_id===lr.user_id;return ye.createElement("div",{className:"discuss-item-container",key:In},ye.createElement(lt,{author:lr}),ye.createElement("section",null,ye.createElement("div",{className:"discuss-info"},ye.createElement("a",{href:`/users/${lr.login}`,target:"_blank"}," ",lr.name," "),ye.createElement("span",{className:"grey"},Fn)),ye.createElement(Ze.Z,{className:"discuss-content",value:Qt}),dn&&dn.length>0?ye.createElement("div",{className:"reply-discuss-container"},dn.map((Zn,gr)=>ye.createElement(ut,{key:Zn.id,data:Zn,index:gr,user:ht,onSetActionType:zt,parentDiscussIndex:Et}))):null,ye.createElement("div",{className:"btn-group"},Dr?ye.createElement("a",{onClick:dr,title:qt?"\u53D6\u6D88\u9690\u85CF":"\u9690\u85CF\u8BC4\u8BBA"},ye.createElement("i",{className:qt?"iconfont icon-yincangbiyan":"fa fa-eye"})):null,Yn&&(!dn||dn.length==0)?ye.createElement("a",{onClick:rr,title:"\u5220\u9664"},ye.createElement("i",{className:"iconfont icon-shanchu"})):null,ye.createElement("a",{onClick:Ar,title:"\u56DE\u590D"}," ",ye.createElement("i",{className:"iconfont icon-huifu1"})," "),ye.createElement("a",{onClick:Pr,className:On?"c-orange":""},ye.createElement("i",{className:On?"iconfont icon-dianzan mr3":"iconfont icon-dianzan-xian mr3 "}),ye.createElement("span",null,Sn||""))),ye.createElement(it.Z,{id:In,activeDiscussIndex:kt,onReplyDiscuss:sn})))},vt=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"},Pt=Se(64726),At=(ht,Ot,Et)=>new Promise((jt,zt)=>{var kt=Qt=>{try{en(Et.next(Qt))}catch(dn){zt(dn)}},sn=Qt=>{try{en(Et.throw(Qt))}catch(dn){zt(dn)}},en=Qt=>Qt.done?jt(Qt.value):Promise.resolve(Qt.value).then(kt,sn);en((Et=Et.apply(ht,Ot)).next())}),Dt=({user_praise:ht,praise_count:Ot,praisePlus:Et,onCreateDiscuss:jt,discuss_count:zt})=>{const[kt,sn]=(0,ye.useState)(!1),[en,Qt]=(0,ye.useState)("");function dn(Fn){Qt(Fn)}function qt(){sn(!0)}function In(){sn(!1)}function Sn(){return At(this,null,function*(){jt(en),Qt(""),sn(!1)})}return ye.createElement("div",{className:`${mt["dis-input-editor-container"]} ${kt?mt.active:""} `},ye.createElement("div",{className:kt?`hide ${mt["text-area"]}`:mt["text-area"]},ye.createElement("input",{placeholder:"\u8BF4\u70B9\u4EC0\u4E48",onClick:qt}),ye.createElement("a",null," ",ye.createElement("i",{className:"iconfont icon-huifu1"})," \xA0 \xA0",zt," "),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):"")),kt?ye.createElement("div",{className:mt["input-mask"],onClick:In}):null,ye.createElement("div",{className:kt?mt["md-container"]:`${mt["md-container"]} hide`},ye.createElement(Pt.Z,{id:"discuss-input-editor",miniToolbar:!0,watch:!1,noStorage:!0,defaultValue:en,height:240,onChange:dn}),ye.createElement("div",{className:mt["tip-container"],onClick:In},ye.createElement("a",{className:mt["btn-send"],onClick:Sn}," \u53D1\u9001 "))))},bt=Se(59301),Ct=Object.defineProperty,_t=Object.defineProperties,cn=Object.getOwnPropertyDescriptors,Yt=Object.getOwnPropertySymbols,nn=Object.prototype.hasOwnProperty,Zt=Object.prototype.propertyIsEnumerable,Xt=(ht,Ot,Et)=>Ot in ht?Ct(ht,Ot,{enumerable:!0,configurable:!0,writable:!0,value:Et}):ht[Ot]=Et,Gt=(ht,Ot)=>{for(var Et in Ot||(Ot={}))nn.call(Ot,Et)&&Xt(ht,Et,Ot[Et]);if(Yt)for(var Et of Yt(Ot))Zt.call(Ot,Et)&&Xt(ht,Et,Ot[Et]);return ht},Jt=(ht,Ot)=>_t(ht,cn(Ot)),Dn=(ht,Ot,Et)=>new Promise((jt,zt)=>{var kt=Qt=>{try{en(Et.next(Qt))}catch(dn){zt(dn)}},sn=Qt=>{try{en(Et.throw(Qt))}catch(dn){zt(dn)}},en=Qt=>Qt.done?jt(Qt.value):Promise.resolve(Qt.value).then(kt,sn);en((Et=Et.apply(ht,Ot)).next())});const wn={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 vn(ht,Ot){switch(Ot.type){case 6:return Jt(Gt({},ht),{loading:!0});case 0:return Gt(Gt({},ht),Ot.payload);case 1:return Gt(Gt({},ht),Ot.payload);case 4:return Gt(Gt({},ht),Ot.payload);case 3:return Gt(Gt({},ht),Ot.payload);case 5:return Jt(Gt({},ht),{page:Ot.payload});case 2:return Gt(Gt({},ht),Ot.payload);default:throw new Error}}var Mt=({user:ht,identifier:Ot,hack:Et,onTriggerPraise:jt,activeIndex:zt})=>{const[kt,sn]=(0,ye.useReducer)(vn,wn),{loading:en,page:Qt,data:dn,count:qt,actionType:In,activeDiscussIndex:Sn}=kt,Fn=(0,ye.useCallback)(()=>Dn(void 0,null,function*(){sn({type:6});const Zn=yield Re(Ot,Qt),{comments:gr,disscuss_count:Qn}=Zn;sn({type:0,payload:{data:gr,count:Qn,loading:!1}})}),[Qt,Ot]);(0,ye.useEffect)(()=>{zt==="2"&&Fn()},[Ot,Qt,zt]);function On(Zn){sn({type:5,payload:Zn})}function Yn(Zn){sn({type:4,payload:{actionType:Zn}})}function lr(Zn){sn(Sn===Zn?{type:2,payload:{activeDiscussIndex:null}}:{type:2,payload:{activeDiscussIndex:Zn}})}function Ar(Zn,gr,Qn){return Dn(this,null,function*(){try{const pn=yield Xe(Zn);dn[Qn].user_praise=gr,dn[Qn].praise_count=pn.praise_count,sn({type:3,payload:{data:[...dn]}})}catch(pn){console.log(pn)}})}function Pr(){return Dn(this,null,function*(){const{id:Zn,params:gr,type:Qn,index:pn,parentDiscussIndex:$n}=In;if(Qn==="hidden-discuss"&&(yield tt(Ot,Zn,gr),$n?dn[$n].children[pn].hidden=gr.hidden==1:dn[pn].hidden=gr.hidden==1,sn({type:4,payload:{actionType:null,data:[...dn]}})),Qn==="delete-discuss"){if(yield st(Ot,Zn),$n||$n===0){let Rt=dn[$n].children;for(let yn=Rt.length-1;yn>=0;yn--)if(Rt[yn].id===Zn){Rt.splice(yn,1);break}dn[$n].children=Rt}else for(let Rt=dn.length-1;Rt>=0;Rt--)if(dn[Rt].id===Zn){dn.splice(Rt,1);break}sn({type:4,payload:{actionType:null,data:[...dn]}})}})}function rr(){sn({type:4,payload:{actionType:null}})}function dr(Zn,gr){return Dn(this,null,function*(){try{yield nt(Ot,Zn,gr),Fn()}catch(Qn){console.log(Qn)}})}function Dr(Zn){return Dn(this,null,function*(){sn({type:6}),yield $e(Ot,Zn),Fn()})}return bt.createElement(bt.Fragment,null,bt.createElement("div",{className:"discuss-panel"},dn.length===0?bt.createElement(Qe.Z,null):dn.map((Zn,gr)=>bt.createElement(pt,{onReplyDiscuss:dr,onPlusDiscuss:Ar,onSetActiveDiscussIndex:lr,onSetActionType:Yn,data:Zn,index:gr,user:ht,activeDiscussIndex:Sn})),qt>10?bt.createElement("div",{className:"pagination-container"},bt.createElement(Ge.Z,{showQuickJumper:!0,onChange:On,current:Qt,total:qt})):null),bt.createElement(Dt,{user_praise:Et.user_praise,praise_count:Et.praises_count,praisePlus:jt,discuss_count:Et.comments_count,onCreateDiscuss:Dr}),bt.createElement(x.Z,null,bt.createElement(pe.default,{centered:!0,title:"\u63D0\u793A",open:!!In,onOk:Pr,onCancel:rr},bt.createElement("p",null,In?In.message:"")),bt.createElement(vt.Z,null)))},St=Se(57809),Lt=Se(92832),Vt=Se(65615),on={},hn=Se(59301),gt=({hack:ht,current_user:Ot})=>hn.createElement("div",{className:on.answer},ht!=null&&ht.analysis?hn.createElement(Ze.Z,{style:{padding:"13px 0"},value:(ht==null?void 0:ht.analysis)||""}):hn.createElement(Qe.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_"},dt=Se(36381),Ut=Se(43604),$t=Se(78241),rn=Se(5871),jn=Se(24833),fn=Se(59301);const{TextArea:Un}=Lt.default,{Panel:Wn}=dt.default;var qn=({data:ht,hack:Ot})=>(console.log(ht,Ot,"data"),Ot!=null&&Ot.is_file?fn.createElement(jn.Y2,{disabled:!0,className:ft.uploadTableWrapper,showScore:!Ot.test_set_score,data:ht,isProgramHomework:!0}):fn.createElement("div",{className:ft.hackSets},ht==null?void 0:ht.map((Et,jt)=>fn.createElement(dt.default,{accordion:!0,bordered:!1,key:jt,defaultActiveKey:jt===0&&Et.id,className:ft.collapseWrapper,expandIcon:({isActive:zt})=>fn.createElement("i",{className:`iconfont icon-weizhankai ${zt?ft.open:ft.close}`,style:{fontSize:14,transition:"all .2s"}})},fn.createElement(Wn,{key:Et.id,header:fn.createElement(ie.Z,{align:"middle",justify:"space-between",wrap:!1},fn.createElement(Ut.Z,{className:ft.panelHeader},fn.createElement("span",null,"\u6D4B\u8BD5\u7528\u4F8B",jt+1)),fn.createElement(Ut.Z,{flex:1},fn.createElement(ie.Z,{align:"middle",justify:"end",wrap:!1},!(Ot!=null&&Ot.test_set_score)&&fn.createElement(Ut.Z,{className:ft.rateInput},fn.createElement("span",{className:"mr20"},"\u8BC4\u5206\u5360\u6BD4"),fn.createElement("div",null,fn.createElement($t.default.Item,{noStyle:!0},fn.createElement(rn.Z,{value:Et==null?void 0:Et.score,className:ft.baseFormItem,min:0,max:100,disabled:!0}))),fn.createElement("span",{className:"ml10"},"%")))))},fn.createElement($t.default.Item,{label:"\u8F93\u5165",labelCol:{span:24}},fn.createElement(Un,{readOnly:!0,value:Et==null?void 0:Et.input,rows:4})),fn.createElement($t.default.Item,{label:"\u8F93\u51FA",labelCol:{span:24}},fn.createElement(Un,{readOnly:!0,value:Et==null?void 0:Et.output,rows:4}))))))),Nt={tabs:"tabs___p2jIb",tabWarp:"tabWarp___mt05L",tab:"tab___IYGdQ",active:"active___fQMlP",content:"content___GWVJY"},xt=Se(59301),Wt=(0,ye.forwardRef)(({data:ht=[]},Ot)=>{var Et;const[jt,zt]=(0,ye.useState)(),kt=ht.filter(en=>en.show);(0,ye.useEffect)(()=>{kt.length&&zt(kt[0].id)},[ht==null?void 0:ht.length]);const sn=((Et=kt.find(en=>en.id===jt))==null?void 0:Et.element)||null;return(0,ye.useImperativeHandle)(Ot,()=>({setActiveTab:en=>zt(en)})),xt.createElement("div",{className:Nt.tabs},xt.createElement("div",{className:Nt.tabWarp},kt.map(en=>xt.createElement("div",{onClick:()=>zt(en.id),className:`${Nt.tab} ${en.id===jt?Nt.active:""}`,key:en.id},en.name))),xt.createElement("div",{className:Nt.content},sn))}),wt=Se(59301),Tt=Object.defineProperty,Ft=Object.defineProperties,tn=Object.getOwnPropertyDescriptors,ln=Object.getOwnPropertySymbols,mn=Object.prototype.hasOwnProperty,En=Object.prototype.propertyIsEnumerable,Cn=(ht,Ot,Et)=>Ot in ht?Tt(ht,Ot,{enumerable:!0,configurable:!0,writable:!0,value:Et}):ht[Ot]=Et,bn=(ht,Ot)=>{for(var Et in Ot||(Ot={}))mn.call(Ot,Et)&&Cn(ht,Et,Ot[Et]);if(ln)for(var Et of ln(Ot))En.call(Ot,Et)&&Cn(ht,Et,Ot[Et]);return ht},_n=(ht,Ot)=>Ft(ht,tn(Ot)),Tn=(ht,Ot,Et)=>new Promise((jt,zt)=>{var kt=Qt=>{try{en(Et.next(Qt))}catch(dn){zt(dn)}},sn=Qt=>{try{en(Et.throw(Qt))}catch(dn){zt(dn)}},en=Qt=>Qt.done?jt(Qt.value):Promise.resolve(Qt.value).then(kt,sn);en((Et=Et.apply(ht,Ot)).next())});const It={1:"\u7B80\u5355",2:"\u9002\u4E2D",3:"\u56F0\u96BE"},ar={1:"#2fa34f",2:"#0152d9",3:"#fa6400"};var zn=({hack:ht,onTriggerPraise:Ot,topicId:Et,page:jt,onPageChange:zt,user:kt,current_user:sn,submitRecords:en,submitting:Qt,submitResult:dn,setActiveIndex:qt,hack_sets:In})=>{var Sn,Fn;const[On]=(0,je.useSearchParams)(),[Yn,lr]=(0,ye.useState)("0"),Ar=(0,je.useLocation)(),[Pr,rr]=(0,ye.useState)(!1),[dr,Dr]=(0,ye.useState)(null),[Zn,gr]=(0,ye.useState)([]),[Qn,pn]=(0,ye.useState)([]),[$n,Rt]=(0,ye.useState)({page:1,limit:10}),yn=(0,ye.useRef)(null),Vn=(0,ye.useRef)(null);console.log(kt,"user");let[Rn,er]=(0,ye.useState)(_n(bn({},(0,je.useParams)()),{page:1,per_page:20,name:""}));(0,ye.useEffect)(()=>{Vn.current&&(ht==null?void 0:ht.is_close_tips)===!1&&dr===null&&Dr(!0)},[Vn.current,ht==null?void 0:ht.is_close_tips,dr]);function mr(){return Tn(this,null,function*(){yield(0,De.ZP)("/api/users/close_tips.json",{method:"post"})})}(0,ye.useEffect)(()=>{qt(Yn)},[Yn]);function ir(Gn){return Tn(this,null,function*(){let Er=Gn.target.id;if(Er==="1"){let Mr=yield(0,De.ZP)(`/api/myproblems/${Rn.id}/redo_logs.json`,{method:"get",params:bn({},$n)});(Mr==null?void 0:Mr.status)===0&&pn(Mr==null?void 0:Mr.data)}lr(Er)})}(0,ye.useEffect)(()=>xe.Z.subscribe("to-commit-info",()=>{lr("1"),yn.current&&yn.current.setActiveTab("1")}),[]),(0,ye.useEffect)(()=>xe.Z.subscribe("to-reset-info",()=>{ir({target:{id:"1"}}),yn.current&&yn.current.setActiveTab("2")}),[]);function vr(){lr("2")}function tr(){return Tn(this,null,function*(){let Gn=yield(0,De.ZP)("/api/problems/my_hack_list.json",{method:"get",params:bn({identifier:Rn==null?void 0:Rn.id},Rn)});gr(Gn)})}const Pn=[{title:null,description:wt.createElement("div",null,wt.createElement("b",{onClick:()=>{Dr(!1),mr(),rr(!0),tr()},className:"c-light-primary font16 current"},"\u67E5\u770B\u9898\u76EE\u5217\u8868\u5165\u53E3"),wt.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"),wt.createElement(ce.ZP,{onClick:()=>{Dr(!1),mr()},style:{padding:"2px 29px",height:30,float:"right"},type:"primary"},"\u77E5\u9053\u4E86")),target:()=>Vn.current}];return wt.createElement("div",{className:Le["left-panel"]},wt.createElement("ul",{className:`${Le["s-navs"]} ${Le["bg-white"]} ${Le.b1}`},(ht==null?void 0:ht.is_program)&&!On.get("pageId")&&wt.createElement(oe.Z,{title:"\u9898\u76EE\u5217\u8868"},wt.createElement("div",{onClick:()=>{tr(),rr(!0)},className:Le.btns,ref:Vn,style:dr?{pointerEvents:"none"}:{}},wt.createElement("i",{className:"iconfont icon-yidongdaomulu1 font14 c-white"}))),wt.createElement("li",{style:{marginLeft:20}},wt.createElement("a",{className:Yn==="0"?Le.active:"",id:"0",onClick:ir},"\u9898\u76EE\u63CF\u8FF0")),wt.createElement("li",null,wt.createElement("a",{className:Yn==="1"?Le.active:"",id:"1",onClick:ir},"\u64CD\u4F5C\u8BB0\u5F55")),(On.get("type")!=="exercises"&&(ht==null?void 0:ht.answer_text_show)||On.get("type")!=="exercises"&&(ht==null?void 0:ht.analysis_show))&&wt.createElement("li",null,wt.createElement("a",{className:Yn==="4"?Le.active:"",id:"4",onClick:ir},"\u89E3\u7B54\u53C2\u8003")),On.get("type")!=="exercises"&&wt.createElement("li",null,wt.createElement("a",{className:Yn==="2"?Le.active:"",id:"2",onClick:ir},"\u8BC4\u8BBA")),!!(In!=null&&In.length)&&On.get("type")!=="exercises"&&On.get("type")!=="1"&&wt.createElement("li",null,wt.createElement("a",{className:Yn==="5"?Le.active:"",id:"5",onClick:ir},"\u6D4B\u8BD5\u7528\u4F8B"))),wt.createElement("div",{className:`${Le["tab-panel-body"]} ${Yn==="0"?"":"hide"}`,style:{borderRight:"1px #dddddd solid",padding:0}},wt.createElement(at,{hack:ht,onTriggerPraise:Ot,toDiscuss:vr})),wt.createElement("div",{style:{padding:"12px"},className:`${Le["tab-panel-body"]} ${Yn==="1"?"":"hide"}`},wt.createElement(Wt,{ref:yn,data:[{id:"1",show:On.get("qtype")!=="8",name:"\u63D0\u4EA4\u8BB0\u5F55",element:wt.createElement(wt.Fragment,null,en!=null&&en.records_count||Qt?wt.createElement(rt,{page:jt,onPageChange:zt,topicId:Et,submitting:Qt,key:(dn==null?void 0:dn.id)||1,submitRecords:en,submitResult:dn}):wt.createElement(Qe.Z,null))},{id:"2",show:On.get("type")==="exercises"||(ht==null?void 0:ht.homework_common_id),name:"\u91CD\u7F6E\u8BB0\u5F55",element:wt.createElement(wt.Fragment,null,wt.createElement(He.default,{pagination:!1,dataSource:Qn==null?void 0:Qn.list,columns:[{title:"\u6062\u590D\u521D\u59CB\u4EE3\u7801\u65F6\u95F4",dataIndex:"created_at",render:(Gn,Er,Mr)=>Ne()(Gn).format("YYYY-MM-DD HH:mm:ss")},{title:"\u64CD\u4F5C",dataIndex:"redo_type",render:(Gn,Er,Mr)=>{var Rr;return(Rr=[{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(Ur=>Ur.id===Gn))==null?void 0:Rr.name}}]}),wt.createElement(Ge.Z,{style:{marginTop:10},current:$n.page,total:Qn==null?void 0:Qn.count,hideOnSinglePage:!0,onChange:Gn=>Tn(void 0,null,function*(){$n.page=Gn,Rt($n);let Er=yield(0,De.ZP)(`/api/myproblems/${Rn.id}/redo_logs.json`,{method:"get",params:_n(bn({},$n),{courseId:Rn.courseId})});(Er==null?void 0:Er.status)===0&&pn(Er==null?void 0:Er.data)})}))}]})),wt.createElement("div",{style:{padding:"12px"},className:`${Le["tab-panel-body"]} ${Yn==="4"?"":"hide"}`},wt.createElement(Wt,{data:[{id:"1",show:On.get("type")!=="exercises"&&(ht==null?void 0:ht.answer_text_show),name:"\u7B54\u6848",element:wt.createElement(wt.Fragment,null,wt.createElement(Be,{hack:ht,current_user:sn}))},{id:"2",show:On.get("type")!=="exercises"&&(ht==null?void 0:ht.analysis_show),name:"\u89E3\u6790",element:wt.createElement(wt.Fragment,null,wt.createElement(gt,{hack:ht,current_user:sn}))}]})),wt.createElement("div",{className:`${Le["tab-panel-body"]} ${Yn==="2"?"":"hide"}`,style:{padding:0}},wt.createElement(Mt,{user:kt,activeIndex:Yn,identifier:ht.identifier,hack:ht,onTriggerPraise:Ot})),wt.createElement("div",{className:`${Le["tab-panel-body"]} ${Yn==="5"?"":"hide"}`,style:{padding:12}},wt.createElement(qn,{data:In||[],hack:ht})),wt.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:()=>rr(!1),open:Pr},wt.createElement(ie.Z,null,wt.createElement("b",{style:{color:"#008CFF",fontWeight:500,lineHeight:"19px"},className:"font16"},"\u9898\u76EE\u5217\u8868"),wt.createElement("span",{style:{color:"#FA8D30",fontWeight:500},className:"font12 ml10"},"\u5171",Zn==null?void 0:Zn.total_count,"\u9898\xA0[\xA0",Zn==null?void 0:Zn.total_score,"\u5206\xA0]\xA0"),!(kt!=null&&kt.hack_manager)&&wt.createElement("span",{style:{color:"#FA8D30",fontWeight:500,marginLeft:"auto"},className:"font12"},"\u6211\u7684\u5F97\u5206\xA0:\xA0",Zn==null?void 0:Zn.work_score,"\u5206")),wt.createElement("div",{style:{height:1,background:"#1C313F",marginTop:12}}),wt.createElement(ie.Z,{align:"middle",className:"mt10 mb10"},!(kt!=null&&kt.hack_manager)&&wt.createElement(St.default,{size:"large",className:"mr10",style:{width:104},placeholder:"\u901A\u8FC7\u60C5\u51B5",onChange:Gn=>{Rn.page=1,Rn.finish_status=Gn,er(bn({},Rn)),tr()}},wt.createElement(St.default.Option,{value:""},"\u5168\u90E8"),wt.createElement(St.default.Option,{value:0},"\u672A\u5F00\u59CB"),wt.createElement(St.default.Option,{value:1},"\u8FDB\u884C\u4E2D"),wt.createElement(St.default.Option,{value:2},"\u5DF2\u5B8C\u6210")),wt.createElement(St.default,{size:"large",className:"mr10",style:{width:104},placeholder:"\u9898\u76EE\u96BE\u5EA6",onChange:Gn=>{Rn.page=1,Rn.difficult=Gn||null,er(bn({},Rn)),tr()}},wt.createElement(St.default.Option,{value:0},"\u5168\u90E8"),wt.createElement(St.default.Option,{value:1},"\u7B80\u5355"),wt.createElement(St.default.Option,{value:2},"\u9002\u4E2D"),wt.createElement(St.default.Option,{value:3},"\u56F0\u96BE")),wt.createElement(Lt.default.Search,{size:"large",onSearch:Gn=>{Rn.name=Gn,Rn.page=1,er(bn({},Rn)),tr()},style:{flex:1},placeholder:"\u8BF7\u8F93\u5165\u9898\u76EE\u540D\u79F0\u8FDB\u884C\u641C\u7D22"})),wt.createElement("div",{className:Le.list,style:{height:36,background:"#3D445C"}},!(kt!=null&&kt.hack_manager)&&wt.createElement("span",null,"\u72B6\u6001"),wt.createElement("span",null,"\u5E8F\u53F7"),wt.createElement("span",{style:{flex:1}},"\u9898\u76EE\u540D\u79F0"),wt.createElement("span",{style:{flexBasis:48,paddingRight:0}},"\u96BE\u5EA6")),wt.createElement("div",{style:{overflow:"auto",flex:1}},(Sn=Zn==null?void 0:Zn.data)!=null&&Sn.length?(Fn=Zn==null?void 0:Zn.data)==null?void 0:Fn.map((Gn,Er)=>wt.createElement("div",{onClick:()=>Tn(void 0,null,function*(){let Mr=yield(0,De.ZP)(`/api/problems/${Gn==null?void 0:Gn.identifier}/start.json`,{method:"get",params:{hack_user_id:kt==null?void 0:kt.user_id}});Mr&&(je.history.replace(`/myproblems/${Mr==null?void 0:Mr.identifier}${window.location.search}`),window.location.reload())}),className:`${Le.list} ${Gn!=null&&Gn.checked?Le.active:""}`},!(kt!=null&&kt.hack_manager)&&wt.createElement(wt.Fragment,null,!(Gn!=null&&Gn.opened)&&wt.createElement("span",{style:{color:"#E02020"}},"\u672A\u5F00\u59CB"),(Gn==null?void 0:Gn.opened)&&!(Gn!=null&&Gn.passed)&&wt.createElement("span",{style:{color:"#FA6400"}},"\u8FDB\u884C\u4E2D"),(Gn==null?void 0:Gn.opened)&&(Gn==null?void 0:Gn.passed)&&wt.createElement("span",{style:{color:"#24C074"}},"\u5DF2\u5B8C\u6210")),wt.createElement("span",null,(Rn.page-1)*20+(Er+1)),wt.createElement("span",{style:{flex:1},title:Gn.name},`[${Gn==null?void 0:Gn.score}\u5206]`,"\xA0",Gn.name),wt.createElement("span",{style:{flexBasis:48,paddingRight:0}},It[Gn.difficult]))):wt.createElement(Qe.Z,null)),wt.createElement(Ge.Z,{current:Rn.page,className:"mt20",hideOnSinglePage:!0,total:Zn==null?void 0:Zn.count,pageSize:Rn.per_page,onChange:(Gn,Er)=>{Rn.page=Gn,Rn.per_page=Er,tr()}})),wt.createElement(Vt.Z,{rootClassName:Le.tour,closeIcon:!1,open:!!dr,steps:Pn,gap:{offset:3,radius:2}}))},Hn=Se(62522),gn=Se(93261),Bt=Se(46942),Ht=Se(38992),an=Se(39649),un=Se(71400),An=Se(7850),Mn=Se(92310),Bn=Se.n(Mn),Nn=Se(48569),nr=Se(18378),wr=Se(54318),yr=Se(71302),Kt=Se(59301),xr=Object.defineProperty,Lr=Object.defineProperties,Tr=Object.getOwnPropertyDescriptors,ur=Object.getOwnPropertySymbols,br=Object.prototype.hasOwnProperty,pr=Object.prototype.propertyIsEnumerable,cr=(ht,Ot,Et)=>Ot in ht?xr(ht,Ot,{enumerable:!0,configurable:!0,writable:!0,value:Et}):ht[Ot]=Et,kn=(ht,Ot)=>{for(var Et in Ot||(Ot={}))br.call(Ot,Et)&&cr(ht,Et,Ot[Et]);if(ur)for(var Et of ur(Ot))pr.call(Ot,Et)&&cr(ht,Et,Ot[Et]);return ht},Kn=(ht,Ot)=>Lr(ht,Tr(Ot)),hr=(ht,Ot)=>{var Et={};for(var jt in ht)br.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&&pr.call(ht,jt)&&(Et[jt]=ht[jt]);return Et},Xn=(ht,Ot,Et)=>new Promise((jt,zt)=>{var kt=Qt=>{try{en(Et.next(Qt))}catch(dn){zt(dn)}},sn=Qt=>{try{en(Et.throw(Qt))}catch(dn){zt(dn)}},en=Qt=>Qt.done?jt(Qt.value):Promise.resolve(Qt.value).then(kt,sn);en((Et=Et.apply(ht,Ot)).next())});const{Countdown:fr}=E.default,sr={Java:"java",C:"c",Python:"py","C++":"c"};var Cr=(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))(Cr||{});function Sr(){return new Date().getTime()}const or={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 kn(kn({},ht),Ot.payload);case 3:return Kn(kn({},ht),{data:Ot.payload});case 0:return Kn(kn({},ht),{loading:Ot.payload});case 9:return Kn(kn({},ht),{showNote:Ot.payload});case 4:return Kn(kn({},ht),{debuging:Ot.payload});case 5:return Kn(kn({},ht),{submitting:Ot.payload});case 2:return Kn(kn({},ht),{submitRecords:Ot.payload});case 10:return Kn(kn({},ht),{submitRecordPage:Ot.payload});case 6:return Kn(kn({},ht),{executingMessage:Ot.payload});case 7:return kn(kn({},ht),Ot.payload);case 8:return kn(kn({},ht),Ot.payload);default:throw new Error}}var _r=({children:ht})=>{var Ot,Et,jt,zt,kt;const[sn,en]=(0,ye.useReducer)(Br,or),{id:Qt}=(0,je.useParams)(),dn=(0,je.useLocation)(),[qt]=(0,je.useSearchParams)(),{loading:In,data:Sn,debugResult:Fn,submitResult:On,submitRecords:Yn,submitRecordPage:lr,showNote:Ar,debuging:Pr,submitting:rr,executingMessage:dr}=sn,[Dr,Zn]=(0,ye.useState)("#37AD83"),[gr,Qn]=(0,ye.useState)(null),[pn,$n]=(0,ye.useState)({}),[Rt,yn]=(0,ye.useState)(!0),[Vn,Rn]=(0,ye.useState)(!1),[er,mr]=(0,ye.useState)(!1),ir=(0,ye.useRef)(null),vr=(0,ye.useRef)(0),tr=Sn==null?void 0:Sn.user,Pn=Sn==null?void 0:Sn.hack,[Gn,Er]=(0,ye.useState)(!1),Mr=(0,ye.useRef)(1),Rr=(0,ye.useRef)(!1);(0,Nn.y)(qt.get("type")==="exercises");const{setOpenDisableCopyAndPaste:Ur}=(0,Nn.X)(),[Wr,zr]=(0,ye.useState)(""),Gr=(0,an._)(pn);(0,ye.useEffect)(()=>{function xn(){return Xn(this,null,function*(){var Jn,Fr,Nr,Vr,Hr;yn(!0);const kr=yield(0,ue.fu)(Qt,{exercise_id:qt.get("exercisesId")});if(setTimeout(()=>{yn(!1)},800),kr.status!==401){try{kr.hack.code=Oe.Base64.decode(kr.hack.code)}catch(Or){console.log(Or)}kr.hack=Kn(kn({},kr.hack),{is_program:qt.get("type")==="1"}),en({type:1,payload:{loading:!1,data:kr}})}if(qt.get("type")==="exercises"){if(window.self===window.top){window.top.location.href="/";return}let Or;qt.get("coursesId")=="coursesId"?Or=yield(0,se._F)({categoryId:qt.get("exercisesId"),login:qt.get("login")}):Or=yield(0,se._B)({categoryId:qt.get("exercisesId"),login:qt.get("login")}),$n(kn({},Or)),Ur((Jn=Or==null?void 0:Or.exercise)==null?void 0:Jn.forbid_copy),typeof((Fr=Or==null?void 0:Or.exercise)==null?void 0:Fr.left_time)=="number"&&(Qn(Date.now()+((Nr=Or==null?void 0:Or.exercise)==null?void 0:Nr.left_time)*1e3),setTimeout(()=>{Zn("red")},(((Vr=Or==null?void 0:Or.exercise)==null?void 0:Vr.left_time)-300>0?((Hr=Or==null?void 0:Or.exercise)==null?void 0:Hr.left_time)-300:0)*1e3))}})}Qt&&xn()},[Qt]),(0,ye.useEffect)(()=>{var xn;return qt.get("type")==="exercises"&&((xn=pn==null?void 0:pn.exercise)!=null&&xn.screen_open)&&(window.removeEventListener("blur",Qr,!1),un.U.forEach((Jn,Fr)=>{window.addEventListener(Jn,Qr,!1)}),window.addEventListener("blur",Qr,!1),window.focus()),()=>{document.removeEventListener((0,ae.gH)(),Qr)}},[pn]),(0,ye.useEffect)(()=>{Wr==="1"&&Qt&&Pn!=null&&Pn.language&&ta()},[Qt,lr,Pn==null?void 0:Pn.language,Wr]),(0,ye.useEffect)(()=>(Pn!=null&&Pn.is_program&&(vr.current=0,ir.current=setInterval(()=>{Yr()},15e3)),()=>{clearInterval(ir.current)}),[Pn==null?void 0:Pn.is_program]);const Yr=()=>Xn(void 0,null,function*(){let xn=yield(0,De.ZP)(`/api/myproblems/${Qt}/save_long_time.json`,{method:"get",params:{answer_long_time:vr.current}})}),Qr=()=>{Rr.current||(0,ae.BU)(),window.parent.postMessage("backExercise","*")};function ta(){return Xn(this,null,function*(){try{const xn=yield(0,ue.zO)(Qt,{limit:15,page:lr,language:Pn==null?void 0:Pn.language});en({type:2,payload:xn})}catch(xn){console.log(xn)}})}function na(xn){en({type:10,payload:xn})}function Kr(xn){return Xn(this,null,function*(){var Jn;let Fr;(qt.get("ip_limit")==="inner"||qt.get("ip_bind_type")==="true")&&(Fr=yield(0,gn.y)({ip_limit:qt.get("ip_limit"),ip_bind:qt.get("ip_bind_type")==="true"}));const Nr=yield(0,ue.n4)(Qt,{code:Oe.Base64.encode(xn||Pn.code),language:Pn==null?void 0:Pn.language,exercise_id:qt.get("exercisesId"),question_id:qt.get("questionId"),ip:Fr});return Nr.status===-5&&(0,je.getDvaApp)()._store.dispatch({type:"exercise/setActionTabs",payload:{key:"student-unlock",exerciseParams:Kn(kn({errorMessage:Nr==null?void 0:Nr.message},(pn==null?void 0:pn.exercise)||{}),{exercise_user_id:(Jn=pn==null?void 0:pn.exercise)==null?void 0:Jn.exercise_user_id,id:qt.get("exercisesId")})}}),Nr})}function qr(){return Xn(this,null,function*(){if(Mr.current=2,!rr){en({type:5,payload:!0});try{xe.Z.publish("to-commit-info");const xn=yield Kr();if(console.log(xn,1),xn.status===0){let kr=function(){return Xn(this,null,function*(){const{status:Or,data:Zr}=yield(0,ue.rX)(Qt,"submit"),Xr=Sr()-Hr>(Nr*Vr+3)*1e3;if(Or!==0&&!Xr&&setTimeout(kr,1e3),Xr){pe.default.error({centered:!0,okText:"\u77E5\u9053\u5566",title:"\u8BC4\u6D4B\u4EE3\u7801\u8D85\u65F6"}),en({type:5,payload:!1});return}if(Or===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&&qt.get("type")==="1"&&mr(!0);const ma=yield(0,ue.zO)(Qt,{limit:15,page:lr,language:Pn==null?void 0:Pn.language});en({type:8,payload:Kn(kn({},sn),{submitResult:Zr,submitting:!1,submitRecords:ma})})}})},Jn={};if(qt.get("type")==="exercises"&&(Jn.extras={exercise_id:qt.get("exercisesId"),question_id:qt.get("questionId")},(qt.get("ip_limit")==="inner"||qt.get("ip_bind_type")==="true")&&(Jn.extras.ip=yield(0,gn.y)({ip_limit:qt.get("ip_limit"),ip_bind:qt.get("ip_bind_type")==="true"}))),(yield(0,ue.bM)(Qt,Jn)).status===-1&&qt.get("exercisesId")){window.parent.location.href=`/classrooms/${qt.get("coursesId")}/exercise/${qt.get("exercisesId")}/detail`;return}const{time_limit:Nr,test_case_size:Vr}=Pn,Hr=Sr();kr()}else en({type:5,payload:!1})}catch(xn){console.log(xn),en({type:5,payload:!1})}Er(!1)}})}function $r(){return Xn(this,null,function*(){Mr.current=1,sn.debuging=!0,en({type:4,payload:!0});try{if((yield Kr()).status===0){let Hr=function(){return Xn(this,null,function*(){const{status:kr,message:Or,data:Zr}=yield(0,ue.rX)(Qt,"debug"),Xr=Sr()-Vr>(Jn+3)*1e3;if(kr!==0&&!Xr&&(en({type:6,payload:Or}),setTimeout(Hr,1e3)),Xr){pe.default.error({title:"\u63D0\u793A",centered:!0,okText:"\u77E5\u9053\u5566",content:"\u8C03\u8BD5\u4EE3\u7801\u8D85\u65F6"}),en({type:4,payload:!1}),en({type:7,payload:Kn(kn({},sn),{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"}),en({type:4,payload:!1}),en({type:7,payload:Kn(kn({},sn),{debugResult:Zr,debuging:!1})}))})};const{time_limit:Jn}=Pn;let Fr={input:encodeURIComponent(Sn.test_case.input)};if(qt.get("type")==="exercises"&&(Fr.exercise_id=qt.get("exercisesId")),(yield(0,ue.MU)(Qt,Fr)).status===-1&&qt.get("exercisesId")){window.parent.location.href=`/classrooms/${qt.get("coursesId")}/exercise/${qt.get("exercisesId")}/detail`;return}const Vr=Sr();Hr()}else en({type:4,payload:!1})}catch(xn){console.log(xn)}finally{}})}function Jr(xn,Jn){const Fr=Jn?{modify_code:!1}:{};en({type:3,payload:Kn(kn({},Sn),{hack:kn(Kn(kn({},Pn),{code:xn}),Fr)})}),Er(!0)}const ra=xn=>Xn(void 0,null,function*(){let Jn=yield(0,De.ZP)(`/api/problems/${Pn==null?void 0:Pn.identifier}/start.json`,{method:"get",params:{language:xn==="C++"||xn==="c++"?encodeURIComponent(xn):xn,hack_user_id:tr==null?void 0:tr.user_id}});Jn.status!==-1&&je.history.replace(`/myproblems/${Jn==null?void 0:Jn.identifier}${window.location.search}`)});function aa(xn){let Jn=xn.target.value;en({type:3,payload:Kn(kn({},Sn),{test_case:{input:Jn}})})}function oa(){return Xn(this,null,function*(){try{let xn={};qt.get("type")==="exercises"?xn.exercise_id=qt.get("exercisesId"):Pn!=null&&Pn.homework_common_id&&(xn.homework_common_id=Pn==null?void 0:Pn.homework_common_id);const Jn=yield(0,ue.H7)(Qt,kn({},xn));Jn.status===401||(Jr(Oe.Base64.decode(Jn.code)),(qt.get("type")==="exercises"||Pn!=null&&Pn.homework_common_id)&&xe.Z.publish("to-reset-info"))}catch(xn){console.log(xn)}})}function ia(){pe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:Kt.createElement("p",null,"\u521D\u59CB\u4EE3\u7801\u6709\u4FEE\u6539\uFF0C\u66F4\u65B0\u540E\u5C06\u8986\u76D6\u73B0\u6709\u4EE3\u7801\u54E6~ ",Kt.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 xn=yield(0,ue.fi)(Qt);xn.status===401||Jr(Oe.Base64.decode(xn.code),!0)})}})}function sa(){en({type:9,payload:!0})}function la(){en({type:9,payload:!1})}function ua(xn){return Xn(this,null,function*(){yield(0,ue.MK)(Qt,xn),en({type:1,payload:{showNote:!1,data:Kn(kn({},Sn),{hack:Kn(kn({},Pn),{notes:xn.notes})})}})})}const ca={hack:Pn,isLoading:Rt,input:(Ot=Sn==null?void 0:Sn.test_case)==null?void 0:Ot.input,is_file:(Et=Sn==null?void 0:Sn.test_case)==null?void 0:Et.is_file,language:Pn==null?void 0:Pn.language,code:Pn==null?void 0:Pn.code,title:"main."+sr[Pn==null?void 0:Pn.language],modify_code:Pn==null?void 0:Pn.modify_code,notes:Pn==null?void 0:Pn.notes,debugResult:Fn,debuging:Pr,submitting:rr,submitResult:On,executingMessage:dr,onCancelNote:la,onAddNote:ua,showNote:Ar,user:tr,onShowNote:sa,onSubmitCode:qr,onChangeCode:Jr,onChangeInput:aa,onDebugCode:$r,onResetCode:oa,onSyncCode:ia,onUpdateCode:Kr,onChangeLanguage:ra,isWhiteTheme:Vn,setIsWhiteTheme:Rn,topDispatch:en};function da(){return Xn(this,null,function*(){const{praise_count:xn}=yield(0,ue.vl)(Pn.id,{container_type:"Hack",type:1});let Jn=Kn(kn({},Sn),{hack:Kn(kn({},Pn),{praises_count:xn,user_praise:!Pn.user_praise})});en({type:3,payload:Jn})})}const fa={topicId:Qt,submitResult:On,submitRecords:Yn,submitting:rr,page:lr,onPageChange:na,hack:Pn,user:Sn==null?void 0:Sn.user,hack_sets:Sn==null?void 0:Sn.hack_sets,current_user:Sn==null?void 0:Sn.current_user,onTriggerPraise:da,setActiveIndex:zr};console.log(pn);const ga=()=>qt.get("type")==="exercises"?!1:!!(qt.get("type")==="1"&&Object.values((Pn==null?void 0:Pn.homework_extension)||{}).some(Boolean));return Kt.createElement(Kt.Fragment,null,Kt.createElement(he.Z,{spinning:In,delay:500},Sn?Kt.createElement(Kt.Fragment,null,Kt.createElement("header",{className:Bn()(An.Z.header,Vn&&An.Z.whiteHeader)},qt.get("type")!=="exercises"&&Kt.createElement("div",null,Kt.createElement("img",{src:`${ne.Z.IMG_SERVER}/images/${tr==null?void 0:tr.image_url}`,alt:"user",width:36}),Kt.createElement("span",{style:{color:Vn?"#333":"#B2BACB",fontSize:16}},tr==null?void 0:tr.name)),qt.get("type")==="exercises"&&Kt.createElement("div",null,Kt.createElement("div",{className:"exercise_user_info"},"\u59D3\u540D",Kt.createElement("span",{className:"ml10"},(jt=pn==null?void 0:pn.exercise)==null?void 0:jt.user_name)),Kt.createElement("div",{className:"exercise_user_info ml30"},"\u5B66\u53F7",Kt.createElement("span",{className:"ml10"},(zt=pn==null?void 0:pn.exercise)==null?void 0:zt.student_id))),Kt.createElement("h2",{className:"flex-wrp flex_box_column flex_box_center"},Kt.createElement("div",null,Pn.name)),(Pn==null?void 0:Pn.is_program)&&Kt.createElement(Bt.Z,{defaultValue:Pn==null?void 0:Pn.answer_long_time,onChange:xn=>{vr.current=xn},className:An.Z.timepiece}),tr!=null&&tr.hack_manager?Kt.createElement(je.Link,{className:An.Z.btn_edit,to:qt.get("type")==="1"?qt.get("pageId")?`/problems/newedit/${Pn.identifier}?type=1&pageId=${qt.get("pageId")}&backUrl=${qt.get("backUrl")}`:`/problems/newedit/${Pn.identifier}?type=1`:`/problems/newedit/${Pn.identifier}`}," ",Kt.createElement("i",{className:"iconfont icon-bianji13 font14 mr5"})," \u7F16\u8F91"):null,((kt=pn==null?void 0:pn.exercise)==null?void 0:kt.left_time)&&Kt.createElement(Kt.Fragment,null,Kt.createElement("span",{style:{color:Dr,marginRight:6},className:`iconfont icon-daojishi ${An.Z.djs}`}),Kt.createElement("span",{className:"c-white mr20"},Kt.createElement(fr,{valueStyle:{color:Dr,fontSize:20,fontWeight:500},title:Kt.createElement("span",{style:{color:Dr,fontSize:14,marginRight:10},className:"time"},"\u5269\u4F59\u7B54\u9898\u65F6\u957F"),value:gr,onFinish:()=>Xn(void 0,null,function*(){const xn=yield(0,se.VL)({categoryId:qt.get("exercisesId"),commit_method:2});if((xn==null?void 0:xn.status)===0&&(Kr(),pe.default.info({width:530,title:"\u63D0\u793A",centered:!0,okText:"\u786E\u5B9A",content:Kt.createElement("div",{className:"tc font16"},"\u7B54\u9898\u7ED3\u675F\u4E86\uFF0C\u7CFB\u7EDF\u5DF2\u81EA\u52A8\u63D0\u4EA4\u8BD5\u5377",Kt.createElement("br",null),"\u4E0D\u80FD\u518D\u4FEE\u6539\u7B54\u9898"),onOk:()=>Xn(void 0,null,function*(){window.parent.location.href=`/classrooms/${qt.get("coursesId")}/exercise/${qt.get("exercisesId")}/detail`})})),(xn==null?void 0:xn.status)===-3){const Jn=parseInt(xn==null?void 0:xn.message);Qn(Date.now()+Jn*1e3)}})}))),qt.get("type")==="exercises"?Kt.createElement(ce.ZP,{type:"primary",onClick:()=>{const xn=()=>Xn(void 0,null,function*(){yield Kr(),Er(!1),Gr(),Rr.current=!0,Qr()});if(!(Yn!=null&&Yn.records_count)||Gn){pe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",icon:null,title:"\u63D0\u793A",content:Kt.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:xn});return}xn()}},Kt.createElement("span",{className:"iconfont icon-yiguanbi mr5 font14"})," \u8FD4\u56DE\u8BD5\u5377"):Kt.createElement("span",{onClick:()=>{var xn;if(qt.get("backUrl"))je.history.push(qt.get("backUrl"));else if(qt.get("type")==="1"){let Jn=(xn=localStorage.getItem("program_homework"))==null?void 0:xn.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")}},Kt.createElement(oe.Z,{title:"\u5173\u95ED"},Kt.createElement("i",{style:{color:Vn?"#8D929F":"#fff"},className:"iconfont icon-fanhuishijuan font16 "})))),Kt.createElement(he.Z,{size:"large",spinning:Rt},Kt.createElement(re.Z,{className:Bn()(An.Z.myProblems,Vn&&An.Z.whiteMyProblems),leftChild:Kt.createElement(zn,kn({},fa)),rightChild:Kt.createElement(jr,kn({},ca))}))):null,Kt.createElement(pe.default,{centered:!0,closable:!1,width:680,footer:null,open:er,className:"oj-modal"},Kt.createElement("section",{className:"oj-modal-content"},Kt.createElement("div",{className:"oj-modal-head"},Kt.createElement("img",{src:Hn,alt:""}),Kt.createElement("i",{onClick:()=>mr(!1),className:"iconfont icon-guanbi1"})),Kt.createElement("aside",null,Kt.createElement("img",{className:"mr30",src:yr.Z}),"\u8FD0\u884C\u65F6\u95F4:\xA0",Kt.createElement("span",{style:{color:"#75d6ba",marginRight:100}},On==null?void 0:On.execute_time,"ms"),"\u4F18\u4E8E",Kt.createElement("span",{style:{color:"#f3b087",margin:"0 5px"}},(On==null?void 0:On.time_better_than)||100,"%"),"\u7684\u7528\u6237"),Kt.createElement("aside",{className:"mb50"},Kt.createElement("img",{src:wr.Z,className:"mr30"}),Kt.createElement("span",{className:"oj-modal-tt"},Kt.createElement("span",null,Kt.createElement("span",null,"\u5360\u7528\u5185\u5B58:\xA0"),Kt.createElement("span",{className:"c-light-primary"},On==null?void 0:On.execute_memory,"kb")),Kt.createElement("span",null,Kt.createElement("span",null))),"\u4F18\u4E8E",Kt.createElement("span",{style:{color:"#f3b087",margin:"0 5px"}},(On==null?void 0:On.memory_better_than)||100,"%"),"\u7684\u7528\u6237"),Kt.createElement("div",{id:"oj-modal-next",onClick:()=>Xn(void 0,null,function*(){var xn;if(On!=null&&On.next_identifier){let Jn=yield(0,De.ZP)(`/api/problems/${On==null?void 0:On.next_identifier}/start.json`,{method:"get",params:{hack_user_id:tr==null?void 0:tr.user_id}});Jn&&(je.history.replace(`/myproblems/${Jn==null?void 0:Jn.identifier}${window.location.search}`),window.location.reload())}else{let Jn=(xn=localStorage.getItem("program_homework"))==null?void 0:xn.split(",");je.history.push(`/classrooms/${Jn==null?void 0:Jn[0]}/program_homework/${Jn==null?void 0:Jn[1]}/detail`)}}),className:"oj-modal-btn"},On!=null&&On.next_identifier?"\u8FDB\u5165\u4E0B\u4E00\u9898":"\u56DE\u5230\u4F5C\u4E1A\u8BE6\u60C5\u9875"))),ga()&&Kt.createElement(nr.Z,{showData:Pn==null?void 0:Pn.homework_extension,description:Pn==null?void 0:Pn.description,code:Pn.code,sendParams:{source:"hack"}})),Kt.createElement(Ht.Z,{successCb:()=>{Mr.current===1?$r():qr()}}))};function Ir({title:ht,modify_code:Ot,onSyncCode:Et,onShowCodeSetting:jt,onResetCode:zt,hack:kt,onChangeLanguage:sn,isWhiteTheme:en}){var Qt;const dn=()=>{pe.default.confirm({title:"\u6062\u590D\u521D\u59CB\u4EE3\u7801",icon:Kt.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:zt})},[qt]=(0,je.useSearchParams)(),In=qt.get("language"),Sn=Fn=>Fn==="1"?"c++":Fn==="2"?"C++":Fn;return(0,ye.useEffect)(()=>{In&&sn(Sn(In))},[]),(0,ye.useEffect)(()=>{kt!=null&&kt.tpm_code_modified&&pe.default.confirm({title:"\u66F4\u65B0\u521D\u59CB\u4EE3\u7801",icon:Kt.createElement(te.Z,null),content:Kt.createElement("div",null,Kt.createElement("div",null,"\u7F16\u7A0B\u9898\u7684\u521D\u59CB\u4EE3\u7801\u5185\u5BB9\u6709\u66F4\u65B0,"),Kt.createElement("div",null,"\u66F4\u65B0\u64CD\u4F5C\u5C06\u4FDD\u7559\u5DF2\u5B8C\u6210\u7684\u8BC4\u6D4B\u8BB0\u5F55\u548C\u6210\u7EE9,"),Kt.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:()=>zt()})},[kt==null?void 0:kt.language]),console.log(kt,en,"hack"),Kt.createElement("div",{className:`${An.Z.codeHead} ${en?An.Z.whiteCodeHead:""}`},Kt.createElement("div",{className:An.Z.navWrap},(Qt=kt==null?void 0:kt.all_language)==null?void 0:Qt.map(Fn=>Kt.createElement("div",{className:`${An.Z.nav} ${Fn===(kt==null?void 0:kt.language)?An.Z.active:""}`,key:Fn,onClick:()=>sn(Fn)},Kt.createElement(oe.Z,{title:"\u7F16\u7A0B\u8BED\u8A00"},Kt.createElement("i",{className:"iconfont icon-bianchengyuyan1"})),Kt.createElement("span",null,Fn)))),Kt.createElement(ie.Z,{align:"middle",style:{marginLeft:"auto"}},Ot?Kt.createElement("a",{title:"\u66F4\u65B0\u901A\u77E5",onClick:Et},Kt.createElement("img",{src:Me,alt:"notice",style:{height:13,transform:"translateY(-2px)"}})):null,Kt.createElement("a",{onClick:dn},Kt.createElement(oe.Z,{title:"\u6062\u590D\u521D\u59CB\u4EE3\u7801"},Kt.createElement("i",{style:{color:"#8D929F"},className:"iconfont icon-huifuchushihuashezhi mr15"}))),Kt.createElement("a",{onClick:jt},Kt.createElement(oe.Z,{title:"\u8BBE\u7F6E"},Kt.createElement("i",{style:{color:"#8D929F"},className:"iconfont icon-shezhi8 font14 mr15"})))))}function jr(ht){var Ot=ht,{input:Et,is_file:jt,showNote:zt,onShowNote:kt,notes:sn,onCancelNote:en,onAddNote:Qt,debugResult:dn,language:qt,debuging:In,submitting:Sn,executingMessage:Fn,code:On,onSubmitCode:Yn,onDebugCode:lr,onChangeCode:Ar,onChangeInput:Pr,onUpdateCode:rr,user:dr,isLoading:Dr,submitResult:Zn}=Ot,gr=hr(Ot,["input","is_file","showNote","onShowNote","notes","onCancelNote","onAddNote","debugResult","language","debuging","submitting","executingMessage","code","onSubmitCode","onDebugCode","onChangeCode","onChangeInput","onUpdateCode","user","isLoading","submitResult"]);function Qn($n){return Kt.createElement(Ir,Kn(kn({},gr),{onShowCodeSetting:$n}))}const pn=kn({input:Et,is_file:jt,debugResult:dn,debuging:In,submitting:Sn,executingMessage:Fn,onDebugCode:lr,onChangeCode:Ar,onSubmitCode:Yn,onChangeInput:Pr,user:dr,submitResult:Zn},gr);return Kt.createElement("div",{style:{display:"flex",flexDirection:"column",height:"100%",background:"#1B2333"}},Kt.createElement(we,{setIsWhiteTheme:gr==null?void 0:gr.setIsWhiteTheme,isLoading:Dr,language:qt,value:On,onChange:Ar,onUpdateCode:rr,ActionBarRender:Qn}),Kt.createElement(Fe.ZP,kn({},pn)))}},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,Ae)=>Ee in Pe?x(Pe,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Ae}):Pe[Ee]=Ae,fe=(Pe,Ee)=>{for(var Ae in Ee||(Ee={}))le.call(Ee,Ae)&&ge(Pe,Ae,Ee[Ae]);if(z)for(var Ae of z(Ee))de.call(Ee,Ae)&&ge(Pe,Ae,Ee[Ae]);return Pe},me=(Pe,Ee)=>b(Pe,ee(Ee)),be=(Pe,Ee,Ae)=>new Promise((Ce,_e)=>{var we=Fe=>{try{Oe(Ae.next(Fe))}catch(Le){_e(Le)}},Me=Fe=>{try{Oe(Ae.throw(Fe))}catch(Le){_e(Le)}},Oe=Fe=>Fe.done?Ce(Fe.value):Promise.resolve(Fe.value).then(we,Me);Oe((Ae=Ae.apply(Pe,Ee)).next())});const ve=({problemset:Pe,dispatch:Ee})=>{var Ae,Ce,_e,we,Me;const[Oe,Fe]=(0,ye.useState)({}),[Le,Ye]=(0,ye.useState)([]),[He,Ge]=(0,ye.useState)(!1),[Ke,ze]=(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),Ye((Ze=Te==null?void 0:Te.standard_answer)==null?void 0:Ze.map(We=>({value:"",answer:(We==null?void 0:We.answer_text)||[]})))}},[(Ae=Pe==null?void 0:Pe.actionTabs)==null?void 0:Ae.key]);function qe(){return new Date().getTime()}const rt=()=>be(void 0,null,function*(){var Ue,Ie,Ze,Te,We;if(Le.some(Je=>(Je==null?void 0:Je.value)==="")&&!He){E.ZP.warning("\u8BF7\u60A8\u4F5C\u7B54\u540E\u518D\u63D0\u4EA4");return}if(He){const Je=(0,he.cloneDeep)((Ue=Pe==null?void 0:Pe.actionTabs)==null?void 0:Ue.params);Ye([...(Ie=Je==null?void 0:Je.standard_answer)==null?void 0:Ie.map(Be=>({value:"",answer:(Be==null?void 0:Be.answer_text)||[],type:""}))]),Ge(!He);return}else{let Je=Le==null?void 0:Le.map((Be,xe)=>me(fe({},Be),{type:Be.types}));Ye(Je)}console.log(Le),ze(!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(Je=>Je.value)});if((et==null?void 0:et.status)===0){let Be=function(){return be(this,null,function*(){const{status:xe,message:De,data:Re}=yield(0,re.rX)(at==null?void 0:at.identifier,"submit"),nt=qe()-Je>10*1e3*(Le==null?void 0:Le.length);if(xe!==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"}),ze(!1);return}if(xe===0){ze(!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"}));Ye($e),Ne(Re),Re.status===2&&(ze(!1),pe.default.error({centered:!0,okText:"\u77E5\u9053\u5566",title:"\u8C03\u8BD5\u4EE3\u7801\u8D85\u65F6"}))}})};const Je=qe();yield(0,re.bM)(at==null?void 0:at.identifier,{}),Be()}else ze(!1);Ge(!He)}),Qe=()=>{Fe({}),Ye([]),Ge(!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:Qe,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}),((_e=Oe==null?void 0:Oe.program_attr)==null?void 0:_e.code)&&y.createElement(ie.Z,{showProgramFill:!0,onFillChange:Ue=>{let Ie=Ue==null?void 0:Ue.map((Ze,Te)=>fe({},Ze));Ye(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}),(Me=Oe==null?void 0:Oe.standard_answer)==null?void 0:Me.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 Dt}});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=(bt,Ct,_t)=>Ct in bt?re(bt,Ct,{enumerable:!0,configurable:!0,writable:!0,value:_t}):bt[Ct]=_t,ee=(bt,Ct)=>{for(var _t in Ct||(Ct={}))y.call(Ct,_t)&&b(bt,_t,Ct[_t]);if(a)for(var _t of a(Ct))x.call(Ct,_t)&&b(bt,_t,Ct[_t]);return bt},z=(bt,Ct)=>ne(bt,te(Ct)),le=(bt,Ct,_t)=>new Promise((cn,Yt)=>{var nn=Gt=>{try{Xt(_t.next(Gt))}catch(Jt){Yt(Jt)}},Zt=Gt=>{try{Xt(_t.throw(Gt))}catch(Jt){Yt(Jt)}},Xt=Gt=>Gt.done?cn(Gt.value):Promise.resolve(Gt.value).then(nn,Zt);Xt((_t=_t.apply(bt,Ct)).next())});const de=({problemset:bt,dispatch:Ct,showdiv:_t,data:cn})=>{const[Yt,nn]=(0,ye.useState)([]),[Zt,Xt]=(0,ye.useState)(!1),Gt=["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&&nn(cn.choices)},[cn]);const Jt=()=>le(void 0,null,function*(){if(!Yt.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);nn(Ln.choices)}Xt(!Zt)}),Dn=(Ln,vn)=>{console.log(Ln.target.checked);const Mt=Yt.map((St,Lt)=>z(ee({},St),{checked:Lt===vn?Ln.target.checked:!1}));nn(Mt)},wn=()=>{nn([]),Xt(!1),Ct({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}),Yt==null?void 0:Yt.map((Ln,vn)=>{const{is_answer:Mt,checked:St,choice_text:Lt}=Ln;let Vt="";return Zt&&Mt&&(Vt=se.Z.green),Zt&&!Mt&&St&&(Vt=se.Z.red),ae.createElement("div",{key:vn,style:{pointerEvents:Zt?"none":"auto"},className:`${se.Z.row} ${Vt}`},ae.createElement(oe.ZP,{onChange:on=>Dn(on,vn),checked:St}),ae.createElement("span",null,Gt[vn],".\xA0"),ae.createElement(ce.Z,{className:se.Z.html,value:Lt}),Zt&&Mt&&ae.createElement("span",{style:{paddingTop:4},className:"iconfont icon-duigou1 font16"}),Zt&&!Mt&&St&&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"),Gt[Yt.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:()=>{Jt()}},Zt?"\u91CD\u65B0\u7B54\u9898":"\u63D0\u4EA4\u7B54\u6848")),!_t&&ae.createElement(ue.Z,null))};var ge=(0,je.connect)(({problemset:bt})=>({problemset:bt}))(de),fe=Se(92832),me=Se(72714),be=Se(59301),ve=Object.defineProperty,Pe=Object.defineProperties,Ee=Object.getOwnPropertyDescriptors,Ae=Object.getOwnPropertySymbols,Ce=Object.prototype.hasOwnProperty,_e=Object.prototype.propertyIsEnumerable,we=(bt,Ct,_t)=>Ct in bt?ve(bt,Ct,{enumerable:!0,configurable:!0,writable:!0,value:_t}):bt[Ct]=_t,Me=(bt,Ct)=>{for(var _t in Ct||(Ct={}))Ce.call(Ct,_t)&&we(bt,_t,Ct[_t]);if(Ae)for(var _t of Ae(Ct))_e.call(Ct,_t)&&we(bt,_t,Ct[_t]);return bt},Oe=(bt,Ct)=>Pe(bt,Ee(Ct)),Fe=(bt,Ct,_t)=>new Promise((cn,Yt)=>{var nn=Gt=>{try{Xt(_t.next(Gt))}catch(Jt){Yt(Jt)}},Zt=Gt=>{try{Xt(_t.throw(Gt))}catch(Jt){Yt(Jt)}},Xt=Gt=>Gt.done?cn(Gt.value):Promise.resolve(Gt.value).then(nn,Zt);Xt((_t=_t.apply(bt,Ct)).next())});const Le=({problemset:bt,datas:Ct,showdiv:_t,dispatch:cn})=>{var Yt;const[nn,Zt]=(0,ye.useState)({}),[Xt,Gt]=(0,ye.useState)([]),[Jt,Dn]=(0,ye.useState)(!1),wn=["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 St;if(Object.keys(Ct)){const Lt=(0,he.cloneDeep)(Ct);Zt(Lt),Gt((St=Lt==null?void 0:Lt.standard_answer)==null?void 0:St.map(Vt=>Me({value:"",answer:(Vt==null?void 0:Vt.answer_text)||[]},Vt)))}},[Ct]);const Ln=()=>Fe(void 0,null,function*(){var St;if(Xt.some(Lt=>(Lt==null?void 0:Lt.value)==="")){E.ZP.warning("\u8BF7\u60A8\u4F5C\u7B54\u540E\u518D\u63D0\u4EA4");return}if(Jt){const Lt=(0,he.cloneDeep)(Ct);Gt((St=Lt==null?void 0:Lt.standard_answer)==null?void 0:St.map(Vt=>Me({value:"",answer:(Vt==null?void 0:Vt.answer_text)||[]},Vt)))}Dn(!Jt)}),vn=(St,Lt)=>{const Vt=Xt.map((on,hn)=>Oe(Me({},on),{value:hn===Lt?St.target.value:on.value}));Gt(Vt)},Mt=()=>{Zt({}),Gt([]),Dn(!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:nn==null?void 0:nn.name}),Xt==null?void 0:Xt.map((St,Lt)=>{const{value:Vt,answer:on}=St;let hn="";return Jt&&(on!=null&&on.includes(Vt))&&(hn=se.Z.green),Jt&&!(on!=null&&on.includes(Vt))&&(hn=se.Z.red),be.createElement("div",{key:Lt,style:{pointerEvents:Jt?"none":"auto",marginTop:10},className:`${se.Z.row} ${hn}`},be.createElement("div",{style:{minWidth:80}},"\u586B\u7A7A",Lt+1,"\u7B54\u6848:"),(St==null?void 0:St.model)===1?be.createElement(fe.default.TextArea,{className:se.Z.textArea,style:{width:610,marginRight:10},onChange:gt=>vn(gt,Lt),value:Vt}):be.createElement(me.Z,{value:Vt,onChange:gt=>{const ft=Xt.map((dt,Ut)=>Oe(Me({},dt),{value:Ut===Lt?gt:dt.value}));Gt(ft)}}),Jt&&(on==null?void 0:on.includes(Vt))&&be.createElement("span",{style:{paddingTop:4},className:"iconfont icon-duigou1 font16"}),Jt&&!(on!=null&&on.includes(Vt))&&be.createElement("span",{style:{fontWeight:600,paddingTop:5},className:"iconfont icon-guanbi font16"}))}),Jt&&be.createElement(ye.Fragment,null,be.createElement("div",{style:{background:"#F6F7F9",padding:10,marginTop:10}},(Yt=nn==null?void 0:nn.standard_answer)==null?void 0:Yt.map((St,Lt)=>{var Vt,on;return be.createElement("div",{className:"c-grey-333 mb5"},be.createElement("b",null,"\u586B\u7A7A",Lt+1,"\u7B54\u6848:\xA0"),(St==null?void 0:St.model)===1?((Vt=St==null?void 0:St.answer_text)==null?void 0:Vt.join("\u3001"))||"":be.createElement(me.Z,{value:(on=St==null?void 0:St.answer_text)==null?void 0:on.join("\u3001"),disabled:!0}))}),be.createElement("div",{className:"c-grey-333 mb10"},be.createElement("b",null,"\u89E3\u6790:\xA0"),(nn==null?void 0:nn.analysis)||"\u6682\u65E0\u89E3\u6790"))),be.createElement("div",{style:{textAlign:"end",marginTop:10}},be.createElement(ie.ZP,{type:"primary",onClick:()=>{Ln()}},Jt?"\u91CD\u65B0\u7B54\u9898":"\u63D0\u4EA4\u7B54\u6848")),!_t&&be.createElement(ue.Z,null))};var Ye=(0,je.connect)(({problemset:bt})=>({problemset:bt}))(Le),He=Se(59301),Ge=Object.defineProperty,Ke=Object.defineProperties,ze=Object.getOwnPropertyDescriptors,ke=Object.getOwnPropertySymbols,Ne=Object.prototype.hasOwnProperty,Ve=Object.prototype.propertyIsEnumerable,qe=(bt,Ct,_t)=>Ct in bt?Ge(bt,Ct,{enumerable:!0,configurable:!0,writable:!0,value:_t}):bt[Ct]=_t,rt=(bt,Ct)=>{for(var _t in Ct||(Ct={}))Ne.call(Ct,_t)&&qe(bt,_t,Ct[_t]);if(ke)for(var _t of ke(Ct))Ve.call(Ct,_t)&&qe(bt,_t,Ct[_t]);return bt},Qe=(bt,Ct)=>Ke(bt,ze(Ct)),Ue=(bt,Ct,_t)=>new Promise((cn,Yt)=>{var nn=Gt=>{try{Xt(_t.next(Gt))}catch(Jt){Yt(Jt)}},Zt=Gt=>{try{Xt(_t.throw(Gt))}catch(Jt){Yt(Jt)}},Xt=Gt=>Gt.done?cn(Gt.value):Promise.resolve(Gt.value).then(nn,Zt);Xt((_t=_t.apply(bt,Ct)).next())});const Ie=({problemset:bt,datas:Ct,showdiv:_t,dispatch:cn})=>{var Yt;const[nn,Zt]=(0,ye.useState)({}),[Xt,Gt]=(0,ye.useState)([]),[Jt,Dn]=(0,ye.useState)(!1),wn=["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(Ct)){const St=(0,he.cloneDeep)(Ct);Zt(St),Gt(St.choices)}},[Ct]);const Ln=()=>Ue(void 0,null,function*(){if(!Xt.some(St=>St==null?void 0:St.checked)){E.ZP.warning("\u8BF7\u60A8\u4F5C\u7B54\u540E\u518D\u63D0\u4EA4");return}if(Jt){const St=(0,he.cloneDeep)(Ct);Gt(St.choices)}Dn(!Jt)}),vn=(St,Lt)=>{console.log(St.target.checked);const Vt=Xt.map((on,hn)=>Qe(rt({},on),{checked:hn===Lt?St.target.checked:!1}));Gt(Vt)},Mt=()=>{Zt({}),Gt([]),Dn(!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:nn==null?void 0:nn.name}),Xt==null?void 0:Xt.map((St,Lt)=>{const{is_answer:Vt,checked:on,choice_text:hn}=St;let gt="";return Jt&&Vt&&(gt=se.Z.green),Jt&&!Vt&&on&&(gt=se.Z.red),He.createElement("div",{key:Lt,style:{pointerEvents:Jt?"none":"auto"},className:`${se.Z.row} ${gt}`},He.createElement(oe.ZP,{onChange:ft=>vn(ft,Lt),checked:on}),He.createElement(ce.Z,{className:se.Z.html,value:hn}),Jt&&Vt&&He.createElement("span",{style:{paddingTop:4},className:"iconfont icon-duigou1 font16"}),Jt&&!Vt&&on&&He.createElement("span",{style:{fontWeight:600,paddingTop:5},className:"iconfont icon-guanbi font16"}))}),Jt&&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"),(Yt=Xt.find(St=>St.is_answer))==null?void 0:Yt.choice_text),He.createElement("div",{className:"c-grey-333 mb10"},He.createElement("b",null,"\u89E3\u6790:\xA0"),(nn==null?void 0:nn.analysis)||"\u6682\u65E0\u89E3\u6790"))),He.createElement("div",{style:{textAlign:"end",marginTop:10}},He.createElement(ie.ZP,{type:"primary",onClick:()=>{Ln()}},Jt?"\u91CD\u65B0\u7B54\u9898":"\u63D0\u4EA4\u7B54\u6848")),!_t&&He.createElement(ue.Z,null))};var Ze=(0,je.connect)(({problemset:bt})=>({problemset:bt}))(Ie),Te=Se(24905),We=Se(59301),at=Object.defineProperty,et=Object.defineProperties,Je=Object.getOwnPropertyDescriptors,Be=Object.getOwnPropertySymbols,xe=Object.prototype.hasOwnProperty,De=Object.prototype.propertyIsEnumerable,Re=(bt,Ct,_t)=>Ct in bt?at(bt,Ct,{enumerable:!0,configurable:!0,writable:!0,value:_t}):bt[Ct]=_t,Xe=(bt,Ct)=>{for(var _t in Ct||(Ct={}))xe.call(Ct,_t)&&Re(bt,_t,Ct[_t]);if(Be)for(var _t of Be(Ct))De.call(Ct,_t)&&Re(bt,_t,Ct[_t]);return bt},nt=(bt,Ct)=>et(bt,Je(Ct)),$e=(bt,Ct,_t)=>new Promise((cn,Yt)=>{var nn=Gt=>{try{Xt(_t.next(Gt))}catch(Jt){Yt(Jt)}},Zt=Gt=>{try{Xt(_t.throw(Gt))}catch(Jt){Yt(Jt)}},Xt=Gt=>Gt.done?cn(Gt.value):Promise.resolve(Gt.value).then(nn,Zt);Xt((_t=_t.apply(bt,Ct)).next())});const tt=({problemset:bt,data:Ct,showdiv:_t,dispatch:cn})=>{const[Yt,nn]=(0,ye.useState)([]),[Zt,Xt]=(0,ye.useState)(!1),Gt=["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(Ct))==null?void 0:Ln.length)>0&&nn(Ct.choices)},[Ct]);const Jt=()=>$e(void 0,null,function*(){if(!Yt.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)(Ct);nn(Ln.choices)}Xt(!Zt)}),Dn=(Ln,vn)=>{console.log(Ln.target.checked);const Mt=Yt.map((St,Lt)=>nt(Xe({},St),{checked:Lt===vn?Ln.target.checked:St.checked}));nn(Mt)},wn=()=>{let Ln="";return Yt.forEach((vn,Mt)=>{vn.is_answer&&(Ln=Ln+Gt[Mt])}),Ln};return We.createElement("div",null,We.createElement("div",{className:"c-light-primary mb5 font16"},"\u591A\u9009\u9898"),We.createElement(ce.Z,{value:Ct==null?void 0:Ct.name}),Yt==null?void 0:Yt.map((Ln,vn)=>{const{is_answer:Mt,checked:St,choice_text:Lt}=Ln;let Vt="";return Zt&&Mt&&(Vt=se.Z.green),Zt&&!Mt&&St&&(Vt=se.Z.red),We.createElement("div",{key:vn,style:{pointerEvents:Zt?"none":"auto"},className:`${se.Z.row} ${Vt}`},We.createElement(Te.default,{style:{padding:3},onChange:on=>Dn(on,vn),checked:St}),We.createElement("span",null,Gt[vn],".\xA0"),We.createElement(ce.Z,{className:se.Z.html,value:Lt}),Zt&&Mt&&We.createElement("span",{style:{paddingTop:4},className:"iconfont icon-duigou1 font16"}),Zt&&!Mt&&St&&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"),wn()),We.createElement("div",{className:"c-grey-333 mb10"},We.createElement("b",null,"\u89E3\u6790:\xA0"),(Ct==null?void 0:Ct.analysis)||"\u6682\u65E0\u89E3\u6790"))),We.createElement("div",{style:{textAlign:"end",marginTop:10}},We.createElement(ie.ZP,{type:"primary",onClick:()=>{Jt()}},Zt?"\u91CD\u65B0\u7B54\u9898":"\u63D0\u4EA4\u7B54\u6848")),!_t&&We.createElement(ue.Z,null))};var st=(0,je.connect)(({problemset:bt})=>({problemset:bt}))(tt),it=Se(64726),lt=Se(59301),ut=(bt,Ct,_t)=>new Promise((cn,Yt)=>{var nn=Gt=>{try{Xt(_t.next(Gt))}catch(Jt){Yt(Jt)}},Zt=Gt=>{try{Xt(_t.throw(Gt))}catch(Jt){Yt(Jt)}},Xt=Gt=>Gt.done?cn(Gt.value):Promise.resolve(Gt.value).then(nn,Zt);Xt((_t=_t.apply(bt,Ct)).next())});const pt=({problemset:bt,dispatch:Ct,showdiv:_t,datas:cn})=>{var Yt,nn,Zt;const[Xt,Gt]=(0,ye.useState)({}),[Jt,Dn]=(0,ye.useState)(!1),[wn,Ln]=(0,ye.useState)(!0),[vn,Mt]=(0,ye.useState)("");(0,ye.useEffect)(()=>{if(Object.keys(cn)){const Vt=(0,he.cloneDeep)(cn);Gt(Vt)}},[cn]);const St=()=>ut(void 0,null,function*(){if(!vn){E.ZP.warning("\u8BF7\u60A8\u4F5C\u7B54\u540E\u518D\u63D0\u4EA4");return}Jt&&Mt(""),Dn(!Jt)}),Lt=()=>{Gt({}),Ln(!0),Dn(!1),Mt(""),Ct({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:Xt==null?void 0:Xt.name,style:{marginBottom:10}}),wn?lt.createElement("div",{style:{border:"1px solid #f1f1f1",padding:10},onClick:()=>{Ln(!1)}}," \u70B9\u51FB\u5F00\u59CB\u4F5C\u7B54"):lt.createElement(it.Z,{defaultValue:vn,onChange:Vt=>{Mt(Vt)}}),Jt&<.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),((Yt=Xt==null?void 0:Xt.answer_texts)==null?void 0:Yt[0])||"\u6682\u65E0\u53C2\u8003\u7B54\u6848",((nn=Xt==null?void 0:Xt.keywords)==null?void 0:nn.length)>0&<.createElement("div",{style:{marginTop:10,marginBottom:10}},lt.createElement("span",{style:{color:"#5F6368"}},"\u5173\u952E\u8BCD\uFF1A"),(Zt=Xt==null?void 0:Xt.keywords)==null?void 0:Zt.map(Vt=>{var on,hn,gt;return((on=Vt==null?void 0:Vt.keyword)==null?void 0:on.length)>1?((hn=Vt==null?void 0:Vt.keyword)==null?void 0:hn.join("\u6216"))+"\uFF1B":((gt=Vt==null?void 0:Vt.keyword)==null?void 0:gt[0])+"\uFF1B"})),lt.createElement("div",{style:{color:"#5F6368"}},lt.createElement("b",null,"\u89E3\u6790:"),lt.createElement("br",null),(Xt==null?void 0:Xt.analysis)||"\u6682\u65E0\u89E3\u6790"))),lt.createElement("div",{style:{textAlign:"end",marginTop:10}},lt.createElement(ie.ZP,{type:"primary",onClick:()=>{St()}},Jt?"\u91CD\u65B0\u7B54\u9898":"\u63D0\u4EA4\u7B54\u6848")),!_t&<.createElement(ue.Z,null))};var vt=(0,je.connect)(({problemset:bt})=>({problemset:bt}))(pt),mt=Se(59301),Pt=(bt,Ct,_t)=>new Promise((cn,Yt)=>{var nn=Gt=>{try{Xt(_t.next(Gt))}catch(Jt){Yt(Jt)}},Zt=Gt=>{try{Xt(_t.throw(Gt))}catch(Jt){Yt(Jt)}},Xt=Gt=>Gt.done?cn(Gt.value):Promise.resolve(Gt.value).then(nn,Zt);Xt((_t=_t.apply(bt,Ct)).next())});const At=({problemset:bt,dispatch:Ct})=>{var _t,cn;const[Yt,nn]=(0,ye.useState)({}),[Zt,Xt]=(0,ye.useState)(!1),[Gt,Jt]=(0,ye.useState)(!0),[Dn,wn]=(0,ye.useState)("");(0,ye.useEffect)(()=>{var Mt,St;if(((Mt=bt==null?void 0:bt.actionTabs)==null?void 0:Mt.key)==="COMBINATION"){const Lt=(0,he.cloneDeep)((St=bt==null?void 0:bt.actionTabs)==null?void 0:St.params);nn(Lt)}},[(_t=bt==null?void 0:bt.actionTabs)==null?void 0:_t.key]);const Ln=()=>Pt(void 0,null,function*(){if(!Dn){E.ZP.warning("\u8BF7\u60A8\u4F5C\u7B54\u540E\u518D\u63D0\u4EA4");return}Xt(!Zt)}),vn=()=>{nn({}),Jt(!0),Xt(!1),wn(""),Ct({type:"problemset/setActionTabs",payload:{}})};return mt.createElement(pe.default,{centered:!0,destroyOnClose:!0,open:bt.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:vn},mt.createElement("div",null,mt.createElement("div",{className:"c-light-primary mb5 font16"},"\u7EC4\u5408\u9898"),mt.createElement(ce.Z,{value:Yt==null?void 0:Yt.name,style:{marginBottom:10}}),(cn=Yt==null?void 0:Yt.sub_item_banks)==null?void 0:cn.map((Mt,St)=>{var Lt,Vt,on,hn,gt;if((Mt==null?void 0:Mt.item_type)==="SINGLE")return mt.createElement(ge,{data:Mt,showdiv:((Lt=Yt==null?void 0:Yt.sub_item_banks)==null?void 0:Lt.length)-1===St});if((Mt==null?void 0:Mt.item_type)==="MULTIPLE")return mt.createElement(st,{data:Mt,showdiv:((Vt=Yt==null?void 0:Yt.sub_item_banks)==null?void 0:Vt.length)-1===St});if((Mt==null?void 0:Mt.item_type)==="JUDGMENT")return mt.createElement(Ze,{datas:Mt,showdiv:((on=Yt==null?void 0:Yt.sub_item_banks)==null?void 0:on.length)-1===St});if((Mt==null?void 0:Mt.item_type)==="COMPLETION")return mt.createElement(Ye,{datas:Mt,showdiv:((hn=Yt==null?void 0:Yt.sub_item_banks)==null?void 0:hn.length)-1===St});if((Mt==null?void 0:Mt.item_type)==="SUBJECTIVE")return mt.createElement(vt,{datas:Mt,showdiv:((gt=Yt==null?void 0:Yt.sub_item_banks)==null?void 0:gt.length)-1===St})})))};var Dt=(0,je.connect)(({problemset:bt})=>({problemset:bt}))(At)},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{Ae(me.next(Ce))}catch(_e){ve(_e)}},Ee=Ce=>{try{Ae(me.throw(Ce))}catch(_e){ve(_e)}},Ae=Ce=>Ce.done?be(Ce.value):Promise.resolve(Ce.value).then(Pe,Ee);Ae((me=me.apply(ge,fe)).next())});const de=({problemset:ge,dispatch:fe})=>{var me,be;const[ve,Pe]=(0,ye.useState)({}),[Ee,Ae]=(0,ye.useState)([]),[Ce,_e]=(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,Ye,He;if(((Le=ge==null?void 0:ge.actionTabs)==null?void 0:Le.key)==="COMPLETION"){const Ge=(0,ce.cloneDeep)((Ye=ge==null?void 0:ge.actionTabs)==null?void 0:Ye.params);Pe(Ge),Ae((He=Ge==null?void 0:Ge.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 Me=()=>le(void 0,null,function*(){var Le,Ye;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);Ae((Ye=He==null?void 0:He.standard_answer)==null?void 0:Ye.map(Ge=>ee({value:"",answer:(Ge==null?void 0:Ge.answer_text)||[]},Ge)))}_e(!Ce)}),Oe=(Le,Ye)=>{const He=Ee.map((Ge,Ke)=>z(ee({},Ge),{value:Ke===Ye?Le.target.value:Ge.value}));Ae(He)},Fe=()=>{Pe({}),Ae([]),_e(!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:Me,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,Ye)=>{const{value:He,answer:Ge}=Le;let Ke="";return Ce&&(Ge!=null&&Ge.includes(He))&&(Ke=ie.Z.green),Ce&&!(Ge!=null&&Ge.includes(He))&&(Ke=ie.Z.red),ae.createElement("div",{key:Ye,style:{pointerEvents:Ce?"none":"auto",marginTop:10},className:`${ie.Z.row} ${Ke}`},ae.createElement("div",{style:{minWidth:80}},"\u586B\u7A7A",Ye+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:ze=>Oe(ze,Ye),value:He}):ae.createElement(se.Z,{value:He,onChange:ze=>{const ke=Ee.map((Ne,Ve)=>z(ee({},Ne),{value:Ve===Ye?ze:Ne.value}));Ae(ke)}}),Ce&&(Ge==null?void 0:Ge.includes(He))&&ae.createElement("span",{style:{paddingTop:4},className:"iconfont icon-duigou1 font16"}),Ce&&!(Ge!=null&&Ge.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,Ye)=>{var He,Ge;return ae.createElement("div",{className:"c-grey-333 mb5"},ae.createElement("b",null,"\u586B\u7A7A",Ye+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:(Ge=Le==null?void 0:Le.answer_text)==null?void 0:Ge.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(Ae){me(Ae)}},ve=Ee=>{try{Pe(ge.throw(Ee))}catch(Ae){me(Ae)}},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,Ae]=(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 _e=()=>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)}Ae(!Ee)}),we=(Oe,Fe)=>{console.log(Oe.target.checked);const Le=ve.map((Ye,He)=>b(x({},Ye),{checked:He===Fe?Oe.target.checked:!1}));Pe(Le)},Me=()=>{be({}),Pe([]),Ae(!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:_e,onCancel:Me},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:Ye,choice_text:He}=Oe;let Ge="";return Ee&&Le&&(Ge=ie.Z.green),Ee&&!Le&&Ye&&(Ge=ie.Z.red),ye.createElement("div",{key:Fe,style:{pointerEvents:Ee?"none":"auto"},className:`${ie.Z.row} ${Ge}`},ye.createElement(he.ZP,{onChange:Ke=>we(Ke,Fe),checked:Ye}),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&&Ye&&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(Ae){me(Ae)}},ve=Ee=>{try{Pe(ge.throw(Ee))}catch(Ae){me(Ae)}},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),Ae=["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)}),_e=(Oe,Fe)=>{console.log(Oe.target.checked);const Le=be.map((Ye,He)=>b(x({},Ye),{checked:He===Fe?Oe.target.checked:Ye.checked}));ve(Le)},we=()=>{me({}),ve([]),Ee(!1),de({type:"problemset/setActionTabs",payload:{}})},Me=()=>{let Oe="";return be.forEach((Fe,Le)=>{Fe.is_answer&&(Oe=Oe+Ae[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:Ye,choice_text:He}=Oe;let Ge="";return Pe&&Le&&(Ge=ie.Z.green),Pe&&!Le&&Ye&&(Ge=ie.Z.red),ye.createElement("div",{key:Fe,style:{pointerEvents:Pe?"none":"auto"},className:`${ie.Z.row} ${Ge}`},ye.createElement(he.default,{style:{padding:3},onChange:Ke=>_e(Ke,Fe),checked:Ye}),ye.createElement("span",null,Ae[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&&Ye&&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"),Me()),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=Ae=>{try{Ee(fe.next(Ae))}catch(Ce){be(Ce)}},Pe=Ae=>{try{Ee(fe.throw(Ae))}catch(Ce){be(Ce)}},Ee=Ae=>Ae.done?me(Ae.value):Promise.resolve(Ae.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,Ae]=(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 _e=()=>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)}Ae(!Ee)}),we=(Oe,Fe)=>{console.log(Oe.target.checked);const Le=ve.map((Ye,He)=>ee(b({},Ye),{checked:He===Fe?Oe.target.checked:!1}));Pe(Le)},Me=()=>{be({}),Pe([]),Ae(!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:_e,onCancel:Me},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:Ye,choice_text:He}=Oe;let Ge="";return Ee&&Le&&(Ge=ie.Z.green),Ee&&!Le&&Ye&&(Ge=ie.Z.red),se.createElement("div",{key:Fe,style:{pointerEvents:Ee?"none":"auto"},className:`${ie.Z.row} ${Ge}`},se.createElement(he.ZP,{onChange:Ke=>we(Ke,Fe),checked:Ye}),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&&Ye&&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 Ae,Ce;if(((Ae=ne==null?void 0:ne.actionTabs)==null?void 0:Ae.key)==="SUBJECTIVE"){const _e=(0,he.cloneDeep)((Ce=ne==null?void 0:ne.actionTabs)==null?void 0:Ce.params);le(_e)}},[(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:Ae=>{ve(Ae)}}),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(Ae=>{var Ce,_e,we;return((Ce=Ae==null?void 0:Ae.keyword)==null?void 0:Ce.length)>1?((_e=Ae==null?void 0:Ae.keyword)==null?void 0:_e.join("\u6216"))+"\uFF1B":((we=Ae==null?void 0:Ae.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+vzj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AAIIIIAAAggggEBbQH1/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/4ilb33r7uA1Q9pKnR9yrRzbvYC63ur87gVZIURAXW91fogVxyKAAAIIIIAAAggggAACCCCAAAIIIIAAAgggg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BAAAEEEEAAAQQQQAABBF4uoL6/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,Ae]=(0,ye.useState)(!1),Ce=()=>{var Oe,Fe;return de.item_type==="JUDGMENT"?ye.createElement("div",{className:se.judgmentContent},de.choices.map((Le,Ye)=>ye.createElement(E.ZP,{key:Ye,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,Ye)=>{var He,Ge,Ke,ze,ke,Ne;const Ve=`(\u9898\u76EE${Ye+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((qe,rt)=>ye.createElement("div",{key:rt,className:se.otherContentItem},ye.createElement("p",null,x[rt]),ye.createElement(je.Z,{className:se.otehrContentHtml,value:qe.choice_text}))),(Le==null?void 0:Le.item_type)=="JUDGMENT"&&ye.createElement("div",{style:{display:"flex",marginBottom:10}},Le.choices.map((qe,rt)=>ye.createElement(E.ZP,{key:rt,disabled:!0},qe.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(qe=>qe==null?void 0:qe.is_answer)]," "),(Le==null?void 0:Le.item_type)=="COMPLETION"&&((Ge=Le==null?void 0:Le.standard_answer)==null?void 0:Ge.map((qe,rt)=>{var Qe;return ye.createElement("div",{key:rt,className:se.answerHtml},`\u7B54\u6848\uFF08\u586B\u7A7A${qe.position}\uFF09\uFF1A${(Qe=qe==null?void 0:qe.answer_text)==null?void 0:Qe.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((qe,rt)=>{if(qe!=null&&qe.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=(ze=Le==null?void 0:Le.choices)==null?void 0:ze.find(qe=>qe.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,Ye)=>ye.createElement("div",{key:Ye,className:se.otherContentItem},ye.createElement("p",null,x[Ye]),ye.createElement(je.Z,{className:se.otehrContentHtml,value:Le.choice_text}))))},_e=()=>{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 Ye,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${(Ye=Fe==null?void 0:Fe.answer_text)==null?void 0:Ye.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,Ye,He,Ge;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},ze=de.choices.map(Ue=>Ue.is_answer).findIndex(Ue=>Ue),ke=ze>-1?b[ze]:"";let Ne="";de.choices.map((Ue,Ie)=>{Ue.is_answer&&(Ne+=b[Ie])});const Ve=Ke[de.item_type];let qe=((Ye=de==null?void 0:de.program_attr)==null?void 0:Ye.code)||"";try{qe=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:_e(),BPROGRAM:ye.createElement("div",null,ye.createElement(je.Z,{className:se.answerHtml,showProgramFill:!0,value:qe}),(Ge=de.standard_answer)==null?void 0:Ge.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}`)))},Qe=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]||Qe},Me=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:Me,checked:ge.includes(de.id)}),ye.createElement("div",{onClick:()=>Ae(!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:()=>Ae(!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:Ae=()=>{},onCorrection:Ce=()=>{},onChangeTag:_e=()=>{},onCollect:we=()=>{},onSetPublic:Me=()=>{},onDelete:Oe=()=>{},onCancel:Fe=()=>{},onSelect:Le=()=>{},onMoveTo:Ye=()=>{},addProblemset:He=()=>{},onSetShare:Ge=()=>{},onCancelShare:Ke=()=>{},onPublish:ze=()=>{},onCancelPublish:ke=()=>{}})=>{var Ne,Ve,qe,rt,Qe,Ue,Ie,Ze,Te,We,at,et,Je,Be,xe;const De=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"&&((qe=fe.program_attr)==null?void 0:qe.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&&((Qe=fe.author)==null?void 0:Qe.login)===((Ue=me.userInfo)==null?void 0:Ue.login)},{label:ye.createElement("a",{className:se.actionLink,onClick:()=>Ye(fe.id)},"\u79FB\u52A8\u5230"),key:"1",show:ve==="0"},{label:ye.createElement("a",{className:se.actionLink,onClick:()=>{fe.is_share?Ke(fe.id):Ge(fe.id)}},"\u5171\u4EAB"),key:"3",show:ve==="0"&&de},{label:ye.createElement("a",{className:se.actionLink,onClick:()=>Me(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:()=>Ae(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 ze((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)!==((Je=me.userInfo)==null?void 0:Je.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:()=>_e(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)!==((xe=me.userInfo)==null?void 0:xe.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)(De);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=(Me,Oe,Fe)=>Oe in Me?y(Me,Oe,{enumerable:!0,configurable:!0,writable:!0,value:Fe}):Me[Oe]=Fe,ge=(Me,Oe)=>{for(var Fe in Oe||(Oe={}))z.call(Oe,Fe)&&de(Me,Fe,Oe[Fe]);if(ee)for(var Fe of ee(Oe))le.call(Oe,Fe)&&de(Me,Fe,Oe[Fe]);return Me},fe=(Me,Oe)=>x(Me,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=(Me=>(Me[Me.SET_VISIBLE=0]="SET_VISIBLE",Me[Me.SET_TABINDEX=1]="SET_TABINDEX",Me))(Pe||{});function Ee(Me,Oe){switch(Oe.type){case 0:return fe(ge({},Me),{visible:Oe.payload});case 1:return fe(ge({},Me),{tabIndex:Oe.payload});default:throw new Error}}function Ae({value:Me,className:Oe}){const[Fe,Le]=(0,ye.useState)(!1),Ye=(0,ye.useRef)(),He=(0,ye.useRef)();return(0,ye.useEffect)(()=>{Fe&&(He.current.reset(),He.current.write((0,se.pp)(Me||"")))},[Me,Fe]),(0,ye.useEffect)(()=>{var Ge,Ke,ze,ke;if(Ye.current){He.current=new re.Terminal({fontSize:14,disableStdin:!0}),He.current.open(Ye.current);const Ne=Ye.current.offsetWidth-14,Ve=((ke=(ze=(Ke=(Ge=He.current)==null?void 0:Ge._core)==null?void 0:Ke._renderService)==null?void 0:ze.dimensions)==null?void 0:ke.actualCellWidth)||9.5,qe=Math.ceil(Ne/Ve);He.current.resize(qe,8),Le(!0)}},[]),a.createElement("div",{ref:Ye,className:te()("XtermText-valueRef",Oe)})}function Ce(Me){const{status:Oe,error_msg:Fe,output:Le,input:Ye,expected_output:He,is_file:Ge,input_file_url:Ke,output_file_url:ze,expected_output_file_url:ke}=Me;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"),!Ge&&a.createElement(Ae,{className:"mb10",value:Ye}),Ge&&a.createElement("div",{style:Ve},a.createElement("a",{onClick:()=>(0,se.LR)(Ke,Ye)},Ye)),a.createElement("p",{className:"c-red"},"\u5B9E\u9645\u8F93\u51FA\uFF1A"),!Ge&&a.createElement(Ae,{className:"mb10",value:Le&&oe.Base64.decode(Le)||""}),Ge&&a.createElement("div",{style:Ve},a.createElement("a",{onClick:()=>(0,se.LR)(ze,Le)},Le)),a.createElement("p",{className:"c-red"},"\u9884\u671F\u8F93\u51FA\uFF1A"),!Ge&&a.createElement(Ae,{className:"mb10",value:He&&oe.Base64.decode(He)||""}),Ge&&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"),!Ge&&a.createElement(ue.Z,{value:Ye,style:Ve}),Ge&&a.createElement("div",{style:Ve},a.createElement("a",{onClick:()=>(0,se.LR)(Ke,Ye)},Ye)),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"),!Ge&&a.createElement(ue.Z,{value:Ye,style:Ve}),Ge&&a.createElement("div",{style:Ve},a.createElement("a",{onClick:()=>(0,se.LR)(Ke,Ye)},Ye)),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 _e(Me){const{status:Oe,error_msg:Fe,execute_time:Le,output:Ye,input:He,expected_output:Ge,is_file:Ke,input_file_url:ze,output_file_url:ke,expected_output_file_url:Ne}=Me;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(Ye)));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",Ye&&oe.Base64.decode(Ye)),a.createElement("p",null,"\u9884\u671F\u8F93\u51FA\uFF1A",Ge&&oe.Base64.decode(Ge)));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:Me,is_file:Oe,input:Fe,debuging:Le,submitting:Ye,executingMessage:He,debugResult:Ge,onChangeInput:Ke,onDebugCode:ze,onSubmitCode:ke})=>{const[Ne,Ve]=(0,ye.useReducer)(Ee,be),{visible:qe,tabIndex:rt}=Ne;(0,ye.useEffect)(()=>{Ve({type:0,payload:!1})},[Me]);function Qe(Te){let We=Te.target.id;Ve({type:1,payload:We})}function Ue(){Ve({type:0,payload:!qe})}const Ie=(0,ye.useMemo)(()=>{if(Ge){const{status:Te}=Ge;return a.createElement(a.Fragment,null,_e(Ge))}return null},[Ge]);function Ze(){Ve({type:0,payload:!0}),Ve({type:1,payload:"1"}),ze()}return a.createElement("div",{className:"test-case-panel"},a.createElement("div",{className:`test-case-panel-body ${qe?"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..."}):Ge?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 ${qe?"up":""}`,onClick:Ue},qe?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:Ye,disabled:Ye,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 Me},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+ZVHQB1DaYaCz7A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G2le3MbDQzEGskPNNOL7scv8a+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,Ye)=>Le in Fe?le(Fe,Le,{enumerable:!0,configurable:!0,writable:!0,value:Ye}):Fe[Le]=Ye,Pe=(Fe,Le)=>{for(var Ye in Le||(Le={}))me.call(Le,Ye)&&ve(Fe,Ye,Le[Ye]);if(fe)for(var Ye of fe(Le))be.call(Le,Ye)&&ve(Fe,Ye,Le[Ye]);return Fe},Ee=(Fe,Le)=>de(Fe,ge(Le)),Ae=(Fe,Le,Ye)=>new Promise((He,Ge)=>{var Ke=Ne=>{try{ke(Ye.next(Ne))}catch(Ve){Ge(Ve)}},ze=Ne=>{try{ke(Ye.throw(Ne))}catch(Ve){Ge(Ve)}},ke=Ne=>Ne.done?He(Ne.value):Promise.resolve(Ne.value).then(Ke,ze);ke((Ye=Ye.apply(Fe,Le)).next())});const{Dragger:Ce}=je.default,_e=Fe=>{const Le=Ve=>Ve&&Ve.substring(0,Ve.lastIndexOf("."));for(var Ye=[...Fe],He=0,Ge=[],Ke=0;Ke{if(Ve.forEach(qe=>{let rt=qe.name.split(/\.(?=[^\.]+$)/);qe.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:Ye,wrapClassName:He,rootIdentifier:Ge,multiple:Ke=!1,defaultMultipleValue:ze=!0})=>{const[ke,Ne]=(0,ye.useState)([]),[Ve,qe]=(0,ye.useState)({}),[rt,Qe]=(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)(()=>{Ye&&(Ze.current=[],Te.current=0,Ne([]),Ie(ze))},[Ye]);const at=()=>Ae(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));qe($e)}catch(nt){}}),et=nt=>nt&&nt.substring(0,nt.lastIndexOf(".")),Je=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(vt=>{if(vt.status===0){Te.current=Te.current+1;const mt=Ze.current.map(Pt=>{var At;if(Pt.name===nt.name){const Dt=Pe({},Pt);return(At=nt==null?void 0:nt.name)!=null&&At.includes(".in")?Dt.input=vt==null?void 0:vt.content:Dt.output=vt==null?void 0:vt.content,Dt}return Pt});if(Ze.current=[...mt],Ne([...mt]),Te.current>0&&Te.current===ke.length){Qe(!1);let Pt=_e(mt);Pt=Pt.filter(At=>{var Dt,bt;return!!((Dt=At[0])!=null&&Dt.name&&((bt=At[1])!=null&&bt.name))}),Pt=Pt.map(At=>Ee(Pe(Pe({},At[0]),At[1]),{is_file:!1})),Le(Pt),Fe()}}else Qe(!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/${Ge}/${it}${tt.indexOf(".")>-1?"."+tt.split(".").pop():""}`;Ge===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 pt=Ze.current.map(vt=>{var mt,Pt,At,Dt,bt,Ct,_t,cn,Yt,nn,Zt,Xt,Gt,Jt,Dn,wn,Ln;if(vt.name===((Pt=(mt=ut.data)==null?void 0:mt.data)==null?void 0:Pt.file_name)){const vn=Pe({},vt);return(bt=(Dt=(At=ut.data)==null?void 0:At.data)==null?void 0:Dt.file_name)!=null&&bt.includes(".in")?(vn.in_object_key=(_t=(Ct=ut.data)==null?void 0:Ct.data)==null?void 0:_t.object,vn.in_object_size=(Yt=(cn=ut.data)==null?void 0:cn.data)==null?void 0:Yt.size,vn.input=(Zt=(nn=ut.data)==null?void 0:nn.data)==null?void 0:Zt.file_name,vn.in_file=nt):(vn.out_object_key=(Gt=(Xt=ut.data)==null?void 0:Xt.data)==null?void 0:Gt.object,vn.out_object_size=(Dn=(Jt=ut.data)==null?void 0:Jt.data)==null?void 0:Dn.size,vn.output=(Ln=(wn=ut.data)==null?void 0:wn.data)==null?void 0:Ln.file_name,vn.out_file=nt),vn}return vt});if(Ze.current=[...pt],Ne([...pt]),Te.current>0&&Te.current===ke.length){Qe(!1);let vt=_e(pt);vt=vt.filter(mt=>{var Pt,At;return!!((Pt=mt[0])!=null&&Pt.name&&((At=mt[1])!=null&&At.name))}),vt=vt.map(mt=>Ee(Pe(Pe({},mt[0]),mt[1]),{is_file:!0})),Le(vt),Fe()}}})},xe=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))})}),De=()=>Ae(void 0,null,function*(){if(ke.length===0){E.ZP.warning("\u8BF7\u9009\u62E9\u4E0A\u4F20\u6587\u4EF6");return}if(yield xe(ke),Qe(!0),_e(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:()=>Ae(void 0,null,function*(){ke.map($e=>Ae(void 0,null,function*(){Be($e)}))}),onCancel:()=>{Qe(!1)}});return}ke.map($e=>Ae(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=_e(ke);return console.log(ke,Xe,"fileList"),z.createElement(pe.default,{open:Ye,wrapClassName:He,onOk:De,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(Me,{data:Xe,onRemove:Je})):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))))},Me=({data:Fe=[],onRemove:Le,width:Ye="auto",showScore:He=!1,disabled:Ge=!1,inputChange:Ke,onEvaluatingChange:ze,onSelectAll:ke,checkAll1:Ne,checkAll2:Ve,checkAll3:qe,checkAll4:rt,checkAll5:Qe,showEvaluatingSetting:Ue=!1,className:Ie="",isProgramHomework:Ze=!1})=>{const Te={value:"",filename:"",dataUrl:""},[We,at]=(0,ye.useState)(Pe({},Te)),et=xe=>{let De=document.createElement("a");document.body.appendChild(De);let Re=URL.createObjectURL(xe.file);De.href=Re,De.download=xe.name,De.click(),URL.revokeObjectURL(Re),document.body.removeChild(De)},Je=(xe,De)=>{(0,b.LR)(xe,De)},Be=(xe,De)=>{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(xe,De)},onCancel:()=>{}})};return Fe.length?z.createElement("div",{className:Ie,style:{width:Ye}},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:xe=>{ke(xe.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:xe=>{ke(xe.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:xe=>{ke(xe.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:Qe,onChange:xe=>{ke(xe.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:qe,onChange:xe=>{ke(xe.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((xe,De)=>{var Re,Xe,nt,$e;return z.createElement("div",{key:De,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:!!xe.hidden,onChange:tt=>{ze(tt.target.checked,De,"hidden")}})),z.createElement("div",{style:{width:Ze?"25%":"15%",paddingLeft:Ze?"5px":"0px",paddingRight:Ze?"5px":"0px"}},"\u6D4B\u8BD5\u7528\u4F8B",De+1),z.createElement("div",{className:ae.info,style:{width:He?Ze?"20%":"15%":"25%"}},z.createElement("span",{title:xe.input||((Re=xe[0])==null?void 0:Re.name),onClick:()=>Ae(void 0,null,function*(){let tt;xe.input?xe.input_file_url?tt=xe.input_file_url:tt=xe.in_file:tt=xe[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}))})},xe.input||((Xe=xe[0])==null?void 0:Xe.name))),z.createElement("div",{className:ae.info,style:{width:He?Ze?"20%":"15%":"25%"}},z.createElement("span",{title:xe.output||((nt=xe[1])==null?void 0:nt.name),onClick:()=>Ae(void 0,null,function*(){let tt;xe.input?xe.output_file_url?tt=xe.output_file_url:tt=xe.out_file:tt=xe[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}))})},xe.output||(($e=xe[1])==null?void 0:$e.name))),He&&z.createElement("div",{style:{width:"20%"}},z.createElement(se.default,{size:"large",addonAfter:Ze?"%":null,disabled:Ge,style:{width:"80%"},onChange:tt=>Ke(tt,De),value:xe.score}),!Ze&&z.createElement("span",null,"\xA0%")),Ue&&z.createElement("div",{style:{width:"20%"}},z.createElement(ie.default,{checked:xe.input_visible||!1,onChange:tt=>{ze(tt.target.checked,De,"input_visible")},className:"font14"},"\u5BF9\u5B66\u5458\u4E0D\u53EF\u89C1")),Ue&&z.createElement("div",{style:{width:"20%"}},z.createElement(ie.default,{checked:xe.is_invisible||!1,onChange:tt=>{ze(tt.target.checked,De,"is_invisible")},className:"font14"},"\u5BF9\u5B66\u5458\u4E0D\u53EF\u89C1")),Ue&&z.createElement("div",{style:{width:"20%"}},z.createElement(ie.default,{checked:xe.actual_output_visible||!1,onChange:tt=>{ze(tt.target.checked,De,"actual_output_visible")},className:"font14"},"\u5BF9\u5B66\u5458\u4E0D\u53EF\u89C1")),Ue&&z.createElement("div",{style:{width:"20%"}},z.createElement(ie.default,{checked:xe.last_match_rule||!1,onChange:tt=>{ze(tt.target.checked,De,"last_match_rule")},className:"font14"},"\u672B\u5C3E\u5339\u914D")),z.createElement("div",{onClick:()=>Be(xe,De),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=(xe,De,Re)=>De in xe?se(xe,De,{enumerable:!0,configurable:!0,writable:!0,value:Re}):xe[De]=Re,x=(xe,De)=>{for(var Re in De||(De={}))te.call(De,Re)&&y(xe,Re,De[Re]);if(ne)for(var Re of ne(De))a.call(De,Re)&&y(xe,Re,De[Re]);return xe},b=(xe,De)=>ae(xe,re(De)),ee=(xe,De,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(xe,De)).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=(xe,De)=>De.map(Re=>({label:Re,kind:xe.languages.CompletionItemKind.Keyword,insertText:Re})),de=xe=>Object.keys(z.tables).map(De=>({label:De,kind:xe.languages.CompletionItemKind.Variable,insertText:De})),ge=(xe,De)=>{const Re=z.tables[xe];return Re?Re.map(Xe=>({label:Xe,kind:De.languages.CompletionItemKind.Field,insertText:Xe})):[]};function fe(xe,De,Re,Xe,nt){let $e=De.getWordUntilPosition(Re),tt={startLineNumber:Re.lineNumber,endLineNumber:Re.lineNumber,startColumn:$e.startColumn,endColumn:$e.endColumn},st=Xe.map(it=>({label:it,kind:xe.languages.CompletionItemKind.Keyword,insertText:it,insertTextRules:xe.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:tt}));return nt.map(it=>{st.push(b(x({},it),{range:tt}))}),st}var me=xe=>{z.languages.map(nt=>(xe.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 De=he.quickKey.map(nt=>({label:nt.label,kind:xe.languages.CompletionItemKind.Method,insertText:nt.content,insertTextRules:xe.languages.CompletionItemInsertTextRule.InsertAsSnippet})),Re=ce.quickKey.map(nt=>({label:nt.label,kind:xe.languages.CompletionItemKind.Method,insertText:nt.content,insertTextRules:xe.languages.CompletionItemInsertTextRule.InsertAsSnippet})),Xe=pe.quickKey.map(nt=>({label:nt.label,kind:xe.languages.CompletionItemKind.Method,insertText:nt.content,insertTextRules:xe.languages.CompletionItemInsertTextRule.InsertAsSnippet}));xe.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:xe.languages.CompletionItemKind.Function,documentation:lt,insertText:lt,insertTextRules:xe.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:st})),...he.quickKey.map(lt=>({label:lt.label,kind:xe.languages.CompletionItemKind.Function,documentation:lt.content,insertText:it.startsWith("#")?lt.content.replace(/#/,""):lt.content,insertTextRules:xe.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:st}))]}}}),xe.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:xe.languages.CompletionItemKind.Function,documentation:it,insertText:it,insertTextRules:xe.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:st}))]}}}),xe.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:xe.languages.CompletionItemKind.Function,documentation:lt,insertText:lt,insertTextRules:xe.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:st})),...pe.quickKey.map(lt=>({label:lt.label,kind:xe.languages.CompletionItemKind.Function,documentation:lt.content,insertText:it.startsWith("#")?lt.content.replace(/#/,""):lt.content,insertTextRules:xe.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:st}))]}}}),xe.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:xe.languages.CompletionItemKind.Function,documentation:lt,insertText:lt,insertTextRules:xe.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:st})),...oe.quickKey.map(lt=>({label:lt.label,kind:xe.languages.CompletionItemKind.Function,documentation:lt.content,insertText:it.startsWith("#")?lt.content.replace(/#/,""):lt.content,insertTextRules:xe.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:st}))]}}}),xe.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:xe.languages.CompletionItemKind.Function,documentation:lt,insertText:lt,insertTextRules:xe.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:st})),...ce.quickKey.map(lt=>({label:lt.label,kind:xe.languages.CompletionItemKind.Function,documentation:lt.content,insertText:it.startsWith("#")?lt.content.replace(/#/,""):lt.content,insertTextRules:xe.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=(xe,De,Re)=>De in xe?ve(xe,De,{enumerable:!0,configurable:!0,writable:!0,value:Re}):xe[De]=Re,Ee=(xe,De,Re)=>Pe(xe,typeof De!="symbol"?De+"":De,Re);const Ae=class ea{constructor(De,Re,Xe){this.placeholder=De,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 ea.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(Ae,"ID","editor.widget.placeholderHint");var _e=Ae,we=Se(96236),Me=Se(8591),Oe=Se(6848),Fe=Se(89392),Le=Se(50484),Ye=Se(56102),He=Object.defineProperty,Ge=Object.defineProperties,Ke=Object.getOwnPropertyDescriptors,ze=Object.getOwnPropertySymbols,ke=Object.prototype.hasOwnProperty,Ne=Object.prototype.propertyIsEnumerable,Ve=(xe,De,Re)=>De in xe?He(xe,De,{enumerable:!0,configurable:!0,writable:!0,value:Re}):xe[De]=Re,qe=(xe,De)=>{for(var Re in De||(De={}))ke.call(De,Re)&&Ve(xe,Re,De[Re]);if(ze)for(var Re of ze(De))Ne.call(De,Re)&&Ve(xe,Re,De[Re]);return xe},rt=(xe,De)=>Ge(xe,Ke(De)),Qe=(xe,De)=>{var Re={};for(var Xe in xe)ke.call(xe,Xe)&&De.indexOf(Xe)<0&&(Re[Xe]=xe[Xe]);if(xe!=null&&ze)for(var Xe of ze(xe))De.indexOf(Xe)<0&&Ne.call(xe,Xe)&&(Re[Xe]=xe[Xe]);return Re},Ue=(xe,De,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(xe,De)).next())});function Be(xe){return/^\d+$/.test(xe)?`${xe}px`:xe}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(xe=[]){let De=xe;if(Array.isArray(xe)){for(let Re=0;Re{var De=xe,{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:yt,autoHeight:mt=!1,forbidCopy:Pt=!1,onChange:At=Ze,editorDidMount:Dt=Ze,onFocus:bt=Ze,onBreakPoint:wt=Ze,breakPointValue:_t=[],filename:cn="educoder.txt",errorLine:Yt,errorContent:rn="",highlightLine:Zt,openBreakPoint:Xt=!1,placeholder:Wt=""}=De,Jt=Qe(De,["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 Dn=(0,ye.useRef)(),wn=(0,ye.useRef)({}),Ln=(0,ye.useRef)(),vn=(0,ye.useRef)(),Mt=(0,ye.useRef)([]),St=(0,ye.useRef)(!1),xt=(0,ye.useRef)(),Vt=(0,ye.useRef)(),sn=(0,ye.useRef)(!1),[hn,gt]=(0,ye.useState)(!1);function ft(){let Lt;return Dn.current&&(Lt=new je.Z(jt=>{for(let en of jt)(en.target.offsetHeight>0||en.target.offsetWidth>0)&&wn.current.instance.layout()}),Lt.observe(Dn.current)),Lt}function dt(){Me.ZP.warning({content:decodeURIComponent(be),key:"monaco-editor-tip"})}const Nt=()=>{let Lt=wn.current.instance;if(nt!=null&&Lt&&hn){const jt=Lt.getModel();jt&&nt!==jt.getValue()&&(Te=!0,jt.setValue(nt),Lt.layout(),Te=!1)}};(0,ye.useEffect)(()=>{const Lt=Le.Z.subscribe("formatDocument",jt=>{var en;let nn=wn.current.instance;(en=nn==null?void 0:nn.getAction)==null||en.call(nn,"editor.action.formatDocument").run()});return window.updateMonacoValue=jt=>{At(jt)},Lt},[]),(0,ye.useEffect)(()=>{var Lt;let jt=wn.current.instance;vn.current&&clearTimeout(vn.current),vn.current=setTimeout(()=>{Nt()},500),nt&&(nt!=null&&nt.length)&&((Lt=jt==null?void 0:jt.updateOptions)==null||Lt.call(jt,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(nt.split(/\r\n|\r|\n/g).length))+3,5)}))},[nt,hn,wn.current]),(0,ye.useEffect)(()=>{if(Yt&&wn.current&&wn.current.instance){let jt=wn.current.instance;jt.changeViewZones(function(en){var nn=document.createElement("div");nn.style.padding="10px 20px",nn.style.width="calc(100% - 20px)",nn.className="my-error-line-wrp",nn.innerHTML=rn,en.addZone({afterLineNumber:Yt||11,heightInLines:3,domNode:nn})});var Lt={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}};jt.addOverlayWidget(Lt),jt.revealPositionInCenter({lineNumber:20,column:1})}},[Yt,wn.current,hn]);const $t=(Lt="",jt)=>{if(!Lt||Lt.trim()==="")return!0;const nn=wn.current.instance.getModel().getLineTokens(jt);let mn=!1;for(let En=0;En<2;En++)nn.getStandardTokenType(En)===1&&(mn=!0);return mn};(0,ye.useEffect)(()=>{var Lt;const jt=(Lt=wn.current)==null?void 0:Lt.instance;if(jt&&hn&&Pt){const en=jt.onDidBlurEditorWidget(()=>{sn.current=!1}),nn=jt.onDidFocusEditorText(()=>{sn.current=!0});return()=>{en.dispose(),nn.dispose()}}},[wn.current,hn,Pt]),(0,ye.useEffect)(()=>{var Lt;if((Lt=wn.current)!=null&&Lt.instance&&hn&&Xt){let jt=wn.current.instance,en=jt.getModel();if(!en)return;(()=>{var gn;let It=[],Ht=[];const on=en.getAllDecorations();for(let An of on)An.options.className==="highlighted-line"&&(It.push((gn=An==null?void 0:An.range)==null?void 0:gn.startLineNumber),Ht.push(An==null?void 0:An.id));if(Zt===It[0])return;en.deltaDecorations(Ht,[]);const un=en.getLineCount();Zt&&Zt<=un&&(jt.deltaDecorations([],[{range:new et.Range(Zt,1,Zt,en.getLineMaxColumn(Zt)),options:{isWholeLine:!0,className:"highlighted-line"}}]),jt.revealLineInCenter(Zt))})();const mn=(gn=!1)=>{var It;let Ht=[],on=[];const un=en.getAllDecorations();for(let An of un)An.options.linesDecorationsClassName==="breakpoints-select"&&(Ht.push((It=An==null?void 0:An.range)==null?void 0:It.startLineNumber),on.push(An==null?void 0:An.id));if(gn)return{lines:Ht,ids:on};wt(Ht)},En=gn=>Ue(void 0,null,function*(){let It={range:new et.Range(gn,1,gn,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield en.deltaDecorations([],[It]),mn()}),Cn=gn=>Ue(void 0,null,function*(){let It=[];const Ht=jt.getLineDecorations(gn);for(let on of Ht)on.options.linesDecorationsClassName==="breakpoints-select"&&It.push(on.id);yield en.deltaDecorations(It,[]),mn()}),bn=gn=>{let It=jt.getLineDecorations(gn);for(let Ht of It)if(Ht.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,Fe.isEqual)(_t,mn(!0).lines)){en.deltaDecorations(mn(!0).ids,[]);const gn=_t.map(It=>({range:new et.Range(It,1,It,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));en.deltaDecorations([],gn)}const _n=jt.onDidChangeModelContent(gn=>{let It=jt.getPosition();if(It){let Ht=It.lineNumber;clearTimeout(Vt.current),Vt.current=setTimeout(()=>{$t(en.getLineContent(Ht),Ht)?Cn(Ht):bn(Ht)?(Cn(Ht),En(Ht)):mn()},100)}}),Tn=jt.onMouseDown(gn=>{var It,Ht,on;if(gn.target.detail&&((on=(Ht=(It=gn.target)==null?void 0:It.element)==null?void 0:Ht.className)!=null&&on.includes("line-numbers"))){let un=gn.target.position.lineNumber;if($t(en.getLineContent(un),un))return;bn(un)?Cn(un):En(un)}}),Bt=gn=>{let It={range:new et.Range(gn,1,gn,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};Mt.current=jt.deltaDecorations(Mt.current,[It])},ar=()=>{Mt.current=jt.deltaDecorations(Mt.current,[])},zn=jt.onMouseMove(gn=>{var It,Ht,on;if(ar(),gn.target.detail&&((on=(Ht=(It=gn.target)==null?void 0:It.element)==null?void 0:Ht.className)!=null&&on.includes("line-numbers"))){let un=gn.target.position.lineNumber;if($t(en.getLineContent(un),un))return;Bt(un)}}),Wn=jt.onMouseLeave(()=>{ar()});return()=>{_n.dispose(),Tn.dispose(),zn.dispose(),Wn.dispose()}}},[wn.current,hn,_t,Zt,Xt,$e]),(0,ye.useEffect)(()=>{var Lt;(Lt=wn.current)!=null&&Lt.instance&&Xt&&wn.current.instance.setPosition({lineNumber:0,column:0})},[Zt]);function an(){let Lt=wn.current.instance;if(Lt){const jt=Lt.getSelection(),en=wn.current.pastePos||{},nn=new et.Range(en.startLineNumber||jt.endLineNumber,en.startColumn||jt.endColumn,en.endLineNumber||jt.endLineNumber,en.endColumn||jt.endColumn);setTimeout(()=>{Lt.executeEdits("",[{range:nn,text:""}])},300)}}function jn(Lt){(window.navigator.platform.match("Mac")?Lt.metaKey:Lt.ctrlKey)&&Lt.keyCode==83&&(Lt.preventDefault(),yt())}const fn=()=>{if(mt&&wn.current.instance){const Lt=wn.current.instance.getContentHeight();zt(Lt{if(!sn.current)return;const{keyCode:jt,ctrlKey:en,metaKey:nn,target:mn,type:En}=Lt;return(En==="paste"||(jt===67||jt===86)&&(nn||en))&&mn.nodeName==="TEXTAREA"&&(dt(),Lt.preventDefault()),!1};function er(Lt,jt){var en=window.URL||window.webkitURL||window,nn=new Blob([jt]),mn=document.createElementNS("http://www.w3.org/1999/xhtml","a");mn.href=en.createObjectURL(nn),mn.download=Lt,Nn(mn)}(0,ye.useEffect)(()=>{fn()},[fn]),(0,ye.useEffect)(()=>{Dn.current&&!hn&&Promise.all([Se.e(8909),Se.e(6894)]).then(Se.bind(Se,71448)).then(Lt=>{try{et=Lt,wn.current.instance=et.editor.create(Dn.current,{value:nt,language:at($e),theme:lt,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0},it);const jt=wn.current.instance;let mn=[...we.BH._menuItems].find(_n=>_n[0]._debugName=="EditorContext")[1],En=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],Cn=(_n,Tn)=>{var Bt,ar;let zn=_n._first;do Tn.includes((ar=(Bt=zn.element)==null?void 0:Bt.command)==null?void 0:ar.id)&&_n._remove(zn);while(zn=zn.next)};if(Dt(jt,et),setTimeout(()=>{fn(),wn.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{er(cn||"educoder.txt",jt.getValue())}})},500),wn.current.subscription=jt.onDidChangeModelContent(_n=>{St.current?clearTimeout(xt.current):(fn(),At(jt.getValue(),_n)),xt.current=setTimeout(()=>{St.current=!1},500)}),window.Monaco||me(et,at($e)),Pt&&(Cn(mn,En),Dn.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",Hn),window.removeEventListener("paste",Hn),window.addEventListener("keydown",Hn),window.addEventListener("paste",Hn)),window.Monaco=et,ut&&jt.onDidBlurEditorWidget(()=>{ut(jt.getValue())}),bt&&jt.onDidFocusEditorText(()=>{bt(jt.getValue())}),Pt)try{jt.onDidPaste(_n=>{const Tn=jt.getSelection(),Bt=wn.current.pastePos||{},ar=new et.Range(Bt.startLineNumber||Tn.endLineNumber,Bt.startColumn||Tn.endColumn,Bt.endLineNumber||Tn.endLineNumber,Bt.endColumn||Tn.endColumn);jt.executeEdits("",[{range:_n.range,text:""}])})}catch(_n){}let bn=ft();return Wt&&typeof Wt=="string"&&new _e(Wt,jt,et),gt(!0),()=>{const _n=wn.current.instance;_n.dispose();const Tn=_n.getModel();Tn&&Tn.dispose(),wn.current.subscription&&wn.current.subscription.dispose(),bn.unobserve(Dn.current)}}catch(jt){}})},[]),(0,ye.useEffect)(()=>{if(wn.current.instance&&hn)return document.addEventListener("keydown",jn,!1),()=>{document.removeEventListener("keydown",jn)}},[yt,hn]),(0,ye.useEffect)(()=>{let Lt=wn.current.instance;if(Lt&&hn){let jt=at($e);et.editor.setModelLanguage(Lt.getModel(),jt)}},[$e,hn]),(0,ye.useEffect)(()=>{wn.current.instance&&hn&&et.editor.setTheme(lt)},[lt,hn]),(0,ye.useEffect)(()=>{let Lt=wn.current.instance;Ln.current=st,Lt&&hn&&(Lt.updateOptions(qe({},st)),setTimeout(()=>{Lt.getModel().updateOptions(qe({},st))},200))},[JSON.stringify(st),hn]),(0,ye.useEffect)(()=>{let Lt=wn.current.instance;Lt&&hn&&Lt.layout()},[Re,Xe,hn]);const[Ut,Ot]=(0,ye.useState)(Be(Re)),[pt,zt]=(0,ye.useState)(Be(Xe)),Ct=rt(qe({},tt),{width:Ut,height:pt,position:"relative"});return ye.createElement("div",{className:"my-monaco-editor",ref:Dn,style:Ct},vt&&ye.createElement(Ye.CopyToClipboard,{text:nt,onCopy:()=>Me.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 Ie({width:xe="100%",height:De="100%",original:Re,modified:Xe,language:nt,options:$e={}}){const tt=(0,ye.useRef)(),[st,it]=(0,ye.useState)(null);function lt(mt){let Pt;return tt.current&&(Pt=new je.Z(At=>{for(let Dt of At)(Dt.target.offsetHeight>0||Dt.target.offsetWidth>0)&&mt.layout()}),Pt.observe(tt.current)),Pt}(0,ye.useEffect)(()=>(tt.current&&Promise.all([Se.e(8909),Se.e(9404)]).then(Se.bind(Se,2550)).then(mt=>{et=mt;const Pt=et.editor.createDiffEditor(tt.current,rt(qe({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(Pt);let At=lt(Pt);return()=>{Pt.dispose();const Dt=Pt.getModel();Dt&&Dt.dispose(),At.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=Be(xe),vt=Be(De),yt={width:ut,height:vt};return ye.createElement("div",{className:"my-diff-editor",ref:tt,style:yt})}},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 Ae=we=>{try{_e(ve.next(we))}catch(Me){Ee(Me)}},Ce=we=>{try{_e(ve.throw(we))}catch(Me){Ee(Me)}},_e=we=>we.done?Pe(we.value):Promise.resolve(we.value).then(Ae,Ce);_e((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,Ae,Ce;const _e=(0,a.useParams)(),[we]=pe.default.useForm(),Me=pe.default.useWatch("time",we),[Oe,Fe]=(0,ye.useState)(!1),Le=(0,ye.useRef)(),{actionTabs:Ye}=me,[He,Ge]=(0,ye.useState)(),[,Ke,ze,ke]=(0,ee.U)(re.n7,{id:_e.categoryId}),[,Ne,Ve]=(0,ee.U)(re.Cd,{});(0,ye.useEffect)(()=>{me.actionTabs.key==="student-unlock"&&(Fe(!1),we.resetFields())},[me.actionTabs.key]);const qe=()=>new Promise(et=>le(void 0,null,function*(){var Je,Ie;return Le.current=yield(0,x.y)({ip_limit:(Je=Ye==null?void 0:Ye.exerciseParams)==null?void 0:Je.ip_limit,ip_bind:(Ie=Ye==null?void 0:Ye.exerciseParams)==null?void 0:Ie.ip_bind_type}),et()})),rt=()=>le(void 0,null,function*(){var et,Je,Ie,xe,De;yield we.validateFields();const Re=we.getFieldsValue();if(Fe(!0),(((et=Ye==null?void 0:Ye.exerciseParams)==null?void 0:et.ip_limit)!=="no"||(Je=Ye==null?void 0:Ye.exerciseParams)!=null&&Je.ip_bind_type)&&(yield qe()),(yield(0,re.ZD)((Ie=Ye==null?void 0:Ye.exerciseParams)==null?void 0:Ie.id,{exercise_user_id:(xe=Ye==null?void 0:Ye.exerciseParams)==null?void 0:xe.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=Ye==null?void 0:Ye.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:_e.coursesId,login:(De=(0,b.eY)())==null?void 0:De.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)}),Qe=[{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=Ye==null?void 0:Ye.exerciseParams)==null?void 0:Pe.errorMessage)&&typeof((Ee=Ye==null?void 0:Ye.exerciseParams)==null?void 0:Ee.errorMessage)=="object";(0,ye.useEffect)(()=>{me.actionTabs.key==="student-unlock"&&le(void 0,null,function*(){const et=yield Ve(_e);yield ze({}),et.status||Ge(et)})},[me.actionTabs.key]);const{time:Be,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)+(Me||0);return z.createElement(z.Fragment,null,z.createElement(he.default,{width:514,centered:!0,closable:!!((Ae=Ye==null?void 0:Ye.exerciseParams)!=null&&Ae.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=Ye==null?void 0:Ye.exerciseParams)==null?void 0:Ce.errorMessage)||{}],columns:Qe}),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})),Be!==-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(Me||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 Ge=yield(0,ce.X6)(y);ee(Ge.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:Ae,expected_output:Ce,execute_memory:_e,user:we,execute_time:Me,input_file_url:Oe,output_file_url:Fe,is_file:Le,expected_output_file_url:Ye}=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,Me*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:Me,output:Ee,input:Ae,expected_output:Ce,input_file_url:Oe,output_file_url:Fe,is_file:Le,expected_output_file_url:Ye}),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=(_e,we,Me)=>new Promise((Oe,Fe)=>{var Le=Ge=>{try{He(Me.next(Ge))}catch(Ke){Fe(Ke)}},Ye=Ge=>{try{He(Me.throw(Ge))}catch(Ke){Fe(Ke)}},He=Ge=>Ge.done?Oe(Ge.value):Promise.resolve(Ge.value).then(Le,Ye);He((Me=Me.apply(_e,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=(_e=>(_e[_e.SET_VISIBLE=0]="SET_VISIBLE",_e[_e.SET_TABINDEX=1]="SET_TABINDEX",_e))(Pe||{});function Ee(_e){const{status:we,error_msg:Me,output:Oe,input:Fe,expected_output:Le,is_file:Ye,input_file_url:He,output_file_url:Ge,expected_output_file_url:Ke,setMonacoValue:ze,setData:ke}=_e,Ne=(0,ye.useRef)(),Ve=(0,ye.useRef)(),qe=(0,ye.useRef)();let rt=null;const Qe={minHeight:150,marginBottom:10,paddingLeft:24,background:"#070f19",color:"#fff"};switch((0,ye.useEffect)(()=>{if(Oe&&!Ye&&Ne.current){const Ue=new re.Terminal({fontSize:14,letterSpacing:1,cols:83,rows:10});Ue.open(Ne.current);const Be=(0,ae.pp)(ce.Base64.decode(Oe));Ue.write(Be),Ue.setOption("theme",{background:"#1e1e1e"})}if(Fe&&!Ye&&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&&!Ye&&qe.current){const Ue=new re.Terminal({fontSize:14,letterSpacing:1,cols:83,rows:10});Ue.open(qe.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"),!Ye&&fe.createElement("div",{ref:Ne}),Ye&&fe.createElement("div",{style:Qe},fe.createElement("a",{style:{fontSize:"16px"},onClick:()=>me(this,null,function*(){const Ue=yield(0,te.ZP)(Ge,{method:"Get",headers:{"Content-Type":"application/xml",Accept:"*/*"}});ze(Ue),setTimeout(()=>{ke(Ge)},200)})},Oe)),fe.createElement("p",{className:"c-red"},"\u9884\u671F\u8F93\u51FA\uFF1A"),!Ye&&fe.createElement("div",{ref:qe}),Ye&&fe.createElement("div",{style:Qe},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:"*/*"}});ze(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"),!Ye&&fe.createElement(se.Z,{value:Fe,style:Qe}),Ye&&fe.createElement("div",{style:Qe},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(Me),"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(Me)));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 Ae(_e){const{status:we,error_msg:Me,execute_time:Oe,output:Fe,input:Le,expected_output:Ye,is_file:He,input_file_url:Ge,output_file_url:Ke,expected_output_file_url:ze}=_e;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:_e,className:we}){return fe.createElement("span",{className:we},_e)}ot.ZP=({input:_e,is_file:we,debuging:Me,submitting:Oe,executingMessage:Fe,debugResult:Le,onChangeInput:Ye,onDebugCode:He,onSubmitCode:Ge,hack:Ke,user:ze,submitResult:ke,isWhiteTheme:Ne,topDispatch:Ve})=>{const[qe]=(0,a.useSearchParams)(),rt=(0,a.useParams)(),[Qe,Ue]=(0,ye.useState)(!1),[Be,Ze]=(0,ye.useState)(!1),[Te,We]=(0,ye.useState)(1),[at,et]=(0,ye.useState)(!1),[Je,Ie]=(0,ye.useState)(0),[xe,De]=(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:yt,input:mt,output:Pt,expected_output:At,is_file:Dt,input_file_url:bt,output_file_url:wt,expected_output_file_url:_t,error_msg:cn,hack_sets:Yt}=ke||{};(0,ye.useEffect)(()=>{vt===0&&(We(1),Ie(0))},[vt,yt]),(0,ye.useEffect)(()=>{me(void 0,null,function*(){var Mt;const St=yield(0,b.rX)(rt==null?void 0:rt.id,"submit");(St==null?void 0:St.status)===0&&(St!=null&&St.data&&((Mt=St==null?void 0:St.data)==null?void 0:Mt.status)!==0?(Ve({type:ee.Types.SET_SUBMIT_RESULT,payload:{submitResult:St==null?void 0:St.data}}),We(2),Ie(320)):(We(1),Ie(0)))})},[rt==null?void 0:rt.id]),(0,ye.useEffect)(()=>{if(tt.current){let vn=function(ft){Vt=xt.offsetHeight,sn=!0,hn=ft.pageY,ut.current.style.display="block"},Mt=function(){sn=!1,ut.current.style.display="none"},St=function(ft){if(sn){rn();let dt=hn-ft.pageY,Nt=Vt+dt;if(Nt<0&&(Nt=0),Nt>window.innerHeight-150&&(Nt=window.innerHeight-150),Te===1){Nt<=34?Ie(0):Ie(Nt);return}console.log(Nt,"resizeH"),Ie(Nt)}};const xt=it.current;let Vt=0,sn=!1,hn=0;const gt=document.getElementById("case-y-bar");return gt==null||gt.addEventListener("mousedown",vn),document.addEventListener("mousemove",St),document.addEventListener("mouseup",Mt),()=>{const ft=document.getElementById("case-y-bar");ft==null||ft.removeEventListener("mousedown",vn),document.removeEventListener("mousemove",St),document.removeEventListener("mouseup",Mt)}}},[tt,Te]),(0,ye.useEffect)(()=>{const vn=x.Z.subscribe("resize-move-bar",rn);if(qe.get("type")!=="exercises")return document.addEventListener((0,ge.gH)(),Wt),()=>{document.removeEventListener((0,ge.gH)(),Wt),vn()}},[]),(0,ye.useEffect)(()=>{});function rn(){var vn,Mt,St,xt;const Vt=document.getElementById("outputResultRef");if(Vt){let sn=Vt.dataset.text;st.current.reset(),st.current.writeln(sn);const hn=document.getElementById("outputResultRef").offsetWidth-20,gt=((xt=(St=(Mt=(vn=st.current)==null?void 0:vn._core)==null?void 0:Mt._renderService)==null?void 0:St.dimensions)==null?void 0:xt.actualCellWidth)||10,ft=Math.ceil(hn/gt);st.current.resize(ft,Math.ceil(Vt.clientHeight/16))}}function Zt(){Ue(!Qe),setTimeout(()=>{rn()},300),Ie(Qe?320:window.innerHeight-150)}function Xt(){Be?(Ze(!1),(0,ge.BU)()):(Ze(!0),(0,ge.Dj)(lt.current))}const Wt=vn=>{(0,ge.vp)()||Ze(!1)},Jt=(0,ye.useMemo)(()=>{if(Le){const{status:vn,output:Mt,error_msg:St}=Le;return setTimeout(()=>{let xt="",Vt=document.getElementById("outputResultRef");Mt?xt=ce.Base64.decode(Mt):St&&(xt=ce.Base64.decode(St)),st.current=new re.Terminal({fontSize:14,theme:{background:"#181e2e",cursor:"transparent"},rendererType:"dom"}),st.current.open(Vt),st.current.onKey(function(sn){var hn;if(sn.domEvent.key.toLocaleUpperCase()==="C"&&sn.domEvent.ctrlKey){sn.domEvent.preventDefault();let gt=(hn=st.current)==null?void 0:hn.getSelection();navigator.clipboard.writeText(gt).then(()=>{})}}),Vt.dataset.text=xt,st.current.setOption("convertEol",!0),rn()},300),fe.createElement(fe.Fragment,null,Ae(Le))}return null},[Le]);function Dn(){var vn,Mt;if(!(Ke!=null&&Ke.code)||((vn=Ke==null?void 0:Ke.code)==null?void 0:vn.trim().length)===0){(Mt=E.ZP)==null||Mt.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),Ie(320),He()}const wn=vn=>me(void 0,null,function*(){let Mt=yield(0,te.ZP)(`/api/problems/${vn}/start.json`,{method:"get",params:{hack_user_id:ze==null?void 0:ze.user_id}});Mt&&(window.location.href=`/myproblems/${Mt==null?void 0:Mt.identifier}${window.location.search}`)});function Ln(){Dt?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(Pt)).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:Je},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&&(Je<=34?fe.createElement("div",{onClick:()=>{Ie(320)},className:ie.Z.unfoldBtn},"\u63A7\u5236\u53F0",fe.createElement("i",{className:"iconfont icon-zhankai9 ml10 font12"})):fe.createElement("div",{onClick:()=>{Ie(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:()=>{De(yt)}},fe.createElement("i",{className:"iconfont icon-danceng-xinjianwenjian"}),"\u663E\u793A\u8BE6\u60C5")),qe.get("type")!=="exercises"&&fe.createElement("div",{title:"\u5C55\u5F00/\u6536\u7F29",onClick:()=>Zt()},fe.createElement("i",{className:`iconfont icon-${Qe?"suoxiao1":"fangda"}`})))),fe.createElement("div",{style:{display:Te===1?"block":"none"}},Me?fe.createElement(ue.Z,{style:{color:"#1976d2"},message:"\u670D\u52A1\u542F\u52A8\u4E2D..."}):fe.createElement("div",{style:{height:Je-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?"":_e,onChange:Ye}))),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?Jt: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:Je-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:Be?"calc(100vh - 20px)":200}:{height:24,overflow:"hidden"}},!Dt&&fe.createElement(Ce,{value:mt}),Dt&&fe.createElement("a",{style:{fontSize:"16px"},onClick:()=>me(void 0,null,function*(){const vn=yield fetch(bt,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}});$e(yield vn.text()),setTimeout(()=>{Xe(bt)},200)})},mt)),mt&&fe.createElement("div",{className:ie.Z.action},fe.createElement("span",{onClick:()=>et(!at)},at?"\u6536\u8D77":"\u5C55\u5F00"),qe.get("type")!=="exercises"&&fe.createElement("i",{title:"\u5168\u5C4F/\u9000\u51FA\u5168\u5C4F",onClick:()=>Xt(),className:`iconfont icon-${Be?"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,!Dt&&fe.createElement(Ce,{className:"mb10",value:At&&ce.Base64.decode(At)||""}),Dt&&fe.createElement("a",{style:{fontSize:"16px"},onClick:()=>me(void 0,null,function*(){const vn=yield fetch(_t,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}});$e(yield vn.text()),setTimeout(()=>{Xe(_t)},200)})},At)))),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&&(Dt?fe.createElement("a",{style:{fontSize:"16px"},onClick:()=>me(void 0,null,function*(){const vn=yield(0,te.ZP)(wt,{method:"Get",headers:{"Content-Type":"application/xml",Accept:"*/*"}});try{$e(vn)}catch(Mt){$e("")}setTimeout(()=>{Xe(wt)},200)})},Pt):fe.createElement(Ce,{className:"mb10",value:Pt&&ce.Base64.decode(Pt)||""})))))))))),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:()=>wn(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:()=>wn(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:Me||Oe,loading:Me,color:"#2ABD8C",className:"mr10",onClick:Dn},"\u8C03\u8BD5\u4EE3\u7801"),qe.get("qtype")!=="8"&&fe.createElement(pe.ZP,{className:ie.Z.disabled,type:"primary",icon:fe.createElement("i",{className:"iconfont icon-bofang1"}),loading:Oe,disabled:Me||Oe,onClick:()=>{var vn,Mt;if(!(Ke!=null&&Ke.code)||((vn=Ke==null?void 0:Ke.code)==null?void 0:vn.trim().length)===0){(Mt=E.ZP)==null||Mt.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),Ie(320),Ge()}},"\u8BC4\u6D4B\u5E76\u63D0\u4EA4")),fe.createElement(y.Z,{onClose:De,open:xe}),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 Cr},default:function(){return _r}});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 Ae={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 _e(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:Ft,onUpdateCode:Gt,ActionBarRender:kt,setIsWhiteTheme:ln})=>{const[tn,Qt]=(0,ye.useReducer)(_e,Ae),{theme:dn,fontSize:qt,showEditorSetting:Bn,tabToSpace:Sn}=tn,Fn=(0,ye.useRef)(),On=(0,ye.useRef)();(0,ye.useEffect)(()=>{ln(dn==="vs")},[dn]);const Yn={onFontSizeChange:rr=>{Qt({type:0,payload:rr}),(0,b.t)("cmFontSize",rr)},tabToSpace:Sn,cmFontSize:qt,className:"oj",cmCodeMode:dn,onTabToSpace:rr=>{Qt({type:2,payload:rr}),(0,b.t)("cmTabToSpace",rr)},onCodeModeChange:rr=>{Qt({type:1,payload:rr}),(0,b.t)("ProgrammingCodeMode",rr)}};function lr(){Qt({type:3,payload:!1})}function Ar(){Qt({type:3,payload:!0})}const Pr={value:Tt,language:Ft,theme:dn,options:{fontSize:qt,insertSpaces:Sn},onChange:rr=>{Et(rr),On.current=rr,clearTimeout(Fn.current),Fn.current=setTimeout(()=>{Gt(On.current)},1e4)},onEditBlur:rr=>{On.current&&Gt(On.current)}};return z.createElement(ye.Fragment,null,kt(Ar),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:lr},z.createElement(ee.Z,Pe({},Yn)))))},Me=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"},Ye={pagination:"pagination___yDAjZ",info:"info___ATmsa",wrap:"wrap____KX19"},He=Se(1710),Ge=Se(58421),Ke=Se(58617),ze=Se(47365),ke=Se(61186),Ne=Se.n(ke),Ve=Se(59301);const{Column:qe}=He.default;var rt=({submitResult:ht,submitting:Tt,submitRecords:Et,page:Ft,onPageChange:Gt,topicId:kt})=>{const[ln]=(0,je.useSearchParams)(),{records:tn,records_count:Qt}=Et||{},[dn,qt]=(0,ye.useState)(!1),Bn=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})},(tn==null?void 0:tn.length)>0?Ve.createElement(He.default,{dataSource:tn,rowKey:"id",pagination:!1},Ve.createElement(qe,{title:"\u63D0\u4EA4\u65F6\u95F4",dataIndex:"created_at",key:"created_at",render:(Sn,Fn)=>Ve.createElement("span",null," ",Ne()(Sn).format("YYYY-MM-DD HH:mm:ss"))}),Ve.createElement(qe,{title:"\u8BC4\u6D4B\u7ED3\u679C",dataIndex:"status",key:"status",render:(Sn,Fn)=>{var On;return Ve.createElement("span",{className:`${Sn===0?"c-green":"c-red"} current`,onClick:()=>{qt(Fn.id)}},(On=Fe.Im[Sn])==null?void 0:On.replace("\u8C03\u8BD5","\u8BC4\u6D4B"))}}),Ve.createElement(qe,{title:`\u6267\u884C\u7528\u65F6 (${Bn?"MS":"S"})`,dataIndex:"execute_time",key:"execute_time",render:Sn=>Sn?Bn?Sn:Sn/1e3:""}),Ve.createElement(qe,{title:`\u5185\u5B58\u6D88\u8017\uFF08${Bn?"KB":"MB"}\uFF09`,dataIndex:"execute_memory",key:"execute_memory",render:Sn=>Sn?Bn?Sn:parseFloat((Sn/1024).toFixed(2)):""}),Ve.createElement(qe,{title:"\u8BED\u8A00",dataIndex:"language",key:"language"}),Ve.createElement(qe,{title:"\u64CD\u4F5C",dataIndex:"status",key:"status",render:(Sn,Fn)=>Ve.createElement("span",{className:"c-light-primary current",onClick:()=>{qt(Fn.id)}},"\u67E5\u770B")})):Ve.createElement("div",{style:{height:300,width:"100%"}}),Ve.createElement(ze.Z,{onClose:qt,open:dn}),Qt>15?Ve.createElement(Ge.Z,{className:Ye.pagination,current:Ft,pageSize:15,total:Qt,onChange:Gt}):null)},Qe=Se(57816),Ue=Se(12563),Be={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:Ft,description:Gt}=ht,[kt]=(0,je.useSearchParams)(),ln=We[Et];return Te.createElement(Te.Fragment,null,Te.createElement("ul",{className:Be.info},Te.createElement("li",null,"\u7F16\u7A0B\u8BED\u8A00\xA0\xA0",Te.createElement("b",{className:Be.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"}},Ft,"\u79D2"))),kt.get("qtype")==="8"?Te.createElement(Ze.Z,{value:Gt,showProgramFill:!0,className:Be.desc}):Te.createElement(Ze.Z,{value:Gt,className:Be.desc}))},et={},Je=Se(59301),Ie=({hack:ht,current_user:Tt})=>Je.createElement("div",{className:et.answer},ht!=null&&ht.answer_text?Je.createElement(Ze.Z,{style:{padding:"13px 0"},value:(ht==null?void 0:ht.answer_text)||""}):Je.createElement(Qe.Z,{customText:"\u6682\u672A\u8BBE\u7F6E\u53C2\u8003\u7B54\u6848~"})),xe=Se(50484),De=Se(7660);function Re(ht,Tt){return(0,De.U2)(`/problems/${ht}/comments.json`,{page:Tt,limit:10})}function Xe(ht){return(0,De.v_)(`/discusses/${ht}/plus.json`,{container_type:"Discuss",type:1})}function nt(ht,Tt,Et){return(0,De.v_)(`/problems/${ht}/comments/reply.json`,{comments:{content:Et,parent_id:Tt}})}function $e(ht,Tt){return(0,De.v_)(`/problems/${ht}/comments.json`,{comments:{content:Tt}})}function tt(ht,Tt,Et){return(0,De.v_)(`/problems/${ht}/comments/${Tt}/hidden.json`,Et)}function st(ht,Tt){return(0,De.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:Ft,onSetActionType:Gt}){const{author:kt,can_delete:ln,content:tn,id:Qt,time:dn}=ht;function qt(){Gt({id:Qt,index:Tt,type:"delete-discuss",parentDiscussIndex:Et,message:"\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u6761\u56DE\u590D\u5417"})}const Bn=Ft.admin||ln||kt.user_id===Ft.user_id;return ye.createElement("div",{className:"discuss-item-container second-discuss "},ye.createElement(lt,{author:kt}),ye.createElement("section",null,ye.createElement("div",{className:"discuss-info"},ye.createElement("a",{href:`/users/${kt.login}`,target:"_blank"},kt.name),ye.createElement("span",{className:"grey"},dn),ye.createElement("div",{className:"btn-group",style:{marginBottom:0}},Bn?ye.createElement("a",{onClick:qt,title:"\u5220\u9664"},ye.createElement("i",{className:"iconfont icon-shanchu"})):null)),ye.createElement(Ze.Z,{className:"discuss-content",value:tn})))}var vt=({user:ht,data:Tt,index:Et,onPlusDiscuss:Ft,onSetActionType:Gt,activeDiscussIndex:kt,onReplyDiscuss:ln,onSetActiveDiscussIndex:tn})=>{const{content:Qt,children:dn,hidden:qt,id:Bn,praise_count:Sn,time:Fn,user_praise:On,can_delete:Yn,author:lr}=Tt;function Ar(){tn(Bn)}function Pr(){Ft(Bn,!On,Et)}function rr(){Gt({id:Bn,index:Et,type:"delete-discuss",message:"\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u6761\u56DE\u590D\u5417"})}function dr(){Gt({id:Bn,index:Et,params:{hidden:qt?"0":"1"},type:"hidden-discuss",message:qt?"\u786E\u5B9A\u8981\u53D6\u6D88\u9690\u85CF\u8BE5\u6761\u56DE\u590D\u5417":"\u786E\u5B9A\u8981\u9690\u85CF\u8BE5\u6761\u56DE\u590D\u5417"})}const Dr=ht.admin||ht.user_id===lr.user_id;return ye.createElement("div",{className:"discuss-item-container",key:Bn},ye.createElement(lt,{author:lr}),ye.createElement("section",null,ye.createElement("div",{className:"discuss-info"},ye.createElement("a",{href:`/users/${lr.login}`,target:"_blank"}," ",lr.name," "),ye.createElement("span",{className:"grey"},Fn)),ye.createElement(Ze.Z,{className:"discuss-content",value:Qt}),dn&&dn.length>0?ye.createElement("div",{className:"reply-discuss-container"},dn.map((Zn,gr)=>ye.createElement(ut,{key:Zn.id,data:Zn,index:gr,user:ht,onSetActionType:Gt,parentDiscussIndex:Et}))):null,ye.createElement("div",{className:"btn-group"},Dr?ye.createElement("a",{onClick:dr,title:qt?"\u53D6\u6D88\u9690\u85CF":"\u9690\u85CF\u8BC4\u8BBA"},ye.createElement("i",{className:qt?"iconfont icon-yincangbiyan":"fa fa-eye"})):null,Yn&&(!dn||dn.length==0)?ye.createElement("a",{onClick:rr,title:"\u5220\u9664"},ye.createElement("i",{className:"iconfont icon-shanchu"})):null,ye.createElement("a",{onClick:Ar,title:"\u56DE\u590D"}," ",ye.createElement("i",{className:"iconfont icon-huifu1"})," "),ye.createElement("a",{onClick:Pr,className:On?"c-orange":""},ye.createElement("i",{className:On?"iconfont icon-dianzan mr3":"iconfont icon-dianzan-xian mr3 "}),ye.createElement("span",null,Sn||""))),ye.createElement(it.Z,{id:Bn,activeDiscussIndex:kt,onReplyDiscuss:ln})))},yt=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"},Pt=Se(64726),At=(ht,Tt,Et)=>new Promise((Ft,Gt)=>{var kt=Qt=>{try{tn(Et.next(Qt))}catch(dn){Gt(dn)}},ln=Qt=>{try{tn(Et.throw(Qt))}catch(dn){Gt(dn)}},tn=Qt=>Qt.done?Ft(Qt.value):Promise.resolve(Qt.value).then(kt,ln);tn((Et=Et.apply(ht,Tt)).next())}),Dt=({user_praise:ht,praise_count:Tt,praisePlus:Et,onCreateDiscuss:Ft,discuss_count:Gt})=>{const[kt,ln]=(0,ye.useState)(!1),[tn,Qt]=(0,ye.useState)("");function dn(Fn){Qt(Fn)}function qt(){ln(!0)}function Bn(){ln(!1)}function Sn(){return At(this,null,function*(){Ft(tn),Qt(""),ln(!1)})}return ye.createElement("div",{className:`${mt["dis-input-editor-container"]} ${kt?mt.active:""} `},ye.createElement("div",{className:kt?`hide ${mt["text-area"]}`:mt["text-area"]},ye.createElement("input",{placeholder:"\u8BF4\u70B9\u4EC0\u4E48",onClick:qt}),ye.createElement("a",null," ",ye.createElement("i",{className:"iconfont icon-huifu1"})," \xA0 \xA0",Gt," "),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):"")),kt?ye.createElement("div",{className:mt["input-mask"],onClick:Bn}):null,ye.createElement("div",{className:kt?mt["md-container"]:`${mt["md-container"]} hide`},ye.createElement(Pt.Z,{id:"discuss-input-editor",miniToolbar:!0,watch:!1,noStorage:!0,defaultValue:tn,height:240,onChange:dn}),ye.createElement("div",{className:mt["tip-container"],onClick:Bn},ye.createElement("a",{className:mt["btn-send"],onClick:Sn}," \u53D1\u9001 "))))},bt=Se(59301),wt=Object.defineProperty,_t=Object.defineProperties,cn=Object.getOwnPropertyDescriptors,Yt=Object.getOwnPropertySymbols,rn=Object.prototype.hasOwnProperty,Zt=Object.prototype.propertyIsEnumerable,Xt=(ht,Tt,Et)=>Tt in ht?wt(ht,Tt,{enumerable:!0,configurable:!0,writable:!0,value:Et}):ht[Tt]=Et,Wt=(ht,Tt)=>{for(var Et in Tt||(Tt={}))rn.call(Tt,Et)&&Xt(ht,Et,Tt[Et]);if(Yt)for(var Et of Yt(Tt))Zt.call(Tt,Et)&&Xt(ht,Et,Tt[Et]);return ht},Jt=(ht,Tt)=>_t(ht,cn(Tt)),Dn=(ht,Tt,Et)=>new Promise((Ft,Gt)=>{var kt=Qt=>{try{tn(Et.next(Qt))}catch(dn){Gt(dn)}},ln=Qt=>{try{tn(Et.throw(Qt))}catch(dn){Gt(dn)}},tn=Qt=>Qt.done?Ft(Qt.value):Promise.resolve(Qt.value).then(kt,ln);tn((Et=Et.apply(ht,Tt)).next())});const wn={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 vn(ht,Tt){switch(Tt.type){case 6:return Jt(Wt({},ht),{loading:!0});case 0:return Wt(Wt({},ht),Tt.payload);case 1:return Wt(Wt({},ht),Tt.payload);case 4:return Wt(Wt({},ht),Tt.payload);case 3:return Wt(Wt({},ht),Tt.payload);case 5:return Jt(Wt({},ht),{page:Tt.payload});case 2:return Wt(Wt({},ht),Tt.payload);default:throw new Error}}var Mt=({user:ht,identifier:Tt,hack:Et,onTriggerPraise:Ft,activeIndex:Gt})=>{const[kt,ln]=(0,ye.useReducer)(vn,wn),{loading:tn,page:Qt,data:dn,count:qt,actionType:Bn,activeDiscussIndex:Sn}=kt,Fn=(0,ye.useCallback)(()=>Dn(void 0,null,function*(){ln({type:6});const Zn=yield Re(Tt,Qt),{comments:gr,disscuss_count:Qn}=Zn;ln({type:0,payload:{data:gr,count:Qn,loading:!1}})}),[Qt,Tt]);(0,ye.useEffect)(()=>{Gt==="2"&&Fn()},[Tt,Qt,Gt]);function On(Zn){ln({type:5,payload:Zn})}function Yn(Zn){ln({type:4,payload:{actionType:Zn}})}function lr(Zn){ln(Sn===Zn?{type:2,payload:{activeDiscussIndex:null}}:{type:2,payload:{activeDiscussIndex:Zn}})}function Ar(Zn,gr,Qn){return Dn(this,null,function*(){try{const pn=yield Xe(Zn);dn[Qn].user_praise=gr,dn[Qn].praise_count=pn.praise_count,ln({type:3,payload:{data:[...dn]}})}catch(pn){console.log(pn)}})}function Pr(){return Dn(this,null,function*(){const{id:Zn,params:gr,type:Qn,index:pn,parentDiscussIndex:qn}=Bn;if(Qn==="hidden-discuss"&&(yield tt(Tt,Zn,gr),qn?dn[qn].children[pn].hidden=gr.hidden==1:dn[pn].hidden=gr.hidden==1,ln({type:4,payload:{actionType:null,data:[...dn]}})),Qn==="delete-discuss"){if(yield st(Tt,Zn),qn||qn===0){let Rt=dn[qn].children;for(let yn=Rt.length-1;yn>=0;yn--)if(Rt[yn].id===Zn){Rt.splice(yn,1);break}dn[qn].children=Rt}else for(let Rt=dn.length-1;Rt>=0;Rt--)if(dn[Rt].id===Zn){dn.splice(Rt,1);break}ln({type:4,payload:{actionType:null,data:[...dn]}})}})}function rr(){ln({type:4,payload:{actionType:null}})}function dr(Zn,gr){return Dn(this,null,function*(){try{yield nt(Tt,Zn,gr),Fn()}catch(Qn){console.log(Qn)}})}function Dr(Zn){return Dn(this,null,function*(){ln({type:6}),yield $e(Tt,Zn),Fn()})}return bt.createElement(bt.Fragment,null,bt.createElement("div",{className:"discuss-panel"},dn.length===0?bt.createElement(Qe.Z,null):dn.map((Zn,gr)=>bt.createElement(vt,{onReplyDiscuss:dr,onPlusDiscuss:Ar,onSetActiveDiscussIndex:lr,onSetActionType:Yn,data:Zn,index:gr,user:ht,activeDiscussIndex:Sn})),qt>10?bt.createElement("div",{className:"pagination-container"},bt.createElement(Ge.Z,{showQuickJumper:!0,onChange:On,current:Qt,total:qt})):null),bt.createElement(Dt,{user_praise:Et.user_praise,praise_count:Et.praises_count,praisePlus:Ft,discuss_count:Et.comments_count,onCreateDiscuss:Dr}),bt.createElement(x.Z,null,bt.createElement(pe.default,{centered:!0,title:"\u63D0\u793A",open:!!Bn,onOk:Pr,onCancel:rr},bt.createElement("p",null,Bn?Bn.message:"")),bt.createElement(yt.Z,null)))},St=Se(57809),xt=Se(92832),Vt=Se(65615),sn={},hn=Se(59301),gt=({hack:ht,current_user:Tt})=>hn.createElement("div",{className:sn.answer},ht!=null&&ht.analysis?hn.createElement(Ze.Z,{style:{padding:"13px 0"},value:(ht==null?void 0:ht.analysis)||""}):hn.createElement(Qe.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_"},dt=Se(36381),Nt=Se(43604),$t=Se(78241),an=Se(5871),jn=Se(24833),fn=Se(59301);const{TextArea:Nn}=xt.default,{Panel:Hn}=dt.default;var er=({data:ht,hack:Tt})=>(console.log(ht,Tt,"data"),Tt!=null&&Tt.is_file?fn.createElement(jn.Y2,{disabled:!0,className:ft.uploadTableWrapper,showScore:!Tt.test_set_score,data:ht,isProgramHomework:!0}):fn.createElement("div",{className:ft.hackSets},ht==null?void 0:ht.map((Et,Ft)=>fn.createElement(dt.default,{accordion:!0,bordered:!1,key:Ft,defaultActiveKey:Ft===0&&Et.id,className:ft.collapseWrapper,expandIcon:({isActive:Gt})=>fn.createElement("i",{className:`iconfont icon-weizhankai ${Gt?ft.open:ft.close}`,style:{fontSize:14,transition:"all .2s"}})},fn.createElement(Hn,{key:Et.id,header:fn.createElement(ie.Z,{align:"middle",justify:"space-between",wrap:!1},fn.createElement(Nt.Z,{className:ft.panelHeader},fn.createElement("span",null,"\u6D4B\u8BD5\u7528\u4F8B",Ft+1)),fn.createElement(Nt.Z,{flex:1},fn.createElement(ie.Z,{align:"middle",justify:"end",wrap:!1},!(Tt!=null&&Tt.test_set_score)&&fn.createElement(Nt.Z,{className:ft.rateInput},fn.createElement("span",{className:"mr20"},"\u8BC4\u5206\u5360\u6BD4"),fn.createElement("div",null,fn.createElement($t.default.Item,{noStyle:!0},fn.createElement(an.Z,{value:Et==null?void 0:Et.score,className:ft.baseFormItem,min:0,max:100,disabled:!0}))),fn.createElement("span",{className:"ml10"},"%")))))},fn.createElement($t.default.Item,{label:"\u8F93\u5165",labelCol:{span:24}},fn.createElement(Nn,{readOnly:!0,value:Et==null?void 0:Et.input,rows:4})),fn.createElement($t.default.Item,{label:"\u8F93\u51FA",labelCol:{span:24}},fn.createElement(Nn,{readOnly:!0,value:Et==null?void 0:Et.output,rows:4}))))))),Ut={tabs:"tabs___p2jIb",tabWarp:"tabWarp___mt05L",tab:"tab___IYGdQ",active:"active___fQMlP",content:"content___GWVJY"},Ot=Se(59301),zt=(0,ye.forwardRef)(({data:ht=[]},Tt)=>{var Et;const[Ft,Gt]=(0,ye.useState)(),kt=ht.filter(tn=>tn.show);(0,ye.useEffect)(()=>{kt.length&&Gt(kt[0].id)},[ht==null?void 0:ht.length]);const ln=((Et=kt.find(tn=>tn.id===Ft))==null?void 0:Et.element)||null;return(0,ye.useImperativeHandle)(Tt,()=>({setActiveTab:tn=>Gt(tn)})),Ot.createElement("div",{className:Ut.tabs},Ot.createElement("div",{className:Ut.tabWarp},kt.map(tn=>Ot.createElement("div",{onClick:()=>Gt(tn.id),className:`${Ut.tab} ${tn.id===Ft?Ut.active:""}`,key:tn.id},tn.name))),Ot.createElement("div",{className:Ut.content},ln))}),Ct=Se(59301),Lt=Object.defineProperty,jt=Object.defineProperties,en=Object.getOwnPropertyDescriptors,nn=Object.getOwnPropertySymbols,mn=Object.prototype.hasOwnProperty,En=Object.prototype.propertyIsEnumerable,Cn=(ht,Tt,Et)=>Tt in ht?Lt(ht,Tt,{enumerable:!0,configurable:!0,writable:!0,value:Et}):ht[Tt]=Et,bn=(ht,Tt)=>{for(var Et in Tt||(Tt={}))mn.call(Tt,Et)&&Cn(ht,Et,Tt[Et]);if(nn)for(var Et of nn(Tt))En.call(Tt,Et)&&Cn(ht,Et,Tt[Et]);return ht},_n=(ht,Tt)=>jt(ht,en(Tt)),Tn=(ht,Tt,Et)=>new Promise((Ft,Gt)=>{var kt=Qt=>{try{tn(Et.next(Qt))}catch(dn){Gt(dn)}},ln=Qt=>{try{tn(Et.throw(Qt))}catch(dn){Gt(dn)}},tn=Qt=>Qt.done?Ft(Qt.value):Promise.resolve(Qt.value).then(kt,ln);tn((Et=Et.apply(ht,Tt)).next())});const Bt={1:"\u7B80\u5355",2:"\u9002\u4E2D",3:"\u56F0\u96BE"},ar={1:"#2fa34f",2:"#0152d9",3:"#fa6400"};var zn=({hack:ht,onTriggerPraise:Tt,topicId:Et,page:Ft,onPageChange:Gt,user:kt,current_user:ln,submitRecords:tn,submitting:Qt,submitResult:dn,setActiveIndex:qt,hack_sets:Bn})=>{var Sn,Fn;const[On]=(0,je.useSearchParams)(),[Yn,lr]=(0,ye.useState)("0"),Ar=(0,je.useLocation)(),[Pr,rr]=(0,ye.useState)(!1),[dr,Dr]=(0,ye.useState)(null),[Zn,gr]=(0,ye.useState)([]),[Qn,pn]=(0,ye.useState)([]),[qn,Rt]=(0,ye.useState)({page:1,limit:10}),yn=(0,ye.useRef)(null),Vn=(0,ye.useRef)(null);console.log(kt,"user");let[Rn,$n]=(0,ye.useState)(_n(bn({},(0,je.useParams)()),{page:1,per_page:20,name:""}));(0,ye.useEffect)(()=>{Vn.current&&(ht==null?void 0:ht.is_close_tips)===!1&&dr===null&&Dr(!0)},[Vn.current,ht==null?void 0:ht.is_close_tips,dr]);function mr(){return Tn(this,null,function*(){yield(0,De.ZP)("/api/users/close_tips.json",{method:"post"})})}(0,ye.useEffect)(()=>{qt(Yn)},[Yn]);function ir(Gn){return Tn(this,null,function*(){let Er=Gn.target.id;if(Er==="1"){let Mr=yield(0,De.ZP)(`/api/myproblems/${Rn.id}/redo_logs.json`,{method:"get",params:bn({},qn)});(Mr==null?void 0:Mr.status)===0&&pn(Mr==null?void 0:Mr.data)}lr(Er)})}(0,ye.useEffect)(()=>xe.Z.subscribe("to-commit-info",()=>{lr("1"),yn.current&&yn.current.setActiveTab("1")}),[]),(0,ye.useEffect)(()=>xe.Z.subscribe("to-reset-info",()=>{ir({target:{id:"1"}}),yn.current&&yn.current.setActiveTab("2")}),[]);function vr(){lr("2")}function tr(){return Tn(this,null,function*(){let Gn=yield(0,De.ZP)("/api/problems/my_hack_list.json",{method:"get",params:bn({identifier:Rn==null?void 0:Rn.id},Rn)});gr(Gn)})}const Pn=[{title:null,description:Ct.createElement("div",null,Ct.createElement("b",{onClick:()=>{Dr(!1),mr(),rr(!0),tr()},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:()=>{Dr(!1),mr()},style:{padding:"2px 29px",height:30,float:"right"},type:"primary"},"\u77E5\u9053\u4E86")),target:()=>Vn.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)&&!On.get("pageId")&&Ct.createElement(oe.Z,{title:"\u9898\u76EE\u5217\u8868"},Ct.createElement("div",{onClick:()=>{tr(),rr(!0)},className:Le.btns,ref:Vn,style:dr?{pointerEvents:"none"}:{}},Ct.createElement("i",{className:"iconfont icon-yidongdaomulu1 font14 c-white"}))),Ct.createElement("li",{style:{marginLeft:20}},Ct.createElement("a",{className:Yn==="0"?Le.active:"",id:"0",onClick:ir},"\u9898\u76EE\u63CF\u8FF0")),Ct.createElement("li",null,Ct.createElement("a",{className:Yn==="1"?Le.active:"",id:"1",onClick:ir},"\u64CD\u4F5C\u8BB0\u5F55")),(On.get("type")!=="exercises"&&(ht==null?void 0:ht.answer_text_show)||On.get("type")!=="exercises"&&(ht==null?void 0:ht.analysis_show))&&Ct.createElement("li",null,Ct.createElement("a",{className:Yn==="4"?Le.active:"",id:"4",onClick:ir},"\u89E3\u7B54\u53C2\u8003")),On.get("type")!=="exercises"&&Ct.createElement("li",null,Ct.createElement("a",{className:Yn==="2"?Le.active:"",id:"2",onClick:ir},"\u8BC4\u8BBA")),!!(Bn!=null&&Bn.length)&&On.get("type")!=="exercises"&&On.get("type")!=="1"&&Ct.createElement("li",null,Ct.createElement("a",{className:Yn==="5"?Le.active:"",id:"5",onClick:ir},"\u6D4B\u8BD5\u7528\u4F8B"))),Ct.createElement("div",{className:`${Le["tab-panel-body"]} ${Yn==="0"?"":"hide"}`,style:{borderRight:"1px #dddddd solid",padding:0}},Ct.createElement(at,{hack:ht,onTriggerPraise:Tt,toDiscuss:vr})),Ct.createElement("div",{style:{padding:"12px"},className:`${Le["tab-panel-body"]} ${Yn==="1"?"":"hide"}`},Ct.createElement(zt,{ref:yn,data:[{id:"1",show:On.get("qtype")!=="8",name:"\u63D0\u4EA4\u8BB0\u5F55",element:Ct.createElement(Ct.Fragment,null,tn!=null&&tn.records_count||Qt?Ct.createElement(rt,{page:Ft,onPageChange:Gt,topicId:Et,submitting:Qt,key:(dn==null?void 0:dn.id)||1,submitRecords:tn,submitResult:dn}):Ct.createElement(Qe.Z,null))},{id:"2",show:On.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:Qn==null?void 0:Qn.list,columns:[{title:"\u6062\u590D\u521D\u59CB\u4EE3\u7801\u65F6\u95F4",dataIndex:"created_at",render:(Gn,Er,Mr)=>Ne()(Gn).format("YYYY-MM-DD HH:mm:ss")},{title:"\u64CD\u4F5C",dataIndex:"redo_type",render:(Gn,Er,Mr)=>{var Rr;return(Rr=[{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(Ur=>Ur.id===Gn))==null?void 0:Rr.name}}]}),Ct.createElement(Ge.Z,{style:{marginTop:10},current:qn.page,total:Qn==null?void 0:Qn.count,hideOnSinglePage:!0,onChange:Gn=>Tn(void 0,null,function*(){qn.page=Gn,Rt(qn);let Er=yield(0,De.ZP)(`/api/myproblems/${Rn.id}/redo_logs.json`,{method:"get",params:_n(bn({},qn),{courseId:Rn.courseId})});(Er==null?void 0:Er.status)===0&&pn(Er==null?void 0:Er.data)})}))}]})),Ct.createElement("div",{style:{padding:"12px"},className:`${Le["tab-panel-body"]} ${Yn==="4"?"":"hide"}`},Ct.createElement(zt,{data:[{id:"1",show:On.get("type")!=="exercises"&&(ht==null?void 0:ht.answer_text_show),name:"\u7B54\u6848",element:Ct.createElement(Ct.Fragment,null,Ct.createElement(Ie,{hack:ht,current_user:ln}))},{id:"2",show:On.get("type")!=="exercises"&&(ht==null?void 0:ht.analysis_show),name:"\u89E3\u6790",element:Ct.createElement(Ct.Fragment,null,Ct.createElement(gt,{hack:ht,current_user:ln}))}]})),Ct.createElement("div",{className:`${Le["tab-panel-body"]} ${Yn==="2"?"":"hide"}`,style:{padding:0}},Ct.createElement(Mt,{user:kt,activeIndex:Yn,identifier:ht.identifier,hack:ht,onTriggerPraise:Tt})),Ct.createElement("div",{className:`${Le["tab-panel-body"]} ${Yn==="5"?"":"hide"}`,style:{padding:12}},Ct.createElement(er,{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:()=>rr(!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",Zn==null?void 0:Zn.total_count,"\u9898\xA0[\xA0",Zn==null?void 0:Zn.total_score,"\u5206\xA0]\xA0"),!(kt!=null&&kt.hack_manager)&&Ct.createElement("span",{style:{color:"#FA8D30",fontWeight:500,marginLeft:"auto"},className:"font12"},"\u6211\u7684\u5F97\u5206\xA0:\xA0",Zn==null?void 0:Zn.work_score,"\u5206")),Ct.createElement("div",{style:{height:1,background:"#1C313F",marginTop:12}}),Ct.createElement(ie.Z,{align:"middle",className:"mt10 mb10"},!(kt!=null&&kt.hack_manager)&&Ct.createElement(St.default,{size:"large",className:"mr10",style:{width:104},placeholder:"\u901A\u8FC7\u60C5\u51B5",onChange:Gn=>{Rn.page=1,Rn.finish_status=Gn,$n(bn({},Rn)),tr()}},Ct.createElement(St.default.Option,{value:""},"\u5168\u90E8"),Ct.createElement(St.default.Option,{value:0},"\u672A\u5F00\u59CB"),Ct.createElement(St.default.Option,{value:1},"\u8FDB\u884C\u4E2D"),Ct.createElement(St.default.Option,{value:2},"\u5DF2\u5B8C\u6210")),Ct.createElement(St.default,{size:"large",className:"mr10",style:{width:104},placeholder:"\u9898\u76EE\u96BE\u5EA6",onChange:Gn=>{Rn.page=1,Rn.difficult=Gn||null,$n(bn({},Rn)),tr()}},Ct.createElement(St.default.Option,{value:0},"\u5168\u90E8"),Ct.createElement(St.default.Option,{value:1},"\u7B80\u5355"),Ct.createElement(St.default.Option,{value:2},"\u9002\u4E2D"),Ct.createElement(St.default.Option,{value:3},"\u56F0\u96BE")),Ct.createElement(xt.default.Search,{size:"large",onSearch:Gn=>{Rn.name=Gn,Rn.page=1,$n(bn({},Rn)),tr()},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"}},!(kt!=null&&kt.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}},(Sn=Zn==null?void 0:Zn.data)!=null&&Sn.length?(Fn=Zn==null?void 0:Zn.data)==null?void 0:Fn.map((Gn,Er)=>Ct.createElement("div",{onClick:()=>Tn(void 0,null,function*(){let Mr=yield(0,De.ZP)(`/api/problems/${Gn==null?void 0:Gn.identifier}/start.json`,{method:"get",params:{hack_user_id:kt==null?void 0:kt.user_id}});Mr&&(je.history.replace(`/myproblems/${Mr==null?void 0:Mr.identifier}${window.location.search}`),window.location.reload())}),className:`${Le.list} ${Gn!=null&&Gn.checked?Le.active:""}`},!(kt!=null&&kt.hack_manager)&&Ct.createElement(Ct.Fragment,null,!(Gn!=null&&Gn.opened)&&Ct.createElement("span",{style:{color:"#E02020"}},"\u672A\u5F00\u59CB"),(Gn==null?void 0:Gn.opened)&&!(Gn!=null&&Gn.passed)&&Ct.createElement("span",{style:{color:"#FA6400"}},"\u8FDB\u884C\u4E2D"),(Gn==null?void 0:Gn.opened)&&(Gn==null?void 0:Gn.passed)&&Ct.createElement("span",{style:{color:"#24C074"}},"\u5DF2\u5B8C\u6210")),Ct.createElement("span",null,(Rn.page-1)*20+(Er+1)),Ct.createElement("span",{style:{flex:1},title:Gn.name},`[${Gn==null?void 0:Gn.score}\u5206]`,"\xA0",Gn.name),Ct.createElement("span",{style:{flexBasis:48,paddingRight:0}},Bt[Gn.difficult]))):Ct.createElement(Qe.Z,null)),Ct.createElement(Ge.Z,{current:Rn.page,className:"mt20",hideOnSinglePage:!0,total:Zn==null?void 0:Zn.count,pageSize:Rn.per_page,onChange:(Gn,Er)=>{Rn.page=Gn,Rn.per_page=Er,tr()}})),Ct.createElement(Vt.Z,{rootClassName:Le.tour,closeIcon:!1,open:!!dr,steps:Pn,gap:{offset:3,radius:2}}))},Wn=Se(62522),gn=Se(93261),It=Se(46942),Ht=Se(38992),on=Se(39649),un=Se(71400),An=Se(7850),Mn=Se(92310),In=Se.n(Mn),Un=Se(48569),nr=Se(18378),wr=Se(54318),yr=Se(71302),Kt=Se(59301),xr=Object.defineProperty,Lr=Object.defineProperties,Tr=Object.getOwnPropertyDescriptors,ur=Object.getOwnPropertySymbols,br=Object.prototype.hasOwnProperty,pr=Object.prototype.propertyIsEnumerable,cr=(ht,Tt,Et)=>Tt in ht?xr(ht,Tt,{enumerable:!0,configurable:!0,writable:!0,value:Et}):ht[Tt]=Et,kn=(ht,Tt)=>{for(var Et in Tt||(Tt={}))br.call(Tt,Et)&&cr(ht,Et,Tt[Et]);if(ur)for(var Et of ur(Tt))pr.call(Tt,Et)&&cr(ht,Et,Tt[Et]);return ht},Kn=(ht,Tt)=>Lr(ht,Tr(Tt)),hr=(ht,Tt)=>{var Et={};for(var Ft in ht)br.call(ht,Ft)&&Tt.indexOf(Ft)<0&&(Et[Ft]=ht[Ft]);if(ht!=null&&ur)for(var Ft of ur(ht))Tt.indexOf(Ft)<0&&pr.call(ht,Ft)&&(Et[Ft]=ht[Ft]);return Et},Xn=(ht,Tt,Et)=>new Promise((Ft,Gt)=>{var kt=Qt=>{try{tn(Et.next(Qt))}catch(dn){Gt(dn)}},ln=Qt=>{try{tn(Et.throw(Qt))}catch(dn){Gt(dn)}},tn=Qt=>Qt.done?Ft(Qt.value):Promise.resolve(Qt.value).then(kt,ln);tn((Et=Et.apply(ht,Tt)).next())});const{Countdown:fr}=E.default,sr={Java:"java",C:"c",Python:"py","C++":"c"};var Cr=(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))(Cr||{});function Sr(){return new Date().getTime()}const or={loading:!0,data:void 0,showNote:!1,debugResult:void 0,submitResult:void 0,debuging:!1,submitting:!1,submitRecords:void 0,submitRecordPage:1,executingMessage:""};function Ir(ht,Tt){switch(Tt.type){case 1:return kn(kn({},ht),Tt.payload);case 3:return Kn(kn({},ht),{data:Tt.payload});case 0:return Kn(kn({},ht),{loading:Tt.payload});case 9:return Kn(kn({},ht),{showNote:Tt.payload});case 4:return Kn(kn({},ht),{debuging:Tt.payload});case 5:return Kn(kn({},ht),{submitting:Tt.payload});case 2:return Kn(kn({},ht),{submitRecords:Tt.payload});case 10:return Kn(kn({},ht),{submitRecordPage:Tt.payload});case 6:return Kn(kn({},ht),{executingMessage:Tt.payload});case 7:return kn(kn({},ht),Tt.payload);case 8:return kn(kn({},ht),Tt.payload);default:throw new Error}}var _r=({children:ht})=>{var Tt,Et,Ft,Gt,kt;const[ln,tn]=(0,ye.useReducer)(Ir,or),{id:Qt}=(0,je.useParams)(),dn=(0,je.useLocation)(),[qt]=(0,je.useSearchParams)(),{loading:Bn,data:Sn,debugResult:Fn,submitResult:On,submitRecords:Yn,submitRecordPage:lr,showNote:Ar,debuging:Pr,submitting:rr,executingMessage:dr}=ln,[Dr,Zn]=(0,ye.useState)("#37AD83"),[gr,Qn]=(0,ye.useState)(null),[pn,qn]=(0,ye.useState)({}),[Rt,yn]=(0,ye.useState)(!0),[Vn,Rn]=(0,ye.useState)(!1),[$n,mr]=(0,ye.useState)(!1),ir=(0,ye.useRef)(null),vr=(0,ye.useRef)(0),tr=Sn==null?void 0:Sn.user,Pn=Sn==null?void 0:Sn.hack,[Gn,Er]=(0,ye.useState)(!1),Mr=(0,ye.useRef)(1),Rr=(0,ye.useRef)(!1);(0,Un.y)(qt.get("type")==="exercises");const{setOpenDisableCopyAndPaste:Ur}=(0,Un.X)(),[Wr,zr]=(0,ye.useState)(""),Gr=(0,on._)(pn);(0,ye.useEffect)(()=>{function xn(){return Xn(this,null,function*(){var Jn,Fr,Nr,Vr,Hr;yn(!0);const kr=yield(0,ue.fu)(Qt,{exercise_id:qt.get("exercisesId")});if(setTimeout(()=>{yn(!1)},800),kr.status!==401){try{kr.hack.code=Oe.Base64.decode(kr.hack.code)}catch(Or){console.log(Or)}kr.hack=Kn(kn({},kr.hack),{is_program:qt.get("type")==="1"}),tn({type:1,payload:{loading:!1,data:kr}})}if(qt.get("type")==="exercises"){if(window.self===window.top){window.top.location.href="/";return}let Or;qt.get("coursesId")=="coursesId"?Or=yield(0,se._F)({categoryId:qt.get("exercisesId"),login:qt.get("login")}):Or=yield(0,se._B)({categoryId:qt.get("exercisesId"),login:qt.get("login")}),qn(kn({},Or)),Ur((Jn=Or==null?void 0:Or.exercise)==null?void 0:Jn.forbid_copy),typeof((Fr=Or==null?void 0:Or.exercise)==null?void 0:Fr.left_time)=="number"&&(Qn(Date.now()+((Nr=Or==null?void 0:Or.exercise)==null?void 0:Nr.left_time)*1e3),setTimeout(()=>{Zn("red")},(((Vr=Or==null?void 0:Or.exercise)==null?void 0:Vr.left_time)-300>0?((Hr=Or==null?void 0:Or.exercise)==null?void 0:Hr.left_time)-300:0)*1e3))}})}Qt&&xn()},[Qt]),(0,ye.useEffect)(()=>{var xn;return qt.get("type")==="exercises"&&((xn=pn==null?void 0:pn.exercise)!=null&&xn.screen_open)&&(window.removeEventListener("blur",Qr,!1),un.U.forEach((Jn,Fr)=>{window.addEventListener(Jn,Qr,!1)}),window.addEventListener("blur",Qr,!1),window.focus()),()=>{document.removeEventListener((0,ae.gH)(),Qr)}},[pn]),(0,ye.useEffect)(()=>{Wr==="1"&&Qt&&Pn!=null&&Pn.language&&ta()},[Qt,lr,Pn==null?void 0:Pn.language,Wr]),(0,ye.useEffect)(()=>(Pn!=null&&Pn.is_program&&(vr.current=0,ir.current=setInterval(()=>{Yr()},15e3)),()=>{clearInterval(ir.current)}),[Pn==null?void 0:Pn.is_program]);const Yr=()=>Xn(void 0,null,function*(){let xn=yield(0,De.ZP)(`/api/myproblems/${Qt}/save_long_time.json`,{method:"get",params:{answer_long_time:vr.current}})}),Qr=()=>{Rr.current||(0,ae.BU)(),window.parent.postMessage("backExercise","*")};function ta(){return Xn(this,null,function*(){try{const xn=yield(0,ue.zO)(Qt,{limit:15,page:lr,language:Pn==null?void 0:Pn.language});tn({type:2,payload:xn})}catch(xn){console.log(xn)}})}function na(xn){tn({type:10,payload:xn})}function Kr(xn){return Xn(this,null,function*(){var Jn;let Fr;(qt.get("ip_limit")==="inner"||qt.get("ip_bind_type")==="true")&&(Fr=yield(0,gn.y)({ip_limit:qt.get("ip_limit"),ip_bind:qt.get("ip_bind_type")==="true"}));const Nr=yield(0,ue.n4)(Qt,{code:Oe.Base64.encode(xn||Pn.code),language:Pn==null?void 0:Pn.language,exercise_id:qt.get("exercisesId"),question_id:qt.get("questionId"),ip:Fr});return Nr.status===-5&&(0,je.getDvaApp)()._store.dispatch({type:"exercise/setActionTabs",payload:{key:"student-unlock",exerciseParams:Kn(kn({errorMessage:Nr==null?void 0:Nr.message},(pn==null?void 0:pn.exercise)||{}),{exercise_user_id:(Jn=pn==null?void 0:pn.exercise)==null?void 0:Jn.exercise_user_id,id:qt.get("exercisesId")})}}),Nr})}function qr(){return Xn(this,null,function*(){if(Mr.current=2,!rr){tn({type:5,payload:!0});try{xe.Z.publish("to-commit-info");const xn=yield Kr();if(console.log(xn,1),xn.status===0){let kr=function(){return Xn(this,null,function*(){const{status:Or,data:Zr}=yield(0,ue.rX)(Qt,"submit"),Xr=Sr()-Hr>(Nr*Vr+3)*1e3;if(Or!==0&&!Xr&&setTimeout(kr,1e3),Xr){pe.default.error({centered:!0,okText:"\u77E5\u9053\u5566",title:"\u8BC4\u6D4B\u4EE3\u7801\u8D85\u65F6"}),tn({type:5,payload:!1});return}if(Or===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&&qt.get("type")==="1"&&mr(!0);const ma=yield(0,ue.zO)(Qt,{limit:15,page:lr,language:Pn==null?void 0:Pn.language});tn({type:8,payload:Kn(kn({},ln),{submitResult:Zr,submitting:!1,submitRecords:ma})})}})},Jn={};if(qt.get("type")==="exercises"&&(Jn.extras={exercise_id:qt.get("exercisesId"),question_id:qt.get("questionId")},(qt.get("ip_limit")==="inner"||qt.get("ip_bind_type")==="true")&&(Jn.extras.ip=yield(0,gn.y)({ip_limit:qt.get("ip_limit"),ip_bind:qt.get("ip_bind_type")==="true"}))),(yield(0,ue.bM)(Qt,Jn)).status===-1&&qt.get("exercisesId")){window.parent.location.href=`/classrooms/${qt.get("coursesId")}/exercise/${qt.get("exercisesId")}/detail`;return}const{time_limit:Nr,test_case_size:Vr}=Pn,Hr=Sr();kr()}else tn({type:5,payload:!1})}catch(xn){console.log(xn),tn({type:5,payload:!1})}Er(!1)}})}function $r(){return Xn(this,null,function*(){Mr.current=1,ln.debuging=!0,tn({type:4,payload:!0});try{if((yield Kr()).status===0){let Hr=function(){return Xn(this,null,function*(){const{status:kr,message:Or,data:Zr}=yield(0,ue.rX)(Qt,"debug"),Xr=Sr()-Vr>(Jn+3)*1e3;if(kr!==0&&!Xr&&(tn({type:6,payload:Or}),setTimeout(Hr,1e3)),Xr){pe.default.error({title:"\u63D0\u793A",centered:!0,okText:"\u77E5\u9053\u5566",content:"\u8C03\u8BD5\u4EE3\u7801\u8D85\u65F6"}),tn({type:4,payload:!1}),tn({type:7,payload:Kn(kn({},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"}),tn({type:4,payload:!1}),tn({type:7,payload:Kn(kn({},ln),{debugResult:Zr,debuging:!1})}))})};const{time_limit:Jn}=Pn;let Fr={input:encodeURIComponent(Sn.test_case.input)};if(qt.get("type")==="exercises"&&(Fr.exercise_id=qt.get("exercisesId")),(yield(0,ue.MU)(Qt,Fr)).status===-1&&qt.get("exercisesId")){window.parent.location.href=`/classrooms/${qt.get("coursesId")}/exercise/${qt.get("exercisesId")}/detail`;return}const Vr=Sr();Hr()}else tn({type:4,payload:!1})}catch(xn){console.log(xn)}finally{}})}function Jr(xn,Jn){const Fr=Jn?{modify_code:!1}:{};tn({type:3,payload:Kn(kn({},Sn),{hack:kn(Kn(kn({},Pn),{code:xn}),Fr)})}),Er(!0)}const ra=xn=>Xn(void 0,null,function*(){let Jn=yield(0,De.ZP)(`/api/problems/${Pn==null?void 0:Pn.identifier}/start.json`,{method:"get",params:{language:xn==="C++"||xn==="c++"?encodeURIComponent(xn):xn,hack_user_id:tr==null?void 0:tr.user_id}});Jn.status!==-1&&je.history.replace(`/myproblems/${Jn==null?void 0:Jn.identifier}${window.location.search}`)});function aa(xn){let Jn=xn.target.value;tn({type:3,payload:Kn(kn({},Sn),{test_case:{input:Jn}})})}function oa(){return Xn(this,null,function*(){try{let xn={};qt.get("type")==="exercises"?xn.exercise_id=qt.get("exercisesId"):Pn!=null&&Pn.homework_common_id&&(xn.homework_common_id=Pn==null?void 0:Pn.homework_common_id);const Jn=yield(0,ue.H7)(Qt,kn({},xn));Jn.status===401||(Jr(Oe.Base64.decode(Jn.code)),(qt.get("type")==="exercises"||Pn!=null&&Pn.homework_common_id)&&xe.Z.publish("to-reset-info"))}catch(xn){console.log(xn)}})}function ia(){pe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:Kt.createElement("p",null,"\u521D\u59CB\u4EE3\u7801\u6709\u4FEE\u6539\uFF0C\u66F4\u65B0\u540E\u5C06\u8986\u76D6\u73B0\u6709\u4EE3\u7801\u54E6~ ",Kt.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 xn=yield(0,ue.fi)(Qt);xn.status===401||Jr(Oe.Base64.decode(xn.code),!0)})}})}function sa(){tn({type:9,payload:!0})}function la(){tn({type:9,payload:!1})}function ua(xn){return Xn(this,null,function*(){yield(0,ue.MK)(Qt,xn),tn({type:1,payload:{showNote:!1,data:Kn(kn({},Sn),{hack:Kn(kn({},Pn),{notes:xn.notes})})}})})}const ca={hack:Pn,isLoading:Rt,input:(Tt=Sn==null?void 0:Sn.test_case)==null?void 0:Tt.input,is_file:(Et=Sn==null?void 0:Sn.test_case)==null?void 0:Et.is_file,language:Pn==null?void 0:Pn.language,code:Pn==null?void 0:Pn.code,title:"main."+sr[Pn==null?void 0:Pn.language],modify_code:Pn==null?void 0:Pn.modify_code,notes:Pn==null?void 0:Pn.notes,debugResult:Fn,debuging:Pr,submitting:rr,submitResult:On,executingMessage:dr,onCancelNote:la,onAddNote:ua,showNote:Ar,user:tr,onShowNote:sa,onSubmitCode:qr,onChangeCode:Jr,onChangeInput:aa,onDebugCode:$r,onResetCode:oa,onSyncCode:ia,onUpdateCode:Kr,onChangeLanguage:ra,isWhiteTheme:Vn,setIsWhiteTheme:Rn,topDispatch:tn};function da(){return Xn(this,null,function*(){const{praise_count:xn}=yield(0,ue.vl)(Pn.id,{container_type:"Hack",type:1});let Jn=Kn(kn({},Sn),{hack:Kn(kn({},Pn),{praises_count:xn,user_praise:!Pn.user_praise})});tn({type:3,payload:Jn})})}const fa={topicId:Qt,submitResult:On,submitRecords:Yn,submitting:rr,page:lr,onPageChange:na,hack:Pn,user:Sn==null?void 0:Sn.user,hack_sets:Sn==null?void 0:Sn.hack_sets,current_user:Sn==null?void 0:Sn.current_user,onTriggerPraise:da,setActiveIndex:zr};console.log(pn);const ga=()=>qt.get("type")==="exercises"?!1:!!(qt.get("type")==="1"&&Object.values((Pn==null?void 0:Pn.homework_extension)||{}).some(Boolean));return Kt.createElement(Kt.Fragment,null,Kt.createElement(he.Z,{spinning:Bn,delay:500},Sn?Kt.createElement(Kt.Fragment,null,Kt.createElement("header",{className:In()(An.Z.header,Vn&&An.Z.whiteHeader)},qt.get("type")!=="exercises"&&Kt.createElement("div",null,Kt.createElement("img",{src:`${ne.Z.IMG_SERVER}/images/${tr==null?void 0:tr.image_url}`,alt:"user",width:36}),Kt.createElement("span",{style:{color:Vn?"#333":"#B2BACB",fontSize:16}},tr==null?void 0:tr.name)),qt.get("type")==="exercises"&&Kt.createElement("div",null,Kt.createElement("div",{className:"exercise_user_info"},"\u59D3\u540D",Kt.createElement("span",{className:"ml10"},(Ft=pn==null?void 0:pn.exercise)==null?void 0:Ft.user_name)),Kt.createElement("div",{className:"exercise_user_info ml30"},"\u5B66\u53F7",Kt.createElement("span",{className:"ml10"},(Gt=pn==null?void 0:pn.exercise)==null?void 0:Gt.student_id))),Kt.createElement("h2",{className:"flex-wrp flex_box_column flex_box_center"},Kt.createElement("div",null,Pn.name)),(Pn==null?void 0:Pn.is_program)&&Kt.createElement(It.Z,{defaultValue:Pn==null?void 0:Pn.answer_long_time,onChange:xn=>{vr.current=xn},className:An.Z.timepiece}),tr!=null&&tr.hack_manager?Kt.createElement(je.Link,{className:An.Z.btn_edit,to:qt.get("type")==="1"?qt.get("pageId")?`/problems/newedit/${Pn.identifier}?type=1&pageId=${qt.get("pageId")}&backUrl=${qt.get("backUrl")}`:`/problems/newedit/${Pn.identifier}?type=1`:`/problems/newedit/${Pn.identifier}`}," ",Kt.createElement("i",{className:"iconfont icon-bianji13 font14 mr5"})," \u7F16\u8F91"):null,((kt=pn==null?void 0:pn.exercise)==null?void 0:kt.left_time)&&Kt.createElement(Kt.Fragment,null,Kt.createElement("span",{style:{color:Dr,marginRight:6},className:`iconfont icon-daojishi ${An.Z.djs}`}),Kt.createElement("span",{className:"c-white mr20"},Kt.createElement(fr,{valueStyle:{color:Dr,fontSize:20,fontWeight:500},title:Kt.createElement("span",{style:{color:Dr,fontSize:14,marginRight:10},className:"time"},"\u5269\u4F59\u7B54\u9898\u65F6\u957F"),value:gr,onFinish:()=>Xn(void 0,null,function*(){const xn=yield(0,se.VL)({categoryId:qt.get("exercisesId"),commit_method:2});if((xn==null?void 0:xn.status)===0&&(Kr(),pe.default.info({width:530,title:"\u63D0\u793A",centered:!0,okText:"\u786E\u5B9A",content:Kt.createElement("div",{className:"tc font16"},"\u7B54\u9898\u7ED3\u675F\u4E86\uFF0C\u7CFB\u7EDF\u5DF2\u81EA\u52A8\u63D0\u4EA4\u8BD5\u5377",Kt.createElement("br",null),"\u4E0D\u80FD\u518D\u4FEE\u6539\u7B54\u9898"),onOk:()=>Xn(void 0,null,function*(){window.parent.location.href=`/classrooms/${qt.get("coursesId")}/exercise/${qt.get("exercisesId")}/detail`})})),(xn==null?void 0:xn.status)===-3){const Jn=parseInt(xn==null?void 0:xn.message);Qn(Date.now()+Jn*1e3)}})}))),qt.get("type")==="exercises"?Kt.createElement(ce.ZP,{type:"primary",onClick:()=>{const xn=()=>Xn(void 0,null,function*(){yield Kr(),Er(!1),Gr(),Rr.current=!0,Qr()});if(!(Yn!=null&&Yn.records_count)||Gn){pe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",icon:null,title:"\u63D0\u793A",content:Kt.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:xn});return}xn()}},Kt.createElement("span",{className:"iconfont icon-yiguanbi mr5 font14"})," \u8FD4\u56DE\u8BD5\u5377"):Kt.createElement("span",{onClick:()=>{var xn;if(qt.get("backUrl"))je.history.push(qt.get("backUrl"));else if(qt.get("type")==="1"){let Jn=(xn=localStorage.getItem("program_homework"))==null?void 0:xn.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")}},Kt.createElement(oe.Z,{title:"\u5173\u95ED"},Kt.createElement("i",{style:{color:Vn?"#8D929F":"#fff"},className:"iconfont icon-fanhuishijuan font16 "})))),Kt.createElement(he.Z,{size:"large",spinning:Rt},Kt.createElement(re.Z,{className:In()(An.Z.myProblems,Vn&&An.Z.whiteMyProblems),leftChild:Kt.createElement(zn,kn({},fa)),rightChild:Kt.createElement(jr,kn({},ca))}))):null,Kt.createElement(pe.default,{centered:!0,closable:!1,width:680,footer:null,open:$n,className:"oj-modal"},Kt.createElement("section",{className:"oj-modal-content"},Kt.createElement("div",{className:"oj-modal-head"},Kt.createElement("img",{src:Wn,alt:""}),Kt.createElement("i",{onClick:()=>mr(!1),className:"iconfont icon-guanbi1"})),Kt.createElement("aside",null,Kt.createElement("img",{className:"mr30",src:yr.Z}),"\u8FD0\u884C\u65F6\u95F4:\xA0",Kt.createElement("span",{style:{color:"#75d6ba",marginRight:100}},On==null?void 0:On.execute_time,"ms"),"\u4F18\u4E8E",Kt.createElement("span",{style:{color:"#f3b087",margin:"0 5px"}},(On==null?void 0:On.time_better_than)||100,"%"),"\u7684\u7528\u6237"),Kt.createElement("aside",{className:"mb50"},Kt.createElement("img",{src:wr.Z,className:"mr30"}),Kt.createElement("span",{className:"oj-modal-tt"},Kt.createElement("span",null,Kt.createElement("span",null,"\u5360\u7528\u5185\u5B58:\xA0"),Kt.createElement("span",{className:"c-light-primary"},On==null?void 0:On.execute_memory,"kb")),Kt.createElement("span",null,Kt.createElement("span",null))),"\u4F18\u4E8E",Kt.createElement("span",{style:{color:"#f3b087",margin:"0 5px"}},(On==null?void 0:On.memory_better_than)||100,"%"),"\u7684\u7528\u6237"),Kt.createElement("div",{id:"oj-modal-next",onClick:()=>Xn(void 0,null,function*(){var xn;if(On!=null&&On.next_identifier){let Jn=yield(0,De.ZP)(`/api/problems/${On==null?void 0:On.next_identifier}/start.json`,{method:"get",params:{hack_user_id:tr==null?void 0:tr.user_id}});Jn&&(je.history.replace(`/myproblems/${Jn==null?void 0:Jn.identifier}${window.location.search}`),window.location.reload())}else{let Jn=(xn=localStorage.getItem("program_homework"))==null?void 0:xn.split(",");je.history.push(`/classrooms/${Jn==null?void 0:Jn[0]}/program_homework/${Jn==null?void 0:Jn[1]}/detail`)}}),className:"oj-modal-btn"},On!=null&&On.next_identifier?"\u8FDB\u5165\u4E0B\u4E00\u9898":"\u56DE\u5230\u4F5C\u4E1A\u8BE6\u60C5\u9875"))),ga()&&Kt.createElement(nr.Z,{showData:Pn==null?void 0:Pn.homework_extension,description:Pn==null?void 0:Pn.description,code:Pn.code,sendParams:{source:"hack"}})),Kt.createElement(Ht.Z,{successCb:()=>{Mr.current===1?$r():qr()}}))};function Br({title:ht,modify_code:Tt,onSyncCode:Et,onShowCodeSetting:Ft,onResetCode:Gt,hack:kt,onChangeLanguage:ln,isWhiteTheme:tn}){var Qt;const dn=()=>{pe.default.confirm({title:"\u6062\u590D\u521D\u59CB\u4EE3\u7801",icon:Kt.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:Gt})},[qt]=(0,je.useSearchParams)(),Bn=qt.get("language"),Sn=Fn=>Fn==="1"?"c++":Fn==="2"?"C++":Fn;return(0,ye.useEffect)(()=>{Bn&&ln(Sn(Bn))},[]),(0,ye.useEffect)(()=>{kt!=null&&kt.tpm_code_modified&&pe.default.confirm({title:"\u66F4\u65B0\u521D\u59CB\u4EE3\u7801",icon:Kt.createElement(te.Z,null),content:Kt.createElement("div",null,Kt.createElement("div",null,"\u7F16\u7A0B\u9898\u7684\u521D\u59CB\u4EE3\u7801\u5185\u5BB9\u6709\u66F4\u65B0,"),Kt.createElement("div",null,"\u66F4\u65B0\u64CD\u4F5C\u5C06\u4FDD\u7559\u5DF2\u5B8C\u6210\u7684\u8BC4\u6D4B\u8BB0\u5F55\u548C\u6210\u7EE9,"),Kt.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:()=>Gt()})},[kt==null?void 0:kt.language]),console.log(kt,tn,"hack"),Kt.createElement("div",{className:`${An.Z.codeHead} ${tn?An.Z.whiteCodeHead:""}`},Kt.createElement("div",{className:An.Z.navWrap},(Qt=kt==null?void 0:kt.all_language)==null?void 0:Qt.map(Fn=>Kt.createElement("div",{className:`${An.Z.nav} ${Fn===(kt==null?void 0:kt.language)?An.Z.active:""}`,key:Fn,onClick:()=>ln(Fn)},Kt.createElement(oe.Z,{title:"\u7F16\u7A0B\u8BED\u8A00"},Kt.createElement("i",{className:"iconfont icon-bianchengyuyan1"})),Kt.createElement("span",null,Fn)))),Kt.createElement(ie.Z,{align:"middle",style:{marginLeft:"auto"}},Tt?Kt.createElement("a",{title:"\u66F4\u65B0\u901A\u77E5",onClick:Et},Kt.createElement("img",{src:Me,alt:"notice",style:{height:13,transform:"translateY(-2px)"}})):null,Kt.createElement("a",{onClick:dn},Kt.createElement(oe.Z,{title:"\u6062\u590D\u521D\u59CB\u4EE3\u7801"},Kt.createElement("i",{style:{color:"#8D929F"},className:"iconfont icon-huifuchushihuashezhi mr15"}))),Kt.createElement("a",{onClick:Ft},Kt.createElement(oe.Z,{title:"\u8BBE\u7F6E"},Kt.createElement("i",{style:{color:"#8D929F"},className:"iconfont icon-shezhi8 font14 mr15"})))))}function jr(ht){var Tt=ht,{input:Et,is_file:Ft,showNote:Gt,onShowNote:kt,notes:ln,onCancelNote:tn,onAddNote:Qt,debugResult:dn,language:qt,debuging:Bn,submitting:Sn,executingMessage:Fn,code:On,onSubmitCode:Yn,onDebugCode:lr,onChangeCode:Ar,onChangeInput:Pr,onUpdateCode:rr,user:dr,isLoading:Dr,submitResult:Zn}=Tt,gr=hr(Tt,["input","is_file","showNote","onShowNote","notes","onCancelNote","onAddNote","debugResult","language","debuging","submitting","executingMessage","code","onSubmitCode","onDebugCode","onChangeCode","onChangeInput","onUpdateCode","user","isLoading","submitResult"]);function Qn(qn){return Kt.createElement(Br,Kn(kn({},gr),{onShowCodeSetting:qn}))}const pn=kn({input:Et,is_file:Ft,debugResult:dn,debuging:Bn,submitting:Sn,executingMessage:Fn,onDebugCode:lr,onChangeCode:Ar,onSubmitCode:Yn,onChangeInput:Pr,user:dr,submitResult:Zn},gr);return Kt.createElement("div",{style:{display:"flex",flexDirection:"column",height:"100%",background:"#1B2333"}},Kt.createElement(we,{setIsWhiteTheme:gr==null?void 0:gr.setIsWhiteTheme,isLoading:Dr,language:qt,value:On,onChange:Ar,onUpdateCode:rr,ActionBarRender:Qn}),Kt.createElement(Fe.ZP,kn({},pn)))}},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,Ae)=>Ee in Pe?x(Pe,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Ae}):Pe[Ee]=Ae,fe=(Pe,Ee)=>{for(var Ae in Ee||(Ee={}))le.call(Ee,Ae)&&ge(Pe,Ae,Ee[Ae]);if(z)for(var Ae of z(Ee))de.call(Ee,Ae)&&ge(Pe,Ae,Ee[Ae]);return Pe},me=(Pe,Ee)=>b(Pe,ee(Ee)),be=(Pe,Ee,Ae)=>new Promise((Ce,_e)=>{var we=Fe=>{try{Oe(Ae.next(Fe))}catch(Le){_e(Le)}},Me=Fe=>{try{Oe(Ae.throw(Fe))}catch(Le){_e(Le)}},Oe=Fe=>Fe.done?Ce(Fe.value):Promise.resolve(Fe.value).then(we,Me);Oe((Ae=Ae.apply(Pe,Ee)).next())});const ve=({problemset:Pe,dispatch:Ee})=>{var Ae,Ce,_e,we,Me;const[Oe,Fe]=(0,ye.useState)({}),[Le,Ye]=(0,ye.useState)([]),[He,Ge]=(0,ye.useState)(!1),[Ke,ze]=(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,Be,Ze;if(((Ue=Pe==null?void 0:Pe.actionTabs)==null?void 0:Ue.key)==="BPROGRAM"){const Te=(0,he.cloneDeep)((Be=Pe==null?void 0:Pe.actionTabs)==null?void 0:Be.params);Fe(Te),Ye((Ze=Te==null?void 0:Te.standard_answer)==null?void 0:Ze.map(We=>({value:"",answer:(We==null?void 0:We.answer_text)||[]})))}},[(Ae=Pe==null?void 0:Pe.actionTabs)==null?void 0:Ae.key]);function qe(){return new Date().getTime()}const rt=()=>be(void 0,null,function*(){var Ue,Be,Ze,Te,We;if(Le.some(Je=>(Je==null?void 0:Je.value)==="")&&!He){E.ZP.warning("\u8BF7\u60A8\u4F5C\u7B54\u540E\u518D\u63D0\u4EA4");return}if(He){const Je=(0,he.cloneDeep)((Ue=Pe==null?void 0:Pe.actionTabs)==null?void 0:Ue.params);Ye([...(Be=Je==null?void 0:Je.standard_answer)==null?void 0:Be.map(Ie=>({value:"",answer:(Ie==null?void 0:Ie.answer_text)||[],type:""}))]),Ge(!He);return}else{let Je=Le==null?void 0:Le.map((Ie,xe)=>me(fe({},Ie),{type:Ie.types}));Ye(Je)}console.log(Le),ze(!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(Je=>Je.value)});if((et==null?void 0:et.status)===0){let Ie=function(){return be(this,null,function*(){const{status:xe,message:De,data:Re}=yield(0,re.rX)(at==null?void 0:at.identifier,"submit"),nt=qe()-Je>10*1e3*(Le==null?void 0:Le.length);if(xe!==0&&!nt&&setTimeout(Ie,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"}),ze(!1);return}if(xe===0){ze(!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"}));Ye($e),Ne(Re),Re.status===2&&(ze(!1),pe.default.error({centered:!0,okText:"\u77E5\u9053\u5566",title:"\u8C03\u8BD5\u4EE3\u7801\u8D85\u65F6"}))}})};const Je=qe();yield(0,re.bM)(at==null?void 0:at.identifier,{}),Ie()}else ze(!1);Ge(!He)}),Qe=()=>{Fe({}),Ye([]),Ge(!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:Qe,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}),((_e=Oe==null?void 0:Oe.program_attr)==null?void 0:_e.code)&&y.createElement(ie.Z,{showProgramFill:!0,onFillChange:Ue=>{let Be=Ue==null?void 0:Ue.map((Ze,Te)=>fe({},Ze));Ye(Be)},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}),(Me=Oe==null?void 0:Oe.standard_answer)==null?void 0:Me.map((Ue,Be)=>y.createElement("div",{className:"c-grey-333 mb5",style:{display:"flex",alignItems:"baseline"}},y.createElement("b",null,"\u586B\u7A7A",Be+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 Dt}});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=(bt,wt,_t)=>wt in bt?re(bt,wt,{enumerable:!0,configurable:!0,writable:!0,value:_t}):bt[wt]=_t,ee=(bt,wt)=>{for(var _t in wt||(wt={}))y.call(wt,_t)&&b(bt,_t,wt[_t]);if(a)for(var _t of a(wt))x.call(wt,_t)&&b(bt,_t,wt[_t]);return bt},z=(bt,wt)=>ne(bt,te(wt)),le=(bt,wt,_t)=>new Promise((cn,Yt)=>{var rn=Wt=>{try{Xt(_t.next(Wt))}catch(Jt){Yt(Jt)}},Zt=Wt=>{try{Xt(_t.throw(Wt))}catch(Jt){Yt(Jt)}},Xt=Wt=>Wt.done?cn(Wt.value):Promise.resolve(Wt.value).then(rn,Zt);Xt((_t=_t.apply(bt,wt)).next())});const de=({problemset:bt,dispatch:wt,showdiv:_t,data:cn})=>{const[Yt,rn]=(0,ye.useState)([]),[Zt,Xt]=(0,ye.useState)(!1),Wt=["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 Jt=()=>le(void 0,null,function*(){if(!Yt.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)}Xt(!Zt)}),Dn=(Ln,vn)=>{console.log(Ln.target.checked);const Mt=Yt.map((St,xt)=>z(ee({},St),{checked:xt===vn?Ln.target.checked:!1}));rn(Mt)},wn=()=>{rn([]),Xt(!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}),Yt==null?void 0:Yt.map((Ln,vn)=>{const{is_answer:Mt,checked:St,choice_text:xt}=Ln;let Vt="";return Zt&&Mt&&(Vt=se.Z.green),Zt&&!Mt&&St&&(Vt=se.Z.red),ae.createElement("div",{key:vn,style:{pointerEvents:Zt?"none":"auto"},className:`${se.Z.row} ${Vt}`},ae.createElement(oe.ZP,{onChange:sn=>Dn(sn,vn),checked:St}),ae.createElement("span",null,Wt[vn],".\xA0"),ae.createElement(ce.Z,{className:se.Z.html,value:xt}),Zt&&Mt&&ae.createElement("span",{style:{paddingTop:4},className:"iconfont icon-duigou1 font16"}),Zt&&!Mt&&St&&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"),Wt[Yt.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:()=>{Jt()}},Zt?"\u91CD\u65B0\u7B54\u9898":"\u63D0\u4EA4\u7B54\u6848")),!_t&&ae.createElement(ue.Z,null))};var ge=(0,je.connect)(({problemset:bt})=>({problemset:bt}))(de),fe=Se(92832),me=Se(72714),be=Se(59301),ve=Object.defineProperty,Pe=Object.defineProperties,Ee=Object.getOwnPropertyDescriptors,Ae=Object.getOwnPropertySymbols,Ce=Object.prototype.hasOwnProperty,_e=Object.prototype.propertyIsEnumerable,we=(bt,wt,_t)=>wt in bt?ve(bt,wt,{enumerable:!0,configurable:!0,writable:!0,value:_t}):bt[wt]=_t,Me=(bt,wt)=>{for(var _t in wt||(wt={}))Ce.call(wt,_t)&&we(bt,_t,wt[_t]);if(Ae)for(var _t of Ae(wt))_e.call(wt,_t)&&we(bt,_t,wt[_t]);return bt},Oe=(bt,wt)=>Pe(bt,Ee(wt)),Fe=(bt,wt,_t)=>new Promise((cn,Yt)=>{var rn=Wt=>{try{Xt(_t.next(Wt))}catch(Jt){Yt(Jt)}},Zt=Wt=>{try{Xt(_t.throw(Wt))}catch(Jt){Yt(Jt)}},Xt=Wt=>Wt.done?cn(Wt.value):Promise.resolve(Wt.value).then(rn,Zt);Xt((_t=_t.apply(bt,wt)).next())});const Le=({problemset:bt,datas:wt,showdiv:_t,dispatch:cn})=>{var Yt;const[rn,Zt]=(0,ye.useState)({}),[Xt,Wt]=(0,ye.useState)([]),[Jt,Dn]=(0,ye.useState)(!1),wn=["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 St;if(Object.keys(wt)){const xt=(0,he.cloneDeep)(wt);Zt(xt),Wt((St=xt==null?void 0:xt.standard_answer)==null?void 0:St.map(Vt=>Me({value:"",answer:(Vt==null?void 0:Vt.answer_text)||[]},Vt)))}},[wt]);const Ln=()=>Fe(void 0,null,function*(){var St;if(Xt.some(xt=>(xt==null?void 0:xt.value)==="")){E.ZP.warning("\u8BF7\u60A8\u4F5C\u7B54\u540E\u518D\u63D0\u4EA4");return}if(Jt){const xt=(0,he.cloneDeep)(wt);Wt((St=xt==null?void 0:xt.standard_answer)==null?void 0:St.map(Vt=>Me({value:"",answer:(Vt==null?void 0:Vt.answer_text)||[]},Vt)))}Dn(!Jt)}),vn=(St,xt)=>{const Vt=Xt.map((sn,hn)=>Oe(Me({},sn),{value:hn===xt?St.target.value:sn.value}));Wt(Vt)},Mt=()=>{Zt({}),Wt([]),Dn(!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}),Xt==null?void 0:Xt.map((St,xt)=>{const{value:Vt,answer:sn}=St;let hn="";return Jt&&(sn!=null&&sn.includes(Vt))&&(hn=se.Z.green),Jt&&!(sn!=null&&sn.includes(Vt))&&(hn=se.Z.red),be.createElement("div",{key:xt,style:{pointerEvents:Jt?"none":"auto",marginTop:10},className:`${se.Z.row} ${hn}`},be.createElement("div",{style:{minWidth:80}},"\u586B\u7A7A",xt+1,"\u7B54\u6848:"),(St==null?void 0:St.model)===1?be.createElement(fe.default.TextArea,{className:se.Z.textArea,style:{width:610,marginRight:10},onChange:gt=>vn(gt,xt),value:Vt}):be.createElement(me.Z,{value:Vt,onChange:gt=>{const ft=Xt.map((dt,Nt)=>Oe(Me({},dt),{value:Nt===xt?gt:dt.value}));Wt(ft)}}),Jt&&(sn==null?void 0:sn.includes(Vt))&&be.createElement("span",{style:{paddingTop:4},className:"iconfont icon-duigou1 font16"}),Jt&&!(sn!=null&&sn.includes(Vt))&&be.createElement("span",{style:{fontWeight:600,paddingTop:5},className:"iconfont icon-guanbi font16"}))}),Jt&&be.createElement(ye.Fragment,null,be.createElement("div",{style:{background:"#F6F7F9",padding:10,marginTop:10}},(Yt=rn==null?void 0:rn.standard_answer)==null?void 0:Yt.map((St,xt)=>{var Vt,sn;return be.createElement("div",{className:"c-grey-333 mb5"},be.createElement("b",null,"\u586B\u7A7A",xt+1,"\u7B54\u6848:\xA0"),(St==null?void 0:St.model)===1?((Vt=St==null?void 0:St.answer_text)==null?void 0:Vt.join("\u3001"))||"":be.createElement(me.Z,{value:(sn=St==null?void 0:St.answer_text)==null?void 0:sn.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()}},Jt?"\u91CD\u65B0\u7B54\u9898":"\u63D0\u4EA4\u7B54\u6848")),!_t&&be.createElement(ue.Z,null))};var Ye=(0,je.connect)(({problemset:bt})=>({problemset:bt}))(Le),He=Se(59301),Ge=Object.defineProperty,Ke=Object.defineProperties,ze=Object.getOwnPropertyDescriptors,ke=Object.getOwnPropertySymbols,Ne=Object.prototype.hasOwnProperty,Ve=Object.prototype.propertyIsEnumerable,qe=(bt,wt,_t)=>wt in bt?Ge(bt,wt,{enumerable:!0,configurable:!0,writable:!0,value:_t}):bt[wt]=_t,rt=(bt,wt)=>{for(var _t in wt||(wt={}))Ne.call(wt,_t)&&qe(bt,_t,wt[_t]);if(ke)for(var _t of ke(wt))Ve.call(wt,_t)&&qe(bt,_t,wt[_t]);return bt},Qe=(bt,wt)=>Ke(bt,ze(wt)),Ue=(bt,wt,_t)=>new Promise((cn,Yt)=>{var rn=Wt=>{try{Xt(_t.next(Wt))}catch(Jt){Yt(Jt)}},Zt=Wt=>{try{Xt(_t.throw(Wt))}catch(Jt){Yt(Jt)}},Xt=Wt=>Wt.done?cn(Wt.value):Promise.resolve(Wt.value).then(rn,Zt);Xt((_t=_t.apply(bt,wt)).next())});const Be=({problemset:bt,datas:wt,showdiv:_t,dispatch:cn})=>{var Yt;const[rn,Zt]=(0,ye.useState)({}),[Xt,Wt]=(0,ye.useState)([]),[Jt,Dn]=(0,ye.useState)(!1),wn=["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 St=(0,he.cloneDeep)(wt);Zt(St),Wt(St.choices)}},[wt]);const Ln=()=>Ue(void 0,null,function*(){if(!Xt.some(St=>St==null?void 0:St.checked)){E.ZP.warning("\u8BF7\u60A8\u4F5C\u7B54\u540E\u518D\u63D0\u4EA4");return}if(Jt){const St=(0,he.cloneDeep)(wt);Wt(St.choices)}Dn(!Jt)}),vn=(St,xt)=>{console.log(St.target.checked);const Vt=Xt.map((sn,hn)=>Qe(rt({},sn),{checked:hn===xt?St.target.checked:!1}));Wt(Vt)},Mt=()=>{Zt({}),Wt([]),Dn(!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}),Xt==null?void 0:Xt.map((St,xt)=>{const{is_answer:Vt,checked:sn,choice_text:hn}=St;let gt="";return Jt&&Vt&&(gt=se.Z.green),Jt&&!Vt&&sn&&(gt=se.Z.red),He.createElement("div",{key:xt,style:{pointerEvents:Jt?"none":"auto"},className:`${se.Z.row} ${gt}`},He.createElement(oe.ZP,{onChange:ft=>vn(ft,xt),checked:sn}),He.createElement(ce.Z,{className:se.Z.html,value:hn}),Jt&&Vt&&He.createElement("span",{style:{paddingTop:4},className:"iconfont icon-duigou1 font16"}),Jt&&!Vt&&sn&&He.createElement("span",{style:{fontWeight:600,paddingTop:5},className:"iconfont icon-guanbi font16"}))}),Jt&&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"),(Yt=Xt.find(St=>St.is_answer))==null?void 0:Yt.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()}},Jt?"\u91CD\u65B0\u7B54\u9898":"\u63D0\u4EA4\u7B54\u6848")),!_t&&He.createElement(ue.Z,null))};var Ze=(0,je.connect)(({problemset:bt})=>({problemset:bt}))(Be),Te=Se(24905),We=Se(59301),at=Object.defineProperty,et=Object.defineProperties,Je=Object.getOwnPropertyDescriptors,Ie=Object.getOwnPropertySymbols,xe=Object.prototype.hasOwnProperty,De=Object.prototype.propertyIsEnumerable,Re=(bt,wt,_t)=>wt in bt?at(bt,wt,{enumerable:!0,configurable:!0,writable:!0,value:_t}):bt[wt]=_t,Xe=(bt,wt)=>{for(var _t in wt||(wt={}))xe.call(wt,_t)&&Re(bt,_t,wt[_t]);if(Ie)for(var _t of Ie(wt))De.call(wt,_t)&&Re(bt,_t,wt[_t]);return bt},nt=(bt,wt)=>et(bt,Je(wt)),$e=(bt,wt,_t)=>new Promise((cn,Yt)=>{var rn=Wt=>{try{Xt(_t.next(Wt))}catch(Jt){Yt(Jt)}},Zt=Wt=>{try{Xt(_t.throw(Wt))}catch(Jt){Yt(Jt)}},Xt=Wt=>Wt.done?cn(Wt.value):Promise.resolve(Wt.value).then(rn,Zt);Xt((_t=_t.apply(bt,wt)).next())});const tt=({problemset:bt,data:wt,showdiv:_t,dispatch:cn})=>{const[Yt,rn]=(0,ye.useState)([]),[Zt,Xt]=(0,ye.useState)(!1),Wt=["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 Jt=()=>$e(void 0,null,function*(){if(!Yt.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)}Xt(!Zt)}),Dn=(Ln,vn)=>{console.log(Ln.target.checked);const Mt=Yt.map((St,xt)=>nt(Xe({},St),{checked:xt===vn?Ln.target.checked:St.checked}));rn(Mt)},wn=()=>{let Ln="";return Yt.forEach((vn,Mt)=>{vn.is_answer&&(Ln=Ln+Wt[Mt])}),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}),Yt==null?void 0:Yt.map((Ln,vn)=>{const{is_answer:Mt,checked:St,choice_text:xt}=Ln;let Vt="";return Zt&&Mt&&(Vt=se.Z.green),Zt&&!Mt&&St&&(Vt=se.Z.red),We.createElement("div",{key:vn,style:{pointerEvents:Zt?"none":"auto"},className:`${se.Z.row} ${Vt}`},We.createElement(Te.default,{style:{padding:3},onChange:sn=>Dn(sn,vn),checked:St}),We.createElement("span",null,Wt[vn],".\xA0"),We.createElement(ce.Z,{className:se.Z.html,value:xt}),Zt&&Mt&&We.createElement("span",{style:{paddingTop:4},className:"iconfont icon-duigou1 font16"}),Zt&&!Mt&&St&&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"),wn()),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:()=>{Jt()}},Zt?"\u91CD\u65B0\u7B54\u9898":"\u63D0\u4EA4\u7B54\u6848")),!_t&&We.createElement(ue.Z,null))};var st=(0,je.connect)(({problemset:bt})=>({problemset:bt}))(tt),it=Se(64726),lt=Se(59301),ut=(bt,wt,_t)=>new Promise((cn,Yt)=>{var rn=Wt=>{try{Xt(_t.next(Wt))}catch(Jt){Yt(Jt)}},Zt=Wt=>{try{Xt(_t.throw(Wt))}catch(Jt){Yt(Jt)}},Xt=Wt=>Wt.done?cn(Wt.value):Promise.resolve(Wt.value).then(rn,Zt);Xt((_t=_t.apply(bt,wt)).next())});const vt=({problemset:bt,dispatch:wt,showdiv:_t,datas:cn})=>{var Yt,rn,Zt;const[Xt,Wt]=(0,ye.useState)({}),[Jt,Dn]=(0,ye.useState)(!1),[wn,Ln]=(0,ye.useState)(!0),[vn,Mt]=(0,ye.useState)("");(0,ye.useEffect)(()=>{if(Object.keys(cn)){const Vt=(0,he.cloneDeep)(cn);Wt(Vt)}},[cn]);const St=()=>ut(void 0,null,function*(){if(!vn){E.ZP.warning("\u8BF7\u60A8\u4F5C\u7B54\u540E\u518D\u63D0\u4EA4");return}Jt&&Mt(""),Dn(!Jt)}),xt=()=>{Wt({}),Ln(!0),Dn(!1),Mt(""),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:Xt==null?void 0:Xt.name,style:{marginBottom:10}}),wn?lt.createElement("div",{style:{border:"1px solid #f1f1f1",padding:10},onClick:()=>{Ln(!1)}}," \u70B9\u51FB\u5F00\u59CB\u4F5C\u7B54"):lt.createElement(it.Z,{defaultValue:vn,onChange:Vt=>{Mt(Vt)}}),Jt&<.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),((Yt=Xt==null?void 0:Xt.answer_texts)==null?void 0:Yt[0])||"\u6682\u65E0\u53C2\u8003\u7B54\u6848",((rn=Xt==null?void 0:Xt.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=Xt==null?void 0:Xt.keywords)==null?void 0:Zt.map(Vt=>{var sn,hn,gt;return((sn=Vt==null?void 0:Vt.keyword)==null?void 0:sn.length)>1?((hn=Vt==null?void 0:Vt.keyword)==null?void 0:hn.join("\u6216"))+"\uFF1B":((gt=Vt==null?void 0:Vt.keyword)==null?void 0:gt[0])+"\uFF1B"})),lt.createElement("div",{style:{color:"#5F6368"}},lt.createElement("b",null,"\u89E3\u6790:"),lt.createElement("br",null),(Xt==null?void 0:Xt.analysis)||"\u6682\u65E0\u89E3\u6790"))),lt.createElement("div",{style:{textAlign:"end",marginTop:10}},lt.createElement(ie.ZP,{type:"primary",onClick:()=>{St()}},Jt?"\u91CD\u65B0\u7B54\u9898":"\u63D0\u4EA4\u7B54\u6848")),!_t&<.createElement(ue.Z,null))};var yt=(0,je.connect)(({problemset:bt})=>({problemset:bt}))(vt),mt=Se(59301),Pt=(bt,wt,_t)=>new Promise((cn,Yt)=>{var rn=Wt=>{try{Xt(_t.next(Wt))}catch(Jt){Yt(Jt)}},Zt=Wt=>{try{Xt(_t.throw(Wt))}catch(Jt){Yt(Jt)}},Xt=Wt=>Wt.done?cn(Wt.value):Promise.resolve(Wt.value).then(rn,Zt);Xt((_t=_t.apply(bt,wt)).next())});const At=({problemset:bt,dispatch:wt})=>{var _t,cn;const[Yt,rn]=(0,ye.useState)({}),[Zt,Xt]=(0,ye.useState)(!1),[Wt,Jt]=(0,ye.useState)(!0),[Dn,wn]=(0,ye.useState)("");(0,ye.useEffect)(()=>{var Mt,St;if(((Mt=bt==null?void 0:bt.actionTabs)==null?void 0:Mt.key)==="COMBINATION"){const xt=(0,he.cloneDeep)((St=bt==null?void 0:bt.actionTabs)==null?void 0:St.params);rn(xt)}},[(_t=bt==null?void 0:bt.actionTabs)==null?void 0:_t.key]);const Ln=()=>Pt(void 0,null,function*(){if(!Dn){E.ZP.warning("\u8BF7\u60A8\u4F5C\u7B54\u540E\u518D\u63D0\u4EA4");return}Xt(!Zt)}),vn=()=>{rn({}),Jt(!0),Xt(!1),wn(""),wt({type:"problemset/setActionTabs",payload:{}})};return mt.createElement(pe.default,{centered:!0,destroyOnClose:!0,open:bt.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:vn},mt.createElement("div",null,mt.createElement("div",{className:"c-light-primary mb5 font16"},"\u7EC4\u5408\u9898"),mt.createElement(ce.Z,{value:Yt==null?void 0:Yt.name,style:{marginBottom:10}}),(cn=Yt==null?void 0:Yt.sub_item_banks)==null?void 0:cn.map((Mt,St)=>{var xt,Vt,sn,hn,gt;if((Mt==null?void 0:Mt.item_type)==="SINGLE")return mt.createElement(ge,{data:Mt,showdiv:((xt=Yt==null?void 0:Yt.sub_item_banks)==null?void 0:xt.length)-1===St});if((Mt==null?void 0:Mt.item_type)==="MULTIPLE")return mt.createElement(st,{data:Mt,showdiv:((Vt=Yt==null?void 0:Yt.sub_item_banks)==null?void 0:Vt.length)-1===St});if((Mt==null?void 0:Mt.item_type)==="JUDGMENT")return mt.createElement(Ze,{datas:Mt,showdiv:((sn=Yt==null?void 0:Yt.sub_item_banks)==null?void 0:sn.length)-1===St});if((Mt==null?void 0:Mt.item_type)==="COMPLETION")return mt.createElement(Ye,{datas:Mt,showdiv:((hn=Yt==null?void 0:Yt.sub_item_banks)==null?void 0:hn.length)-1===St});if((Mt==null?void 0:Mt.item_type)==="SUBJECTIVE")return mt.createElement(yt,{datas:Mt,showdiv:((gt=Yt==null?void 0:Yt.sub_item_banks)==null?void 0:gt.length)-1===St})})))};var Dt=(0,je.connect)(({problemset:bt})=>({problemset:bt}))(At)},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{Ae(me.next(Ce))}catch(_e){ve(_e)}},Ee=Ce=>{try{Ae(me.throw(Ce))}catch(_e){ve(_e)}},Ae=Ce=>Ce.done?be(Ce.value):Promise.resolve(Ce.value).then(Pe,Ee);Ae((me=me.apply(ge,fe)).next())});const de=({problemset:ge,dispatch:fe})=>{var me,be;const[ve,Pe]=(0,ye.useState)({}),[Ee,Ae]=(0,ye.useState)([]),[Ce,_e]=(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,Ye,He;if(((Le=ge==null?void 0:ge.actionTabs)==null?void 0:Le.key)==="COMPLETION"){const Ge=(0,ce.cloneDeep)((Ye=ge==null?void 0:ge.actionTabs)==null?void 0:Ye.params);Pe(Ge),Ae((He=Ge==null?void 0:Ge.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 Me=()=>le(void 0,null,function*(){var Le,Ye;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);Ae((Ye=He==null?void 0:He.standard_answer)==null?void 0:Ye.map(Ge=>ee({value:"",answer:(Ge==null?void 0:Ge.answer_text)||[]},Ge)))}_e(!Ce)}),Oe=(Le,Ye)=>{const He=Ee.map((Ge,Ke)=>z(ee({},Ge),{value:Ke===Ye?Le.target.value:Ge.value}));Ae(He)},Fe=()=>{Pe({}),Ae([]),_e(!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:Me,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,Ye)=>{const{value:He,answer:Ge}=Le;let Ke="";return Ce&&(Ge!=null&&Ge.includes(He))&&(Ke=ie.Z.green),Ce&&!(Ge!=null&&Ge.includes(He))&&(Ke=ie.Z.red),ae.createElement("div",{key:Ye,style:{pointerEvents:Ce?"none":"auto",marginTop:10},className:`${ie.Z.row} ${Ke}`},ae.createElement("div",{style:{minWidth:80}},"\u586B\u7A7A",Ye+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:ze=>Oe(ze,Ye),value:He}):ae.createElement(se.Z,{value:He,onChange:ze=>{const ke=Ee.map((Ne,Ve)=>z(ee({},Ne),{value:Ve===Ye?ze:Ne.value}));Ae(ke)}}),Ce&&(Ge==null?void 0:Ge.includes(He))&&ae.createElement("span",{style:{paddingTop:4},className:"iconfont icon-duigou1 font16"}),Ce&&!(Ge!=null&&Ge.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,Ye)=>{var He,Ge;return ae.createElement("div",{className:"c-grey-333 mb5"},ae.createElement("b",null,"\u586B\u7A7A",Ye+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:(Ge=Le==null?void 0:Le.answer_text)==null?void 0:Ge.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(Ae){me(Ae)}},ve=Ee=>{try{Pe(ge.throw(Ee))}catch(Ae){me(Ae)}},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,Ae]=(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 _e=()=>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)}Ae(!Ee)}),we=(Oe,Fe)=>{console.log(Oe.target.checked);const Le=ve.map((Ye,He)=>b(x({},Ye),{checked:He===Fe?Oe.target.checked:!1}));Pe(Le)},Me=()=>{be({}),Pe([]),Ae(!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:_e,onCancel:Me},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:Ye,choice_text:He}=Oe;let Ge="";return Ee&&Le&&(Ge=ie.Z.green),Ee&&!Le&&Ye&&(Ge=ie.Z.red),ye.createElement("div",{key:Fe,style:{pointerEvents:Ee?"none":"auto"},className:`${ie.Z.row} ${Ge}`},ye.createElement(he.ZP,{onChange:Ke=>we(Ke,Fe),checked:Ye}),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&&Ye&&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(Ae){me(Ae)}},ve=Ee=>{try{Pe(ge.throw(Ee))}catch(Ae){me(Ae)}},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),Ae=["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)}),_e=(Oe,Fe)=>{console.log(Oe.target.checked);const Le=be.map((Ye,He)=>b(x({},Ye),{checked:He===Fe?Oe.target.checked:Ye.checked}));ve(Le)},we=()=>{me({}),ve([]),Ee(!1),de({type:"problemset/setActionTabs",payload:{}})},Me=()=>{let Oe="";return be.forEach((Fe,Le)=>{Fe.is_answer&&(Oe=Oe+Ae[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:Ye,choice_text:He}=Oe;let Ge="";return Pe&&Le&&(Ge=ie.Z.green),Pe&&!Le&&Ye&&(Ge=ie.Z.red),ye.createElement("div",{key:Fe,style:{pointerEvents:Pe?"none":"auto"},className:`${ie.Z.row} ${Ge}`},ye.createElement(he.default,{style:{padding:3},onChange:Ke=>_e(Ke,Fe),checked:Ye}),ye.createElement("span",null,Ae[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&&Ye&&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"),Me()),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=Ae=>{try{Ee(fe.next(Ae))}catch(Ce){be(Ce)}},Pe=Ae=>{try{Ee(fe.throw(Ae))}catch(Ce){be(Ce)}},Ee=Ae=>Ae.done?me(Ae.value):Promise.resolve(Ae.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,Ae]=(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 _e=()=>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)}Ae(!Ee)}),we=(Oe,Fe)=>{console.log(Oe.target.checked);const Le=ve.map((Ye,He)=>ee(b({},Ye),{checked:He===Fe?Oe.target.checked:!1}));Pe(Le)},Me=()=>{be({}),Pe([]),Ae(!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:_e,onCancel:Me},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:Ye,choice_text:He}=Oe;let Ge="";return Ee&&Le&&(Ge=ie.Z.green),Ee&&!Le&&Ye&&(Ge=ie.Z.red),se.createElement("div",{key:Fe,style:{pointerEvents:Ee?"none":"auto"},className:`${ie.Z.row} ${Ge}`},se.createElement(he.ZP,{onChange:Ke=>we(Ke,Fe),checked:Ye}),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&&Ye&&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 Ae,Ce;if(((Ae=ne==null?void 0:ne.actionTabs)==null?void 0:Ae.key)==="SUBJECTIVE"){const _e=(0,he.cloneDeep)((Ce=ne==null?void 0:ne.actionTabs)==null?void 0:Ce.params);le(_e)}},[(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:Ae=>{ve(Ae)}}),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(Ae=>{var Ce,_e,we;return((Ce=Ae==null?void 0:Ae.keyword)==null?void 0:Ce.length)>1?((_e=Ae==null?void 0:Ae.keyword)==null?void 0:_e.join("\u6216"))+"\uFF1B":((we=Ae==null?void 0:Ae.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+N6QzJtFsjt8sue0f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NkLZS54dcK8d2L6Cutzq/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/ySWXvOicy3vRMur8XrwH1li8gLre6vzFS3FkLwTU9Vbn98KQNRBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQ6DcB9f19dX6/1Vv9ftX1Vuer/fstX13vVzL//x2Q8aG+0HfffXd1zbp1v3rssSe8rzay4opzXrc5rtfr1mo1bWpqqthBZnh42DpDMo88vjWtT+2/Y/fuZ/9p754937r00ksbfp3QYRl1fr81ufr9quutzlf791u+ut7q/H6rN+8XAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAIFeCKjv76vze2HIGosXUNdbnb94KY7shYC63mXlH3ZAphN+7733Dqw5ZsONGzae9Ie55aMe9o2vP714t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IstTeee75ddvnVxXYx/rAoitKfPbvtvWe/7oxv+AGZhbvIqPP7rdnV71ddb3W+2r/f8tX1Vuf3W715vwgggAACCCCAAAIIIIAAAggggAACCCCAAAII9EJAfX9fnd8LQ9ZYvIC63ur8xUtxZC8E1PVW5i8ckInMLN761M/+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/PMbyBj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F0E","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,Ae]=(0,ye.useState)(!1),Ce=()=>{var Oe,Fe;return de.item_type==="JUDGMENT"?ye.createElement("div",{className:se.judgmentContent},de.choices.map((Le,Ye)=>ye.createElement(E.ZP,{key:Ye,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,Ye)=>{var He,Ge,Ke,ze,ke,Ne;const Ve=`(\u9898\u76EE${Ye+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((qe,rt)=>ye.createElement("div",{key:rt,className:se.otherContentItem},ye.createElement("p",null,x[rt]),ye.createElement(je.Z,{className:se.otehrContentHtml,value:qe.choice_text}))),(Le==null?void 0:Le.item_type)=="JUDGMENT"&&ye.createElement("div",{style:{display:"flex",marginBottom:10}},Le.choices.map((qe,rt)=>ye.createElement(E.ZP,{key:rt,disabled:!0},qe.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(qe=>qe==null?void 0:qe.is_answer)]," "),(Le==null?void 0:Le.item_type)=="COMPLETION"&&((Ge=Le==null?void 0:Le.standard_answer)==null?void 0:Ge.map((qe,rt)=>{var Qe;return ye.createElement("div",{key:rt,className:se.answerHtml},`\u7B54\u6848\uFF08\u586B\u7A7A${qe.position}\uFF09\uFF1A${(Qe=qe==null?void 0:qe.answer_text)==null?void 0:Qe.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((qe,rt)=>{if(qe!=null&&qe.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=(ze=Le==null?void 0:Le.choices)==null?void 0:ze.find(qe=>qe.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,Ye)=>ye.createElement("div",{key:Ye,className:se.otherContentItem},ye.createElement("p",null,x[Ye]),ye.createElement(je.Z,{className:se.otehrContentHtml,value:Le.choice_text}))))},_e=()=>{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 Ye,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${(Ye=Fe==null?void 0:Fe.answer_text)==null?void 0:Ye.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,Ye,He,Ge;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},ze=de.choices.map(Ue=>Ue.is_answer).findIndex(Ue=>Ue),ke=ze>-1?b[ze]:"";let Ne="";de.choices.map((Ue,Be)=>{Ue.is_answer&&(Ne+=b[Be])});const Ve=Ke[de.item_type];let qe=((Ye=de==null?void 0:de.program_attr)==null?void 0:Ye.code)||"";try{qe=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:_e(),BPROGRAM:ye.createElement("div",null,ye.createElement(je.Z,{className:se.answerHtml,showProgramFill:!0,value:qe}),(Ge=de.standard_answer)==null?void 0:Ge.map((Ue,Be)=>ye.createElement("div",{key:Be,className:se.answerHtml},`\u7B54\u6848\uFF08\u586B\u7A7A${Ue.position}\uFF09\uFF1A${Ue==null?void 0:Ue.answer_text}`)))},Qe=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]||Qe},Me=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:Me,checked:ge.includes(de.id)}),ye.createElement("div",{onClick:()=>Ae(!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:()=>Ae(!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:Ae=()=>{},onCorrection:Ce=()=>{},onChangeTag:_e=()=>{},onCollect:we=()=>{},onSetPublic:Me=()=>{},onDelete:Oe=()=>{},onCancel:Fe=()=>{},onSelect:Le=()=>{},onMoveTo:Ye=()=>{},addProblemset:He=()=>{},onSetShare:Ge=()=>{},onCancelShare:Ke=()=>{},onPublish:ze=()=>{},onCancelPublish:ke=()=>{}})=>{var Ne,Ve,qe,rt,Qe,Ue,Be,Ze,Te,We,at,et,Je,Ie,xe;const De=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"&&((qe=fe.program_attr)==null?void 0:qe.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&&((Qe=fe.author)==null?void 0:Qe.login)===((Ue=me.userInfo)==null?void 0:Ue.login)},{label:ye.createElement("a",{className:se.actionLink,onClick:()=>Ye(fe.id)},"\u79FB\u52A8\u5230"),key:"1",show:ve==="0"},{label:ye.createElement("a",{className:se.actionLink,onClick:()=>{fe.is_share?Ke(fe.id):Ge(fe.id)}},"\u5171\u4EAB"),key:"3",show:ve==="0"&&de},{label:ye.createElement("a",{className:se.actionLink,onClick:()=>Me(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:()=>Ae(fe.id)},"\u64A4\u9500\u516C\u5F00"),key:"6",show:(ve==="0"||ve==="1")&&fe.public&&((Be=fe.author)==null?void 0:Be.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 ze((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)!==((Je=me.userInfo)==null?void 0:Je.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:()=>_e(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)()&&((Ie=fe.author)==null?void 0:Ie.login)!==((xe=me.userInfo)==null?void 0:xe.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)(De);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=(Me,Oe,Fe)=>Oe in Me?y(Me,Oe,{enumerable:!0,configurable:!0,writable:!0,value:Fe}):Me[Oe]=Fe,ge=(Me,Oe)=>{for(var Fe in Oe||(Oe={}))z.call(Oe,Fe)&&de(Me,Fe,Oe[Fe]);if(ee)for(var Fe of ee(Oe))le.call(Oe,Fe)&&de(Me,Fe,Oe[Fe]);return Me},fe=(Me,Oe)=>x(Me,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=(Me=>(Me[Me.SET_VISIBLE=0]="SET_VISIBLE",Me[Me.SET_TABINDEX=1]="SET_TABINDEX",Me))(Pe||{});function Ee(Me,Oe){switch(Oe.type){case 0:return fe(ge({},Me),{visible:Oe.payload});case 1:return fe(ge({},Me),{tabIndex:Oe.payload});default:throw new Error}}function Ae({value:Me,className:Oe}){const[Fe,Le]=(0,ye.useState)(!1),Ye=(0,ye.useRef)(),He=(0,ye.useRef)();return(0,ye.useEffect)(()=>{Fe&&(He.current.reset(),He.current.write((0,se.pp)(Me||"")))},[Me,Fe]),(0,ye.useEffect)(()=>{var Ge,Ke,ze,ke;if(Ye.current){He.current=new re.Terminal({fontSize:14,disableStdin:!0}),He.current.open(Ye.current);const Ne=Ye.current.offsetWidth-14,Ve=((ke=(ze=(Ke=(Ge=He.current)==null?void 0:Ge._core)==null?void 0:Ke._renderService)==null?void 0:ze.dimensions)==null?void 0:ke.actualCellWidth)||9.5,qe=Math.ceil(Ne/Ve);He.current.resize(qe,8),Le(!0)}},[]),a.createElement("div",{ref:Ye,className:te()("XtermText-valueRef",Oe)})}function Ce(Me){const{status:Oe,error_msg:Fe,output:Le,input:Ye,expected_output:He,is_file:Ge,input_file_url:Ke,output_file_url:ze,expected_output_file_url:ke}=Me;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"),!Ge&&a.createElement(Ae,{className:"mb10",value:Ye}),Ge&&a.createElement("div",{style:Ve},a.createElement("a",{onClick:()=>(0,se.LR)(Ke,Ye)},Ye)),a.createElement("p",{className:"c-red"},"\u5B9E\u9645\u8F93\u51FA\uFF1A"),!Ge&&a.createElement(Ae,{className:"mb10",value:Le&&oe.Base64.decode(Le)||""}),Ge&&a.createElement("div",{style:Ve},a.createElement("a",{onClick:()=>(0,se.LR)(ze,Le)},Le)),a.createElement("p",{className:"c-red"},"\u9884\u671F\u8F93\u51FA\uFF1A"),!Ge&&a.createElement(Ae,{className:"mb10",value:He&&oe.Base64.decode(He)||""}),Ge&&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"),!Ge&&a.createElement(ue.Z,{value:Ye,style:Ve}),Ge&&a.createElement("div",{style:Ve},a.createElement("a",{onClick:()=>(0,se.LR)(Ke,Ye)},Ye)),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"),!Ge&&a.createElement(ue.Z,{value:Ye,style:Ve}),Ge&&a.createElement("div",{style:Ve},a.createElement("a",{onClick:()=>(0,se.LR)(Ke,Ye)},Ye)),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 _e(Me){const{status:Oe,error_msg:Fe,execute_time:Le,output:Ye,input:He,expected_output:Ge,is_file:Ke,input_file_url:ze,output_file_url:ke,expected_output_file_url:Ne}=Me;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(Ye)));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",Ye&&oe.Base64.decode(Ye)),a.createElement("p",null,"\u9884\u671F\u8F93\u51FA\uFF1A",Ge&&oe.Base64.decode(Ge)));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:Me,is_file:Oe,input:Fe,debuging:Le,submitting:Ye,executingMessage:He,debugResult:Ge,onChangeInput:Ke,onDebugCode:ze,onSubmitCode:ke})=>{const[Ne,Ve]=(0,ye.useReducer)(Ee,be),{visible:qe,tabIndex:rt}=Ne;(0,ye.useEffect)(()=>{Ve({type:0,payload:!1})},[Me]);function Qe(Te){let We=Te.target.id;Ve({type:1,payload:We})}function Ue(){Ve({type:0,payload:!qe})}const Be=(0,ye.useMemo)(()=>{if(Ge){const{status:Te}=Ge;return a.createElement(a.Fragment,null,_e(Ge))}return null},[Ge]);function Ze(){Ve({type:0,payload:!0}),Ve({type:1,payload:"1"}),ze()}return a.createElement("div",{className:"test-case-panel"},a.createElement("div",{className:`test-case-panel-body ${qe?"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..."}):Ge?Be: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 ${qe?"up":""}`,onClick:Ue},qe?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:Ye,disabled:Ye,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 Me},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+ZVHQB1DaYaCz7AbBzfgVsNefPHBGL5GjJCRQUW0PpecRrp0DugJpWsXnsgVk9bRk5QQCm0nq1khhpb0Gcy1fl3IFZHV0YVKDCfa03nWeOgqdoSrODc9Lz1BGgp8qX1AWJputGrgAJz1bXd2VaBiEVDUJ2J5EpvDMTStaNnogJHeFmvuiSrB2gStYRtgZhQMJqnKWD0rCttsfd7AbPSioYQgFgFURn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IBlV2InGajIlCRE2TCAWFk9Ge2mhBrf9/++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,Ye)=>Le in Fe?le(Fe,Le,{enumerable:!0,configurable:!0,writable:!0,value:Ye}):Fe[Le]=Ye,Pe=(Fe,Le)=>{for(var Ye in Le||(Le={}))me.call(Le,Ye)&&ve(Fe,Ye,Le[Ye]);if(fe)for(var Ye of fe(Le))be.call(Le,Ye)&&ve(Fe,Ye,Le[Ye]);return Fe},Ee=(Fe,Le)=>de(Fe,ge(Le)),Ae=(Fe,Le,Ye)=>new Promise((He,Ge)=>{var Ke=Ne=>{try{ke(Ye.next(Ne))}catch(Ve){Ge(Ve)}},ze=Ne=>{try{ke(Ye.throw(Ne))}catch(Ve){Ge(Ve)}},ke=Ne=>Ne.done?He(Ne.value):Promise.resolve(Ne.value).then(Ke,ze);ke((Ye=Ye.apply(Fe,Le)).next())});const{Dragger:Ce}=je.default,_e=Fe=>{const Le=Ve=>Ve&&Ve.substring(0,Ve.lastIndexOf("."));for(var Ye=[...Fe],He=0,Ge=[],Ke=0;Ke{if(Ve.forEach(qe=>{let rt=qe.name.split(/\.(?=[^\.]+$)/);qe.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:Ye,wrapClassName:He,rootIdentifier:Ge,multiple:Ke=!1,defaultMultipleValue:ze=!0})=>{const[ke,Ne]=(0,ye.useState)([]),[Ve,qe]=(0,ye.useState)({}),[rt,Qe]=(0,ye.useState)(!1),[Ue,Be]=(0,ye.useState)(!0),Ze=(0,ye.useRef)([]),Te=(0,ye.useRef)(0),We=()=>{Fe()};(0,ye.useEffect)(()=>{at()},[]),(0,ye.useEffect)(()=>{Ye&&(Ze.current=[],Te.current=0,Ne([]),Be(ze))},[Ye]);const at=()=>Ae(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));qe($e)}catch(nt){}}),et=nt=>nt&&nt.substring(0,nt.lastIndexOf(".")),Je=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])},Ie=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(yt=>{if(yt.status===0){Te.current=Te.current+1;const mt=Ze.current.map(Pt=>{var At;if(Pt.name===nt.name){const Dt=Pe({},Pt);return(At=nt==null?void 0:nt.name)!=null&&At.includes(".in")?Dt.input=yt==null?void 0:yt.content:Dt.output=yt==null?void 0:yt.content,Dt}return Pt});if(Ze.current=[...mt],Ne([...mt]),Te.current>0&&Te.current===ke.length){Qe(!1);let Pt=_e(mt);Pt=Pt.filter(At=>{var Dt,bt;return!!((Dt=At[0])!=null&&Dt.name&&((bt=At[1])!=null&&bt.name))}),Pt=Pt.map(At=>Ee(Pe(Pe({},At[0]),At[1]),{is_file:!1})),Le(Pt),Fe()}}else Qe(!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/${Ge}/${it}${tt.indexOf(".")>-1?"."+tt.split(".").pop():""}`;Ge===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(yt=>{var mt,Pt,At,Dt,bt,wt,_t,cn,Yt,rn,Zt,Xt,Wt,Jt,Dn,wn,Ln;if(yt.name===((Pt=(mt=ut.data)==null?void 0:mt.data)==null?void 0:Pt.file_name)){const vn=Pe({},yt);return(bt=(Dt=(At=ut.data)==null?void 0:At.data)==null?void 0:Dt.file_name)!=null&&bt.includes(".in")?(vn.in_object_key=(_t=(wt=ut.data)==null?void 0:wt.data)==null?void 0:_t.object,vn.in_object_size=(Yt=(cn=ut.data)==null?void 0:cn.data)==null?void 0:Yt.size,vn.input=(Zt=(rn=ut.data)==null?void 0:rn.data)==null?void 0:Zt.file_name,vn.in_file=nt):(vn.out_object_key=(Wt=(Xt=ut.data)==null?void 0:Xt.data)==null?void 0:Wt.object,vn.out_object_size=(Dn=(Jt=ut.data)==null?void 0:Jt.data)==null?void 0:Dn.size,vn.output=(Ln=(wn=ut.data)==null?void 0:wn.data)==null?void 0:Ln.file_name,vn.out_file=nt),vn}return yt});if(Ze.current=[...vt],Ne([...vt]),Te.current>0&&Te.current===ke.length){Qe(!1);let yt=_e(vt);yt=yt.filter(mt=>{var Pt,At;return!!((Pt=mt[0])!=null&&Pt.name&&((At=mt[1])!=null&&At.name))}),yt=yt.map(mt=>Ee(Pe(Pe({},mt[0]),mt[1]),{is_file:!0})),Le(yt),Fe()}}})},xe=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))})}),De=()=>Ae(void 0,null,function*(){if(ke.length===0){E.ZP.warning("\u8BF7\u9009\u62E9\u4E0A\u4F20\u6587\u4EF6");return}if(yield xe(ke),Qe(!0),_e(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:()=>Ae(void 0,null,function*(){ke.map($e=>Ae(void 0,null,function*(){Ie($e)}))}),onCancel:()=>{Qe(!1)}});return}ke.map($e=>Ae(void 0,null,function*(){Ie($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=_e(ke);return console.log(ke,Xe,"fileList"),z.createElement(pe.default,{open:Ye,wrapClassName:He,onOk:De,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=>Be(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(Me,{data:Xe,onRemove:Je})):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))))},Me=({data:Fe=[],onRemove:Le,width:Ye="auto",showScore:He=!1,disabled:Ge=!1,inputChange:Ke,onEvaluatingChange:ze,onSelectAll:ke,checkAll1:Ne,checkAll2:Ve,checkAll3:qe,checkAll4:rt,checkAll5:Qe,showEvaluatingSetting:Ue=!1,className:Be="",isProgramHomework:Ze=!1})=>{const Te={value:"",filename:"",dataUrl:""},[We,at]=(0,ye.useState)(Pe({},Te)),et=xe=>{let De=document.createElement("a");document.body.appendChild(De);let Re=URL.createObjectURL(xe.file);De.href=Re,De.download=xe.name,De.click(),URL.revokeObjectURL(Re),document.body.removeChild(De)},Je=(xe,De)=>{(0,b.LR)(xe,De)},Ie=(xe,De)=>{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(xe,De)},onCancel:()=>{}})};return Fe.length?z.createElement("div",{className:Be,style:{width:Ye}},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:xe=>{ke(xe.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:xe=>{ke(xe.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:xe=>{ke(xe.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:Qe,onChange:xe=>{ke(xe.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:qe,onChange:xe=>{ke(xe.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((xe,De)=>{var Re,Xe,nt,$e;return z.createElement("div",{key:De,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:!!xe.hidden,onChange:tt=>{ze(tt.target.checked,De,"hidden")}})),z.createElement("div",{style:{width:Ze?"25%":"15%",paddingLeft:Ze?"5px":"0px",paddingRight:Ze?"5px":"0px"}},"\u6D4B\u8BD5\u7528\u4F8B",De+1),z.createElement("div",{className:ae.info,style:{width:He?Ze?"20%":"15%":"25%"}},z.createElement("span",{title:xe.input||((Re=xe[0])==null?void 0:Re.name),onClick:()=>Ae(void 0,null,function*(){let tt;xe.input?xe.input_file_url?tt=xe.input_file_url:tt=xe.in_file:tt=xe[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}))})},xe.input||((Xe=xe[0])==null?void 0:Xe.name))),z.createElement("div",{className:ae.info,style:{width:He?Ze?"20%":"15%":"25%"}},z.createElement("span",{title:xe.output||((nt=xe[1])==null?void 0:nt.name),onClick:()=>Ae(void 0,null,function*(){let tt;xe.input?xe.output_file_url?tt=xe.output_file_url:tt=xe.out_file:tt=xe[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}))})},xe.output||(($e=xe[1])==null?void 0:$e.name))),He&&z.createElement("div",{style:{width:"20%"}},z.createElement(se.default,{size:"large",addonAfter:Ze?"%":null,disabled:Ge,style:{width:"80%"},onChange:tt=>Ke(tt,De),value:xe.score}),!Ze&&z.createElement("span",null,"\xA0%")),Ue&&z.createElement("div",{style:{width:"20%"}},z.createElement(ie.default,{checked:xe.input_visible||!1,onChange:tt=>{ze(tt.target.checked,De,"input_visible")},className:"font14"},"\u5BF9\u5B66\u5458\u4E0D\u53EF\u89C1")),Ue&&z.createElement("div",{style:{width:"20%"}},z.createElement(ie.default,{checked:xe.is_invisible||!1,onChange:tt=>{ze(tt.target.checked,De,"is_invisible")},className:"font14"},"\u5BF9\u5B66\u5458\u4E0D\u53EF\u89C1")),Ue&&z.createElement("div",{style:{width:"20%"}},z.createElement(ie.default,{checked:xe.actual_output_visible||!1,onChange:tt=>{ze(tt.target.checked,De,"actual_output_visible")},className:"font14"},"\u5BF9\u5B66\u5458\u4E0D\u53EF\u89C1")),Ue&&z.createElement("div",{style:{width:"20%"}},z.createElement(ie.default,{checked:xe.last_match_rule||!1,onChange:tt=>{ze(tt.target.checked,De,"last_match_rule")},className:"font14"},"\u672B\u5C3E\u5339\u914D")),z.createElement("div",{onClick:()=>Ie(xe,De),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(Ae=>{const Ce=Ae.match(/^\s+/);if(Ce===null)return Ae;const[_e]=Ce;return _e.length>=Ee.length?Ae.slice(Ee.length):Ae}).join(` `)}let oe=[],ie=["